Documentation ¶
Index ¶
- Variables
- func ISCSIInitiatorPortalServerHandle(ctx context.Context, o ISCSIInitiatorPortalServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewISCSIInitiatorPortalServerHandle(o ISCSIInitiatorPortalServer) dcerpc.ServerHandle
- func RegisterISCSIInitiatorPortalServer(conn dcerpc.Conn, o ISCSIInitiatorPortalServer, opts ...dcerpc.Option)
- type GetInitiatorAdapterRequest
- type GetInitiatorAdapterResponse
- type GetPropertiesRequest
- type GetPropertiesResponse
- type ISCSIInitiatorPortalClient
- type ISCSIInitiatorPortalServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsIscsiInitiatorPortal interface identifier 38a0a9ab-7cc8-4693-ac07-1f28bd03c3da ISCSIInitiatorPortalIID = &dcom.IID{Data1: 0x38a0a9ab, Data2: 0x7cc8, Data3: 0x4693, Data4: []byte{0xac, 0x07, 0x1f, 0x28, 0xbd, 0x03, 0xc3, 0xda}} // Syntax UUID ISCSIInitiatorPortalSyntaxUUID = &uuid.UUID{TimeLow: 0x38a0a9ab, TimeMid: 0x7cc8, TimeHiAndVersion: 0x4693, ClockSeqHiAndReserved: 0xac, ClockSeqLow: 0x7, Node: [6]uint8{0x1f, 0x28, 0xbd, 0x3, 0xc3, 0xda}} // Syntax ID ISCSIInitiatorPortalSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ISCSIInitiatorPortalSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewISCSIInitiatorPortalServerHandle ¶
func NewISCSIInitiatorPortalServerHandle(o ISCSIInitiatorPortalServer) dcerpc.ServerHandle
func RegisterISCSIInitiatorPortalServer ¶
func RegisterISCSIInitiatorPortalServer(conn dcerpc.Conn, o ISCSIInitiatorPortalServer, opts ...dcerpc.Option)
Types ¶
type GetInitiatorAdapterRequest ¶
type GetInitiatorAdapterRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetInitiatorAdapterRequest structure represents the GetInitiatorAdapter operation request
func (*GetInitiatorAdapterRequest) MarshalNDR ¶
func (*GetInitiatorAdapterRequest) UnmarshalNDR ¶
type GetInitiatorAdapterResponse ¶
type GetInitiatorAdapterResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppInitiatorAdapter: A pointer to an IVdsIscsiInitiatorAdapter interface that, if // the operation is successfully completed, receives the IVdsIscsiInitiatorAdapter interface // of the initiator adapter object that the initiator portal belongs to. Callers MUST // release the interface when they are done with it. InitiatorAdapter *vds.ISCSIInitiatorAdapter `idl:"name:ppInitiatorAdapter" json:"initiator_adapter"` // Return: The GetInitiatorAdapter return value. Return int32 `idl:"name:Return" json:"return"` }
GetInitiatorAdapterResponse structure represents the GetInitiatorAdapter operation response
func (*GetInitiatorAdapterResponse) MarshalNDR ¶
func (*GetInitiatorAdapterResponse) UnmarshalNDR ¶
type GetPropertiesRequest ¶
type GetPropertiesRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetPropertiesRequest structure represents the GetProperties operation request
func (*GetPropertiesRequest) MarshalNDR ¶
func (*GetPropertiesRequest) UnmarshalNDR ¶
type GetPropertiesResponse ¶
type GetPropertiesResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` InitiatorPortalProperty *vds.ISCSIInitiatorPortalProperty `idl:"name:pInitiatorPortalProp" json:"initiator_portal_property"` // Return: The GetProperties return value. Return int32 `idl:"name:Return" json:"return"` }
GetPropertiesResponse structure represents the GetProperties operation response
func (*GetPropertiesResponse) MarshalNDR ¶
func (*GetPropertiesResponse) UnmarshalNDR ¶
type ISCSIInitiatorPortalClient ¶
type ISCSIInitiatorPortalClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // GetProperties operation. GetProperties(context.Context, *GetPropertiesRequest, ...dcerpc.CallOption) (*GetPropertiesResponse, error) // The GetInitiatorAdapter method returns the initiator adapter to the initiator portal // it belongs to. // // 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. GetInitiatorAdapter(context.Context, *GetInitiatorAdapterRequest, ...dcerpc.CallOption) (*GetInitiatorAdapterResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ISCSIInitiatorPortalClient }
IVdsIscsiInitiatorPortal interface.
type ISCSIInitiatorPortalServer ¶
type ISCSIInitiatorPortalServer interface { // IUnknown base class. iunknown.UnknownServer // GetProperties operation. GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error) // The GetInitiatorAdapter method returns the initiator adapter to the initiator portal // it belongs to. // // 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. GetInitiatorAdapter(context.Context, *GetInitiatorAdapterRequest) (*GetInitiatorAdapterResponse, error) }
IVdsIscsiInitiatorPortal server interface.
Click to show internal directories.
Click to hide internal directories.