v1alpha1

package
v1.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GroupName = "volume"

GroupName is the group name of this API.

Variables

View Source
var Version = apiversion.NewVersionOrPanic("v1alpha1")

Version is the api version.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() (*Client, error)

NewClient returns a client to make calls to the volume API group version v1alpha1. It's the caller's responsibility to Close the client when done.

func NewClientWithPipePath added in v1.0.0

func NewClientWithPipePath(pipePath string) (*Client, error)

NewClientWithPipePath returns a client to make calls to the named pipe located at "pipePath". It's the caller's responsibility to Close the client when done.

func (*Client) Close

func (w *Client) Close() error

Close closes the client. It must be called before the client gets GC-ed.

func (*Client) DismountVolume

func (w *Client) DismountVolume(context context.Context, request *v1alpha1.DismountVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.DismountVolumeResponse, error)

func (*Client) FormatVolume

func (w *Client) FormatVolume(context context.Context, request *v1alpha1.FormatVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.FormatVolumeResponse, error)

func (*Client) IsVolumeFormatted

func (w *Client) IsVolumeFormatted(context context.Context, request *v1alpha1.IsVolumeFormattedRequest, opts ...grpc.CallOption) (*v1alpha1.IsVolumeFormattedResponse, error)

func (*Client) ListVolumesOnDisk

func (w *Client) ListVolumesOnDisk(context context.Context, request *v1alpha1.ListVolumesOnDiskRequest, opts ...grpc.CallOption) (*v1alpha1.ListVolumesOnDiskResponse, error)

func (*Client) MountVolume

func (w *Client) MountVolume(context context.Context, request *v1alpha1.MountVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.MountVolumeResponse, error)

func (*Client) ResizeVolume

func (w *Client) ResizeVolume(context context.Context, request *v1alpha1.ResizeVolumeRequest, opts ...grpc.CallOption) (*v1alpha1.ResizeVolumeResponse, error)

Jump to

Keyboard shortcuts

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