Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config = flags{} ErrorExpectedKeyValueInconsistent = errors.New("inconsistent flags; key and value flags must be in pairs") ErrorExpectedVersionInconsistent = errors.New("inconsistent flags; zero or all keys must have an expected version") ErrorBase64ValueInvalid = errors.New("binary flag was set but value is not valid base64") ErrorIncorrectBinaryFlagUse = errors.New("binary flag was set when config is being sourced from stdin") )
View Source
var Cmd = &cobra.Command{ Use: "put", Short: "Put values", Long: `Put a values and associated them with the given keys, either inserting a new entries or updating existing ones. If an expected version is provided, the put will only take place if it matches the version of the current record on the server`, Args: cobra.NoArgs, RunE: exec, }
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct {
Version common.OutputVersion `json:"version"`
}
Click to show internal directories.
Click to hide internal directories.