Documentation ¶
Index ¶
- Constants
- type AWSSpec
- type Client
- func (a *Client) Close() 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) ListClusters(input ListClusterInput) (ListClusterOutput, error)
- func (a *Client) SetClient(client pb.ClusterClient)
- type ClientInterface
- type ClusterDetailItem
- type ClusterItem
- type CreateClusterInput
- type CreateClusterOutput
- type Credentials
- type DataCenter
- type DeleteClusterInput
- type DeleteClusterOutput
- type GetClusterInput
- type GetClusterOutput
- type InstanceGroup
- type ListClusterInput
- type ListClusterOutput
- type PreconfiguredItems
Constants ¶
View Source
const (
AWSProvider = "AWS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSSpec ¶
type AWSSpec struct { DataCenter DataCenter Credentials Credentials PreconfiguredItems PreconfiguredItems InstanceGroups []InstanceGroup }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
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) 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) CreateNewClient(string, bool) error Close() error SetClient(client pb.ClusterClient) }
func CreateNewClient ¶
func CreateNewClient(hostname string, insecure bool) (ClientInterface, error)
type ClusterDetailItem ¶
type ClusterItem ¶
type CreateClusterInput ¶
type CreateClusterOutput ¶
type CreateClusterOutput struct {
Cluster ClusterItem
}
type Credentials ¶
type DataCenter ¶
type DeleteClusterInput ¶
type DeleteClusterInput struct { Name string Credentials Credentials }
type DeleteClusterOutput ¶
type DeleteClusterOutput struct {
Status string
}
type GetClusterInput ¶
type GetClusterInput struct { Name string Credentials Credentials }
type GetClusterOutput ¶
type GetClusterOutput struct {
Cluster ClusterDetailItem
}
type InstanceGroup ¶
type ListClusterInput ¶
type ListClusterInput struct {
Credentials Credentials
}
type ListClusterOutput ¶
type ListClusterOutput struct {
Clusters []ClusterItem
}
type PreconfiguredItems ¶
Click to show internal directories.
Click to hide internal directories.