Documentation
¶
Index ¶
- Variables
- func HBAPortServerHandle(ctx context.Context, o HBAPortServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewHBAPortServerHandle(o HBAPortServer) dcerpc.ServerHandle
- func RegisterHBAPortServer(conn dcerpc.Conn, o HBAPortServer, opts ...dcerpc.Option)
- type GetPropertiesRequest
- type GetPropertiesResponse
- type HBAPortClient
- type HBAPortServer
- type SetAllPathStatusesRequest
- type SetAllPathStatusesResponse
- type UnimplementedHBAPortServer
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 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 (*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"`
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 (*GetPropertiesResponse) UnmarshalNDR ¶
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
// Conn returns the client connection (unsafe)
Conn() dcerpc.Conn
// IPID sets the object interface identifier.
IPID(context.Context, *dcom.IPID) HBAPortClient
}
IVdsHbaPort interface.
func NewHBAPortClient ¶
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 (*SetAllPathStatusesRequest) UnmarshalNDR ¶
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 (*SetAllPathStatusesResponse) UnmarshalNDR ¶
type UnimplementedHBAPortServer ¶
type UnimplementedHBAPortServer struct {
iunknown.UnimplementedUnknownServer
}
Unimplemented IVdsHbaPort
func (UnimplementedHBAPortServer) GetProperties ¶
func (UnimplementedHBAPortServer) GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
func (UnimplementedHBAPortServer) SetAllPathStatuses ¶
func (UnimplementedHBAPortServer) SetAllPathStatuses(context.Context, *SetAllPathStatusesRequest) (*SetAllPathStatusesResponse, error)
Click to show internal directories.
Click to hide internal directories.