Documentation
¶
Overview ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
const PlainOutputFormat = "PLAIN"
Variables ¶
var COMMIT = "unknown"
COMMIT is the short hash of the source tree. This should be substituted by Git commit hash during the build process.
var VERSION = "dev"
VERSION is the current version of decK. This should be substituted by git tag during the build process.
Functions ¶
func Execute ¶
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetKongClientForKonnectMode ¶ added in v1.16.0
func GetKongClientForKonnectMode( ctx context.Context, konnectConfig *utils.KonnectConfig, ) (*kong.Client, error)
GetKongClientForKonnectMode abstracts the different cloud environments users may be using, creating a Konnect client with the proper attributes set. This also includes a fallback mechanism using an address pool to establish a session with Konnect, making the different cloud environments completely transparent to users.
func NewRootCmd ¶ added in v1.12.0
NewRootCmd represents the base command when called without any subcommands
Types ¶
This section is empty.
Source Files
¶
- common.go
- common_konnect.go
- completion.go
- convert.go
- diff.go
- dump.go
- file.go
- file_addplugins.go
- file_addtags.go
- file_listtags.go
- file_merge.go
- file_openapi2kong.go
- file_patch.go
- file_removetags.go
- konnect.go
- konnect_diff.go
- konnect_dump.go
- konnect_ping.go
- konnect_sync.go
- ping.go
- reset.go
- root.go
- sync.go
- utils.go
- validate.go
- version.go