Documentation ¶
Index ¶
- type RancherVMClient
- func (c *RancherVMClient) CredentialCreate(name, publicKey string) error
- func (c *RancherVMClient) CredentialDelete(name string) error
- func (c *RancherVMClient) CredentialGet(name string) (*vmapi.Credential, error)
- func (c *RancherVMClient) InstanceCreate(i server.Instance, count int32) error
- func (c *RancherVMClient) InstanceDelete(name string) error
- func (c *RancherVMClient) InstanceGet(name string) (*vmapi.VirtualMachine, error)
- func (c *RancherVMClient) InstanceList() ([]*vmapi.VirtualMachine, error)
- func (c *RancherVMClient) InstanceStart(name string) error
- func (c *RancherVMClient) InstanceStop(name string) error
- func (c *RancherVMClient) InstanceUpdate(instance *vmapi.VirtualMachine) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RancherVMClient ¶
type RancherVMClient struct {
// contains filtered or unexported fields
}
func NewRancherVMClient ¶
func NewRancherVMClient(endpoint, username, password string, insecureSkipVerify bool) *RancherVMClient
func (*RancherVMClient) CredentialCreate ¶
func (c *RancherVMClient) CredentialCreate(name, publicKey string) error
func (*RancherVMClient) CredentialDelete ¶
func (c *RancherVMClient) CredentialDelete(name string) error
func (*RancherVMClient) CredentialGet ¶
func (c *RancherVMClient) CredentialGet(name string) (*vmapi.Credential, error)
func (*RancherVMClient) InstanceCreate ¶
func (c *RancherVMClient) InstanceCreate(i server.Instance, count int32) error
func (*RancherVMClient) InstanceDelete ¶
func (c *RancherVMClient) InstanceDelete(name string) error
func (*RancherVMClient) InstanceGet ¶
func (c *RancherVMClient) InstanceGet(name string) (*vmapi.VirtualMachine, error)
func (*RancherVMClient) InstanceList ¶
func (c *RancherVMClient) InstanceList() ([]*vmapi.VirtualMachine, error)
func (*RancherVMClient) InstanceStart ¶
func (c *RancherVMClient) InstanceStart(name string) error
func (*RancherVMClient) InstanceStop ¶
func (c *RancherVMClient) InstanceStop(name string) error
func (*RancherVMClient) InstanceUpdate ¶
func (c *RancherVMClient) InstanceUpdate(instance *vmapi.VirtualMachine) error
Click to show internal directories.
Click to hide internal directories.