ivdsiscsiinitiatorportal

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 ISCSIInitiatorPortalServerHandle

func ISCSIInitiatorPortalServerHandle(ctx context.Context, o ISCSIInitiatorPortalServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

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 (o *GetInitiatorAdapterRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetInitiatorAdapterRequest) UnmarshalNDR

func (o *GetInitiatorAdapterRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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

func (o *GetInitiatorAdapterResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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 (o *GetPropertiesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetPropertiesRequest) UnmarshalNDR

func (o *GetPropertiesRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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 (o *GetPropertiesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetPropertiesResponse) UnmarshalNDR

func (o *GetPropertiesResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

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.

func NewISCSIInitiatorPortalClient

func NewISCSIInitiatorPortalClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ISCSIInitiatorPortalClient, error)

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.

Jump to

Keyboard shortcuts

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