Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandExamples ¶
func CommandExamples() string
CommandExamples returns config command examples for Cobra.
func CommandLong ¶
func CommandLong() string
CommandLong returns the config command introduction shown before Cobra flags.
func HasRejections ¶
HasRejections reports whether a config PATCH response includes rejected keys.
Types ¶
type CertResult ¶
CertResult carries controller cert install outcome.
func ApplyCert ¶
func ApplyCert(client run.EdgeletAPIClient, base64Cert string) (*CertResult, error)
ApplyCert decodes and installs a base64-encoded controller certificate.
type FlagSet ¶
type FlagSet struct {
// contains filtered or unexported fields
}
FlagSet registers and collects config patch flags for the config command.
type Result ¶
Result carries config patch outcome.
func ApplySetMap ¶
ApplySetMap validates and PATCHes the provided config keys.
type SwitchResult ¶
SwitchResult carries profile switch outcome.
func SwitchProfile ¶
func SwitchProfile(client run.EdgeletAPIClient, profile string) (*SwitchResult, error)
SwitchProfile validates and switches the active configuration profile.
Click to show internal directories.
Click to hide internal directories.