Documentation
¶
Index ¶
- func RegisterSmbServer(s *grpc.Server, srv SmbServer)
- type NewSmbGlobalMappingRequest
- func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int)
- func (m *NewSmbGlobalMappingRequest) GetLocalPath() string
- func (m *NewSmbGlobalMappingRequest) GetPassword() string
- func (m *NewSmbGlobalMappingRequest) GetRemotePath() string
- func (m *NewSmbGlobalMappingRequest) GetUsername() string
- func (*NewSmbGlobalMappingRequest) ProtoMessage()
- func (m *NewSmbGlobalMappingRequest) Reset()
- func (m *NewSmbGlobalMappingRequest) String() string
- func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown()
- func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message)
- func (m *NewSmbGlobalMappingRequest) XXX_Size() int
- func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error
- type NewSmbGlobalMappingResponse
- func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int)
- func (m *NewSmbGlobalMappingResponse) GetError() string
- func (*NewSmbGlobalMappingResponse) ProtoMessage()
- func (m *NewSmbGlobalMappingResponse) Reset()
- func (m *NewSmbGlobalMappingResponse) String() string
- func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown()
- func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message)
- func (m *NewSmbGlobalMappingResponse) XXX_Size() int
- func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error
- type RemoveSmbGlobalMappingRequest
- func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int)
- func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string
- func (*RemoveSmbGlobalMappingRequest) ProtoMessage()
- func (m *RemoveSmbGlobalMappingRequest) Reset()
- func (m *RemoveSmbGlobalMappingRequest) String() string
- func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown()
- func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message)
- func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int
- func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error
- type RemoveSmbGlobalMappingResponse
- func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int)
- func (m *RemoveSmbGlobalMappingResponse) GetError() string
- func (*RemoveSmbGlobalMappingResponse) ProtoMessage()
- func (m *RemoveSmbGlobalMappingResponse) Reset()
- func (m *RemoveSmbGlobalMappingResponse) String() string
- func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown()
- func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message)
- func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int
- func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error
- type SmbClient
- type SmbServer
- type UnimplementedSmbServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewSmbGlobalMappingRequest) Descriptor ¶
func (*NewSmbGlobalMappingRequest) Descriptor() ([]byte, []int)
func (*NewSmbGlobalMappingRequest) GetLocalPath ¶
func (m *NewSmbGlobalMappingRequest) GetLocalPath() string
func (*NewSmbGlobalMappingRequest) GetPassword ¶
func (m *NewSmbGlobalMappingRequest) GetPassword() string
func (*NewSmbGlobalMappingRequest) GetRemotePath ¶
func (m *NewSmbGlobalMappingRequest) GetRemotePath() string
func (*NewSmbGlobalMappingRequest) GetUsername ¶
func (m *NewSmbGlobalMappingRequest) GetUsername() string
func (*NewSmbGlobalMappingRequest) ProtoMessage ¶
func (*NewSmbGlobalMappingRequest) ProtoMessage()
func (*NewSmbGlobalMappingRequest) Reset ¶
func (m *NewSmbGlobalMappingRequest) Reset()
func (*NewSmbGlobalMappingRequest) String ¶
func (m *NewSmbGlobalMappingRequest) String() string
func (*NewSmbGlobalMappingRequest) XXX_DiscardUnknown ¶
func (m *NewSmbGlobalMappingRequest) XXX_DiscardUnknown()
func (*NewSmbGlobalMappingRequest) XXX_Marshal ¶
func (m *NewSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewSmbGlobalMappingRequest) XXX_Merge ¶
func (m *NewSmbGlobalMappingRequest) XXX_Merge(src proto.Message)
func (*NewSmbGlobalMappingRequest) XXX_Size ¶
func (m *NewSmbGlobalMappingRequest) XXX_Size() int
func (*NewSmbGlobalMappingRequest) XXX_Unmarshal ¶
func (m *NewSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error
type NewSmbGlobalMappingResponse ¶
type NewSmbGlobalMappingResponse struct { // Windows error code // Success is represented as 0 Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewSmbGlobalMappingResponse) Descriptor ¶
func (*NewSmbGlobalMappingResponse) Descriptor() ([]byte, []int)
func (*NewSmbGlobalMappingResponse) GetError ¶
func (m *NewSmbGlobalMappingResponse) GetError() string
func (*NewSmbGlobalMappingResponse) ProtoMessage ¶
func (*NewSmbGlobalMappingResponse) ProtoMessage()
func (*NewSmbGlobalMappingResponse) Reset ¶
func (m *NewSmbGlobalMappingResponse) Reset()
func (*NewSmbGlobalMappingResponse) String ¶
func (m *NewSmbGlobalMappingResponse) String() string
func (*NewSmbGlobalMappingResponse) XXX_DiscardUnknown ¶
func (m *NewSmbGlobalMappingResponse) XXX_DiscardUnknown()
func (*NewSmbGlobalMappingResponse) XXX_Marshal ¶
func (m *NewSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewSmbGlobalMappingResponse) XXX_Merge ¶
func (m *NewSmbGlobalMappingResponse) XXX_Merge(src proto.Message)
func (*NewSmbGlobalMappingResponse) XXX_Size ¶
func (m *NewSmbGlobalMappingResponse) XXX_Size() int
func (*NewSmbGlobalMappingResponse) XXX_Unmarshal ¶
func (m *NewSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveSmbGlobalMappingRequest) Descriptor ¶
func (*RemoveSmbGlobalMappingRequest) Descriptor() ([]byte, []int)
func (*RemoveSmbGlobalMappingRequest) GetRemotePath ¶
func (m *RemoveSmbGlobalMappingRequest) GetRemotePath() string
func (*RemoveSmbGlobalMappingRequest) ProtoMessage ¶
func (*RemoveSmbGlobalMappingRequest) ProtoMessage()
func (*RemoveSmbGlobalMappingRequest) Reset ¶
func (m *RemoveSmbGlobalMappingRequest) Reset()
func (*RemoveSmbGlobalMappingRequest) String ¶
func (m *RemoveSmbGlobalMappingRequest) String() string
func (*RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown ¶
func (m *RemoveSmbGlobalMappingRequest) XXX_DiscardUnknown()
func (*RemoveSmbGlobalMappingRequest) XXX_Marshal ¶
func (m *RemoveSmbGlobalMappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveSmbGlobalMappingRequest) XXX_Merge ¶
func (m *RemoveSmbGlobalMappingRequest) XXX_Merge(src proto.Message)
func (*RemoveSmbGlobalMappingRequest) XXX_Size ¶
func (m *RemoveSmbGlobalMappingRequest) XXX_Size() int
func (*RemoveSmbGlobalMappingRequest) XXX_Unmarshal ¶
func (m *RemoveSmbGlobalMappingRequest) XXX_Unmarshal(b []byte) error
type RemoveSmbGlobalMappingResponse ¶
type RemoveSmbGlobalMappingResponse struct { // Windows error code // Success is represented as 0 Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveSmbGlobalMappingResponse) Descriptor ¶
func (*RemoveSmbGlobalMappingResponse) Descriptor() ([]byte, []int)
func (*RemoveSmbGlobalMappingResponse) GetError ¶
func (m *RemoveSmbGlobalMappingResponse) GetError() string
func (*RemoveSmbGlobalMappingResponse) ProtoMessage ¶
func (*RemoveSmbGlobalMappingResponse) ProtoMessage()
func (*RemoveSmbGlobalMappingResponse) Reset ¶
func (m *RemoveSmbGlobalMappingResponse) Reset()
func (*RemoveSmbGlobalMappingResponse) String ¶
func (m *RemoveSmbGlobalMappingResponse) String() string
func (*RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown ¶
func (m *RemoveSmbGlobalMappingResponse) XXX_DiscardUnknown()
func (*RemoveSmbGlobalMappingResponse) XXX_Marshal ¶
func (m *RemoveSmbGlobalMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveSmbGlobalMappingResponse) XXX_Merge ¶
func (m *RemoveSmbGlobalMappingResponse) XXX_Merge(src proto.Message)
func (*RemoveSmbGlobalMappingResponse) XXX_Size ¶
func (m *RemoveSmbGlobalMappingResponse) XXX_Size() int
func (*RemoveSmbGlobalMappingResponse) XXX_Unmarshal ¶
func (m *RemoveSmbGlobalMappingResponse) XXX_Unmarshal(b []byte) error
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.ClientConn) 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(ctx context.Context, req *NewSmbGlobalMappingRequest) (*NewSmbGlobalMappingResponse, error)
func (*UnimplementedSmbServer) RemoveSmbGlobalMapping ¶
func (*UnimplementedSmbServer) RemoveSmbGlobalMapping(ctx context.Context, req *RemoveSmbGlobalMappingRequest) (*RemoveSmbGlobalMappingResponse, error)
Click to show internal directories.
Click to hide internal directories.