Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Create(ctx context.Context, vgs *vgsAlpha.DellCsiVolumeGroupSnapshot) *VGS
- func (c *Client) Delete(ctx context.Context, vgs *vgsAlpha.DellCsiVolumeGroupSnapshot) *VGS
- func (c *Client) Get(ctx context.Context, name, namespace string) *VGS
- func (c *Client) MakeVGS(cfg *Config) *vgsAlpha.DellCsiVolumeGroupSnapshot
- func (c *Client) WaitForComplete(ctx context.Context, name, namespace string) error
- type Config
- type VGS
Constants ¶
View Source
const ( // Poll is a poll interval for Pod Poll = 2 * time.Second // Timeout is a timeout for Pod operations Timeout = 1800 * time.Second // StatusComplete represents Complete status StatusComplete = "Complete" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Interface runtimeclient.Client ClientSet kubernetes.Interface Timeout int }
Client is a client for managing RGs
type Config ¶
type Config struct { Name string Namespace string DriverName string ReclaimPolicy string SnapClass string VolumeLabel string }
Config contains parameters specific to VGS
Click to show internal directories.
Click to hide internal directories.