Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCmd ¶
type CreateCmd struct {
ClusterUUID string `arg:"" help:"Cluster UUID to create the cache registry in" name:"cluster-uuid"`
Name string `help:"Name for the cache registry" required:""`
Description *string `help:"Description for the cache registry" optional:""`
Emoji *string `help:"Emoji for the cache registry" optional:""`
Color *string `help:"Color for the cache registry" optional:""`
PolicyFile string `help:"Read the policy from a YAML or JSON file, or from stdin with -" optional:"" name:"policy-file"`
output.OutputFlags
}
type DeleteCmd ¶
type ListCmd ¶
type ListCmd struct {
ClusterUUID string `arg:"" help:"Cluster UUID to list cache registries for" name:"cluster-uuid"`
PerPage int `help:"Number of cache registries per page" default:"30" name:"per-page"`
Limit int `help:"Maximum number of cache registries to return" default:"100"`
output.OutputFlags
}
type UpdateCmd ¶
type UpdateCmd struct {
ClusterUUID string `arg:"" help:"Cluster UUID the cache registry belongs to" name:"cluster-uuid"`
RegistryUUID string `arg:"" help:"Cache registry UUID to update" name:"registry-uuid"`
Name *string `help:"New name for the cache registry (regenerates its slug)" optional:""`
Description *string `help:"New description for the cache registry" optional:""`
Emoji *string `help:"New emoji for the cache registry" optional:""`
Color *string `help:"New color for the cache registry" optional:""`
PolicyFile string `help:"Read the new policy from a YAML or JSON file, or from stdin with -" optional:"" name:"policy-file"`
ClearDescription bool `help:"Clear the cache registry description" name:"clear-description"`
ClearEmoji bool `help:"Clear the cache registry emoji" name:"clear-emoji"`
ClearColor bool `help:"Clear the cache registry color" name:"clear-color"`
ClearPolicy bool `help:"Clear the policy, denying all cache saves and restores" name:"clear-policy"`
output.OutputFlags
}
Click to show internal directories.
Click to hide internal directories.