ivdshbaport

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 (
	// IVdsHbaPort interface identifier 2abd757f-2851-4997-9a13-47d2a885d6ca
	HBAPortIID = &dcom.IID{Data1: 0x2abd757f, Data2: 0x2851, Data3: 0x4997, Data4: []byte{0x9a, 0x13, 0x47, 0xd2, 0xa8, 0x85, 0xd6, 0xca}}
	// Syntax UUID
	HBAPortSyntaxUUID = &uuid.UUID{TimeLow: 0x2abd757f, TimeMid: 0x2851, TimeHiAndVersion: 0x4997, ClockSeqHiAndReserved: 0x9a, ClockSeqLow: 0x13, Node: [6]uint8{0x47, 0xd2, 0xa8, 0x85, 0xd6, 0xca}}
	// Syntax ID
	HBAPortSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: HBAPortSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func HBAPortServerHandle

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

func NewHBAPortServerHandle

func NewHBAPortServerHandle(o HBAPortServer) dcerpc.ServerHandle

func RegisterHBAPortServer

func RegisterHBAPortServer(conn dcerpc.Conn, o HBAPortServer, opts ...dcerpc.Option)

Types

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"`
	HBAPortProperty *vds.HBAPortProperty `idl:"name:pHbaPortProp" json:"hba_port_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 HBAPortClient

type HBAPortClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// GetProperties operation.
	GetProperties(context.Context, *GetPropertiesRequest, ...dcerpc.CallOption) (*GetPropertiesResponse, error)

	// The SetAllPathStatuses method sets the statuses of all paths that originate from
	// the HBA port to a specified status.
	//
	// 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.<76> For the HRESULT values predefined by the Virtual Disk
	// Service Remote Protocol, see section 2.2.3.
	SetAllPathStatuses(context.Context, *SetAllPathStatusesRequest, ...dcerpc.CallOption) (*SetAllPathStatusesResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) HBAPortClient
}

IVdsHbaPort interface.

func NewHBAPortClient

func NewHBAPortClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (HBAPortClient, error)

type HBAPortServer

type HBAPortServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// GetProperties operation.
	GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)

	// The SetAllPathStatuses method sets the statuses of all paths that originate from
	// the HBA port to a specified status.
	//
	// 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.<76> For the HRESULT values predefined by the Virtual Disk
	// Service Remote Protocol, see section 2.2.3.
	SetAllPathStatuses(context.Context, *SetAllPathStatusesRequest) (*SetAllPathStatusesResponse, error)
}

IVdsHbaPort server interface.

type SetAllPathStatusesRequest

type SetAllPathStatusesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// status: The status, as defined by VDS_PATH_STATUS, to assign to the paths.
	Status vds.PathStatus `idl:"name:status" json:"status"`
}

SetAllPathStatusesRequest structure represents the SetAllPathStatuses operation request

func (*SetAllPathStatusesRequest) MarshalNDR

func (o *SetAllPathStatusesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetAllPathStatusesRequest) UnmarshalNDR

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

type SetAllPathStatusesResponse

type SetAllPathStatusesResponse 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 SetAllPathStatuses return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetAllPathStatusesResponse structure represents the SetAllPathStatuses operation response

func (*SetAllPathStatusesResponse) MarshalNDR

func (o *SetAllPathStatusesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetAllPathStatusesResponse) UnmarshalNDR

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

Jump to

Keyboard shortcuts

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