Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateCluster(def *config.Cluster) error
- func (c *Client) CreateMachine(cluster string, def *config.Machine) error
- func (c *Client) CreatePublicKey(def *config.PublicKey) error
- func (c *Client) DeleteCluster(name string) error
- func (c *Client) DeleteMachine(cluster, machine string) error
- func (c *Client) DeletePublicKey(name string) error
- func (c *Client) GetMachine(clusterName, machine string) (*cluster.MachineStatus, error)
- func (c *Client) GetPublicKey(name string) (*config.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a object able to talk a remote footloose API server.
func (*Client) CreateCluster ¶
CreateCluster creates a new cluster.
func (*Client) CreateMachine ¶
CreateMachine creates a new machine.
func (*Client) CreatePublicKey ¶
CreatePublicKey creates a new public key.
func (*Client) DeleteCluster ¶
DeleteCluster deletes a cluster and all its associated machines.
func (*Client) DeleteMachine ¶
DeleteMachine deletes a machine.
func (*Client) DeletePublicKey ¶
DeletePublicKey deletes a public key.
func (*Client) GetMachine ¶
func (c *Client) GetMachine(clusterName, machine string) (*cluster.MachineStatus, error)
GetMachine retrieves the machine details.
XXX: This API isn't stable and will change in the future as we refine what the machine spec and status objects should be.
Click to show internal directories.
Click to hide internal directories.