Documentation
¶
Index ¶
- func NewActiveUpdateCommand(config ActiveUpdateCommandConfig) *ffcli.Command
- func OfferCodeCustomCodesCommand() *ffcli.Command
- func OfferCodeCustomCodesCreateCommand() *ffcli.Command
- func OfferCodeCustomCodesGetCommand() *ffcli.Command
- func OfferCodeCustomCodesListCommand() *ffcli.Command
- func OfferCodeCustomCodesUpdateCommand() *ffcli.Command
- func OfferCodesCreateCommand() *ffcli.Command
- func OfferCodesGenerateCommand() *ffcli.Command
- func OfferCodesGetCommand() *ffcli.Command
- func OfferCodesUpdateCommand() *ffcli.Command
- func OfferCodesValuesCommand() *ffcli.Command
- type ActiveUpdateCommandConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActiveUpdateCommand ¶
func NewActiveUpdateCommand(config ActiveUpdateCommandConfig) *ffcli.Command
NewActiveUpdateCommand builds a command that updates a resource's active attribute.
func OfferCodeCustomCodesCommand ¶
OfferCodeCustomCodesCommand returns the custom codes command group.
func OfferCodeCustomCodesCreateCommand ¶
OfferCodeCustomCodesCreateCommand returns the custom codes create subcommand.
func OfferCodeCustomCodesGetCommand ¶
OfferCodeCustomCodesGetCommand returns the custom codes get subcommand.
func OfferCodeCustomCodesListCommand ¶
OfferCodeCustomCodesListCommand returns the custom codes list subcommand.
func OfferCodeCustomCodesUpdateCommand ¶
OfferCodeCustomCodesUpdateCommand returns the custom codes update subcommand.
func OfferCodesCreateCommand ¶
OfferCodesCreateCommand returns the offer codes create subcommand.
func OfferCodesGenerateCommand ¶
OfferCodesGenerateCommand returns the offer codes generate subcommand.
func OfferCodesGetCommand ¶
OfferCodesGetCommand returns the offer codes get subcommand.
func OfferCodesUpdateCommand ¶
OfferCodesUpdateCommand returns the offer codes update subcommand.
func OfferCodesValuesCommand ¶
OfferCodesValuesCommand returns the offer codes values subcommand.
Types ¶
type ActiveUpdateCommandConfig ¶
type ActiveUpdateCommandConfig struct {
FlagSetName string
Name string
ShortUsage string
ShortHelp string
LongHelp string
IDFlag string
IDUsage string
IDType string
ErrorPrefix string
// ConfirmOff names what --active false turns off permanently; when set,
// --active false requires --confirm.
ConfirmOff string
Update func(context.Context, *asc.Client, string, *bool) (any, error)
}
ActiveUpdateCommandConfig describes a command that sets a resource's active attribute.