v1alpha2

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 = "iscsi"

GroupName is the group name of this API.

Variables

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

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 iscsi API group version v1alpha2. It's the caller's responsibility to Close the client when done.

func NewClientWithPipePath

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) AddTargetPortal

func (w *Client) AddTargetPortal(context context.Context, request *v1alpha2.AddTargetPortalRequest, opts ...grpc.CallOption) (*v1alpha2.AddTargetPortalResponse, error)

func (*Client) Close

func (w *Client) Close() error

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

func (*Client) ConnectTarget

func (w *Client) ConnectTarget(context context.Context, request *v1alpha2.ConnectTargetRequest, opts ...grpc.CallOption) (*v1alpha2.ConnectTargetResponse, error)

func (*Client) DisconnectTarget

func (w *Client) DisconnectTarget(context context.Context, request *v1alpha2.DisconnectTargetRequest, opts ...grpc.CallOption) (*v1alpha2.DisconnectTargetResponse, error)

func (*Client) DiscoverTargetPortal

func (w *Client) DiscoverTargetPortal(context context.Context, request *v1alpha2.DiscoverTargetPortalRequest, opts ...grpc.CallOption) (*v1alpha2.DiscoverTargetPortalResponse, error)

func (*Client) GetTargetDisks

func (w *Client) GetTargetDisks(context context.Context, request *v1alpha2.GetTargetDisksRequest, opts ...grpc.CallOption) (*v1alpha2.GetTargetDisksResponse, error)

func (*Client) ListTargetPortals

func (w *Client) ListTargetPortals(context context.Context, request *v1alpha2.ListTargetPortalsRequest, opts ...grpc.CallOption) (*v1alpha2.ListTargetPortalsResponse, error)

func (*Client) RemoveTargetPortal

func (w *Client) RemoveTargetPortal(context context.Context, request *v1alpha2.RemoveTargetPortalRequest, opts ...grpc.CallOption) (*v1alpha2.RemoveTargetPortalResponse, error)

func (*Client) SetMutualChapSecret

func (w *Client) SetMutualChapSecret(context context.Context, request *v1alpha2.SetMutualChapSecretRequest, opts ...grpc.CallOption) (*v1alpha2.SetMutualChapSecretResponse, error)

Jump to

Keyboard shortcuts

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