Documentation
¶
Index ¶
- Variables
- func DataCollectorCollectionServerHandle(ctx context.Context, o DataCollectorCollectionServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewDataCollectorCollectionServerHandle(o DataCollectorCollectionServer) dcerpc.ServerHandle
- func RegisterDataCollectorCollectionServer(conn dcerpc.Conn, o DataCollectorCollectionServer, opts ...dcerpc.Option)
- type AddRangeRequest
- type AddRangeResponse
- type AddRequest
- type AddResponse
- type ClearRequest
- type ClearResponse
- type CreateDataCollectorFromXMLRequest
- type CreateDataCollectorFromXMLResponse
- type CreateDataCollectorRequest
- type CreateDataCollectorResponse
- type DataCollectorCollectionClient
- type DataCollectorCollectionServer
- type GetCountRequest
- type GetCountResponse
- type GetItemRequest
- type GetItemResponse
- type Get_NewEnumRequest
- type Get_NewEnumResponse
- type RemoveRequest
- type RemoveResponse
Constants ¶
This section is empty.
Variables ¶
var ( // IDataCollectorCollection interface identifier 03837502-098b-11d8-9414-505054503030 DataCollectorCollectionIID = &dcom.IID{Data1: 0x03837502, Data2: 0x098b, Data3: 0x11d8, Data4: []byte{0x94, 0x14, 0x50, 0x50, 0x54, 0x50, 0x30, 0x30}} // Syntax UUID DataCollectorCollectionSyntaxUUID = &uuid.UUID{TimeLow: 0x3837502, TimeMid: 0x98b, TimeHiAndVersion: 0x11d8, ClockSeqHiAndReserved: 0x94, ClockSeqLow: 0x14, Node: [6]uint8{0x50, 0x50, 0x54, 0x50, 0x30, 0x30}} // Syntax ID DataCollectorCollectionSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: DataCollectorCollectionSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/pla"
)
Functions ¶
func NewDataCollectorCollectionServerHandle ¶
func NewDataCollectorCollectionServerHandle(o DataCollectorCollectionServer) dcerpc.ServerHandle
func RegisterDataCollectorCollectionServer ¶
func RegisterDataCollectorCollectionServer(conn dcerpc.Conn, o DataCollectorCollectionServer, opts ...dcerpc.Option)
Types ¶
type AddRangeRequest ¶
type AddRangeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Collectors *pla.DataCollectorCollection `idl:"name:collectors" json:"collectors"` }
AddRangeRequest structure represents the AddRange operation request
func (*AddRangeRequest) MarshalNDR ¶
func (*AddRangeRequest) UnmarshalNDR ¶
type AddRangeResponse ¶
type AddRangeResponse 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 AddRange return value. Return int32 `idl:"name:Return" json:"return"` }
AddRangeResponse structure represents the AddRange operation response
func (*AddRangeResponse) MarshalNDR ¶
func (*AddRangeResponse) UnmarshalNDR ¶
type AddRequest ¶
type AddRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Collector *pla.DataCollector `idl:"name:collector" json:"collector"` }
AddRequest structure represents the Add operation request
func (*AddRequest) MarshalNDR ¶
func (*AddRequest) UnmarshalNDR ¶
type AddResponse ¶
type AddResponse 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 Add return value. Return int32 `idl:"name:Return" json:"return"` }
AddResponse structure represents the Add operation response
func (*AddResponse) MarshalNDR ¶
func (*AddResponse) UnmarshalNDR ¶
type ClearRequest ¶
type ClearRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
ClearRequest structure represents the Clear operation request
func (*ClearRequest) MarshalNDR ¶
func (*ClearRequest) UnmarshalNDR ¶
type ClearResponse ¶
type ClearResponse 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 Clear return value. Return int32 `idl:"name:Return" json:"return"` }
ClearResponse structure represents the Clear operation response
func (*ClearResponse) MarshalNDR ¶
func (*ClearResponse) UnmarshalNDR ¶
type CreateDataCollectorFromXMLRequest ¶
type CreateDataCollectorFromXMLRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // bstrXml: Supplies a string that contains the XML specifying the data collector to // create. The possible data collector definitions can be as follows: IPerformanceCounterDataCollector // (section 3.2.4.6), IConfigurationDataCollector (section 3.2.4.7), IAlertDataCollector // (section 3.2.4.8), ITraceDataCollector (section 3.2.4.9), and IApiTracingDataCollector // (section 3.2.4.10). The XML for each of those respective data collector types is // in their corresponding sections; the overall XML of the data collector set, which // includes the XML for each type of data collector, specified in section 3.2.4.19. // The bStrXml parameter value is the set of XML elements corresponding to a single // type of data collector. XML *oaut.String `idl:"name:bstrXml" json:"xml"` }
CreateDataCollectorFromXMLRequest structure represents the CreateDataCollectorFromXml operation request
func (*CreateDataCollectorFromXMLRequest) MarshalNDR ¶
func (*CreateDataCollectorFromXMLRequest) UnmarshalNDR ¶
type CreateDataCollectorFromXMLResponse ¶
type CreateDataCollectorFromXMLResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pValidation: Receives a validation value map with a list of properties from the input // bstrXml for this data collector set (and its encapsulated objects) that are invalid // or ignored. For each property of the data collector set and its associated objects, // passed in by the client, that could not be set, the server MUST return in an IValueMap. // Each IValueMapItem in the IValueMap represents a property of the data collector set // and its encapsulated objects that could not be set by the server. The Names property // of the IValueMapItem represents the property name, while the Values property of the // IValueMap represents the HRESULT describing the specific property corresponding to // that property. The ValueMapType property of the IValueMap is plaValidation; more // information can be found in section 2.2.11. Note that the client MAY choose to ignore // any warnings or errors that are returned by the server; however, if it does so, the // data collector set might not be executed by the server as the client expects. Validation *pla.ValueMap `idl:"name:pValidation" json:"validation"` // pCollector: Receives the newly created data collector. Collector *pla.DataCollector `idl:"name:pCollector" json:"collector"` // Return: The CreateDataCollectorFromXml return value. Return int32 `idl:"name:Return" json:"return"` }
CreateDataCollectorFromXMLResponse structure represents the CreateDataCollectorFromXml operation response
func (*CreateDataCollectorFromXMLResponse) MarshalNDR ¶
func (*CreateDataCollectorFromXMLResponse) UnmarshalNDR ¶
type CreateDataCollectorRequest ¶
type CreateDataCollectorRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // Type: Supplies the type of data collector to create. For possible data collector // types, see the DataCollectorType enumeration in section 2.2.2.5. Type pla.DataCollectorType `idl:"name:Type" json:"type"` }
CreateDataCollectorRequest structure represents the CreateDataCollector operation request
func (*CreateDataCollectorRequest) MarshalNDR ¶
func (*CreateDataCollectorRequest) UnmarshalNDR ¶
type CreateDataCollectorResponse ¶
type CreateDataCollectorResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Collector: Receives the newly created data collector. Collector *pla.DataCollector `idl:"name:Collector" json:"collector"` // Return: The CreateDataCollector return value. Return int32 `idl:"name:Return" json:"return"` }
CreateDataCollectorResponse structure represents the CreateDataCollector operation response
func (*CreateDataCollectorResponse) MarshalNDR ¶
func (*CreateDataCollectorResponse) UnmarshalNDR ¶
type DataCollectorCollectionClient ¶
type DataCollectorCollectionClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // Count operation. GetCount(context.Context, *GetCountRequest, ...dcerpc.CallOption) (*GetCountResponse, error) // Item operation. GetItem(context.Context, *GetItemRequest, ...dcerpc.CallOption) (*GetItemResponse, error) // _NewEnum operation. Get_NewEnum(context.Context, *Get_NewEnumRequest, ...dcerpc.CallOption) (*Get_NewEnumResponse, error) // Add operation. Add(context.Context, *AddRequest, ...dcerpc.CallOption) (*AddResponse, error) // Remove operation. Remove(context.Context, *RemoveRequest, ...dcerpc.CallOption) (*RemoveResponse, error) // Clear operation. Clear(context.Context, *ClearRequest, ...dcerpc.CallOption) (*ClearResponse, error) // AddRange operation. AddRange(context.Context, *AddRangeRequest, ...dcerpc.CallOption) (*AddRangeResponse, error) // The CreateDataCollectorFromXml method creates a data collector using XML. // // Return Values: This method MUST return an HRESULT with the severity bit clear on // success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as // defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1. CreateDataCollectorFromXML(context.Context, *CreateDataCollectorFromXMLRequest, ...dcerpc.CallOption) (*CreateDataCollectorFromXMLResponse, error) // The CreateDataCollector method creates a data collector of the specified type. // // Return Values: This method MUST return an HRESULT with the severity bit clear on // success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as // defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1. CreateDataCollector(context.Context, *CreateDataCollectorRequest, ...dcerpc.CallOption) (*CreateDataCollectorResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) DataCollectorCollectionClient }
IDataCollectorCollection interface.
type DataCollectorCollectionServer ¶
type DataCollectorCollectionServer interface { // IDispatch base class. idispatch.DispatchServer // Count operation. GetCount(context.Context, *GetCountRequest) (*GetCountResponse, error) // Item operation. GetItem(context.Context, *GetItemRequest) (*GetItemResponse, error) // _NewEnum operation. Get_NewEnum(context.Context, *Get_NewEnumRequest) (*Get_NewEnumResponse, error) // Add operation. Add(context.Context, *AddRequest) (*AddResponse, error) // Remove operation. Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) // Clear operation. Clear(context.Context, *ClearRequest) (*ClearResponse, error) // AddRange operation. AddRange(context.Context, *AddRangeRequest) (*AddRangeResponse, error) // The CreateDataCollectorFromXml method creates a data collector using XML. // // Return Values: This method MUST return an HRESULT with the severity bit clear on // success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as // defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1. CreateDataCollectorFromXML(context.Context, *CreateDataCollectorFromXMLRequest) (*CreateDataCollectorFromXMLResponse, error) // The CreateDataCollector method creates a data collector of the specified type. // // Return Values: This method MUST return an HRESULT with the severity bit clear on // success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as // defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1. CreateDataCollector(context.Context, *CreateDataCollectorRequest) (*CreateDataCollectorResponse, error) }
IDataCollectorCollection server interface.
type GetCountRequest ¶
type GetCountRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetCountRequest structure represents the Count operation request
func (*GetCountRequest) MarshalNDR ¶
func (*GetCountRequest) UnmarshalNDR ¶
type GetCountResponse ¶
type GetCountResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` ReturnValue int32 `idl:"name:retVal" json:"return_value"` // Return: The Count return value. Return int32 `idl:"name:Return" json:"return"` }
GetCountResponse structure represents the Count operation response
func (*GetCountResponse) MarshalNDR ¶
func (*GetCountResponse) UnmarshalNDR ¶
type GetItemRequest ¶
type GetItemRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Index *oaut.Variant `idl:"name:index" json:"index"` }
GetItemRequest structure represents the Item operation request
func (*GetItemRequest) MarshalNDR ¶
func (*GetItemRequest) UnmarshalNDR ¶
type GetItemResponse ¶
type GetItemResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Collector *pla.DataCollector `idl:"name:collector" json:"collector"` // Return: The Item return value. Return int32 `idl:"name:Return" json:"return"` }
GetItemResponse structure represents the Item operation response
func (*GetItemResponse) MarshalNDR ¶
func (*GetItemResponse) UnmarshalNDR ¶
type Get_NewEnumRequest ¶
type Get_NewEnumRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
Get_NewEnumRequest structure represents the _NewEnum operation request
func (*Get_NewEnumRequest) MarshalNDR ¶
func (*Get_NewEnumRequest) UnmarshalNDR ¶
type Get_NewEnumResponse ¶
type Get_NewEnumResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` ReturnValue *dcom.Unknown `idl:"name:retVal" json:"return_value"` // Return: The _NewEnum return value. Return int32 `idl:"name:Return" json:"return"` }
Get_NewEnumResponse structure represents the _NewEnum operation response
func (*Get_NewEnumResponse) MarshalNDR ¶
func (*Get_NewEnumResponse) UnmarshalNDR ¶
type RemoveRequest ¶
type RemoveRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Collector *oaut.Variant `idl:"name:collector" json:"collector"` }
RemoveRequest structure represents the Remove operation request
func (*RemoveRequest) MarshalNDR ¶
func (*RemoveRequest) UnmarshalNDR ¶
type RemoveResponse ¶
type RemoveResponse 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 Remove return value. Return int32 `idl:"name:Return" json:"return"` }
RemoveResponse structure represents the Remove operation response