Documentation ¶
Index ¶
- type Client
- func (c Client) AttachPolicy(role, policyArn string) error
- func (c *Client) Boot() error
- func (c *Client) ClusterName() string
- func (c Client) CreateCluster()
- func (c Client) CreatePolicy(name string, p policy) (string, error)
- func (c Client) CreateRole(name string, r role) (string, error)
- func (c Client) FetchAdminKeys() (string, error)
- func (c Client) GetAPICAHash() (string, error)
- func (c Client) GetAPICertKey() (string, error)
- func (c *Client) GetAPIEndpoint() (string, error)
- func (c *Client) GetAPIToken() (string, error)
- func (c Client) IRSAPolicy(bucketArn string) (string, error)
- func (c Client) InstanceID() string
- func (c Client) InstanceIP() string
- func (c Client) InstanceRegion() string
- func (c Client) IsMaster() bool
- func (c Client) SearchAMI(owner string, tags map[string]string) (string, string, string, error)
- func (c Client) UploadBootstrapToken(key, token string) error
- type Direction
- type Instance
- type Secret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Cfg aws.Config Tags map[string]string Id string Ec2 *ec2.Client Localized bool APIToken string APICertKey string Role string Region string CIDR string Instance string IP string AccountID string // contains filtered or unexported fields }
func (Client) AttachPolicy ¶
func (*Client) ClusterName ¶
func (Client) CreateCluster ¶
func (c Client) CreateCluster()
func (Client) FetchAdminKeys ¶
func (Client) GetAPICAHash ¶
func (Client) GetAPICertKey ¶
func (*Client) GetAPIEndpoint ¶
func (*Client) GetAPIToken ¶
func (Client) InstanceID ¶
func (Client) InstanceIP ¶
func (Client) InstanceRegion ¶
func (Client) UploadBootstrapToken ¶
Click to show internal directories.
Click to hide internal directories.