v1beta2

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "disk"

GroupName is the group name of this API.

Variables

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

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 disk API group version v1beta2. 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) DiskStats

func (w *Client) DiskStats(context context.Context, request *v1beta2.DiskStatsRequest, opts ...grpc.CallOption) (*v1beta2.DiskStatsResponse, error)

func (*Client) GetAttachState

func (w *Client) GetAttachState(context context.Context, request *v1beta2.GetAttachStateRequest, opts ...grpc.CallOption) (*v1beta2.GetAttachStateResponse, error)

func (*Client) ListDiskIDs

func (w *Client) ListDiskIDs(context context.Context, request *v1beta2.ListDiskIDsRequest, opts ...grpc.CallOption) (*v1beta2.ListDiskIDsResponse, error)

func (*Client) ListDiskLocations

func (w *Client) ListDiskLocations(context context.Context, request *v1beta2.ListDiskLocationsRequest, opts ...grpc.CallOption) (*v1beta2.ListDiskLocationsResponse, error)

func (*Client) PartitionDisk

func (w *Client) PartitionDisk(context context.Context, request *v1beta2.PartitionDiskRequest, opts ...grpc.CallOption) (*v1beta2.PartitionDiskResponse, error)

func (*Client) Rescan

func (w *Client) Rescan(context context.Context, request *v1beta2.RescanRequest, opts ...grpc.CallOption) (*v1beta2.RescanResponse, error)

func (*Client) SetAttachState

func (w *Client) SetAttachState(context context.Context, request *v1beta2.SetAttachStateRequest, opts ...grpc.CallOption) (*v1beta2.SetAttachStateResponse, error)

Jump to

Keyboard shortcuts

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