Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Commits
63dc27f0
Commit
63dc27f0
authored
2 years ago
by
Malte Bauch
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into renovate/github.com-openconfig-ygot-0.x
parents
d41aae23
7b31ed50
No related branches found
No related tags found
1 merge request
!441
[renovate] Update module github.com/openconfig/ygot to v0.27.0
Pipeline
#138761
passed
2 years ago
Stage: build
Stage: test
Stage: analyze
Stage: integration-test
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cli/cmd/prompt.go
+4
-3
4 additions, 3 deletions
cli/cmd/prompt.go
go.mod
+9
-8
9 additions, 8 deletions
go.mod
go.sum
+23
-59
23 additions, 59 deletions
go.sum
with
36 additions
and
70 deletions
cli/cmd/prompt.go
+
4
−
3
View file @
63dc27f0
...
...
@@ -41,6 +41,7 @@ import (
"github.com/google/uuid"
"github.com/openconfig/goyang/pkg/yang"
"github.com/pterm/pterm"
"github.com/pterm/pterm/putils"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"
...
...
@@ -65,9 +66,9 @@ func NewPromptCompleter() *PromptCompleter {
// Run starts the interactive completion.
func
(
pc
*
PromptCompleter
)
Run
()
{
title
,
_
:=
pterm
.
DefaultBigText
.
WithLetters
(
p
term
.
New
LettersFromString
(
"go"
),
p
term
.
New
LettersFromStringWithStyle
(
"SDN"
,
pterm
.
NewStyle
(
pterm
.
FgCyan
)),
p
term
.
New
LettersFromString
(
"c"
),
p
utils
.
LettersFromString
(
"go"
),
p
utils
.
LettersFromStringWithStyle
(
"SDN"
,
pterm
.
NewStyle
(
pterm
.
FgCyan
)),
p
utils
.
LettersFromString
(
"c"
),
)
.
Srender
()
description
:=
pterm
.
DefaultBasicText
.
Sprint
(
"Control your goSDN controller like you've never done it before!"
)
pterm
.
DefaultCenter
.
Println
(
title
)
...
...
This diff is collapsed.
Click to expand it.
go.mod
+
9
−
8
View file @
63dc27f0
...
...
@@ -14,7 +14,7 @@ require (
github.com/openconfig/goyang
v1.2.0
github.com/openconfig/ygot
v0.27.0
github.com/prometheus/client_golang
v1.12.2
github.com/pterm/pterm
v0.12.
41
github.com/pterm/pterm
v0.12.
58
github.com/sethvargo/go-password
v0.2.0
github.com/sirupsen/logrus
v1.9.0
github.com/spf13/cobra
v1.6.1
...
...
@@ -33,7 +33,6 @@ require (
require (
github.com/Microsoft/go-winio
v0.5.1 // indirect
github.com/Microsoft/hcsshim
v0.9.2 // indirect
github.com/atomicgo/cursor
v0.0.1 // indirect
github.com/beorn7/perks
v1.0.1 // indirect
github.com/cespare/xxhash/v2
v2.1.2 // indirect
github.com/containerd/cgroups
v1.0.3 // indirect
...
...
@@ -49,7 +48,7 @@ require (
github.com/golang/groupcache
v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf
v1.5.3
github.com/golang/snappy
v0.0.4 // indirect
github.com/gookit/color
v1.5.
0
// indirect
github.com/gookit/color
v1.5.
3
// indirect
github.com/hashicorp/hcl
v1.0.0 // indirect
github.com/inconshreveable/mousetrap
v1.0.1 // indirect
github.com/klauspost/compress
v1.15.9 // indirect
...
...
@@ -57,7 +56,7 @@ require (
github.com/magiconair/properties
v1.8.7 // indirect
github.com/mattn/go-colorable
v0.1.12 // indirect
github.com/mattn/go-isatty
v0.0.14 // indirect
github.com/mattn/go-runewidth
v0.0.1
3
// indirect
github.com/mattn/go-runewidth
v0.0.1
4
// indirect
github.com/mattn/go-tty
v0.0.3 // indirect
github.com/matttproud/golang_protobuf_extensions
v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/mitchellh/mapstructure
v1.5.0 // indirect
...
...
@@ -67,7 +66,6 @@ require (
github.com/opencontainers/go-digest
v1.0.0 // indirect
github.com/opencontainers/image-spec
v1.0.2 // indirect
github.com/opencontainers/runc
v1.1.0 // indirect
github.com/pelletier/go-toml
v1.9.5 // indirect
github.com/pelletier/go-toml/v2
v2.0.6 // indirect
github.com/pkg/errors
v0.9.1 // indirect
github.com/pkg/term
v1.2.0-beta.2 // indirect
...
...
@@ -76,7 +74,7 @@ require (
github.com/prometheus/common
v0.37.0 // indirect
github.com/prometheus/procfs
v0.8.0 // indirect
github.com/rabbitmq/amqp091-go
v1.4.0
github.com/rivo/uniseg
v0.
2.0
// indirect
github.com/rivo/uniseg
v0.
4.4
// indirect
github.com/sethvargo/go-retry
v0.2.3
github.com/spf13/afero
v1.9.3 // indirect
github.com/spf13/cast
v1.5.0 // indirect
...
...
@@ -85,7 +83,7 @@ require (
github.com/xdg-go/pbkdf2
v1.0.0 // indirect
github.com/xdg-go/scram
v1.1.1 // indirect
github.com/xdg-go/stringprep
v1.0.3 // indirect
github.com/xo/terminfo
v0.0.0-202
10125001918-ca9a967f8778
// indirect
github.com/xo/terminfo
v0.0.0-202
20910002029-abceb7e1c41e
// indirect
github.com/youmark/pkcs8
v0.0.0-20201027041543-1326539a0a0a // indirect
go.opencensus.io
v0.24.0 // indirect
golang.org/x/crypto
v0.0.0-20220722155217-630584e8d5aa
...
...
@@ -94,15 +92,18 @@ require (
golang.org/x/term
v0.6.0 // indirect
golang.org/x/text
v0.8.0 // indirect
gopkg.in/ini.v1
v1.67.0 // indirect
gopkg.in/yaml.v2
v2.4.0 // indirect
)
require
github.com/hashicorp/go-plugin
v1.4.5
require (
atomicgo.dev/cursor
v0.1.1 // indirect
atomicgo.dev/keyboard
v0.2.9 // indirect
github.com/containerd/console
v1.0.3 // indirect
github.com/fatih/color
v1.13.0 // indirect
github.com/hashicorp/go-hclog
v1.2.0 // indirect
github.com/hashicorp/yamux
v0.0.0-20180604194846-3520598351bb // indirect
github.com/lithammer/fuzzysearch
v1.1.5 // indirect
github.com/mitchellh/go-testing-interface
v1.0.0 // indirect
github.com/oklog/run
v1.0.0 // indirect
)
This diff is collapsed.
Click to expand it.
go.sum
+
23
−
59
View file @
63dc27f0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment