iserverhealthreport2

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IServerHealthReport2 interface identifier 20d15747-6c48-4254-a358-65039fd8c63c
	ServerHealthReport2IID = &dcom.IID{Data1: 0x20d15747, Data2: 0x6c48, Data3: 0x4254, Data4: []byte{0xa3, 0x58, 0x65, 0x03, 0x9f, 0xd8, 0xc6, 0x3c}}
	// Syntax UUID
	ServerHealthReport2SyntaxUUID = &uuid.UUID{TimeLow: 0x20d15747, TimeMid: 0x6c48, TimeHiAndVersion: 0x4254, ClockSeqHiAndReserved: 0xa3, ClockSeqLow: 0x58, Node: [6]uint8{0x65, 0x3, 0x9f, 0xd8, 0xc6, 0x3c}}
	// Syntax ID
	ServerHealthReport2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServerHealthReport2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/dfsrh"
)

Functions

func NewServerHealthReport2ServerHandle

func NewServerHealthReport2ServerHandle(o ServerHealthReport2Server) dcerpc.ServerHandle

func RegisterServerHealthReport2Server

func RegisterServerHealthReport2Server(conn dcerpc.Conn, o ServerHealthReport2Server, opts ...dcerpc.Option)

func ServerHealthReport2ServerHandle

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

Types

type GetCompressedReport2Request

type GetCompressedReport2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                    *dcom.ORPCThis  `idl:"name:This" json:"this"`
	ReplicationGroupGUID    *dtyp.GUID      `idl:"name:replicationGroupGuid" json:"replication_group_guid"`
	ReferenceMember         *oaut.String    `idl:"name:referenceMember" json:"reference_member"`
	ServerName              *oaut.String    `idl:"name:serverName" json:"server_name"`
	ReferenceVersionVectors *oaut.SafeArray `idl:"name:referenceVersionVectors" json:"reference_version_vectors"`
	Flags                   int32           `idl:"name:flags" json:"flags"`
}

GetCompressedReport2Request structure represents the GetCompressedReport2 operation request

func (*GetCompressedReport2Request) MarshalNDR

func (*GetCompressedReport2Request) UnmarshalNDR

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

type GetCompressedReport2Response

type GetCompressedReport2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That                   *dcom.ORPCThat  `idl:"name:That" json:"that"`
	MemberVersionVectors   *oaut.SafeArray `idl:"name:memberVersionVectors" json:"member_version_vectors"`
	ReportCompressed       *oaut.String    `idl:"name:reportCompressed" json:"report_compressed"`
	UncompressedReportSize int32           `idl:"name:uncompressedReportSize" json:"uncompressed_report_size"`
	// Return: The GetCompressedReport2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetCompressedReport2Response structure represents the GetCompressedReport2 operation response

func (*GetCompressedReport2Response) MarshalNDR

func (*GetCompressedReport2Response) UnmarshalNDR

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

type GetReport2Request

type GetReport2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                    *dcom.ORPCThis  `idl:"name:This" json:"this"`
	ReplicationGroupGUID    *dtyp.GUID      `idl:"name:replicationGroupGuid" json:"replication_group_guid"`
	ReferenceMember         *oaut.String    `idl:"name:referenceMember" json:"reference_member"`
	ServerName              *oaut.String    `idl:"name:serverName" json:"server_name"`
	ReferenceVersionVectors *oaut.SafeArray `idl:"name:referenceVersionVectors" json:"reference_version_vectors"`
	Flags                   int32           `idl:"name:flags" json:"flags"`
}

GetReport2Request structure represents the GetReport2 operation request

func (*GetReport2Request) MarshalNDR

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

func (*GetReport2Request) UnmarshalNDR

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

type GetReport2Response

type GetReport2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That                 *dcom.ORPCThat  `idl:"name:That" json:"that"`
	MemberVersionVectors *oaut.SafeArray `idl:"name:memberVersionVectors" json:"member_version_vectors"`
	ReportXML            *oaut.String    `idl:"name:reportXML" json:"report_xml"`
	// Return: The GetReport2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetReport2Response structure represents the GetReport2 operation response

func (*GetReport2Response) MarshalNDR

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

func (*GetReport2Response) UnmarshalNDR

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

type ServerHealthReport2Client

type ServerHealthReport2Client interface {

	// IServerHealthReport retrieval method.
	ServerHealthReport() iserverhealthreport.ServerHealthReportClient

	// GetReport2 operation.
	GetReport2(context.Context, *GetReport2Request, ...dcerpc.CallOption) (*GetReport2Response, error)

	// GetCompressedReport2 operation.
	GetCompressedReport2(context.Context, *GetCompressedReport2Request, ...dcerpc.CallOption) (*GetCompressedReport2Response, error)

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

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

IServerHealthReport2 interface.

func NewServerHealthReport2Client

func NewServerHealthReport2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ServerHealthReport2Client, error)

type ServerHealthReport2Server

type ServerHealthReport2Server interface {

	// IServerHealthReport base class.
	iserverhealthreport.ServerHealthReportServer

	// GetReport2 operation.
	GetReport2(context.Context, *GetReport2Request) (*GetReport2Response, error)

	// GetCompressedReport2 operation.
	GetCompressedReport2(context.Context, *GetCompressedReport2Request) (*GetCompressedReport2Response, error)
}

IServerHealthReport2 server interface.

Jump to

Keyboard shortcuts

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