Documentation ¶
Index ¶
- Variables
- func NewServiceSANServerHandle(o ServiceSANServer) dcerpc.ServerHandle
- func RegisterServiceSANServer(conn dcerpc.Conn, o ServiceSANServer, opts ...dcerpc.Option)
- func ServiceSANServerHandle(ctx context.Context, o ServiceSANServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetSANPolicyRequest
- type GetSANPolicyResponse
- type ServiceSANClient
- type ServiceSANServer
- type SetSANPolicyRequest
- type SetSANPolicyResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsServiceSAN interface identifier fc5d23e8-a88b-41a5-8de0-2d2f73c5a630 ServiceSANIID = &dcom.IID{Data1: 0xfc5d23e8, Data2: 0xa88b, Data3: 0x41a5, Data4: []byte{0x8d, 0xe0, 0x2d, 0x2f, 0x73, 0xc5, 0xa6, 0x30}} // Syntax UUID ServiceSANSyntaxUUID = &uuid.UUID{TimeLow: 0xfc5d23e8, TimeMid: 0xa88b, TimeHiAndVersion: 0x41a5, ClockSeqHiAndReserved: 0x8d, ClockSeqLow: 0xe0, Node: [6]uint8{0x2d, 0x2f, 0x73, 0xc5, 0xa6, 0x30}} // Syntax ID ServiceSANSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServiceSANSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewServiceSANServerHandle ¶
func NewServiceSANServerHandle(o ServiceSANServer) dcerpc.ServerHandle
func RegisterServiceSANServer ¶
func RegisterServiceSANServer(conn dcerpc.Conn, o ServiceSANServer, opts ...dcerpc.Option)
Types ¶
type GetSANPolicyRequest ¶
type GetSANPolicyRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetSANPolicyRequest structure represents the GetSANPolicy operation request
func (*GetSANPolicyRequest) MarshalNDR ¶
func (*GetSANPolicyRequest) UnmarshalNDR ¶
type GetSANPolicyResponse ¶
type GetSANPolicyResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pSanPolicy: A pointer to a VDS_SAN_POLICY (section 2.2.2.2.1.1) structure that, if // the operation is successfully completed, receives the SAN policy setting's current // value. SANPolicy vds.SANPolicy `idl:"name:pSanPolicy" json:"san_policy"` // Return: The GetSANPolicy return value. Return int32 `idl:"name:Return" json:"return"` }
GetSANPolicyResponse structure represents the GetSANPolicy operation response
func (*GetSANPolicyResponse) MarshalNDR ¶
func (*GetSANPolicyResponse) UnmarshalNDR ¶
type ServiceSANClient ¶
type ServiceSANClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The GetSANPolicy method returns the current SAN policy setting. // // 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. GetSANPolicy(context.Context, *GetSANPolicyRequest, ...dcerpc.CallOption) (*GetSANPolicyResponse, error) // The SetSANPolicy method sets the SAN policy value. // // 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. SetSANPolicy(context.Context, *SetSANPolicyRequest, ...dcerpc.CallOption) (*SetSANPolicyResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ServiceSANClient }
IVdsServiceSAN interface.
func NewServiceSANClient ¶
type ServiceSANServer ¶
type ServiceSANServer interface { // IUnknown base class. iunknown.UnknownServer // The GetSANPolicy method returns the current SAN policy setting. // // 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. GetSANPolicy(context.Context, *GetSANPolicyRequest) (*GetSANPolicyResponse, error) // The SetSANPolicy method sets the SAN policy value. // // 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. SetSANPolicy(context.Context, *SetSANPolicyRequest) (*SetSANPolicyResponse, error) }
IVdsServiceSAN server interface.
type SetSANPolicyRequest ¶
type SetSANPolicyRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // SanPolicy: A VDS_SAN_POLICY (section 2.2.2.2.1.1) structure that, if the operation // is successfully completed, is used to set the new value for the SAN policy. SANPolicy vds.SANPolicy `idl:"name:SanPolicy" json:"san_policy"` }
SetSANPolicyRequest structure represents the SetSANPolicy operation request
func (*SetSANPolicyRequest) MarshalNDR ¶
func (*SetSANPolicyRequest) UnmarshalNDR ¶
type SetSANPolicyResponse ¶
type SetSANPolicyResponse 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 SetSANPolicy return value. Return int32 `idl:"name:Return" json:"return"` }
SetSANPolicyResponse structure represents the SetSANPolicy operation response
func (*SetSANPolicyResponse) MarshalNDR ¶
func (*SetSANPolicyResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.