Documentation
¶
Index ¶
- Variables
- func RegisterSmbServer(s *grpc.Server, srv SmbServer)
- type NewSmbGlobalMappingRequest
- func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewSmbGlobalMappingRequest) GetLocalPath() string
- func (x *NewSmbGlobalMappingRequest) GetPassword() string
- func (x *NewSmbGlobalMappingRequest) GetRemotePath() string
- func (x *NewSmbGlobalMappingRequest) GetUsername() string
- func (*NewSmbGlobalMappingRequest) ProtoMessage()
- func (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message
- func (x *NewSmbGlobalMappingRequest) Reset()
- func (x *NewSmbGlobalMappingRequest) String() string
- type NewSmbGlobalMappingResponse
- type RemoveSmbGlobalMappingRequest
- func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSmbGlobalMappingRequest) GetRemotePath() string
- func (*RemoveSmbGlobalMappingRequest) ProtoMessage()
- func (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSmbGlobalMappingRequest) Reset()
- func (x *RemoveSmbGlobalMappingRequest) String() string
- type RemoveSmbGlobalMappingResponse
- func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveSmbGlobalMappingResponse) ProtoMessage()
- func (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveSmbGlobalMappingResponse) Reset()
- func (x *RemoveSmbGlobalMappingResponse) String() string
- type SmbClient
- type SmbServer
- type UnimplementedSmbServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_kubernetes_csi_csi_proxy_client_api_smb_v1beta2_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterSmbServer ¶
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 (x *NewSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message
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 (x *NewSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message
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 (x *RemoveSmbGlobalMappingRequest) ProtoReflect() protoreflect.Message
func (*RemoveSmbGlobalMappingRequest) Reset ¶
func (x *RemoveSmbGlobalMappingRequest) Reset()
func (*RemoveSmbGlobalMappingRequest) String ¶
func (x *RemoveSmbGlobalMappingRequest) String() 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 (x *RemoveSmbGlobalMappingResponse) ProtoReflect() protoreflect.Message
func (*RemoveSmbGlobalMappingResponse) Reset ¶
func (x *RemoveSmbGlobalMappingResponse) Reset()
func (*RemoveSmbGlobalMappingResponse) String ¶
func (x *RemoveSmbGlobalMappingResponse) String() 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.
func (*UnimplementedSmbServer) NewSmbGlobalMapping ¶
func (*UnimplementedSmbServer) NewSmbGlobalMapping(context.Context, *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error)
func (*UnimplementedSmbServer) RemoveSmbGlobalMapping ¶
func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(context.Context, *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error)
Click to show internal directories.
Click to hide internal directories.