v1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1_api_proto protoreflect.FileDescriptor

Functions

func RegisterSmbServer

func RegisterSmbServer(s *grpc.Server, srv SmbServer)

Types

type NewSmbGlobalMappingRequest

type NewSmbGlobalMappingRequest struct {

	// A remote SMB share to mount
	// All unicode characters allowed in SMB server name specifications are
	// permitted except for restrictions below
	//
	// Restrictions:
	// SMB remote path specified in the format: \\server-name\sharename, \\server.fqdn\sharename or \\a.b.c.d\sharename
	// If not an IP address, share name has to be a valid DNS name.
	// UNC specifications to local paths or prefix: \\?\ is not allowed.
	// Characters: + [ ] " / : ; | < > , ? * = $ are not allowed.
	RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"`
	// Optional local path to mount the smb on
	LocalPath string `protobuf:"bytes,2,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"`
	// Username credential associated with the share
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// Password credential associated with the share
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*NewSmbGlobalMappingRequest) Descriptor deprecated

func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int)

Deprecated: Use NewSmbGlobalMappingRequest.ProtoReflect.Descriptor instead.

func (*NewSmbGlobalMappingRequest) GetLocalPath

func (x *NewSmbGlobalMappingRequest) GetLocalPath() string

func (*NewSmbGlobalMappingRequest) GetPassword

func (x *NewSmbGlobalMappingRequest) GetPassword() string

func (*NewSmbGlobalMappingRequest) GetRemotePath

func (x *NewSmbGlobalMappingRequest) GetRemotePath() string

func (*NewSmbGlobalMappingRequest) GetUsername

func (x *NewSmbGlobalMappingRequest) GetUsername() string

func (*NewSmbGlobalMappingRequest) ProtoMessage

func (*NewSmbGlobalMappingRequest) ProtoMessage()

func (*NewSmbGlobalMappingRequest) ProtoReflect

func (*NewSmbGlobalMappingRequest) Reset

func (x *NewSmbGlobalMappingRequest) Reset()

func (*NewSmbGlobalMappingRequest) String

func (x *NewSmbGlobalMappingRequest) String() string

type NewSmbGlobalMappingResponse

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

func (*NewSmbGlobalMappingResponse) Descriptor deprecated

func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int)

Deprecated: Use NewSmbGlobalMappingResponse.ProtoReflect.Descriptor instead.

func (*NewSmbGlobalMappingResponse) ProtoMessage

func (*NewSmbGlobalMappingResponse) ProtoMessage()

func (*NewSmbGlobalMappingResponse) ProtoReflect

func (*NewSmbGlobalMappingResponse) Reset

func (x *NewSmbGlobalMappingResponse) Reset()

func (*NewSmbGlobalMappingResponse) String

func (x *NewSmbGlobalMappingResponse) String() string

type RemoveSmbGlobalMappingRequest

type RemoveSmbGlobalMappingRequest struct {

	// A remote SMB share mapping to remove
	// All unicode characters allowed in SMB server name specifications are
	// permitted except for restrictions below
	//
	// Restrictions:
	// SMB share specified in the format: \\server-name\sharename, \\server.fqdn\sharename or \\a.b.c.d\sharename
	// If not an IP address, share name has to be a valid DNS name.
	// UNC specifications to local paths or prefix: \\?\ is not allowed.
	// Characters: + [ ] " / : ; | < > , ? * = $ are not allowed.
	RemotePath string `protobuf:"bytes,1,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveSmbGlobalMappingRequest) Descriptor deprecated

func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveSmbGlobalMappingRequest.ProtoReflect.Descriptor instead.

func (*RemoveSmbGlobalMappingRequest) GetRemotePath

func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string

func (*RemoveSmbGlobalMappingRequest) ProtoMessage

func (*RemoveSmbGlobalMappingRequest) ProtoMessage()

func (*RemoveSmbGlobalMappingRequest) ProtoReflect

func (*RemoveSmbGlobalMappingRequest) Reset

func (x *RemoveSmbGlobalMappingRequest) Reset()

func (*RemoveSmbGlobalMappingRequest) String

type RemoveSmbGlobalMappingResponse

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

func (*RemoveSmbGlobalMappingResponse) Descriptor deprecated

func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveSmbGlobalMappingResponse.ProtoReflect.Descriptor instead.

func (*RemoveSmbGlobalMappingResponse) ProtoMessage

func (*RemoveSmbGlobalMappingResponse) ProtoMessage()

func (*RemoveSmbGlobalMappingResponse) ProtoReflect

func (*RemoveSmbGlobalMappingResponse) Reset

func (x *RemoveSmbGlobalMappingResponse) Reset()

func (*RemoveSmbGlobalMappingResponse) String

type SmbClient

type SmbClient interface {
	// NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share.
	NewSmbGlobalMapping(ctx context.Context, in *NewSmbGlobalMappingRequest, opts ...grpc.CallOption) (*NewSmbGlobalMappingResponse, error)
	// RemoveSmbGlobalMapping removes the SMB mapping to an SMB share.
	RemoveSmbGlobalMapping(ctx context.Context, in *RemoveSmbGlobalMappingRequest, opts ...grpc.CallOption) (*RemoveSmbGlobalMappingResponse, error)
}

SmbClient is the client API for Smb service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSmbClient

func NewSmbClient(cc grpc.ClientConnInterface) SmbClient

type SmbServer

type SmbServer interface {
	// NewSmbGlobalMapping creates an SMB mapping on the SMB client to an SMB share.
	NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error)
	// RemoveSmbGlobalMapping removes the SMB mapping to an SMB share.
	RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error)
}

SmbServer is the server API for Smb service.

type UnimplementedSmbServer

type UnimplementedSmbServer struct {
}

UnimplementedSmbServer can be embedded to have forward compatible implementations.

Jump to

Keyboard shortcuts

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