client

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client  *grpc.ClientConn
	Timeout time.Duration
}

func New

func New(address string, timeout time.Duration) (*Client, error)

func (*Client) GetDriverName

func (c *Client) GetDriverName() (string, error)

func (*Client) Probe

func (c *Client) Probe() error

type VolumeGroup

type VolumeGroup interface {
	CreateVolumeGroup(name string, secrets, parameters map[string]string) (*csi.CreateVolumeGroupResponse, error)
	DeleteVolumeGroup(volumeGroupId string, secrets map[string]string) (*csi.DeleteVolumeGroupResponse, error)
	ModifyVolumeGroupMembership(volumeGroupId string, volumeIds []string, secrets map[string]string) (*csi.ModifyVolumeGroupMembershipResponse, error)
}

func NewVolumeGroupClient

func NewVolumeGroupClient(cc *grpc.ClientConn, timeout time.Duration) VolumeGroup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL