Documentation ¶
Index ¶
- func Execute()
- func NewCmdConfig(s printers.IOStreams) *cobra.Command
- func NewCmdConfigGet(s printers.IOStreams) *cobra.Command
- func NewCmdConfigSetup(s printers.IOStreams) *cobra.Command
- func NewCmdContentType(s printers.IOStreams) *cobra.Command
- func NewCmdContentTypeCreate(s printers.IOStreams) *cobra.Command
- func NewCmdContentTypeDelete(s printers.IOStreams) *cobra.Command
- func NewCmdContentTypeRead(s printers.IOStreams) *cobra.Command
- func NewCmdContentTypeUpdate(s printers.IOStreams) *cobra.Command
- func NewCmdEnvironment(s printers.IOStreams) *cobra.Command
- func NewCmdEnvironmentCreate(s printers.IOStreams) *cobra.Command
- func NewCmdEnvironmentDelete(s printers.IOStreams) *cobra.Command
- func NewCmdEnvironmentRead(s printers.IOStreams) *cobra.Command
- func NewCmdEnvironmentUpdate(s printers.IOStreams) *cobra.Command
- func NewCmdGlobal(s printers.IOStreams) *cobra.Command
- func NewCmdGlobalCreate(s printers.IOStreams) *cobra.Command
- func NewCmdGlobalDelete(s printers.IOStreams) *cobra.Command
- func NewCmdGlobalRead(s printers.IOStreams) *cobra.Command
- func NewCmdGlobalUpdate(s printers.IOStreams) *cobra.Command
- func NewCmdLocale(s printers.IOStreams) *cobra.Command
- func NewCmdLocaleCreate(s printers.IOStreams) *cobra.Command
- func NewCmdLocaleDelete(s printers.IOStreams) *cobra.Command
- func NewCmdLocaleRead(s printers.IOStreams) *cobra.Command
- func NewCmdLocaleUpdate(s printers.IOStreams) *cobra.Command
- func NewCmdVersion(s printers.IOStreams) *cobra.Command
- func NewRootCmd(s printers.IOStreams) *cobra.Command
- type ConfigGetOptions
- type ConfigSetupOptions
- type ContentTypeCreateOptions
- type ContentTypeDeleteOptions
- type ContentTypeReadOptions
- type ContentTypeUpdateOptions
- type EnvironmentCreateOptions
- type EnvironmentDeleteOptions
- type EnvironmentReadOptions
- type EnvironmentUpdateOptions
- type GlobalCreateOptions
- type GlobalDeleteOptions
- type GlobalReadOptions
- type GlobalUpdateOptions
- type LocaleCreateOptions
- type LocaleDeleteOptions
- type LocaleReadOptions
- type LocaleUpdateOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdConfig ¶
func NewCmdConfigGet ¶
func NewCmdConfigSetup ¶
func NewCmdContentType ¶
func NewCmdContentTypeCreate ¶
func NewCmdContentTypeDelete ¶
func NewCmdContentTypeRead ¶
func NewCmdContentTypeUpdate ¶
func NewCmdEnvironment ¶ added in v0.3.0
func NewCmdEnvironmentCreate ¶ added in v0.3.0
func NewCmdEnvironmentDelete ¶ added in v0.3.0
func NewCmdEnvironmentRead ¶ added in v0.3.0
func NewCmdEnvironmentUpdate ¶ added in v0.3.0
func NewCmdGlobal ¶
func NewCmdGlobalCreate ¶
func NewCmdGlobalDelete ¶
func NewCmdGlobalRead ¶
func NewCmdGlobalUpdate ¶
func NewCmdLocale ¶ added in v0.4.0
func NewCmdLocaleCreate ¶ added in v0.4.0
func NewCmdLocaleDelete ¶ added in v0.4.0
func NewCmdLocaleRead ¶ added in v0.4.0
func NewCmdLocaleUpdate ¶ added in v0.4.0
func NewCmdVersion ¶
func NewRootCmd ¶
NewRootCmd creates the 'root' command and configures it's nested children
Types ¶
type ConfigGetOptions ¶
func NewConfigGetOptions ¶
func NewConfigGetOptions(s printers.IOStreams) *ConfigGetOptions
func (*ConfigGetOptions) Complete ¶
func (o *ConfigGetOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ConfigGetOptions) Validate ¶
func (o *ConfigGetOptions) Validate() error
Validate the options
type ConfigSetupOptions ¶
func NewConfigSetupOptions ¶
func NewConfigSetupOptions(s printers.IOStreams) *ConfigSetupOptions
func (*ConfigSetupOptions) Complete ¶
func (o *ConfigSetupOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ConfigSetupOptions) Validate ¶
func (o *ConfigSetupOptions) Validate() error
Validate the options
type ContentTypeCreateOptions ¶
type ContentTypeCreateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string }
func NewContentTypeCreateOptions ¶
func NewContentTypeCreateOptions(s printers.IOStreams) *ContentTypeCreateOptions
func (*ContentTypeCreateOptions) Complete ¶
func (o *ContentTypeCreateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ContentTypeCreateOptions) Run ¶
func (o *ContentTypeCreateOptions) Run() error
Run the command
func (*ContentTypeCreateOptions) Validate ¶
func (o *ContentTypeCreateOptions) Validate() error
Validate the options
type ContentTypeDeleteOptions ¶
type ContentTypeDeleteOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string Force bool }
func NewContentTypeDeleteOptions ¶
func NewContentTypeDeleteOptions(s printers.IOStreams) *ContentTypeDeleteOptions
func (*ContentTypeDeleteOptions) Complete ¶
func (o *ContentTypeDeleteOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ContentTypeDeleteOptions) Run ¶
func (o *ContentTypeDeleteOptions) Run() error
Run the command
func (*ContentTypeDeleteOptions) Validate ¶
func (o *ContentTypeDeleteOptions) Validate() error
Validate the options
type ContentTypeReadOptions ¶
type ContentTypeReadOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string IncludeCount int64 IncludeGlobalFieldSchema bool }
func NewContentTypeReadOptions ¶
func NewContentTypeReadOptions(s printers.IOStreams) *ContentTypeReadOptions
func (*ContentTypeReadOptions) Complete ¶
func (o *ContentTypeReadOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ContentTypeReadOptions) Validate ¶
func (o *ContentTypeReadOptions) Validate() error
Validate the options
type ContentTypeUpdateOptions ¶
type ContentTypeUpdateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string NewTitle string }
func NewContentTypeUpdateOptions ¶
func NewContentTypeUpdateOptions(s printers.IOStreams) *ContentTypeUpdateOptions
func (*ContentTypeUpdateOptions) Complete ¶
func (o *ContentTypeUpdateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*ContentTypeUpdateOptions) Run ¶
func (o *ContentTypeUpdateOptions) Run() error
Run the command
func (*ContentTypeUpdateOptions) Validate ¶
func (o *ContentTypeUpdateOptions) Validate() error
Validate the options
type EnvironmentCreateOptions ¶ added in v0.3.0
type EnvironmentCreateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Name string RawURLParams []string URLsByLocale map[string]string }
func NewEnvironmentCreateOptions ¶ added in v0.3.0
func NewEnvironmentCreateOptions(s printers.IOStreams) *EnvironmentCreateOptions
func (*EnvironmentCreateOptions) Complete ¶ added in v0.3.0
func (o *EnvironmentCreateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*EnvironmentCreateOptions) Run ¶ added in v0.3.0
func (o *EnvironmentCreateOptions) Run() error
Run the command
func (*EnvironmentCreateOptions) Validate ¶ added in v0.3.0
func (o *EnvironmentCreateOptions) Validate() error
Validate the options
type EnvironmentDeleteOptions ¶ added in v0.3.0
type EnvironmentDeleteOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Name string Force bool }
func NewEnvironmentDeleteOptions ¶ added in v0.3.0
func NewEnvironmentDeleteOptions(s printers.IOStreams) *EnvironmentDeleteOptions
func (*EnvironmentDeleteOptions) Complete ¶ added in v0.3.0
func (o *EnvironmentDeleteOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*EnvironmentDeleteOptions) Run ¶ added in v0.3.0
func (o *EnvironmentDeleteOptions) Run() error
Run the command
func (*EnvironmentDeleteOptions) Validate ¶ added in v0.3.0
func (o *EnvironmentDeleteOptions) Validate() error
Validate the options
type EnvironmentReadOptions ¶ added in v0.3.0
type EnvironmentReadOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Name string }
func NewEnvironmentReadOptions ¶ added in v0.3.0
func NewEnvironmentReadOptions(s printers.IOStreams) *EnvironmentReadOptions
func (*EnvironmentReadOptions) Complete ¶ added in v0.3.0
func (o *EnvironmentReadOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*EnvironmentReadOptions) Run ¶ added in v0.3.0
func (o *EnvironmentReadOptions) Run() error
Run the command
func (*EnvironmentReadOptions) Validate ¶ added in v0.3.0
func (o *EnvironmentReadOptions) Validate() error
Validate the options
type EnvironmentUpdateOptions ¶ added in v0.3.0
type EnvironmentUpdateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Name string RawURLParams []string URLsByLocale map[string]string }
func NewEnvironmentUpdateOptions ¶ added in v0.3.0
func NewEnvironmentUpdateOptions(s printers.IOStreams) *EnvironmentUpdateOptions
func (*EnvironmentUpdateOptions) Complete ¶ added in v0.3.0
func (o *EnvironmentUpdateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*EnvironmentUpdateOptions) Run ¶ added in v0.3.0
func (o *EnvironmentUpdateOptions) Run() error
Run the command
func (*EnvironmentUpdateOptions) Validate ¶ added in v0.3.0
func (o *EnvironmentUpdateOptions) Validate() error
Validate the options
type GlobalCreateOptions ¶
type GlobalCreateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string }
func NewGlobalCreateOptions ¶
func NewGlobalCreateOptions(s printers.IOStreams) *GlobalCreateOptions
func (*GlobalCreateOptions) Complete ¶
func (o *GlobalCreateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*GlobalCreateOptions) Validate ¶
func (o *GlobalCreateOptions) Validate() error
Validate the options
type GlobalDeleteOptions ¶
type GlobalDeleteOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string Force bool }
func NewGlobalDeleteOptions ¶
func NewGlobalDeleteOptions(s printers.IOStreams) *GlobalDeleteOptions
func (*GlobalDeleteOptions) Complete ¶
func (o *GlobalDeleteOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*GlobalDeleteOptions) Validate ¶
func (o *GlobalDeleteOptions) Validate() error
Validate the options
type GlobalReadOptions ¶
type GlobalReadOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string }
func NewGlobalReadOptions ¶
func NewGlobalReadOptions(s printers.IOStreams) *GlobalReadOptions
func (*GlobalReadOptions) Complete ¶
func (o *GlobalReadOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*GlobalReadOptions) Validate ¶
func (o *GlobalReadOptions) Validate() error
Validate the options
type GlobalUpdateOptions ¶
type GlobalUpdateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client UID string NewTitle string }
func NewGlobalUpdateOptions ¶
func NewGlobalUpdateOptions(s printers.IOStreams) *GlobalUpdateOptions
func (*GlobalUpdateOptions) Complete ¶
func (o *GlobalUpdateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*GlobalUpdateOptions) Validate ¶
func (o *GlobalUpdateOptions) Validate() error
Validate the options
type LocaleCreateOptions ¶ added in v0.4.0
type LocaleCreateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Code string Name string FallbackCode string }
func NewLocaleCreateOptions ¶ added in v0.4.0
func NewLocaleCreateOptions(s printers.IOStreams) *LocaleCreateOptions
func (*LocaleCreateOptions) Complete ¶ added in v0.4.0
func (o *LocaleCreateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*LocaleCreateOptions) Run ¶ added in v0.4.0
func (o *LocaleCreateOptions) Run() error
Run the command
func (*LocaleCreateOptions) Validate ¶ added in v0.4.0
func (o *LocaleCreateOptions) Validate() error
Validate the options
type LocaleDeleteOptions ¶ added in v0.4.0
type LocaleDeleteOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Code string Force bool }
func NewLocaleDeleteOptions ¶ added in v0.4.0
func NewLocaleDeleteOptions(s printers.IOStreams) *LocaleDeleteOptions
func (*LocaleDeleteOptions) Complete ¶ added in v0.4.0
func (o *LocaleDeleteOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*LocaleDeleteOptions) Run ¶ added in v0.4.0
func (o *LocaleDeleteOptions) Run() error
Run the command
func (*LocaleDeleteOptions) Validate ¶ added in v0.4.0
func (o *LocaleDeleteOptions) Validate() error
Validate the options
type LocaleReadOptions ¶ added in v0.4.0
type LocaleReadOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Code string }
func NewLocaleReadOptions ¶ added in v0.4.0
func NewLocaleReadOptions(s printers.IOStreams) *LocaleReadOptions
func (*LocaleReadOptions) Complete ¶ added in v0.4.0
func (o *LocaleReadOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*LocaleReadOptions) Run ¶ added in v0.4.0
func (o *LocaleReadOptions) Run() error
Run the command
func (*LocaleReadOptions) Validate ¶ added in v0.4.0
func (o *LocaleReadOptions) Validate() error
Validate the options
type LocaleUpdateOptions ¶ added in v0.4.0
type LocaleUpdateOptions struct { *printers.PrinterOptions Config cfg.Config Client *management.Client Code string Name string FallbackLocaleCode string Force bool }
func NewLocaleUpdateOptions ¶ added in v0.4.0
func NewLocaleUpdateOptions(s printers.IOStreams) *LocaleUpdateOptions
func (*LocaleUpdateOptions) Complete ¶ added in v0.4.0
func (o *LocaleUpdateOptions) Complete(cmd *cobra.Command, args []string) error
Complete the options
func (*LocaleUpdateOptions) Run ¶ added in v0.4.0
func (o *LocaleUpdateOptions) Run() error
Run the command
func (*LocaleUpdateOptions) Validate ¶ added in v0.4.0
func (o *LocaleUpdateOptions) Validate() error
Validate the options
type VersionOptions ¶
type VersionOptions struct { *printers.PrinterOptions VersionDetails *version.DetailStruct }
func NewVersionOptions ¶
func NewVersionOptions(s printers.IOStreams) *VersionOptions
Source Files ¶
- ask_helpers.go
- config.go
- config_get.go
- config_setup.go
- environment.go
- environment_create.go
- environment_delete.go
- environment_read.go
- environment_update.go
- global.go
- global_create.go
- global_delete.go
- global_read.go
- global_update.go
- locale.go
- locale_create.go
- locale_delete.go
- locale_read.go
- locale_update.go
- root.go
- type.go
- type_create.go
- type_delete.go
- type_read.go
- type_update.go
- version.go