Documentation ¶
Overview ¶
Package serviceversion contains commands to inspect and manipulate Fastly service versions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateCommand ¶
type ActivateCommand struct { cmd.Base Input fastly.ActivateVersionInput // contains filtered or unexported fields }
ActivateCommand calls the Fastly API to activate a service version.
func NewActivateCommand ¶
func NewActivateCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *ActivateCommand
NewActivateCommand returns a usable command registered under the parent.
type CloneCommand ¶
type CloneCommand struct { cmd.Base Input fastly.CloneVersionInput // contains filtered or unexported fields }
CloneCommand calls the Fastly API to clone a service version.
func NewCloneCommand ¶
func NewCloneCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *CloneCommand
NewCloneCommand returns a usable command registered under the parent.
type DeactivateCommand ¶
type DeactivateCommand struct { cmd.Base Input fastly.DeactivateVersionInput // contains filtered or unexported fields }
DeactivateCommand calls the Fastly API to deactivate a service version.
func NewDeactivateCommand ¶
func NewDeactivateCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *DeactivateCommand
NewDeactivateCommand returns a usable command registered under the parent.
type ListCommand ¶
type ListCommand struct { cmd.Base Input fastly.ListVersionsInput // contains filtered or unexported fields }
ListCommand calls the Fastly API to list services.
func NewListCommand ¶
func NewListCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *ListCommand
NewListCommand returns a usable command registered under the parent.
type LockCommand ¶
type LockCommand struct { cmd.Base Input fastly.LockVersionInput // contains filtered or unexported fields }
LockCommand calls the Fastly API to lock a service version.
func NewLockCommand ¶
func NewLockCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *LockCommand
NewLockCommand returns a usable command registered under the parent.
type RootCommand ¶
RootCommand is the parent command for all subcommands in this package. It should be installed under the primary root command.
func NewRootCommand ¶
func NewRootCommand(parent cmd.Registerer, globals *config.Data) *RootCommand
NewRootCommand returns a new command registered in the parent.
type UpdateCommand ¶
UpdateCommand calls the Fastly API to update a service version.
func NewUpdateCommand ¶
func NewUpdateCommand(parent cmd.Registerer, globals *config.Data, data manifest.Data) *UpdateCommand
NewUpdateCommand returns a usable command registered under the parent.