Documentation ¶
Index ¶
- Variables
- func ClusterStorage3ServerHandle(ctx context.Context, o ClusterStorage3Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewClusterStorage3ServerHandle(o ClusterStorage3Server) dcerpc.ServerHandle
- func RegisterClusterStorage3Server(conn dcerpc.Conn, o ClusterStorage3Server, opts ...dcerpc.Option)
- type CSVTestSetup3Request
- type CSVTestSetup3Response
- type CheckNetFTBindings3Request
- type CheckNetFTBindings3Response
- type ClusterStorage3Client
- type ClusterStorage3Server
- type ConnectToNewSMBShares3Request
- type ConnectToNewSMBShares3Response
- type CreateNewSMBShares3Request
- type CreateNewSMBShares3Response
- type FindKey3Request
- type FindKey3Response
- type GetProperties3Request
- type GetProperties3Response
- type GetUniqueIDs3Request
- type GetUniqueIDs3Response
- type IsNodeClustered3Request
- type IsNodeClustered3Response
- type IsPRPresent3Request
- type IsPRPresent3Response
- type IsReadOnly3Request
- type IsReadOnly3Response
- type PRClear3Request
- type PRClear3Response
- type PRPreempt3Request
- type PRPreempt3Response
- type PRRegister3Request
- type PRRegister3Response
- type PRRelease3Request
- type PRRelease3Response
- type PRReserve3Request
- type PRReserve3Response
Constants ¶
This section is empty.
Variables ¶
var ( // IClusterStorage3 interface identifier 11942d87-a1de-4e7f-83fb-a840d9c5928d ClusterStorage3IID = &dcom.IID{Data1: 0x11942d87, Data2: 0xa1de, Data3: 0x4e7f, Data4: []byte{0x83, 0xfb, 0xa8, 0x40, 0xd9, 0xc5, 0x92, 0x8d}} // Syntax UUID ClusterStorage3SyntaxUUID = &uuid.UUID{TimeLow: 0x11942d87, TimeMid: 0xa1de, TimeHiAndVersion: 0x4e7f, ClockSeqHiAndReserved: 0x83, ClockSeqLow: 0xfb, Node: [6]uint8{0xa8, 0x40, 0xd9, 0xc5, 0x92, 0x8d}} // Syntax ID ClusterStorage3SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ClusterStorage3SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/csvp"
)
Functions ¶
func NewClusterStorage3ServerHandle ¶
func NewClusterStorage3ServerHandle(o ClusterStorage3Server) dcerpc.ServerHandle
func RegisterClusterStorage3Server ¶
func RegisterClusterStorage3Server(conn dcerpc.Conn, o ClusterStorage3Server, opts ...dcerpc.Option)
Types ¶
type CSVTestSetup3Request ¶
type CSVTestSetup3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // be used to form a unique share name and create the ClusPrepShareList. TestShareGUID *dtyp.GUID `idl:"name:TestShareGuid" json:"test_share_guid"` }
CSVTestSetup3Request structure represents the CprepCsvTestSetup3 operation request
func (*CSVTestSetup3Request) MarshalNDR ¶
func (*CSVTestSetup3Request) UnmarshalNDR ¶
type CSVTestSetup3Response ¶
type CSVTestSetup3Response 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 CprepCsvTestSetup3 return value. Return int32 `idl:"name:Return" json:"return"` }
CSVTestSetup3Response structure represents the CprepCsvTestSetup3 operation response
func (*CSVTestSetup3Response) MarshalNDR ¶
func (*CSVTestSetup3Response) UnmarshalNDR ¶
type CheckNetFTBindings3Request ¶
type CheckNetFTBindings3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
CheckNetFTBindings3Request structure represents the CprepCheckNetFtBindings3 operation request
func (*CheckNetFTBindings3Request) MarshalNDR ¶
func (*CheckNetFTBindings3Request) UnmarshalNDR ¶
type CheckNetFTBindings3Response ¶
type CheckNetFTBindings3Response 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 CprepCheckNetFtBindings3 return value. Return int32 `idl:"name:Return" json:"return"` }
CheckNetFTBindings3Response structure represents the CprepCheckNetFtBindings3 operation response
func (*CheckNetFTBindings3Response) MarshalNDR ¶
func (*CheckNetFTBindings3Response) UnmarshalNDR ¶
type ClusterStorage3Client ¶
type ClusterStorage3Client interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The CprepDiskGetUniqueIds3 method returns device ID data about the ClusPrepDisk. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +--------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------+ // +--------------------------------+-------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +--------------------------------+-------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +--------------------------------+-------------------------------------------+ // | 0x80070032 ERROR_NOT_SUPPORTED | The disk does not support device ID data. | // +--------------------------------+-------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 3. GetUniqueIDs3(context.Context, *GetUniqueIDs3Request, ...dcerpc.CallOption) (*GetUniqueIDs3Response, error) // The CprepCheckNetFtBindings3 method verifies that an implementation-specific mechanism // is available for use as a network file sharing protocol. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 4. CheckNetFTBindings3(context.Context, *CheckNetFTBindings3Request, ...dcerpc.CallOption) (*CheckNetFTBindings3Response, error) // ClusterFileShareTestSetupState transitions to ClusterFileShareTestSetup. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 5. CSVTestSetup3(context.Context, *CSVTestSetup3Request, ...dcerpc.CallOption) (*CSVTestSetup3Response, error) // The CprepIsNodeClustered3 method determines whether the server is a node within a // cluster. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------------+------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+------------------------------------+ // +-------------------------+------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------------+------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-------------------------+------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 6. IsNodeClustered3(context.Context, *IsNodeClustered3Request, ...dcerpc.CallOption) (*IsNodeClustered3Response, error) // This method can be used to access a share via an implementation-specific mechanism. // // # The output strings have the form // // * \\<IPv4 address> // // or // // * \\[<IPv6 address>]. // // HRESULT CprepCreateNewSmbShares3( // // * LPWSTR** ppwszSharePaths, // // * ); // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------------+------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+------------------------------------+ // +-------------------------+------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------------+------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-------------------------+------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 7. CreateNewSMBShares3(context.Context, *CreateNewSMBShares3Request, ...dcerpc.CallOption) (*CreateNewSMBShares3Response, error) // by ClusPrepShares in the ClusprepShareList at the given list of IP address strings. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------------------------------------------------------+ // +-------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. The connection used at least one of the file shares | // | | specified in ppwszSharePaths. | // +-------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-------------------------+----------------------------------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 8. ConnectToNewSMBShares3(context.Context, *ConnectToNewSMBShares3Request, ...dcerpc.CallOption) (*ConnectToNewSMBShares3Response, error) // The CprepDiskGetProps3 method retrieves information about the configuration and status // of a given disk. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+--------------------------+ // +---------------------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------+--------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 9. GetProperties3(context.Context, *GetProperties3Request, ...dcerpc.CallOption) (*GetProperties3Response, error) // The CprepDiskIsReadOnly3 method returns a Boolean value indicating whether the LUN // underlying the operating system disk is writable. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+-------------------------------------------+ // +---------------------------------------+-------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+-------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+-------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+-------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 10. IsReadOnly3(context.Context, *IsReadOnly3Request, ...dcerpc.CallOption) (*IsReadOnly3Response, error) // The CprepDiskPRRegister3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a REGISTER or REGISTER_IGNORE_EXISTING action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 11. PRRegister3(context.Context, *PRRegister3Request, ...dcerpc.CallOption) (*PRRegister3Response, error) // The CprepDiskFindKey3 method queries the SCSI Persistent Reserve registration table // for the disk and determines if the specified key is listed in the table. // // The user supplies a key and this method returns a BOOLEAN indicating whether the // key is found in the registration table. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 12. FindKey3(context.Context, *FindKey3Request, ...dcerpc.CallOption) (*FindKey3Response, error) // The CprepDiskPRPreempt3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a PREEMPT action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 13. PRPreempt3(context.Context, *PRPreempt3Request, ...dcerpc.CallOption) (*PRPreempt3Response, error) // The CprepDiskPRReserve3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a RESERVE action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 14. PRReserve3(context.Context, *PRReserve3Request, ...dcerpc.CallOption) (*PRReserve3Response, error) // The CprepDiskIsPRPresent3 method queries the SCSI Persistent Reserve reservation // table for the disk and determines if the specified key is listed in the table. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070490 ERROR_NOT_FOUND | The key was not found in the reservation table. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 15. IsPRPresent3(context.Context, *IsPRPresent3Request, ...dcerpc.CallOption) (*IsPRPresent3Response, error) // The CprepDiskPRRelease3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a RELEASE action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 16. PRRelease3(context.Context, *PRRelease3Request, ...dcerpc.CallOption) (*PRRelease3Response, error) // The CprepDiskPRClear3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a CLEAR action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 17. PRClear3(context.Context, *PRClear3Request, ...dcerpc.CallOption) (*PRClear3Response, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ClusterStorage3Client }
IClusterStorage3 interface.
type ClusterStorage3Server ¶
type ClusterStorage3Server interface { // IUnknown base class. iunknown.UnknownServer // The CprepDiskGetUniqueIds3 method returns device ID data about the ClusPrepDisk. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +--------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------------+-------------------------------------------+ // +--------------------------------+-------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +--------------------------------+-------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +--------------------------------+-------------------------------------------+ // | 0x80070032 ERROR_NOT_SUPPORTED | The disk does not support device ID data. | // +--------------------------------+-------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 3. GetUniqueIDs3(context.Context, *GetUniqueIDs3Request) (*GetUniqueIDs3Response, error) // The CprepCheckNetFtBindings3 method verifies that an implementation-specific mechanism // is available for use as a network file sharing protocol. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 4. CheckNetFTBindings3(context.Context, *CheckNetFTBindings3Request) (*CheckNetFTBindings3Response, error) // ClusterFileShareTestSetupState transitions to ClusterFileShareTestSetup. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 5. CSVTestSetup3(context.Context, *CSVTestSetup3Request) (*CSVTestSetup3Response, error) // The CprepIsNodeClustered3 method determines whether the server is a node within a // cluster. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------------+------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+------------------------------------+ // +-------------------------+------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------------+------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-------------------------+------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 6. IsNodeClustered3(context.Context, *IsNodeClustered3Request) (*IsNodeClustered3Response, error) // This method can be used to access a share via an implementation-specific mechanism. // // # The output strings have the form // // * \\<IPv4 address> // // or // // * \\[<IPv6 address>]. // // HRESULT CprepCreateNewSmbShares3( // // * LPWSTR** ppwszSharePaths, // // * ); // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------------+------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+------------------------------------+ // +-------------------------+------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------------+------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-------------------------+------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 7. CreateNewSMBShares3(context.Context, *CreateNewSMBShares3Request) (*CreateNewSMBShares3Response, error) // by ClusPrepShares in the ClusprepShareList at the given list of IP address strings. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +-------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------------------------------------------------------+ // +-------------------------+----------------------------------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. The connection used at least one of the file shares | // | | specified in ppwszSharePaths. | // +-------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-------------------------+----------------------------------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 8. ConnectToNewSMBShares3(context.Context, *ConnectToNewSMBShares3Request) (*ConnectToNewSMBShares3Response, error) // The CprepDiskGetProps3 method retrieves information about the configuration and status // of a given disk. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+--------------------------+ // +---------------------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------+--------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------+--------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 9. GetProperties3(context.Context, *GetProperties3Request) (*GetProperties3Response, error) // The CprepDiskIsReadOnly3 method returns a Boolean value indicating whether the LUN // underlying the operating system disk is writable. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Zero or positive values indicate success, // with the lower 16 bits in positive nonzero values containing warnings or flags defined // in the method implementation. For more information about Win32 error codes and HRESULT // values, see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+-------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+-------------------------------------------+ // +---------------------------------------+-------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+-------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+-------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+-------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol [MS-RPCE]. // // The opnum field value for this method is 10. IsReadOnly3(context.Context, *IsReadOnly3Request) (*IsReadOnly3Response, error) // The CprepDiskPRRegister3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a REGISTER or REGISTER_IGNORE_EXISTING action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 11. PRRegister3(context.Context, *PRRegister3Request) (*PRRegister3Response, error) // The CprepDiskFindKey3 method queries the SCSI Persistent Reserve registration table // for the disk and determines if the specified key is listed in the table. // // The user supplies a key and this method returns a BOOLEAN indicating whether the // key is found in the registration table. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 12. FindKey3(context.Context, *FindKey3Request) (*FindKey3Response, error) // The CprepDiskPRPreempt3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a PREEMPT action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 13. PRPreempt3(context.Context, *PRPreempt3Request) (*PRPreempt3Response, error) // The CprepDiskPRReserve3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a RESERVE action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 14. PRReserve3(context.Context, *PRReserve3Request) (*PRReserve3Response, error) // The CprepDiskIsPRPresent3 method queries the SCSI Persistent Reserve reservation // table for the disk and determines if the specified key is listed in the table. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070490 ERROR_NOT_FOUND | The key was not found in the reservation table. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 15. IsPRPresent3(context.Context, *IsPRPresent3Request) (*IsPRPresent3Response, error) // The CprepDiskPRRelease3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a RELEASE action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 16. PRRelease3(context.Context, *PRRelease3Request) (*PRRelease3Response, error) // The CprepDiskPRClear3 method performs a SCSI PERSISTENT RESERVE OUT command (see // [SPC-3] section 6.12) with a CLEAR action. // // Return Values: A signed 32-bit value that indicates return status. If the method // returns a negative value, it has failed. Non-negative values indicate success, with // the lower 16 bits of the value containing warnings or flags defined in the method // implementation. For more information about Win32 error codes and HRESULT values, // see [MS-ERREF] sections 2.2 and 2.1. // // +---------------------------------------+----------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------------+----------------------------------------------------------+ // +---------------------------------------+----------------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070002 ERROR_FILE_NOT_FOUND | The disk was not found. | // +---------------------------------------+----------------------------------------------------------+ // | 0x00000057 ERROR_INVALID_PARAMETER | An internal error occurred. | // +---------------------------------------+----------------------------------------------------------+ // | 0x80070548 ERROR_INVALID_SERVER_STATE | The server's Prepare State is not Online. | // +---------------------------------------+----------------------------------------------------------+ // | 0x8007139F ERROR_INVALID_STATE | The value of ClusPrepDisk.AttachedState is not Attached. | // +---------------------------------------+----------------------------------------------------------+ // // Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying // RPC protocol (see [MS-RPCE]). // // The opnum field value for this method is 17. PRClear3(context.Context, *PRClear3Request) (*PRClear3Response, error) }
IClusterStorage3 server interface.
type ConnectToNewSMBShares3Request ¶
type ConnectToNewSMBShares3Request struct { dcom.ORPCThis `idl:"name:This" json:"this"` // ppwszSharePaths: Specifies the address of a dwNumberOfPaths-sized block of LPWSTRs. }This *
ConnectToNewSMBShares3Request structure represents the CprepConnectToNewSmbShares3 operation request
func (*ConnectToNewSMBShares3Request) MarshalNDR ¶
func (*ConnectToNewSMBShares3Request) UnmarshalNDR ¶
type ConnectToNewSMBShares3Response ¶
type ConnectToNewSMBShares3Response struct { dcom.ORPCThat `idl:"name:That" json:"that"` Return int32 `idl:"name:Return" json:"return"` }That *
ConnectToNewSMBShares3Response structure represents the CprepConnectToNewSmbShares3 operation response
func (*ConnectToNewSMBShares3Response) MarshalNDR ¶
func (*ConnectToNewSMBShares3Response) UnmarshalNDR ¶
type CreateNewSMBShares3Request ¶
CreateNewSMBShares3Request structure represents the CprepCreateNewSmbShares3 operation request
func (*CreateNewSMBShares3Request) MarshalNDR ¶
func (*CreateNewSMBShares3Request) UnmarshalNDR ¶
type CreateNewSMBShares3Response ¶
type CreateNewSMBShares3Response struct { dcom.ORPCThat `idl:"name:That" json:"that"` // block of LPWSTRs. The server allocates and initializes the returned buffer. Callers // MUST free this memory when they are finished with it. SharePaths []string `idl:"name:ppwszSharePaths;size_is:(, pdwNumberOfPaths);string" json:"share_paths"` NumberOfPaths uint32 `idl:"name:pdwNumberOfPaths" json:"number_of_paths"` Return int32 `idl:"name:Return" json:"return"` }That *
CreateNewSMBShares3Response structure represents the CprepCreateNewSmbShares3 operation response
func (*CreateNewSMBShares3Response) MarshalNDR ¶
func (*CreateNewSMBShares3Response) UnmarshalNDR ¶
type FindKey3Request ¶
type FindKey3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk representing the disk. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` // Key: The registration key to search for in the SCSI Persistent Reserve registration // table for the LUN underlying the operating system disk identified by the DiskId parameter. // A value of zero for this parameter indicates that the caller is querying to discover // whether any keys are registered. Key uint64 `idl:"name:Key" json:"key"` }
FindKey3Request structure represents the CprepDiskFindKey3 operation request
func (*FindKey3Request) MarshalNDR ¶
func (*FindKey3Request) UnmarshalNDR ¶
type FindKey3Response ¶
type FindKey3Response struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pbFound: Returns a nonzero value if the registration key is found in the SCSI Persistent // Reserve registration table for the LUN underlying the operating system disk identified // by the DiskId parameter. Found bool `idl:"name:pbFound" json:"found"` // Return: The CprepDiskFindKey3 return value. Return int32 `idl:"name:Return" json:"return"` }
FindKey3Response structure represents the CprepDiskFindKey3 operation response
func (*FindKey3Response) MarshalNDR ¶
func (*FindKey3Response) UnmarshalNDR ¶
type GetProperties3Request ¶
type GetProperties3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk for which to get the disk properties. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` }
GetProperties3Request structure represents the CprepDiskGetProps3 operation request
func (*GetProperties3Request) MarshalNDR ¶
func (*GetProperties3Request) UnmarshalNDR ¶
type GetProperties3Response ¶
type GetProperties3Response struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pDiskProps: The properties of the selected ClusPrepDisk. DiskProperties *csvp.DiskPropertiesEx `idl:"name:pDiskProps" json:"disk_properties"` // Return: The CprepDiskGetProps3 return value. Return int32 `idl:"name:Return" json:"return"` }
GetProperties3Response structure represents the CprepDiskGetProps3 operation response
func (*GetProperties3Response) MarshalNDR ¶
func (*GetProperties3Response) UnmarshalNDR ¶
type GetUniqueIDs3Request ¶
type GetUniqueIDs3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier representing the ClusPrepDisk for which to retrieve the device // ID data. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` }
GetUniqueIDs3Request structure represents the CprepDiskGetUniqueIds3 operation request
func (*GetUniqueIDs3Request) MarshalNDR ¶
func (*GetUniqueIDs3Request) UnmarshalNDR ¶
type GetUniqueIDs3Response ¶
type GetUniqueIDs3Response struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppbDeviceIdHeader: On successful return, the address of a pointer to a *pcbDihSize-sized // block of BYTEs. The server allocates and initializes the returned buffer. Callers // MUST free this memory when they are finished with it. On unsuccessful return, the // client MUST ignore this value. DeviceIDHeader []byte `idl:"name:ppbDeviceIdHeader;size_is:(, pcbDihSize)" json:"device_id_header"` // pcbDihSize: On successful return, the number of BYTEs returned in ppbDeviceIdHeader. // On unsuccessful return, the client MUST ignore this value. DeviceIDHeaderLength uint32 `idl:"name:pcbDihSize" json:"device_id_header_length"` // ppDeviceDescriptor: On successful return, the address of a pointer to a *pcbDdSize-sized // block of BYTEs. The server allocates and initializes the returned buffer. Callers // MUST free this memory when they are finished with it. On unsuccessful return, the // client MUST ignore this value. DeviceDescriptor []byte `idl:"name:ppDeviceDescriptor;size_is:(, pcbDdSize)" json:"device_descriptor"` // pcbDdSize: On successful return, the number of BYTEs returned in ppDeviceDescriptor. // On unsuccessful return, the client MUST ignore this value. DeviceDescriptorLength uint32 `idl:"name:pcbDdSize" json:"device_descriptor_length"` // Return: The CprepDiskGetUniqueIds3 return value. Return int32 `idl:"name:Return" json:"return"` }
GetUniqueIDs3Response structure represents the CprepDiskGetUniqueIds3 operation response
func (*GetUniqueIDs3Response) MarshalNDR ¶
func (*GetUniqueIDs3Response) UnmarshalNDR ¶
type IsNodeClustered3Request ¶
type IsNodeClustered3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
IsNodeClustered3Request structure represents the CprepIsNodeClustered3 operation request
func (*IsNodeClustered3Request) MarshalNDR ¶
func (*IsNodeClustered3Request) UnmarshalNDR ¶
type IsNodeClustered3Response ¶
type IsNodeClustered3Response struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pbIsClusterNode: The address of a pointer to a BOOLEAN value. Returns TRUE if the // server is a node within a cluster. IsClusterNode bool `idl:"name:pbIsClusterNode" json:"is_cluster_node"` // Return: The CprepIsNodeClustered3 return value. Return int32 `idl:"name:Return" json:"return"` }
IsNodeClustered3Response structure represents the CprepIsNodeClustered3 operation response
func (*IsNodeClustered3Response) MarshalNDR ¶
func (*IsNodeClustered3Response) UnmarshalNDR ¶
type IsPRPresent3Request ¶
type IsPRPresent3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk representing the disk. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` // Key: The reservation key to search for in the SCSI Persistent Reserve reservation // table for the LUN underlying the operating system disk identified by the DiskId parameter. Key uint64 `idl:"name:Key" json:"key"` }
IsPRPresent3Request structure represents the CprepDiskIsPRPresent3 operation request
func (*IsPRPresent3Request) MarshalNDR ¶
func (*IsPRPresent3Request) UnmarshalNDR ¶
type IsPRPresent3Response ¶
type IsPRPresent3Response 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 CprepDiskIsPRPresent3 return value. Return int32 `idl:"name:Return" json:"return"` }
IsPRPresent3Response structure represents the CprepDiskIsPRPresent3 operation response
func (*IsPRPresent3Response) MarshalNDR ¶
func (*IsPRPresent3Response) UnmarshalNDR ¶
type IsReadOnly3Request ¶
type IsReadOnly3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk for which to return the disk writable // status. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` }
IsReadOnly3Request structure represents the CprepDiskIsReadOnly3 operation request
func (*IsReadOnly3Request) MarshalNDR ¶
func (*IsReadOnly3Request) UnmarshalNDR ¶
type IsReadOnly3Response ¶
type IsReadOnly3Response struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pbReadOnly: Returns a nonzero value if the LUN underlying the operating system disk // identified by ClusPrepDisk is not writable. ReadOnly bool `idl:"name:pbReadOnly" json:"read_only"` // Return: The CprepDiskIsReadOnly3 return value. Return int32 `idl:"name:Return" json:"return"` }
IsReadOnly3Response structure represents the CprepDiskIsReadOnly3 operation response
func (*IsReadOnly3Response) MarshalNDR ¶
func (*IsReadOnly3Response) UnmarshalNDR ¶
type PRClear3Request ¶
type PRClear3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk representing the disk. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` // Key: The key used in the Reservation Key field of the SCSI PERSISTENT RESERVE OUT // command. Key uint64 `idl:"name:Key" json:"key"` }
PRClear3Request structure represents the CprepDiskPRClear3 operation request
func (*PRClear3Request) MarshalNDR ¶
func (*PRClear3Request) UnmarshalNDR ¶
type PRClear3Response ¶
type PRClear3Response 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 CprepDiskPRClear3 return value. Return int32 `idl:"name:Return" json:"return"` }
PRClear3Response structure represents the CprepDiskPRClear3 operation response
func (*PRClear3Response) MarshalNDR ¶
func (*PRClear3Response) UnmarshalNDR ¶
type PRPreempt3Request ¶
type PRPreempt3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk representing the disk. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` // OwnerKey: The key used in the Service Action Reservation Key field of the SCSI PERSISTENT // RESERVE OUT command. OwnerKey uint64 `idl:"name:OwnerKey" json:"owner_key"` // NewKey: The key used in the Reservation Key field of the SCSI PERSISTENT RESERVE // OUT command. NewKey uint64 `idl:"name:NewKey" json:"new_key"` }
PRPreempt3Request structure represents the CprepDiskPRPreempt3 operation request
func (*PRPreempt3Request) MarshalNDR ¶
func (*PRPreempt3Request) UnmarshalNDR ¶
type PRPreempt3Response ¶
type PRPreempt3Response 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 CprepDiskPRPreempt3 return value. Return int32 `idl:"name:Return" json:"return"` }
PRPreempt3Response structure represents the CprepDiskPRPreempt3 operation response
func (*PRPreempt3Response) MarshalNDR ¶
func (*PRPreempt3Response) UnmarshalNDR ¶
type PRRegister3Request ¶
type PRRegister3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk representing the disk. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` // OldPrKey: The key used in the Reservation Key field of the SCSI PERSISTENT RESERVE // OUT command. If the value of OldPrKey is zero, the REGISTER_IGNORE_EXISTING action // is used. Otherwise, the REGISTER action is used. OldPRKey uint64 `idl:"name:OldPrKey" json:"old_pr_key"` // NewPrKey: The key used in the Service Action Reservation Key field of the SCSI PERSISTENT // RESERVE OUT command. NewPRKey uint64 `idl:"name:NewPrKey" json:"new_pr_key"` }
PRRegister3Request structure represents the CprepDiskPRRegister3 operation request
func (*PRRegister3Request) MarshalNDR ¶
func (*PRRegister3Request) UnmarshalNDR ¶
type PRRegister3Response ¶
type PRRegister3Response 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 CprepDiskPRRegister3 return value. Return int32 `idl:"name:Return" json:"return"` }
PRRegister3Response structure represents the CprepDiskPRRegister3 operation response
func (*PRRegister3Response) MarshalNDR ¶
func (*PRRegister3Response) UnmarshalNDR ¶
type PRRelease3Request ¶
type PRRelease3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk representing the disk. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` // Key: The key used in the Reservation Key field of the SCSI PERSISTENT RESERVE OUT // command. Key uint64 `idl:"name:Key" json:"key"` }
PRRelease3Request structure represents the CprepDiskPRRelease3 operation request
func (*PRRelease3Request) MarshalNDR ¶
func (*PRRelease3Request) UnmarshalNDR ¶
type PRRelease3Response ¶
type PRRelease3Response 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 CprepDiskPRRelease3 return value. Return int32 `idl:"name:Return" json:"return"` }
PRRelease3Response structure represents the CprepDiskPRRelease3 operation response
func (*PRRelease3Response) MarshalNDR ¶
func (*PRRelease3Response) UnmarshalNDR ¶
type PRReserve3Request ¶
type PRReserve3Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // DiskId: The identifier of the ClusPrepDisk representing the disk. DiskID *csvp.ClusterDiskID `idl:"name:DiskId" json:"disk_id"` // Key: The key used in the Reservation Key field of the SCSI PERSISTENT RESERVE OUT // command. Key uint64 `idl:"name:Key" json:"key"` }
PRReserve3Request structure represents the CprepDiskPRReserve3 operation request
func (*PRReserve3Request) MarshalNDR ¶
func (*PRReserve3Request) UnmarshalNDR ¶
type PRReserve3Response ¶
type PRReserve3Response 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 CprepDiskPRReserve3 return value. Return int32 `idl:"name:Return" json:"return"` }
PRReserve3Response structure represents the CprepDiskPRReserve3 operation response