Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateClusterCommand ¶
type CreateClusterCommand struct {
// contains filtered or unexported fields
}
CreateClusterCommand represents command that adds new Rancher Server Deployment to the account
func NewCreateClusterCommand ¶
func NewCreateClusterCommand(receiver receiver.BMCSDK, cluster rancherapiclient.Cluster) *CreateClusterCommand
NewCreateClusterCommand constructs new commmand of this type
func (*CreateClusterCommand) Execute ¶
func (command *CreateClusterCommand) Execute() (*rancherapiclient.Cluster, error)
Execute runs CreateClusterCommand
type DeleteClusterCommand ¶
type DeleteClusterCommand struct {
// contains filtered or unexported fields
}
DeleteClusterCommand represents command that deletes a cluster
func NewDeleteClusterCommand ¶
func NewDeleteClusterCommand(receiver receiver.BMCSDK, clusterID string) *DeleteClusterCommand
NewDeleteClusterCommand constructs new commmand of this type
func (*DeleteClusterCommand) Execute ¶
func (command *DeleteClusterCommand) Execute() (*rancherapiclient.DeleteResult, error)
Execute runs DeleteClusterCommand
type GetClusterCommand ¶
type GetClusterCommand struct {
// contains filtered or unexported fields
}
GetClusterCommand represents command that retrieves a cluster
func NewGetClusterCommand ¶
func NewGetClusterCommand(receiver receiver.BMCSDK, clusterID string) *GetClusterCommand
NewGetClusterCommand constructs new commmand of this type
func (*GetClusterCommand) Execute ¶
func (command *GetClusterCommand) Execute() (*rancherapiclient.Cluster, error)
Execute runs GetClusterCommand
type GetClustersCommand ¶
type GetClustersCommand struct {
// contains filtered or unexported fields
}
GetClustersCommand represents command that lists all clusters for the account
func NewGetClustersCommand ¶
func NewGetClustersCommand(receiver receiver.BMCSDK) *GetClustersCommand
NewGetClustersCommand constructs new commmand of this type
func (*GetClustersCommand) Execute ¶
func (command *GetClustersCommand) Execute() ([]rancherapiclient.Cluster, error)
Execute runs GetClustersCommand