Documentation
¶
Index ¶
- Constants
- func IsEnabled() bool
- type Client
- func (c *Client) AdjustCluster(in *pb.AdjustClusterMsg) (*pb.AdjustClusterReply, error)
- func (c *Client) Close() error
- func (c *Client) ClusterUpgrade(in *pb.UpgradeClusterMsg) (output *pb.UpgradeClusterReply, err error)
- func (c *Client) CreateCluster(in *pb.CreateClusterMsg) (*pb.CreateClusterReply, error)
- func (c *Client) CreateNewClients() error
- func (c *Client) DeleteCluster(in *pb.DeleteClusterMsg) (*pb.DeleteClusterReply, error)
- func (c *Client) GetCluster(in *pb.GetClusterMsg) (*pb.GetClusterReply, error)
- func (c *Client) GetClusterList(in *pb.GetClusterListMsg) (*pb.GetClusterListReply, error)
- func (c *Client) GetClusterUpgrades(in *pb.GetUpgradeClusterInformationMsg) (output *pb.GetUpgradeClusterInformationReply, err error)
- func (c *Client) SetCMAK8sClient(client cmak8sutil.ClientInterface)
- func (c *Client) SetCMAVMWareClient(client cmavmware.ClientInterface)
- type ClientInterface
Constants ¶
View Source
const ( CMAVMWareEndpointViperVariableName = "cmavmware-endpoint" CMAVMWareInsecureViperVariableName = "cmavmware-insecure" NotEnabledErrorMessage = "vmware support is not enabled" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AdjustCluster ¶
func (c *Client) AdjustCluster(in *pb.AdjustClusterMsg) (*pb.AdjustClusterReply, error)
func (*Client) ClusterUpgrade ¶
func (c *Client) ClusterUpgrade(in *pb.UpgradeClusterMsg) (output *pb.UpgradeClusterReply, err error)
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(in *pb.CreateClusterMsg) (*pb.CreateClusterReply, error)
func (*Client) CreateNewClients ¶
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(in *pb.DeleteClusterMsg) (*pb.DeleteClusterReply, error)
func (*Client) GetCluster ¶
func (c *Client) GetCluster(in *pb.GetClusterMsg) (*pb.GetClusterReply, error)
func (*Client) GetClusterList ¶
func (c *Client) GetClusterList(in *pb.GetClusterListMsg) (*pb.GetClusterListReply, error)
func (*Client) GetClusterUpgrades ¶
func (c *Client) GetClusterUpgrades(in *pb.GetUpgradeClusterInformationMsg) (output *pb.GetUpgradeClusterInformationReply, err error)
func (*Client) SetCMAK8sClient ¶
func (c *Client) SetCMAK8sClient(client cmak8sutil.ClientInterface)
func (*Client) SetCMAVMWareClient ¶
func (c *Client) SetCMAVMWareClient(client cmavmware.ClientInterface)
type ClientInterface ¶
type ClientInterface interface { CreateCluster(in *pb.CreateClusterMsg) (*pb.CreateClusterReply, error) GetCluster(in *pb.GetClusterMsg) (*pb.GetClusterReply, error) GetClusterList(in *pb.GetClusterListMsg) (*pb.GetClusterListReply, error) DeleteCluster(in *pb.DeleteClusterMsg) (*pb.DeleteClusterReply, error) GetClusterUpgrades(in *pb.GetUpgradeClusterInformationMsg) (output *pb.GetUpgradeClusterInformationReply, err error) ClusterUpgrade(in *pb.UpgradeClusterMsg) (output *pb.UpgradeClusterReply, err error) AdjustCluster(in *pb.AdjustClusterMsg) (*pb.AdjustClusterReply, error) SetCMAVMWareClient(client cmavmware.ClientInterface) SetCMAK8sClient(client cmak8sutil.ClientInterface) Close() error }
func CreateFromDefaults ¶
func CreateFromDefaults() (ClientInterface, error)
Click to show internal directories.
Click to hide internal directories.