ivdssubsystemimporttarget

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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)

func SubSystemImportTargetServerHandle

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

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

func (*GetImportTargetRequest) UnmarshalNDR

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

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

func (*GetImportTargetResponse) UnmarshalNDR

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

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

func (*SetImportTargetRequest) UnmarshalNDR

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

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

func (*SetImportTargetResponse) UnmarshalNDR

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

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.

func NewSubSystemImportTargetClient

func NewSubSystemImportTargetClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (SubSystemImportTargetClient, error)

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.

Jump to

Keyboard shortcuts

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