iperformancecounterdatacollector

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 (
	// IPerformanceCounterDataCollector interface identifier 03837506-098b-11d8-9414-505054503030
	PerformanceCounterDataCollectorIID = &dcom.IID{Data1: 0x03837506, Data2: 0x098b, Data3: 0x11d8, Data4: []byte{0x94, 0x14, 0x50, 0x50, 0x54, 0x50, 0x30, 0x30}}
	// Syntax UUID
	PerformanceCounterDataCollectorSyntaxUUID = &uuid.UUID{TimeLow: 0x3837506, TimeMid: 0x98b, TimeHiAndVersion: 0x11d8, ClockSeqHiAndReserved: 0x94, ClockSeqLow: 0x14, Node: [6]uint8{0x50, 0x50, 0x54, 0x50, 0x30, 0x30}}
	// Syntax ID
	PerformanceCounterDataCollectorSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: PerformanceCounterDataCollectorSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/pla"
)

Functions

func PerformanceCounterDataCollectorServerHandle

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

func RegisterPerformanceCounterDataCollectorServer

func RegisterPerformanceCounterDataCollectorServer(conn dcerpc.Conn, o PerformanceCounterDataCollectorServer, opts ...dcerpc.Option)

Types

type GetDataSourceNameRequest

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

GetDataSourceNameRequest structure represents the DataSourceName operation request

func (*GetDataSourceNameRequest) MarshalNDR

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

func (*GetDataSourceNameRequest) UnmarshalNDR

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

type GetDataSourceNameResponse

type GetDataSourceNameResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	DSN  *oaut.String   `idl:"name:dsn" json:"dsn"`
	// Return: The DataSourceName return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDataSourceNameResponse structure represents the DataSourceName operation response

func (*GetDataSourceNameResponse) MarshalNDR

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

func (*GetDataSourceNameResponse) UnmarshalNDR

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

type GetLogFileFormatRequest

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

GetLogFileFormatRequest structure represents the LogFileFormat operation request

func (*GetLogFileFormatRequest) MarshalNDR

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

func (*GetLogFileFormatRequest) UnmarshalNDR

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

type GetLogFileFormatResponse

type GetLogFileFormatResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That   *dcom.ORPCThat `idl:"name:That" json:"that"`
	Format pla.FileFormat `idl:"name:format" json:"format"`
	// Return: The LogFileFormat return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetLogFileFormatResponse structure represents the LogFileFormat operation response

func (*GetLogFileFormatResponse) MarshalNDR

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

func (*GetLogFileFormatResponse) UnmarshalNDR

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

type GetPerformanceCountersRequest

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

GetPerformanceCountersRequest structure represents the PerformanceCounters operation request

func (*GetPerformanceCountersRequest) MarshalNDR

func (*GetPerformanceCountersRequest) UnmarshalNDR

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

type GetPerformanceCountersResponse

type GetPerformanceCountersResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That     *dcom.ORPCThat  `idl:"name:That" json:"that"`
	Counters *oaut.SafeArray `idl:"name:counters" json:"counters"`
	// Return: The PerformanceCounters return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetPerformanceCountersResponse structure represents the PerformanceCounters operation response

func (*GetPerformanceCountersResponse) MarshalNDR

func (*GetPerformanceCountersResponse) UnmarshalNDR

type GetSampleIntervalRequest

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

GetSampleIntervalRequest structure represents the SampleInterval operation request

func (*GetSampleIntervalRequest) MarshalNDR

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

func (*GetSampleIntervalRequest) UnmarshalNDR

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

type GetSampleIntervalResponse

type GetSampleIntervalResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That     *dcom.ORPCThat `idl:"name:That" json:"that"`
	Interval uint32         `idl:"name:interval" json:"interval"`
	// Return: The SampleInterval return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetSampleIntervalResponse structure represents the SampleInterval operation response

func (*GetSampleIntervalResponse) MarshalNDR

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

func (*GetSampleIntervalResponse) UnmarshalNDR

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

type GetSegmentMaxRecordsRequest

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

GetSegmentMaxRecordsRequest structure represents the SegmentMaxRecords operation request

func (*GetSegmentMaxRecordsRequest) MarshalNDR

func (*GetSegmentMaxRecordsRequest) UnmarshalNDR

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

type GetSegmentMaxRecordsResponse

type GetSegmentMaxRecordsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That    *dcom.ORPCThat `idl:"name:That" json:"that"`
	Records uint32         `idl:"name:records" json:"records"`
	// Return: The SegmentMaxRecords return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetSegmentMaxRecordsResponse structure represents the SegmentMaxRecords operation response

func (*GetSegmentMaxRecordsResponse) MarshalNDR

func (*GetSegmentMaxRecordsResponse) UnmarshalNDR

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

type PerformanceCounterDataCollectorClient

type PerformanceCounterDataCollectorClient interface {

	// IDataCollector retrieval method.
	DataCollector() idatacollector.DataCollectorClient

	// DataSourceName operation.
	GetDataSourceName(context.Context, *GetDataSourceNameRequest, ...dcerpc.CallOption) (*GetDataSourceNameResponse, error)

	// DataSourceName operation.
	SetDataSourceName(context.Context, *SetDataSourceNameRequest, ...dcerpc.CallOption) (*SetDataSourceNameResponse, error)

	// PerformanceCounters operation.
	GetPerformanceCounters(context.Context, *GetPerformanceCountersRequest, ...dcerpc.CallOption) (*GetPerformanceCountersResponse, error)

	// PerformanceCounters operation.
	SetPerformanceCounters(context.Context, *SetPerformanceCountersRequest, ...dcerpc.CallOption) (*SetPerformanceCountersResponse, error)

	// LogFileFormat operation.
	GetLogFileFormat(context.Context, *GetLogFileFormatRequest, ...dcerpc.CallOption) (*GetLogFileFormatResponse, error)

	// LogFileFormat operation.
	SetLogFileFormat(context.Context, *SetLogFileFormatRequest, ...dcerpc.CallOption) (*SetLogFileFormatResponse, error)

	// SampleInterval operation.
	GetSampleInterval(context.Context, *GetSampleIntervalRequest, ...dcerpc.CallOption) (*GetSampleIntervalResponse, error)

	// SampleInterval operation.
	SetSampleInterval(context.Context, *SetSampleIntervalRequest, ...dcerpc.CallOption) (*SetSampleIntervalResponse, error)

	// SegmentMaxRecords operation.
	GetSegmentMaxRecords(context.Context, *GetSegmentMaxRecordsRequest, ...dcerpc.CallOption) (*GetSegmentMaxRecordsResponse, error)

	// SegmentMaxRecords operation.
	SetSegmentMaxRecords(context.Context, *SetSegmentMaxRecordsRequest, ...dcerpc.CallOption) (*SetSegmentMaxRecordsResponse, error)

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

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

IPerformanceCounterDataCollector interface.

func NewPerformanceCounterDataCollectorClient

func NewPerformanceCounterDataCollectorClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (PerformanceCounterDataCollectorClient, error)

type PerformanceCounterDataCollectorServer

type PerformanceCounterDataCollectorServer interface {

	// IDataCollector base class.
	idatacollector.DataCollectorServer

	// DataSourceName operation.
	GetDataSourceName(context.Context, *GetDataSourceNameRequest) (*GetDataSourceNameResponse, error)

	// DataSourceName operation.
	SetDataSourceName(context.Context, *SetDataSourceNameRequest) (*SetDataSourceNameResponse, error)

	// PerformanceCounters operation.
	GetPerformanceCounters(context.Context, *GetPerformanceCountersRequest) (*GetPerformanceCountersResponse, error)

	// PerformanceCounters operation.
	SetPerformanceCounters(context.Context, *SetPerformanceCountersRequest) (*SetPerformanceCountersResponse, error)

	// LogFileFormat operation.
	GetLogFileFormat(context.Context, *GetLogFileFormatRequest) (*GetLogFileFormatResponse, error)

	// LogFileFormat operation.
	SetLogFileFormat(context.Context, *SetLogFileFormatRequest) (*SetLogFileFormatResponse, error)

	// SampleInterval operation.
	GetSampleInterval(context.Context, *GetSampleIntervalRequest) (*GetSampleIntervalResponse, error)

	// SampleInterval operation.
	SetSampleInterval(context.Context, *SetSampleIntervalRequest) (*SetSampleIntervalResponse, error)

	// SegmentMaxRecords operation.
	GetSegmentMaxRecords(context.Context, *GetSegmentMaxRecordsRequest) (*GetSegmentMaxRecordsResponse, error)

	// SegmentMaxRecords operation.
	SetSegmentMaxRecords(context.Context, *SetSegmentMaxRecordsRequest) (*SetSegmentMaxRecordsResponse, error)
}

IPerformanceCounterDataCollector server interface.

type SetDataSourceNameRequest

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

SetDataSourceNameRequest structure represents the DataSourceName operation request

func (*SetDataSourceNameRequest) MarshalNDR

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

func (*SetDataSourceNameRequest) UnmarshalNDR

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

type SetDataSourceNameResponse

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

SetDataSourceNameResponse structure represents the DataSourceName operation response

func (*SetDataSourceNameResponse) MarshalNDR

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

func (*SetDataSourceNameResponse) UnmarshalNDR

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

type SetLogFileFormatRequest

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

SetLogFileFormatRequest structure represents the LogFileFormat operation request

func (*SetLogFileFormatRequest) MarshalNDR

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

func (*SetLogFileFormatRequest) UnmarshalNDR

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

type SetLogFileFormatResponse

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

SetLogFileFormatResponse structure represents the LogFileFormat operation response

func (*SetLogFileFormatResponse) MarshalNDR

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

func (*SetLogFileFormatResponse) UnmarshalNDR

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

type SetPerformanceCountersRequest

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

SetPerformanceCountersRequest structure represents the PerformanceCounters operation request

func (*SetPerformanceCountersRequest) MarshalNDR

func (*SetPerformanceCountersRequest) UnmarshalNDR

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

type SetPerformanceCountersResponse

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

SetPerformanceCountersResponse structure represents the PerformanceCounters operation response

func (*SetPerformanceCountersResponse) MarshalNDR

func (*SetPerformanceCountersResponse) UnmarshalNDR

type SetSampleIntervalRequest

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

SetSampleIntervalRequest structure represents the SampleInterval operation request

func (*SetSampleIntervalRequest) MarshalNDR

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

func (*SetSampleIntervalRequest) UnmarshalNDR

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

type SetSampleIntervalResponse

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

SetSampleIntervalResponse structure represents the SampleInterval operation response

func (*SetSampleIntervalResponse) MarshalNDR

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

func (*SetSampleIntervalResponse) UnmarshalNDR

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

type SetSegmentMaxRecordsRequest

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

SetSegmentMaxRecordsRequest structure represents the SegmentMaxRecords operation request

func (*SetSegmentMaxRecordsRequest) MarshalNDR

func (*SetSegmentMaxRecordsRequest) UnmarshalNDR

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

type SetSegmentMaxRecordsResponse

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

SetSegmentMaxRecordsResponse structure represents the SegmentMaxRecords operation response

func (*SetSegmentMaxRecordsResponse) MarshalNDR

func (*SetSegmentMaxRecordsResponse) UnmarshalNDR

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

Jump to

Keyboard shortcuts

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