Documentation ¶
Index ¶
- Constants
- type AdjustClusterInput
- type AdjustClusterOutput
- type Client
- func (a *Client) AdjustCluster(input AdjustClusterInput) (AdjustClusterOutput, error)
- func (a *Client) Close() error
- func (a *Client) ClusterUpgrade(input ClusterUpgradeInput) (ClusterUpgradeOutput, error)
- func (a *Client) CreateCluster(input CreateClusterInput) (CreateClusterOutput, error)
- func (a *Client) CreateNewClient(hostname string, insecure bool) error
- func (a *Client) DeleteCluster(input DeleteClusterInput) (DeleteClusterOutput, error)
- func (a *Client) GetCluster(input GetClusterInput) (GetClusterOutput, error)
- func (a *Client) GetClusterUpgrades(input GetClusterUpgradesInput) (GetClusterUpgradesOutput, error)
- func (a *Client) ListClusters(input ListClusterInput) (ListClusterOutput, error)
- func (a *Client) SetClient(client pb.ClusterClient)
- type ClientInterface
- type ClusterDetailItem
- type ClusterItem
- type ClusterUpgradeInput
- type ClusterUpgradeOutput
- type CreateClusterInput
- type CreateClusterOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type GetClusterInput
- type GetClusterOutput
- type GetClusterUpgradesInput
- type GetClusterUpgradesOutput
- type KubernetesLabel
- type ListClusterInput
- type ListClusterOutput
- type MachineSpec
- type RemoveMachineSpec
Constants ¶
View Source
const (
VMWareProvider = "VMWare"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdjustClusterInput ¶
type AdjustClusterInput struct { Name string AddNodes []MachineSpec RemoveNodes []RemoveMachineSpec }
type AdjustClusterOutput ¶
type AdjustClusterOutput struct { }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AdjustCluster ¶
func (a *Client) AdjustCluster(input AdjustClusterInput) (AdjustClusterOutput, error)
func (*Client) ClusterUpgrade ¶
func (a *Client) ClusterUpgrade(input ClusterUpgradeInput) (ClusterUpgradeOutput, error)
func (*Client) CreateCluster ¶
func (a *Client) CreateCluster(input CreateClusterInput) (CreateClusterOutput, error)
func (*Client) CreateNewClient ¶
func (*Client) DeleteCluster ¶
func (a *Client) DeleteCluster(input DeleteClusterInput) (DeleteClusterOutput, error)
func (*Client) GetCluster ¶
func (a *Client) GetCluster(input GetClusterInput) (GetClusterOutput, error)
func (*Client) GetClusterUpgrades ¶
func (a *Client) GetClusterUpgrades(input GetClusterUpgradesInput) (GetClusterUpgradesOutput, error)
func (*Client) ListClusters ¶
func (a *Client) ListClusters(input ListClusterInput) (ListClusterOutput, error)
func (*Client) SetClient ¶
func (a *Client) SetClient(client pb.ClusterClient)
type ClientInterface ¶
type ClientInterface interface { CreateCluster(CreateClusterInput) (CreateClusterOutput, error) GetCluster(GetClusterInput) (GetClusterOutput, error) DeleteCluster(DeleteClusterInput) (DeleteClusterOutput, error) ListClusters(ListClusterInput) (ListClusterOutput, error) AdjustCluster(AdjustClusterInput) (AdjustClusterOutput, error) GetClusterUpgrades(input GetClusterUpgradesInput) (GetClusterUpgradesOutput, error) ClusterUpgrade(input ClusterUpgradeInput) (ClusterUpgradeOutput, error) CreateNewClient(string, bool) error Close() error }
func CreateNewClient ¶
func CreateNewClient(hostname string, insecure bool) (ClientInterface, error)
type ClusterDetailItem ¶
type ClusterItem ¶
type ClusterUpgradeInput ¶
type ClusterUpgradeOutput ¶
type ClusterUpgradeOutput struct{}
type CreateClusterInput ¶
type CreateClusterInput struct { Name string K8SVersion string ControlPlaneNodes []MachineSpec WorkerNodes []MachineSpec APIEndpoint string HighAvailability bool NetworkFabric string }
type CreateClusterOutput ¶
type CreateClusterOutput struct {
Cluster ClusterItem
}
type DeleteClusterInput ¶
type DeleteClusterInput struct {
Name string
}
type DeleteClusterOutput ¶
type DeleteClusterOutput struct {
Status string
}
type GetClusterInput ¶
type GetClusterInput struct {
Name string
}
type GetClusterOutput ¶
type GetClusterOutput struct {
Cluster ClusterDetailItem
}
type GetClusterUpgradesInput ¶
type GetClusterUpgradesInput struct {
Name string
}
type GetClusterUpgradesOutput ¶
type GetClusterUpgradesOutput struct {
Versions []string
}
type KubernetesLabel ¶
type ListClusterInput ¶
type ListClusterInput struct{}
type ListClusterOutput ¶
type ListClusterOutput struct {
Clusters []ClusterItem
}
type MachineSpec ¶
type MachineSpec struct { Username string Host string Port int Password string Labels []KubernetesLabel }
type RemoveMachineSpec ¶
type RemoveMachineSpec struct {
Host string
}
Click to show internal directories.
Click to hide internal directories.