Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateConfigMap(ctx context.Context, namespace string, configMap *k8scorev1.ConfigMap) (*k8scorev1.ConfigMap, error)
- func (c *Client) CreateVirtualMachineInstance(ctx context.Context, namespace string, vmi *kvcorev1.VirtualMachineInstance) (*kvcorev1.VirtualMachineInstance, error)
- func (c *Client) DeleteConfigMap(ctx context.Context, namespace, name string) error
- func (c *Client) DeleteVirtualMachineInstance(ctx context.Context, namespace, name string) error
- func (c *Client) GetVirtualMachineInstance(ctx context.Context, namespace, name string) (*kvcorev1.VirtualMachineInstance, error)
- func (c *Client) VMISerialConsole(namespace, name string, timeout time.Duration) (kubecli.StreamInterface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
kubecli.KubevirtClient
}
func (*Client) CreateConfigMap ¶ added in v0.2.0
func (*Client) CreateVirtualMachineInstance ¶
func (c *Client) CreateVirtualMachineInstance(ctx context.Context, namespace string, vmi *kvcorev1.VirtualMachineInstance) (*kvcorev1.VirtualMachineInstance, error)
func (*Client) DeleteConfigMap ¶ added in v0.2.0
func (*Client) DeleteVirtualMachineInstance ¶
func (*Client) GetVirtualMachineInstance ¶
func (*Client) VMISerialConsole ¶
Click to show internal directories.
Click to hide internal directories.