ifsrmreportjob

package
v1.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmReportJob interface identifier 38e87280-715c-4c7d-a280-ea1651a19fef
	ReportJobIID = &dcom.IID{Data1: 0x38e87280, Data2: 0x715c, Data3: 0x4c7d, Data4: []byte{0xa2, 0x80, 0xea, 0x16, 0x51, 0xa1, 0x9f, 0xef}}
	// Syntax UUID
	ReportJobSyntaxUUID = &uuid.UUID{TimeLow: 0x38e87280, TimeMid: 0x715c, TimeHiAndVersion: 0x4c7d, ClockSeqHiAndReserved: 0xa2, ClockSeqLow: 0x80, Node: [6]uint8{0xea, 0x16, 0x51, 0xa1, 0x9f, 0xef}}
	// Syntax ID
	ReportJobSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: ReportJobSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewReportJobServerHandle

func NewReportJobServerHandle(o ReportJobServer) dcerpc.ServerHandle

func RegisterReportJobServer

func RegisterReportJobServer(conn dcerpc.Conn, o ReportJobServer, opts ...dcerpc.Option)

func ReportJobServerHandle

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

Types

type CancelRequest

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

CancelRequest structure represents the Cancel operation request

func (*CancelRequest) MarshalNDR

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

func (*CancelRequest) UnmarshalNDR

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

type CancelResponse

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

CancelResponse structure represents the Cancel operation response

func (*CancelResponse) MarshalNDR

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

func (*CancelResponse) UnmarshalNDR

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

type CreateReportRequest

type CreateReportRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// reportType: An FsrmReportType (section 2.2.1.2.10) enumeration value that identifies
	// the type of report contained in the report parameter.
	ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"`
}

CreateReportRequest structure represents the CreateReport operation request

func (*CreateReportRequest) MarshalNDR

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

func (*CreateReportRequest) UnmarshalNDR

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

type CreateReportResponse

type CreateReportResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// report: A pointer to an IFsrmReport interface pointer (section 3.2.4.2.35) that upon
	// completion contains a pointer to the newly created report of the specified type.
	// The caller MUST release the report job when it is done with it.
	Report *fsrm.Report `idl:"name:report" json:"report"`
	// Return: The CreateReport return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateReportResponse structure represents the CreateReport operation response

func (*CreateReportResponse) MarshalNDR

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

func (*CreateReportResponse) UnmarshalNDR

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

type EnumReportsRequest

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

EnumReportsRequest structure represents the EnumReports operation request

func (*EnumReportsRequest) MarshalNDR

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

func (*EnumReportsRequest) UnmarshalNDR

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

type EnumReportsResponse

type EnumReportsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// reports: Pointer to an IFsrmCollection interface pointer (section 3.2.4.2.1) that
	// upon completion contains pointers to the report objects configured for the report
	// job. A caller MUST release the collection received when the caller is done with it.
	Reports *fsrm.Collection `idl:"name:reports" json:"reports"`
	// Return: The EnumReports return value.
	Return int32 `idl:"name:Return" json:"return"`
}

EnumReportsResponse structure represents the EnumReports operation response

func (*EnumReportsResponse) MarshalNDR

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

func (*EnumReportsResponse) UnmarshalNDR

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

type GetFormatsRequest

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

GetFormatsRequest structure represents the Formats operation request

func (*GetFormatsRequest) MarshalNDR

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

func (*GetFormatsRequest) UnmarshalNDR

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

type GetFormatsResponse

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

GetFormatsResponse structure represents the Formats operation response

func (*GetFormatsResponse) MarshalNDR

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

func (*GetFormatsResponse) UnmarshalNDR

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

type GetLastErrorRequest

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

GetLastErrorRequest structure represents the LastError operation request

func (*GetLastErrorRequest) MarshalNDR

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

func (*GetLastErrorRequest) UnmarshalNDR

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

type GetLastErrorResponse

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

GetLastErrorResponse structure represents the LastError operation response

func (*GetLastErrorResponse) MarshalNDR

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

func (*GetLastErrorResponse) UnmarshalNDR

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

type GetLastGeneratedInDirectoryRequest

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

GetLastGeneratedInDirectoryRequest structure represents the LastGeneratedInDirectory operation request

func (*GetLastGeneratedInDirectoryRequest) MarshalNDR

func (*GetLastGeneratedInDirectoryRequest) UnmarshalNDR

type GetLastGeneratedInDirectoryResponse

type GetLastGeneratedInDirectoryResponse 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 last generated in directory.
	Path *oaut.String `idl:"name:path" json:"path"`
	// Return: The LastGeneratedInDirectory return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetLastGeneratedInDirectoryResponse structure represents the LastGeneratedInDirectory operation response

func (*GetLastGeneratedInDirectoryResponse) MarshalNDR

func (*GetLastGeneratedInDirectoryResponse) UnmarshalNDR

type GetLastRunRequest

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

GetLastRunRequest structure represents the LastRun operation request

func (*GetLastRunRequest) MarshalNDR

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

func (*GetLastRunRequest) UnmarshalNDR

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

type GetLastRunResponse

type GetLastRunResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That    *dcom.ORPCThat `idl:"name:That" json:"that"`
	LastRun float64        `idl:"name:lastRun" json:"last_run"`
	// Return: The LastRun return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetLastRunResponse structure represents the LastRun operation response

func (*GetLastRunResponse) MarshalNDR

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

func (*GetLastRunResponse) UnmarshalNDR

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

type GetMailToRequest

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

GetMailToRequest structure represents the MailTo operation request

func (*GetMailToRequest) MarshalNDR

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

func (*GetMailToRequest) UnmarshalNDR

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

type GetMailToResponse

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

GetMailToResponse structure represents the MailTo operation response

func (*GetMailToResponse) MarshalNDR

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

func (*GetMailToResponse) UnmarshalNDR

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

type GetNamespaceRootsRequest

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

GetNamespaceRootsRequest structure represents the NamespaceRoots operation request

func (*GetNamespaceRootsRequest) MarshalNDR

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

func (*GetNamespaceRootsRequest) UnmarshalNDR

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

type GetNamespaceRootsResponse

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

GetNamespaceRootsResponse structure represents the NamespaceRoots operation response

func (*GetNamespaceRootsResponse) MarshalNDR

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

func (*GetNamespaceRootsResponse) UnmarshalNDR

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

type GetRunningStatusRequest

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

GetRunningStatusRequest structure represents the RunningStatus operation request

func (*GetRunningStatusRequest) MarshalNDR

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

func (*GetRunningStatusRequest) UnmarshalNDR

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

type GetRunningStatusResponse

type GetRunningStatusResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That          *dcom.ORPCThat           `idl:"name:That" json:"that"`
	RunningStatus fsrm.ReportRunningStatus `idl:"name:runningStatus" json:"running_status"`
	// Return: The RunningStatus return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetRunningStatusResponse structure represents the RunningStatus operation response

func (*GetRunningStatusResponse) MarshalNDR

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

func (*GetRunningStatusResponse) UnmarshalNDR

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

type GetTaskRequest

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

GetTaskRequest structure represents the Task operation request

func (*GetTaskRequest) MarshalNDR

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

func (*GetTaskRequest) UnmarshalNDR

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

type GetTaskResponse

type GetTaskResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That     *dcom.ORPCThat `idl:"name:That" json:"that"`
	TaskName *oaut.String   `idl:"name:taskName" json:"task_name"`
	// Return: The Task return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetTaskResponse structure represents the Task operation response

func (*GetTaskResponse) MarshalNDR

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

func (*GetTaskResponse) UnmarshalNDR

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

type ReportJobClient

type ReportJobClient interface {

	// IFsrmObject retrieval method.
	Object() ifsrmobject.ObjectClient

	// Task operation.
	GetTask(context.Context, *GetTaskRequest, ...dcerpc.CallOption) (*GetTaskResponse, error)

	// Task operation.
	SetTask(context.Context, *SetTaskRequest, ...dcerpc.CallOption) (*SetTaskResponse, error)

	// NamespaceRoots operation.
	GetNamespaceRoots(context.Context, *GetNamespaceRootsRequest, ...dcerpc.CallOption) (*GetNamespaceRootsResponse, error)

	// NamespaceRoots operation.
	SetNamespaceRoots(context.Context, *SetNamespaceRootsRequest, ...dcerpc.CallOption) (*SetNamespaceRootsResponse, error)

	// Formats operation.
	GetFormats(context.Context, *GetFormatsRequest, ...dcerpc.CallOption) (*GetFormatsResponse, error)

	// Formats operation.
	SetFormats(context.Context, *SetFormatsRequest, ...dcerpc.CallOption) (*SetFormatsResponse, error)

	// MailTo operation.
	GetMailTo(context.Context, *GetMailToRequest, ...dcerpc.CallOption) (*GetMailToResponse, error)

	// MailTo operation.
	SetMailTo(context.Context, *SetMailToRequest, ...dcerpc.CallOption) (*SetMailToResponse, error)

	// RunningStatus operation.
	GetRunningStatus(context.Context, *GetRunningStatusRequest, ...dcerpc.CallOption) (*GetRunningStatusResponse, error)

	// LastRun operation.
	GetLastRun(context.Context, *GetLastRunRequest, ...dcerpc.CallOption) (*GetLastRunResponse, error)

	// LastError operation.
	GetLastError(context.Context, *GetLastErrorRequest, ...dcerpc.CallOption) (*GetLastErrorResponse, error)

	// The LastGeneratedInDirectory (get) retrieves the last generated in directory for
	// the report job 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 path parameter is NULL. |
	//	+-------------------------+-----------------------------+
	GetLastGeneratedInDirectory(context.Context, *GetLastGeneratedInDirectoryRequest, ...dcerpc.CallOption) (*GetLastGeneratedInDirectoryResponse, error)

	// The EnumReports method enumerates all the reports configured for the report job 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 reports parameter is NULL. |
	//	+-------------------------+--------------------------------+
	EnumReports(context.Context, *EnumReportsRequest, ...dcerpc.CallOption) (*EnumReportsResponse, error)

	// The CreateReport method adds a report of the specified type to a report job object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	|                    RETURN                    |                                                                                  |
	//	|                  VALUE/CODE                  |                                   DESCRIPTION                                    |
	//	|                                              |                                                                                  |
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045332 FSRM_E_REPORT_TYPE_ALREADY_EXISTS | A report of the specified type already exists for the report job.                |
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG                      | The reportType parameter is not a valid value. If reportType is                  |
	//	|                                              | FsrmReportType_AutomaticClassification or FsrmReportType_Expiration, the         |
	//	|                                              | parameter MUST be considered invalid. <61>                                       |
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	CreateReport(context.Context, *CreateReportRequest, ...dcerpc.CallOption) (*CreateReportResponse, error)

	// Run operation.
	Run(context.Context, *RunRequest, ...dcerpc.CallOption) (*RunResponse, error)

	// WaitForCompletion operation.
	WaitForCompletion(context.Context, *WaitForCompletionRequest, ...dcerpc.CallOption) (*WaitForCompletionResponse, error)

	// Cancel operation.
	Cancel(context.Context, *CancelRequest, ...dcerpc.CallOption) (*CancelResponse, 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) ReportJobClient
}

IFsrmReportJob interface.

func NewReportJobClient

func NewReportJobClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ReportJobClient, error)

type ReportJobServer

type ReportJobServer interface {

	// IFsrmObject base class.
	ifsrmobject.ObjectServer

	// Task operation.
	GetTask(context.Context, *GetTaskRequest) (*GetTaskResponse, error)

	// Task operation.
	SetTask(context.Context, *SetTaskRequest) (*SetTaskResponse, error)

	// NamespaceRoots operation.
	GetNamespaceRoots(context.Context, *GetNamespaceRootsRequest) (*GetNamespaceRootsResponse, error)

	// NamespaceRoots operation.
	SetNamespaceRoots(context.Context, *SetNamespaceRootsRequest) (*SetNamespaceRootsResponse, error)

	// Formats operation.
	GetFormats(context.Context, *GetFormatsRequest) (*GetFormatsResponse, error)

	// Formats operation.
	SetFormats(context.Context, *SetFormatsRequest) (*SetFormatsResponse, error)

	// MailTo operation.
	GetMailTo(context.Context, *GetMailToRequest) (*GetMailToResponse, error)

	// MailTo operation.
	SetMailTo(context.Context, *SetMailToRequest) (*SetMailToResponse, error)

	// RunningStatus operation.
	GetRunningStatus(context.Context, *GetRunningStatusRequest) (*GetRunningStatusResponse, error)

	// LastRun operation.
	GetLastRun(context.Context, *GetLastRunRequest) (*GetLastRunResponse, error)

	// LastError operation.
	GetLastError(context.Context, *GetLastErrorRequest) (*GetLastErrorResponse, error)

	// The LastGeneratedInDirectory (get) retrieves the last generated in directory for
	// the report job 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 path parameter is NULL. |
	//	+-------------------------+-----------------------------+
	GetLastGeneratedInDirectory(context.Context, *GetLastGeneratedInDirectoryRequest) (*GetLastGeneratedInDirectoryResponse, error)

	// The EnumReports method enumerates all the reports configured for the report job 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 reports parameter is NULL. |
	//	+-------------------------+--------------------------------+
	EnumReports(context.Context, *EnumReportsRequest) (*EnumReportsResponse, error)

	// The CreateReport method adds a report of the specified type to a report job object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	|                    RETURN                    |                                                                                  |
	//	|                  VALUE/CODE                  |                                   DESCRIPTION                                    |
	//	|                                              |                                                                                  |
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045332 FSRM_E_REPORT_TYPE_ALREADY_EXISTS | A report of the specified type already exists for the report job.                |
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG                      | The reportType parameter is not a valid value. If reportType is                  |
	//	|                                              | FsrmReportType_AutomaticClassification or FsrmReportType_Expiration, the         |
	//	|                                              | parameter MUST be considered invalid. <61>                                       |
	//	+----------------------------------------------+----------------------------------------------------------------------------------+
	CreateReport(context.Context, *CreateReportRequest) (*CreateReportResponse, error)

	// Run operation.
	Run(context.Context, *RunRequest) (*RunResponse, error)

	// WaitForCompletion operation.
	WaitForCompletion(context.Context, *WaitForCompletionRequest) (*WaitForCompletionResponse, error)

	// Cancel operation.
	Cancel(context.Context, *CancelRequest) (*CancelResponse, error)
}

IFsrmReportJob server interface.

type RunRequest

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

RunRequest structure represents the Run operation request

func (*RunRequest) MarshalNDR

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

func (*RunRequest) UnmarshalNDR

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

type RunResponse

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

RunResponse structure represents the Run operation response

func (*RunResponse) MarshalNDR

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

func (*RunResponse) UnmarshalNDR

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

type SetFormatsRequest

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

SetFormatsRequest structure represents the Formats operation request

func (*SetFormatsRequest) MarshalNDR

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

func (*SetFormatsRequest) UnmarshalNDR

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

type SetFormatsResponse

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

SetFormatsResponse structure represents the Formats operation response

func (*SetFormatsResponse) MarshalNDR

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

func (*SetFormatsResponse) UnmarshalNDR

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

type SetMailToRequest

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

SetMailToRequest structure represents the MailTo operation request

func (*SetMailToRequest) MarshalNDR

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

func (*SetMailToRequest) UnmarshalNDR

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

type SetMailToResponse

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

SetMailToResponse structure represents the MailTo operation response

func (*SetMailToResponse) MarshalNDR

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

func (*SetMailToResponse) UnmarshalNDR

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

type SetNamespaceRootsRequest

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

SetNamespaceRootsRequest structure represents the NamespaceRoots operation request

func (*SetNamespaceRootsRequest) MarshalNDR

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

func (*SetNamespaceRootsRequest) UnmarshalNDR

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

type SetNamespaceRootsResponse

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

SetNamespaceRootsResponse structure represents the NamespaceRoots operation response

func (*SetNamespaceRootsResponse) MarshalNDR

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

func (*SetNamespaceRootsResponse) UnmarshalNDR

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

type SetTaskRequest

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

SetTaskRequest structure represents the Task operation request

func (*SetTaskRequest) MarshalNDR

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

func (*SetTaskRequest) UnmarshalNDR

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

type SetTaskResponse

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

SetTaskResponse structure represents the Task operation response

func (*SetTaskResponse) MarshalNDR

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

func (*SetTaskResponse) UnmarshalNDR

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

type UnimplementedReportJobServer added in v1.1.5

type UnimplementedReportJobServer struct {
	ifsrmobject.UnimplementedObjectServer
}

Unimplemented IFsrmReportJob

func (UnimplementedReportJobServer) Cancel added in v1.1.5

func (UnimplementedReportJobServer) CreateReport added in v1.1.5

func (UnimplementedReportJobServer) EnumReports added in v1.1.5

func (UnimplementedReportJobServer) GetFormats added in v1.1.5

func (UnimplementedReportJobServer) GetLastError added in v1.1.5

func (UnimplementedReportJobServer) GetLastGeneratedInDirectory added in v1.1.5

func (UnimplementedReportJobServer) GetLastRun added in v1.1.5

func (UnimplementedReportJobServer) GetMailTo added in v1.1.5

func (UnimplementedReportJobServer) GetNamespaceRoots added in v1.1.5

func (UnimplementedReportJobServer) GetRunningStatus added in v1.1.5

func (UnimplementedReportJobServer) GetTask added in v1.1.5

func (UnimplementedReportJobServer) Run added in v1.1.5

func (UnimplementedReportJobServer) SetFormats added in v1.1.5

func (UnimplementedReportJobServer) SetMailTo added in v1.1.5

func (UnimplementedReportJobServer) SetNamespaceRoots added in v1.1.5

func (UnimplementedReportJobServer) SetTask added in v1.1.5

func (UnimplementedReportJobServer) WaitForCompletion added in v1.1.5

type WaitForCompletionRequest

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

WaitForCompletionRequest structure represents the WaitForCompletion operation request

func (*WaitForCompletionRequest) MarshalNDR

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

func (*WaitForCompletionRequest) UnmarshalNDR

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

type WaitForCompletionResponse

type WaitForCompletionResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That      *dcom.ORPCThat `idl:"name:That" json:"that"`
	Completed int16          `idl:"name:completed" json:"completed"`
	// Return: The WaitForCompletion return value.
	Return int32 `idl:"name:Return" json:"return"`
}

WaitForCompletionResponse structure represents the WaitForCompletion operation response

func (*WaitForCompletionResponse) MarshalNDR

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

func (*WaitForCompletionResponse) UnmarshalNDR

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