iclustersetup

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IClusterSetup interface identifier 491260b5-05c9-40d9-b7f2-1f7bdae0927f
	ClusterSetupIID = &dcom.IID{Data1: 0x491260b5, Data2: 0x05c9, Data3: 0x40d9, Data4: []byte{0xb7, 0xf2, 0x1f, 0x7b, 0xda, 0xe0, 0x92, 0x7f}}
	// Syntax UUID
	ClusterSetupSyntaxUUID = &uuid.UUID{TimeLow: 0x491260b5, TimeMid: 0x5c9, TimeHiAndVersion: 0x40d9, ClockSeqHiAndReserved: 0xb7, ClockSeqLow: 0xf2, Node: [6]uint8{0x1f, 0x7b, 0xda, 0xe0, 0x92, 0x7f}}
	// Syntax ID
	ClusterSetupSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ClusterSetupSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/csvp"
)

Functions

func ClusterSetupServerHandle

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

func NewClusterSetupServerHandle

func NewClusterSetupServerHandle(o ClusterSetupServer) dcerpc.ServerHandle

func RegisterClusterSetupServer

func RegisterClusterSetupServer(conn dcerpc.Conn, o ClusterSetupServer, opts ...dcerpc.Option)

Types

type ClusterSetupClient

type ClusterSetupClient interface {

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

	// The ConfigSvcSecret method stores the cluster secret in an implementation-specific
	// manner on the server.
	//
	// 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 3.
	ConfigServiceSecret(context.Context, *ConfigServiceSecretRequest, ...dcerpc.CallOption) (*ConfigServiceSecretResponse, error)

	// The RetrieveSvcSecret method returns the cluster secret stored on this server.
	//
	// 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 cluster secret has not yet been configured by a previous call to             |
	//	|                                 | ConfigSvcSecret.                                                                 |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// 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.
	RetrieveServiceSecret(context.Context, *RetrieveServiceSecretRequest, ...dcerpc.CallOption) (*RetrieveServiceSecretResponse, error)

	// The RetrieveHostLabel method returns the fully qualified domain name (FQDN) of the
	// server.
	//
	// 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.
	RetrieveHostLabel(context.Context, *RetrieveHostLabelRequest, ...dcerpc.CallOption) (*RetrieveHostLabelResponse, error)

	// The GetFunctionalLevel method SHOULD<33> return the maximum functional level of the
	// cluster supported by this server.
	//
	// Return Values: A signed 32-bit value that indicates the 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 6.
	GetFunctionalLevel(context.Context, *GetFunctionalLevelRequest, ...dcerpc.CallOption) (*GetFunctionalLevelResponse, error)

	// The ConfigClusterCert method SHOULD<34> store the certificate and cluster secret
	// in an implementation-specific manner on the server.
	//
	// 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 9.
	ConfigClusterCert(context.Context, *ConfigClusterCertRequest, ...dcerpc.CallOption) (*ConfigClusterCertResponse, error)

	// The RetrieveClusterCert method SHOULD<35> return the certificate and cluster secret
	// stored on the server.
	//
	// 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] section 2.1 and section 2.2.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070002 ERROR_FILE_NOT_FOUND | The certificate or cluster secret has not yet been configured by a previous call |
	//	|                                 | to RetrieveClusterCert.                                                          |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// 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.
	RetrieveClusterCert(context.Context, *RetrieveClusterCertRequest, ...dcerpc.CallOption) (*RetrieveClusterCertResponse, error)

	// The GenerateClusterCert method SHOULD<36> generate and return a new certificate.
	//
	// 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 11.
	GenerateClusterCert(context.Context, *GenerateClusterCertRequest, ...dcerpc.CallOption) (*GenerateClusterCertResponse, error)

	// The GetUpgradeVersion method SHOULD<37> return the maximum upgrade version of the
	// cluster supported by this server.
	//
	// Return Values: A signed 32-bit value that indicates the 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 12.
	GetUpgradeVersion(context.Context, *GetUpgradeVersionRequest, ...dcerpc.CallOption) (*GetUpgradeVersionResponse, error)

	// ConfigClusterCerV2 operation.
	ConfigClusterCerV2(context.Context, *ConfigClusterCerV2Request, ...dcerpc.CallOption) (*ConfigClusterCerV2Response, error)

	// The RetrieveClusterCertV2 method<39> SHOULD return the certificate and cluster secret
	// stored on the server.
	//
	// 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.1 and 2.2.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070002 ERROR_FILE_NOT_FOUND | The certificate or cluster secret has not yet been configured by a previous call |
	//	|                                 | to ConfigClusterCertV2.                                                          |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 15.
	RetrieveClusterCertV2(context.Context, *RetrieveClusterCertV2Request, ...dcerpc.CallOption) (*RetrieveClusterCertV2Response, error)

	// The GenerateClusterCertV2 method<40> SHOULD generate and return a new certificate.
	//
	// 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.1 and 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 16.
	GenerateClusterCertV2(context.Context, *GenerateClusterCertV2Request, ...dcerpc.CallOption) (*GenerateClusterCertV2Response, 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) ClusterSetupClient
}

IClusterSetup interface.

func NewClusterSetupClient

func NewClusterSetupClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ClusterSetupClient, error)

type ClusterSetupServer

type ClusterSetupServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The ConfigSvcSecret method stores the cluster secret in an implementation-specific
	// manner on the server.
	//
	// 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 3.
	ConfigServiceSecret(context.Context, *ConfigServiceSecretRequest) (*ConfigServiceSecretResponse, error)

	// The RetrieveSvcSecret method returns the cluster secret stored on this server.
	//
	// 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 cluster secret has not yet been configured by a previous call to             |
	//	|                                 | ConfigSvcSecret.                                                                 |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// 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.
	RetrieveServiceSecret(context.Context, *RetrieveServiceSecretRequest) (*RetrieveServiceSecretResponse, error)

	// The RetrieveHostLabel method returns the fully qualified domain name (FQDN) of the
	// server.
	//
	// 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.
	RetrieveHostLabel(context.Context, *RetrieveHostLabelRequest) (*RetrieveHostLabelResponse, error)

	// The GetFunctionalLevel method SHOULD<33> return the maximum functional level of the
	// cluster supported by this server.
	//
	// Return Values: A signed 32-bit value that indicates the 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 6.
	GetFunctionalLevel(context.Context, *GetFunctionalLevelRequest) (*GetFunctionalLevelResponse, error)

	// The ConfigClusterCert method SHOULD<34> store the certificate and cluster secret
	// in an implementation-specific manner on the server.
	//
	// 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 9.
	ConfigClusterCert(context.Context, *ConfigClusterCertRequest) (*ConfigClusterCertResponse, error)

	// The RetrieveClusterCert method SHOULD<35> return the certificate and cluster secret
	// stored on the server.
	//
	// 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] section 2.1 and section 2.2.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070002 ERROR_FILE_NOT_FOUND | The certificate or cluster secret has not yet been configured by a previous call |
	//	|                                 | to RetrieveClusterCert.                                                          |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// 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.
	RetrieveClusterCert(context.Context, *RetrieveClusterCertRequest) (*RetrieveClusterCertResponse, error)

	// The GenerateClusterCert method SHOULD<36> generate and return a new certificate.
	//
	// 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 11.
	GenerateClusterCert(context.Context, *GenerateClusterCertRequest) (*GenerateClusterCertResponse, error)

	// The GetUpgradeVersion method SHOULD<37> return the maximum upgrade version of the
	// cluster supported by this server.
	//
	// Return Values: A signed 32-bit value that indicates the 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] section 2.1 and section 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 12.
	GetUpgradeVersion(context.Context, *GetUpgradeVersionRequest) (*GetUpgradeVersionResponse, error)

	// ConfigClusterCerV2 operation.
	ConfigClusterCerV2(context.Context, *ConfigClusterCerV2Request) (*ConfigClusterCerV2Response, error)

	// The RetrieveClusterCertV2 method<39> SHOULD return the certificate and cluster secret
	// stored on the server.
	//
	// 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.1 and 2.2.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 S_OK                 | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070002 ERROR_FILE_NOT_FOUND | The certificate or cluster secret has not yet been configured by a previous call |
	//	|                                 | to ConfigClusterCertV2.                                                          |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// The opnum field value for this method is 15.
	RetrieveClusterCertV2(context.Context, *RetrieveClusterCertV2Request) (*RetrieveClusterCertV2Response, error)

	// The GenerateClusterCertV2 method<40> SHOULD generate and return a new certificate.
	//
	// 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.1 and 2.2.
	//
	//	+-------------------+--------------------------+
	//	|      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 16.
	GenerateClusterCertV2(context.Context, *GenerateClusterCertV2Request) (*GenerateClusterCertV2Response, error)
}

IClusterSetup server interface.

type ConfigClusterCerV2Request

type ConfigClusterCerV2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This        *dcom.ORPCThis       `idl:"name:This" json:"this"`
	ClusterCert *csvp.ClusterCert    `idl:"name:ClusterCert" json:"cluster_cert"`
	CertType    csvp.ClusterCertType `idl:"name:certType" json:"cert_type"`
}

ConfigClusterCerV2Request structure represents the ConfigClusterCerV2 operation request

func (*ConfigClusterCerV2Request) MarshalNDR

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

func (*ConfigClusterCerV2Request) UnmarshalNDR

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

type ConfigClusterCerV2Response

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

ConfigClusterCerV2Response structure represents the ConfigClusterCerV2 operation response

func (*ConfigClusterCerV2Response) MarshalNDR

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

func (*ConfigClusterCerV2Response) UnmarshalNDR

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

type ConfigClusterCertRequest

type ConfigClusterCertRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ClusterCert: The certificate and cluster secret for the cluster in which this server
	// is or will be a node. The CLUSTER_CERT structure is defined in section 2.2.23.
	ClusterCert *csvp.ClusterCert `idl:"name:ClusterCert" json:"cluster_cert"`
}

ConfigClusterCertRequest structure represents the ConfigClusterCert operation request

func (*ConfigClusterCertRequest) MarshalNDR

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

func (*ConfigClusterCertRequest) UnmarshalNDR

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

type ConfigClusterCertResponse

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

ConfigClusterCertResponse structure represents the ConfigClusterCert operation response

func (*ConfigClusterCertResponse) MarshalNDR

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

func (*ConfigClusterCertResponse) UnmarshalNDR

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

type ConfigServiceSecretRequest

type ConfigServiceSecretRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// SecretBLOB: The cluster secret for the cluster in which this server is or will be
	// a node.
	SecretBlob *oaut.String `idl:"name:SecretBLOB" json:"secret_blob"`
}

ConfigServiceSecretRequest structure represents the ConfigSvcSecret operation request

func (*ConfigServiceSecretRequest) MarshalNDR

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

func (*ConfigServiceSecretRequest) UnmarshalNDR

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

type ConfigServiceSecretResponse

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

ConfigServiceSecretResponse structure represents the ConfigSvcSecret operation response

func (*ConfigServiceSecretResponse) MarshalNDR

func (*ConfigServiceSecretResponse) UnmarshalNDR

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

type GenerateClusterCertRequest

type GenerateClusterCertRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ClusterCert: The new certificate for the cluster. The CLUSTER_CERT structure is defined
	// in section 2.2.23.
	ClusterCert *csvp.ClusterCert `idl:"name:ClusterCert" json:"cluster_cert"`
}

GenerateClusterCertRequest structure represents the GenerateClusterCert operation request

func (*GenerateClusterCertRequest) MarshalNDR

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

func (*GenerateClusterCertRequest) UnmarshalNDR

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

type GenerateClusterCertResponse

type GenerateClusterCertResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ClusterCert: The new certificate for the cluster. The CLUSTER_CERT structure is defined
	// in section 2.2.23.
	ClusterCert *csvp.ClusterCert `idl:"name:ClusterCert" json:"cluster_cert"`
	// Return: The GenerateClusterCert return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GenerateClusterCertResponse structure represents the GenerateClusterCert operation response

func (*GenerateClusterCertResponse) MarshalNDR

func (*GenerateClusterCertResponse) UnmarshalNDR

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

type GenerateClusterCertV2Request

type GenerateClusterCertV2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ClusterCert: The new certificate for the cluster. The CLUSTER_CERT structure is defined
	// in section 2.2.23.
	ClusterCert *csvp.ClusterCert    `idl:"name:ClusterCert" json:"cluster_cert"`
	CertType    csvp.ClusterCertType `idl:"name:certType" json:"cert_type"`
}

GenerateClusterCertV2Request structure represents the GenerateClusterCertV2 operation request

func (*GenerateClusterCertV2Request) MarshalNDR

func (*GenerateClusterCertV2Request) UnmarshalNDR

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

type GenerateClusterCertV2Response

type GenerateClusterCertV2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ClusterCert: The new certificate for the cluster. The CLUSTER_CERT structure is defined
	// in section 2.2.23.
	ClusterCert *csvp.ClusterCert `idl:"name:ClusterCert" json:"cluster_cert"`
	// Return: The GenerateClusterCertV2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GenerateClusterCertV2Response structure represents the GenerateClusterCertV2 operation response

func (*GenerateClusterCertV2Response) MarshalNDR

func (*GenerateClusterCertV2Response) UnmarshalNDR

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

type GetFunctionalLevelRequest

type GetFunctionalLevelRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetFunctionalLevelRequest structure represents the GetFunctionalLevel operation request

func (*GetFunctionalLevelRequest) MarshalNDR

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

func (*GetFunctionalLevelRequest) UnmarshalNDR

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

type GetFunctionalLevelResponse

type GetFunctionalLevelResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// FunctionalLevel: The cluster functional level.
	FunctionalLevel uint16 `idl:"name:FunctionalLevel" json:"functional_level"`
	// Return: The GetFunctionalLevel return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetFunctionalLevelResponse structure represents the GetFunctionalLevel operation response

func (*GetFunctionalLevelResponse) MarshalNDR

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

func (*GetFunctionalLevelResponse) UnmarshalNDR

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

type GetUpgradeVersionRequest

type GetUpgradeVersionRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetUpgradeVersionRequest structure represents the GetUpgradeVersion operation request

func (*GetUpgradeVersionRequest) MarshalNDR

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

func (*GetUpgradeVersionRequest) UnmarshalNDR

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

type GetUpgradeVersionResponse

type GetUpgradeVersionResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// UpgradeVersion: An integer value representing the upgrade version.
	UpgradeVersion uint16 `idl:"name:UpgradeVersion" json:"upgrade_version"`
	// Return: The GetUpgradeVersion return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetUpgradeVersionResponse structure represents the GetUpgradeVersion operation response

func (*GetUpgradeVersionResponse) MarshalNDR

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

func (*GetUpgradeVersionResponse) UnmarshalNDR

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

type RetrieveClusterCertRequest

type RetrieveClusterCertRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

RetrieveClusterCertRequest structure represents the RetrieveClusterCert operation request

func (*RetrieveClusterCertRequest) MarshalNDR

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

func (*RetrieveClusterCertRequest) UnmarshalNDR

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

type RetrieveClusterCertResponse

type RetrieveClusterCertResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ClusterCert: The certificate and cluster secret for the cluster that is stored in
	// the node. The CLUSTER_CERT structure is defined in section 2.2.23.
	ClusterCert *csvp.ClusterCert `idl:"name:ClusterCert" json:"cluster_cert"`
	// Return: The RetrieveClusterCert return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RetrieveClusterCertResponse structure represents the RetrieveClusterCert operation response

func (*RetrieveClusterCertResponse) MarshalNDR

func (*RetrieveClusterCertResponse) UnmarshalNDR

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

type RetrieveClusterCertV2Request

type RetrieveClusterCertV2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ClusterCert: The certificate and cluster secret for the cluster that is stored in
	// the node. The CLUSTER_CERT structure is defined in section 2.2.23.
	ClusterCert *csvp.ClusterCert `idl:"name:ClusterCert" json:"cluster_cert"`
}

RetrieveClusterCertV2Request structure represents the RetrieveClusterCertV2 operation request

func (*RetrieveClusterCertV2Request) MarshalNDR

func (*RetrieveClusterCertV2Request) UnmarshalNDR

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

type RetrieveClusterCertV2Response

type RetrieveClusterCertV2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That     *dcom.ORPCThat       `idl:"name:That" json:"that"`
	CertType csvp.ClusterCertType `idl:"name:certType" json:"cert_type"`
	// Return: The RetrieveClusterCertV2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RetrieveClusterCertV2Response structure represents the RetrieveClusterCertV2 operation response

func (*RetrieveClusterCertV2Response) MarshalNDR

func (*RetrieveClusterCertV2Response) UnmarshalNDR

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

type RetrieveHostLabelRequest

type RetrieveHostLabelRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

RetrieveHostLabelRequest structure represents the RetrieveHostLabel operation request

func (*RetrieveHostLabelRequest) MarshalNDR

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

func (*RetrieveHostLabelRequest) UnmarshalNDR

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

type RetrieveHostLabelResponse

type RetrieveHostLabelResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// HostLabel: The host name of the server. This is the first part of the FQDN.
	HostLabel *oaut.String `idl:"name:HostLabel" json:"host_label"`
	// Return: The RetrieveHostLabel return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RetrieveHostLabelResponse structure represents the RetrieveHostLabel operation response

func (*RetrieveHostLabelResponse) MarshalNDR

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

func (*RetrieveHostLabelResponse) UnmarshalNDR

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

type RetrieveServiceSecretRequest

type RetrieveServiceSecretRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

RetrieveServiceSecretRequest structure represents the RetrieveSvcSecret operation request

func (*RetrieveServiceSecretRequest) MarshalNDR

func (*RetrieveServiceSecretRequest) UnmarshalNDR

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

type RetrieveServiceSecretResponse

type RetrieveServiceSecretResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// SecretBLOB: The value of the cluster secret as stored on this server.
	SecretBlob *oaut.String `idl:"name:SecretBLOB" json:"secret_blob"`
	// Return: The RetrieveSvcSecret return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RetrieveServiceSecretResponse structure represents the RetrieveSvcSecret operation response

func (*RetrieveServiceSecretResponse) MarshalNDR

func (*RetrieveServiceSecretResponse) UnmarshalNDR

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

type UnimplementedClusterSetupServer added in v1.1.5

type UnimplementedClusterSetupServer struct {
	iunknown.UnimplementedUnknownServer
}

Unimplemented IClusterSetup

func (UnimplementedClusterSetupServer) ConfigClusterCerV2 added in v1.1.5

func (UnimplementedClusterSetupServer) ConfigClusterCert added in v1.1.5

func (UnimplementedClusterSetupServer) ConfigServiceSecret added in v1.1.5

func (UnimplementedClusterSetupServer) GenerateClusterCert added in v1.1.5

func (UnimplementedClusterSetupServer) GenerateClusterCertV2 added in v1.1.5

func (UnimplementedClusterSetupServer) GetFunctionalLevel added in v1.1.5

func (UnimplementedClusterSetupServer) GetUpgradeVersion added in v1.1.5

func (UnimplementedClusterSetupServer) RetrieveClusterCert added in v1.1.5

func (UnimplementedClusterSetupServer) RetrieveClusterCertV2 added in v1.1.5

func (UnimplementedClusterSetupServer) RetrieveHostLabel added in v1.1.5

func (UnimplementedClusterSetupServer) RetrieveServiceSecret added in v1.1.5

Jump to

Keyboard shortcuts

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