Documentation ¶
Index ¶
- Variables
- func NewSubSystemImportTargetServerHandle(o SubSystemImportTargetServer) dcerpc.ServerHandle
- func RegisterSubSystemImportTargetServer(conn dcerpc.Conn, o SubSystemImportTargetServer, opts ...dcerpc.Option)
- func SubSystemImportTargetServerHandle(ctx context.Context, o SubSystemImportTargetServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetImportTargetRequest
- type GetImportTargetResponse
- type SetImportTargetRequest
- type SetImportTargetResponse
- type SubSystemImportTargetClient
- type SubSystemImportTargetServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsSubSystemImportTarget interface identifier 83bfb87f-43fb-4903-baa6-127f01029eec SubSystemImportTargetIID = &dcom.IID{Data1: 0x83bfb87f, Data2: 0x43fb, Data3: 0x4903, Data4: []byte{0xba, 0xa6, 0x12, 0x7f, 0x01, 0x02, 0x9e, 0xec}} // Syntax UUID SubSystemImportTargetSyntaxUUID = &uuid.UUID{TimeLow: 0x83bfb87f, TimeMid: 0x43fb, TimeHiAndVersion: 0x4903, ClockSeqHiAndReserved: 0xba, ClockSeqLow: 0xa6, Node: [6]uint8{0x12, 0x7f, 0x1, 0x2, 0x9e, 0xec}} // Syntax ID SubSystemImportTargetSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: SubSystemImportTargetSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewSubSystemImportTargetServerHandle ¶
func NewSubSystemImportTargetServerHandle(o SubSystemImportTargetServer) dcerpc.ServerHandle
func RegisterSubSystemImportTargetServer ¶
func RegisterSubSystemImportTargetServer(conn dcerpc.Conn, o SubSystemImportTargetServer, opts ...dcerpc.Option)
Types ¶
type GetImportTargetRequest ¶
type GetImportTargetRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetImportTargetRequest structure represents the GetImportTarget operation request
func (*GetImportTargetRequest) MarshalNDR ¶
func (*GetImportTargetRequest) UnmarshalNDR ¶
type GetImportTargetResponse ¶
type GetImportTargetResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppwszIscsiName: A pointer to a string that contains the name of the import target // of the subsystem. Callers MUST free the memory that is allocated for the string when // they are finished with it. ISCSIName string `idl:"name:ppwszIscsiName;string" json:"iscsi_name"` // Return: The GetImportTarget return value. Return int32 `idl:"name:Return" json:"return"` }
GetImportTargetResponse structure represents the GetImportTarget operation response
func (*GetImportTargetResponse) MarshalNDR ¶
func (*GetImportTargetResponse) UnmarshalNDR ¶
type SetImportTargetRequest ¶
type SetImportTargetRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pwszIscsiName: A string that contains the name of the import target of the subsystem. ISCSIName string `idl:"name:pwszIscsiName;string;pointer:unique" json:"iscsi_name"` }
SetImportTargetRequest structure represents the SetImportTarget operation request
func (*SetImportTargetRequest) MarshalNDR ¶
func (*SetImportTargetRequest) UnmarshalNDR ¶
type SetImportTargetResponse ¶
type SetImportTargetResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The SetImportTarget return value. Return int32 `idl:"name:Return" json:"return"` }
SetImportTargetResponse structure represents the SetImportTarget operation response
func (*SetImportTargetResponse) MarshalNDR ¶
func (*SetImportTargetResponse) UnmarshalNDR ¶
type SubSystemImportTargetClient ¶
type SubSystemImportTargetClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The GetImportTarget method retrieves the name of the import target to associate with // the LUNs being imported on the subsystem. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. GetImportTarget(context.Context, *GetImportTargetRequest, ...dcerpc.CallOption) (*GetImportTargetResponse, error) // The SetImportTarget method sets the name of the import target to associate with the // LUNs being imported on the subsystem. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. SetImportTarget(context.Context, *SetImportTargetRequest, ...dcerpc.CallOption) (*SetImportTargetResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) SubSystemImportTargetClient }
IVdsSubSystemImportTarget interface.
type SubSystemImportTargetServer ¶
type SubSystemImportTargetServer interface { // IUnknown base class. iunknown.UnknownServer // The GetImportTarget method retrieves the name of the import target to associate with // the LUNs being imported on the subsystem. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. GetImportTarget(context.Context, *GetImportTargetRequest) (*GetImportTargetResponse, error) // The SetImportTarget method sets the name of the import target to associate with the // LUNs being imported on the subsystem. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. SetImportTarget(context.Context, *SetImportTargetRequest) (*SetImportTargetResponse, error) }
IVdsSubSystemImportTarget server interface.
Click to show internal directories.
Click to hide internal directories.