cluster

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2025 License: MPL-2.0 Imports: 5 Imported by: 1

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL