ifsrmreportmanager

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmReportManager interface identifier 27b899fe-6ffa-4481-a184-d3daade8a02b
	ReportManagerIID = &dcom.IID{Data1: 0x27b899fe, Data2: 0x6ffa, Data3: 0x4481, Data4: []byte{0xa1, 0x84, 0xd3, 0xda, 0xad, 0xe8, 0xa0, 0x2b}}
	// Syntax UUID
	ReportManagerSyntaxUUID = &uuid.UUID{TimeLow: 0x27b899fe, TimeMid: 0x6ffa, TimeHiAndVersion: 0x4481, ClockSeqHiAndReserved: 0xa1, ClockSeqLow: 0x84, Node: [6]uint8{0xd3, 0xda, 0xad, 0xe8, 0xa0, 0x2b}}
	// Syntax ID
	ReportManagerSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: ReportManagerSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewReportManagerServerHandle

func NewReportManagerServerHandle(o ReportManagerServer) dcerpc.ServerHandle

func RegisterReportManagerServer

func RegisterReportManagerServer(conn dcerpc.Conn, o ReportManagerServer, opts ...dcerpc.Option)

func ReportManagerServerHandle

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

Types

type CreateReportJobRequest

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

CreateReportJobRequest structure represents the CreateReportJob operation request

func (*CreateReportJobRequest) MarshalNDR

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

func (*CreateReportJobRequest) UnmarshalNDR

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

type CreateReportJobResponse

type CreateReportJobResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// reportJob: Pointer to an IFsrmReportJob interface pointer (section 3.2.4.2.33) that
	// upon completion contains a pointer to the newly created report job. To have the report
	// job added to the server's List of Persisted Report Jobs (section 3.2.1.5), the caller
	// MUST call Commit (section 3.2.4.2.34.1). The caller MUST release the report job when
	// the caller is done with it.
	ReportJob *fsrm.ReportJob `idl:"name:reportJob" json:"report_job"`
	// Return: The CreateReportJob return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateReportJobResponse structure represents the CreateReportJob operation response

func (*CreateReportJobResponse) MarshalNDR

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

func (*CreateReportJobResponse) UnmarshalNDR

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

type EnumReportJobsRequest

type EnumReportJobsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// options: Contains the FsrmEnumOptions (section 2.2.1.2.5) to use when enumerating
	// the report jobs.
	Options fsrm.EnumOptions `idl:"name:options" json:"options"`
}

EnumReportJobsRequest structure represents the EnumReportJobs operation request

func (*EnumReportJobsRequest) MarshalNDR

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

func (*EnumReportJobsRequest) UnmarshalNDR

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

type EnumReportJobsResponse

type EnumReportJobsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// reportJobs: Pointer to an IFsrmCollection interface pointer (section 3.2.4.2.1) that
	// upon completion contains a pointer to every report job on the server. The caller
	// MUST release the collection when the caller is done with it.
	ReportJobs *fsrm.Collection `idl:"name:reportJobs" json:"report_jobs"`
	// Return: The EnumReportJobs return value.
	Return int32 `idl:"name:Return" json:"return"`
}

EnumReportJobsResponse structure represents the EnumReportJobs operation response

func (*EnumReportJobsResponse) MarshalNDR

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

func (*EnumReportJobsResponse) UnmarshalNDR

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

type GetDefaultFilterRequest

type GetDefaultFilterRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// reportType: Contains the value from the FsrmReportType (section 2.2.1.2.10) enumeration.
	ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"`
	// filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration.
	Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"`
}

GetDefaultFilterRequest structure represents the GetDefaultFilter operation request

func (*GetDefaultFilterRequest) MarshalNDR

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

func (*GetDefaultFilterRequest) UnmarshalNDR

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

type GetDefaultFilterResponse

type GetDefaultFilterResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// filterValue: Pointer to a variable that upon completion contains the value of the
	// specified filter for the specified report type.
	FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"`
	// Return: The GetDefaultFilter return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDefaultFilterResponse structure represents the GetDefaultFilter operation response

func (*GetDefaultFilterResponse) MarshalNDR

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

func (*GetDefaultFilterResponse) UnmarshalNDR

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

type GetOutputDirectoryRequest

type GetOutputDirectoryRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// context: Contains the value from the FsrmReportGenerationContext (section 2.2.1.2.15)
	// enumeration of the context to get.
	Context fsrm.ReportGenerationContext `idl:"name:context" json:"context"`
}

GetOutputDirectoryRequest structure represents the GetOutputDirectory operation request

func (*GetOutputDirectoryRequest) MarshalNDR

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

func (*GetOutputDirectoryRequest) UnmarshalNDR

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

type GetOutputDirectoryResponse

type GetOutputDirectoryResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// path: Pointer to a variable that upon completion contains the output directory where
	// storage reports generated with the specified context will be stored.
	Path *oaut.String `idl:"name:path" json:"path"`
	// Return: The GetOutputDirectory return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetOutputDirectoryResponse structure represents the GetOutputDirectory operation response

func (*GetOutputDirectoryResponse) MarshalNDR

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

func (*GetOutputDirectoryResponse) UnmarshalNDR

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

type GetReportJobRequest

type GetReportJobRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// taskName: Contains the task name for which the server will return the associated
	// report job object. The maximum length of this string MUST be 230 characters.
	TaskName *oaut.String `idl:"name:taskName" json:"task_name"`
}

GetReportJobRequest structure represents the GetReportJob operation request

func (*GetReportJobRequest) MarshalNDR

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

func (*GetReportJobRequest) UnmarshalNDR

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

type GetReportJobResponse

type GetReportJobResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// reportJob: Pointer to an IFsrmReportJob interface pointer (section 3.2.4.2.34) that
	// upon completion contains a pointer to the report job object for the task name specified.
	// The caller MUST release the report job when the caller is done with it.
	ReportJob *fsrm.ReportJob `idl:"name:reportJob" json:"report_job"`
	// Return: The GetReportJob return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetReportJobResponse structure represents the GetReportJob operation response

func (*GetReportJobResponse) MarshalNDR

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

func (*GetReportJobResponse) UnmarshalNDR

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

type GetReportSizeLimitRequest

type GetReportSizeLimitRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// limit: Contains the value from the FsrmReportLimit (section 2.2.1.2.17) enumeration
	// indicating the report size limit for which the value is returned.
	Limit fsrm.ReportLimit `idl:"name:limit" json:"limit"`
}

GetReportSizeLimitRequest structure represents the GetReportSizeLimit operation request

func (*GetReportSizeLimitRequest) MarshalNDR

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

func (*GetReportSizeLimitRequest) UnmarshalNDR

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

type GetReportSizeLimitResponse

type GetReportSizeLimitResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// limitValue: Pointer to a variable that upon completion contains the report size limit
	// of the specified report limit.
	LimitValue *oaut.Variant `idl:"name:limitValue" json:"limit_value"`
	// Return: The GetReportSizeLimit return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetReportSizeLimitResponse structure represents the GetReportSizeLimit operation response

func (*GetReportSizeLimitResponse) MarshalNDR

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

func (*GetReportSizeLimitResponse) UnmarshalNDR

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

type IsFilterValidForReportTypeRequest

type IsFilterValidForReportTypeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// reportType: Contains the value from the FsrmReportType (section 2.2.1.2.10) enumeration.
	ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"`
	// filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration.
	Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"`
}

IsFilterValidForReportTypeRequest structure represents the IsFilterValidForReportType operation request

func (*IsFilterValidForReportTypeRequest) MarshalNDR

func (*IsFilterValidForReportTypeRequest) UnmarshalNDR

type IsFilterValidForReportTypeResponse

type IsFilterValidForReportTypeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// valid: Pointer to a variable that upon completion contains the Boolean indication
	// of whether the specified filter is configurable for the specified report type.
	Valid int16 `idl:"name:valid" json:"valid"`
	// Return: The IsFilterValidForReportType return value.
	Return int32 `idl:"name:Return" json:"return"`
}

IsFilterValidForReportTypeResponse structure represents the IsFilterValidForReportType operation response

func (*IsFilterValidForReportTypeResponse) MarshalNDR

func (*IsFilterValidForReportTypeResponse) UnmarshalNDR

type ReportManagerClient

type ReportManagerClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// The EnumReportJobs method returns a collection of all the report jobs from the List
	// of Persisted Report Jobs (section 3.2.1.5) and those from the List of Non-Persisted
	// Report Jobs (section 3.2.1.5) on the server.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG         | This return code is returned for the following reasons: The reportJobs parameter |
	//	|                                 | is NULL.                                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045311 FSRM_E_NOT_SUPPORTED | The options parameter contains FsrmEnumOptions (section 2.2.1.2.5) values that   |
	//	|                                 | are not valid.                                                                   |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	EnumReportJobs(context.Context, *EnumReportJobsRequest, ...dcerpc.CallOption) (*EnumReportJobsResponse, error)

	// The CreateReportJob method creates a Non-Persisted Report Job Instance (section 3.2.1.5.1.2)
	// and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------+
	//	|         RETURN          |                                  |
	//	|       VALUE/CODE        |           DESCRIPTION            |
	//	|                         |                                  |
	//	+-------------------------+----------------------------------+
	//	+-------------------------+----------------------------------+
	//	| 0x80070057 E_INVALIDARG | The reportJob parameter is NULL. |
	//	+-------------------------+----------------------------------+
	CreateReportJob(context.Context, *CreateReportJobRequest, ...dcerpc.CallOption) (*CreateReportJobResponse, error)

	// The GetReportJob method returns the report job associated with the specified task
	// name from the List of Persisted Report Jobs (section 3.2.1.5).
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	|           RETURN            |                                                                                  |
	//	|         VALUE/CODE          |                                   DESCRIPTION                                    |
	//	|                             |                                                                                  |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045301 FSRM_E_NOT_FOUND | The specified report job could not be found.                                     |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | This code is returned for the following reasons: The taskName parameter is NULL. |
	//	|                             | The reportJob parameter is NULL.                                                 |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	GetReportJob(context.Context, *GetReportJobRequest, ...dcerpc.CallOption) (*GetReportJobResponse, error)

	// The GetOutputDirectory method returns the output directory where storage reports
	// generated with the specified context will be stored.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The context parameter is not a  |
	//	|                         | valid FsrmReportGenerationContext (section 2.2.1.2.15) value. The path parameter |
	//	|                         | is NULL.                                                                         |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetOutputDirectory(context.Context, *GetOutputDirectoryRequest, ...dcerpc.CallOption) (*GetOutputDirectoryResponse, error)

	// The SetOutputDirectory method sets the output directory where storage reports generated
	// with the specified context will be stored.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The path parameter is NULL.     |
	//	|                         | The content of the path parameter exceeds the maximum length of 150 characters.  |
	//	|                         | The context parameter is not a valid FsrmReportGenerationContext (section        |
	//	|                         | 2.2.1.2.15) value.                                                               |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetOutputDirectory(context.Context, *SetOutputDirectoryRequest, ...dcerpc.CallOption) (*SetOutputDirectoryResponse, error)

	// The IsFilterValidForReportType method returns an indication of whether a specified
	// report filter is configurable for the specified report type.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The reportType parameter is     |
	//	|                         | not a valid FsrmReportType 2.2.1.2.10 value. The filter parameter is not a valid |
	//	|                         | FsrmReportFilter (section 2.2.1.2.16) value. The valid parameter is NULL.        |
	//	+-------------------------+----------------------------------------------------------------------------------+
	IsFilterValidForReportType(context.Context, *IsFilterValidForReportTypeRequest, ...dcerpc.CallOption) (*IsFilterValidForReportTypeResponse, error)

	// The GetDefaultFilter method returns the current value of the specified report filter
	// for the specified report type.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The reportType parameter is not |
	//	|                         | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is  |
	//	|                         | NULL.                                                                            |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetDefaultFilter(context.Context, *GetDefaultFilterRequest, ...dcerpc.CallOption) (*GetDefaultFilterResponse, error)

	// The SetDefaultFilter method sets the value of the specified report filter for the
	// specified report type.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The reportType parameter is not |
	//	|                         | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is  |
	//	|                         | not a valid value for the specified report filter.                               |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetDefaultFilter(context.Context, *SetDefaultFilterRequest, ...dcerpc.CallOption) (*SetDefaultFilterResponse, error)

	// The GetReportSizeLimit method returns the report size limit value of the specified
	// report limit.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The limit parameter is not a    |
	//	|                         | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is    |
	//	|                         | NULL.                                                                            |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetReportSizeLimit(context.Context, *GetReportSizeLimitRequest, ...dcerpc.CallOption) (*GetReportSizeLimitResponse, error)

	// The SetReportSizeLimit method sets the report size limit of the specified report
	// limit.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The limit parameter is not a    |
	//	|                         | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is    |
	//	|                         | not a valid value; it could not be converted to a positive, long number.         |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetReportSizeLimit(context.Context, *SetReportSizeLimitRequest, ...dcerpc.CallOption) (*SetReportSizeLimitResponse, error)

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

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

IFsrmReportManager interface.

func NewReportManagerClient

func NewReportManagerClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ReportManagerClient, error)

type ReportManagerServer

type ReportManagerServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// The EnumReportJobs method returns a collection of all the report jobs from the List
	// of Persisted Report Jobs (section 3.2.1.5) and those from the List of Non-Persisted
	// Report Jobs (section 3.2.1.5) on the server.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG         | This return code is returned for the following reasons: The reportJobs parameter |
	//	|                                 | is NULL.                                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045311 FSRM_E_NOT_SUPPORTED | The options parameter contains FsrmEnumOptions (section 2.2.1.2.5) values that   |
	//	|                                 | are not valid.                                                                   |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	EnumReportJobs(context.Context, *EnumReportJobsRequest) (*EnumReportJobsResponse, error)

	// The CreateReportJob method creates a Non-Persisted Report Job Instance (section 3.2.1.5.1.2)
	// and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------+
	//	|         RETURN          |                                  |
	//	|       VALUE/CODE        |           DESCRIPTION            |
	//	|                         |                                  |
	//	+-------------------------+----------------------------------+
	//	+-------------------------+----------------------------------+
	//	| 0x80070057 E_INVALIDARG | The reportJob parameter is NULL. |
	//	+-------------------------+----------------------------------+
	CreateReportJob(context.Context, *CreateReportJobRequest) (*CreateReportJobResponse, error)

	// The GetReportJob method returns the report job associated with the specified task
	// name from the List of Persisted Report Jobs (section 3.2.1.5).
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	|           RETURN            |                                                                                  |
	//	|         VALUE/CODE          |                                   DESCRIPTION                                    |
	//	|                             |                                                                                  |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045301 FSRM_E_NOT_FOUND | The specified report job could not be found.                                     |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | This code is returned for the following reasons: The taskName parameter is NULL. |
	//	|                             | The reportJob parameter is NULL.                                                 |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	GetReportJob(context.Context, *GetReportJobRequest) (*GetReportJobResponse, error)

	// The GetOutputDirectory method returns the output directory where storage reports
	// generated with the specified context will be stored.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The context parameter is not a  |
	//	|                         | valid FsrmReportGenerationContext (section 2.2.1.2.15) value. The path parameter |
	//	|                         | is NULL.                                                                         |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetOutputDirectory(context.Context, *GetOutputDirectoryRequest) (*GetOutputDirectoryResponse, error)

	// The SetOutputDirectory method sets the output directory where storage reports generated
	// with the specified context will be stored.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The path parameter is NULL.     |
	//	|                         | The content of the path parameter exceeds the maximum length of 150 characters.  |
	//	|                         | The context parameter is not a valid FsrmReportGenerationContext (section        |
	//	|                         | 2.2.1.2.15) value.                                                               |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetOutputDirectory(context.Context, *SetOutputDirectoryRequest) (*SetOutputDirectoryResponse, error)

	// The IsFilterValidForReportType method returns an indication of whether a specified
	// report filter is configurable for the specified report type.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The reportType parameter is     |
	//	|                         | not a valid FsrmReportType 2.2.1.2.10 value. The filter parameter is not a valid |
	//	|                         | FsrmReportFilter (section 2.2.1.2.16) value. The valid parameter is NULL.        |
	//	+-------------------------+----------------------------------------------------------------------------------+
	IsFilterValidForReportType(context.Context, *IsFilterValidForReportTypeRequest) (*IsFilterValidForReportTypeResponse, error)

	// The GetDefaultFilter method returns the current value of the specified report filter
	// for the specified report type.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The reportType parameter is not |
	//	|                         | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is  |
	//	|                         | NULL.                                                                            |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetDefaultFilter(context.Context, *GetDefaultFilterRequest) (*GetDefaultFilterResponse, error)

	// The SetDefaultFilter method sets the value of the specified report filter for the
	// specified report type.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The reportType parameter is not |
	//	|                         | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is  |
	//	|                         | not a valid value for the specified report filter.                               |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetDefaultFilter(context.Context, *SetDefaultFilterRequest) (*SetDefaultFilterResponse, error)

	// The GetReportSizeLimit method returns the report size limit value of the specified
	// report limit.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The limit parameter is not a    |
	//	|                         | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is    |
	//	|                         | NULL.                                                                            |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetReportSizeLimit(context.Context, *GetReportSizeLimitRequest) (*GetReportSizeLimitResponse, error)

	// The SetReportSizeLimit method sets the report size limit of the specified report
	// limit.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The limit parameter is not a    |
	//	|                         | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is    |
	//	|                         | not a valid value; it could not be converted to a positive, long number.         |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetReportSizeLimit(context.Context, *SetReportSizeLimitRequest) (*SetReportSizeLimitResponse, error)
}

IFsrmReportManager server interface.

type SetDefaultFilterRequest

type SetDefaultFilterRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// reportType: Contains the value from the FsrmReportType (section 2.2.1.2.10) enumeration.
	ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"`
	// filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration.
	Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"`
	// filterValue: Contains the value of the specified filter for the specified report
	// type.
	FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"`
}

SetDefaultFilterRequest structure represents the SetDefaultFilter operation request

func (*SetDefaultFilterRequest) MarshalNDR

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

func (*SetDefaultFilterRequest) UnmarshalNDR

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

type SetDefaultFilterResponse

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

SetDefaultFilterResponse structure represents the SetDefaultFilter operation response

func (*SetDefaultFilterResponse) MarshalNDR

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

func (*SetDefaultFilterResponse) UnmarshalNDR

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

type SetOutputDirectoryRequest

type SetOutputDirectoryRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// context: Contains the value from the FsrmReportGenerationContext (section 2.2.1.2.15)
	// enumeration of the context to set.
	Context fsrm.ReportGenerationContext `idl:"name:context" json:"context"`
	// path: Contains the output directory where storage reports generated with the specified
	// context will be stored. The maximum length of this string MUST be 150 characters.
	Path *oaut.String `idl:"name:path" json:"path"`
}

SetOutputDirectoryRequest structure represents the SetOutputDirectory operation request

func (*SetOutputDirectoryRequest) MarshalNDR

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

func (*SetOutputDirectoryRequest) UnmarshalNDR

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

type SetOutputDirectoryResponse

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

SetOutputDirectoryResponse structure represents the SetOutputDirectory operation response

func (*SetOutputDirectoryResponse) MarshalNDR

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

func (*SetOutputDirectoryResponse) UnmarshalNDR

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

type SetReportSizeLimitRequest

type SetReportSizeLimitRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// limit: Contains the value from the FsrmReportLimit (section 2.2.1.2.17) enumeration
	// indicating the report size limit that is set.
	Limit fsrm.ReportLimit `idl:"name:limit" json:"limit"`
	// limitValue: Contains the value of the specified report size limit.
	LimitValue *oaut.Variant `idl:"name:limitValue" json:"limit_value"`
}

SetReportSizeLimitRequest structure represents the SetReportSizeLimit operation request

func (*SetReportSizeLimitRequest) MarshalNDR

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

func (*SetReportSizeLimitRequest) UnmarshalNDR

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

type SetReportSizeLimitResponse

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

SetReportSizeLimitResponse structure represents the SetReportSizeLimit operation response

func (*SetReportSizeLimitResponse) MarshalNDR

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

func (*SetReportSizeLimitResponse) UnmarshalNDR

func (o *SetReportSizeLimitResponse) 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