Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- func (w *Client) Close() error
- func (w *Client) GetDiskNumberByName(context context.Context, request *v1alpha1.GetDiskNumberByNameRequest, ...) (*v1alpha1.GetDiskNumberByNameResponse, error)
- func (w *Client) ListDiskLocations(context context.Context, request *v1alpha1.ListDiskLocationsRequest, ...) (*v1alpha1.ListDiskLocationsResponse, error)
- func (w *Client) PartitionDisk(context context.Context, request *v1alpha1.PartitionDiskRequest, ...) (*v1alpha1.PartitionDiskResponse, error)
- func (w *Client) Rescan(context context.Context, request *v1alpha1.RescanRequest, ...) (*v1alpha1.RescanResponse, error)
Constants ¶
View Source
const GroupName = "disk"
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 ¶
NewClient returns a client to make calls to the disk API group version v1alpha1. It's the caller's responsibility to Close the client when done.
func NewClientWithPipePath ¶ added in v1.0.0
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) GetDiskNumberByName ¶
func (w *Client) GetDiskNumberByName(context context.Context, request *v1alpha1.GetDiskNumberByNameRequest, opts ...grpc.CallOption) (*v1alpha1.GetDiskNumberByNameResponse, error)
func (*Client) ListDiskLocations ¶
func (w *Client) ListDiskLocations(context context.Context, request *v1alpha1.ListDiskLocationsRequest, opts ...grpc.CallOption) (*v1alpha1.ListDiskLocationsResponse, error)
func (*Client) PartitionDisk ¶
func (w *Client) PartitionDisk(context context.Context, request *v1alpha1.PartitionDiskRequest, opts ...grpc.CallOption) (*v1alpha1.PartitionDiskResponse, error)
func (*Client) Rescan ¶
func (w *Client) Rescan(context context.Context, request *v1alpha1.RescanRequest, opts ...grpc.CallOption) (*v1alpha1.RescanResponse, error)
Click to show internal directories.
Click to hide internal directories.