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 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 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 GlobalCreateOptions
- type GlobalDeleteOptions
- type GlobalReadOptions
- type GlobalUpdateOptions
- 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 NewCmdGlobal ¶
func NewCmdGlobalCreate ¶
func NewCmdGlobalDelete ¶
func NewCmdGlobalRead ¶
func NewCmdGlobalUpdate ¶
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 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 VersionOptions ¶
type VersionOptions struct { *printers.PrinterOptions VersionDetails *version.DetailStruct }
func NewVersionOptions ¶
func NewVersionOptions(s printers.IOStreams) *VersionOptions
Click to show internal directories.
Click to hide internal directories.