ifsrmreportscheduler

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmReportScheduler interface identifier 6879caf9-6617-4484-8719-71c3d8645f94
	ReportSchedulerIID = &dcom.IID{Data1: 0x6879caf9, Data2: 0x6617, Data3: 0x4484, Data4: []byte{0x87, 0x19, 0x71, 0xc3, 0xd8, 0x64, 0x5f, 0x94}}
	// Syntax UUID
	ReportSchedulerSyntaxUUID = &uuid.UUID{TimeLow: 0x6879caf9, TimeMid: 0x6617, TimeHiAndVersion: 0x4484, ClockSeqHiAndReserved: 0x87, ClockSeqLow: 0x19, Node: [6]uint8{0x71, 0xc3, 0xd8, 0x64, 0x5f, 0x94}}
	// Syntax ID
	ReportSchedulerSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: ReportSchedulerSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewReportSchedulerServerHandle

func NewReportSchedulerServerHandle(o ReportSchedulerServer) dcerpc.ServerHandle

func RegisterReportSchedulerServer

func RegisterReportSchedulerServer(conn dcerpc.Conn, o ReportSchedulerServer, opts ...dcerpc.Option)

func ReportSchedulerServerHandle

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

Types

type CreateScheduleTaskRequest

type CreateScheduleTaskRequest 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 name of the Task Scheduler task to create.
	TaskName *oaut.String `idl:"name:taskName" json:"task_name"`
	// namespacesSafeArray: Pointer to a variable that contains a VARIANT structure, which
	// contains a SAFEARRAY of VARIANT structures. The VARIANT structures contained in the
	// SAFEARRAY MUST be BSTR string values, each representing a local directory path that
	// needs to be verified as supported by the File Server Resource Manager Protocol storage.
	NamespacesSafeArray *oaut.Variant `idl:"name:namespacesSafeArray" json:"namespaces_safe_array"`
	// serializedTask: Contains the XML representation of the task to be created.<63>
	SerializedTask *oaut.String `idl:"name:serializedTask" json:"serialized_task"`
}

CreateScheduleTaskRequest structure represents the CreateScheduleTask operation request

func (*CreateScheduleTaskRequest) MarshalNDR

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

func (*CreateScheduleTaskRequest) UnmarshalNDR

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

type CreateScheduleTaskResponse

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

CreateScheduleTaskResponse structure represents the CreateScheduleTask operation response

func (*CreateScheduleTaskResponse) MarshalNDR

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

func (*CreateScheduleTaskResponse) UnmarshalNDR

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

type DeleteScheduleTaskRequest

type DeleteScheduleTaskRequest 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 name of the task to delete.
	TaskName *oaut.String `idl:"name:taskName" json:"task_name"`
}

DeleteScheduleTaskRequest structure represents the DeleteScheduleTask operation request

func (*DeleteScheduleTaskRequest) MarshalNDR

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

func (*DeleteScheduleTaskRequest) UnmarshalNDR

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

type DeleteScheduleTaskResponse

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

DeleteScheduleTaskResponse structure represents the DeleteScheduleTask operation response

func (*DeleteScheduleTaskResponse) MarshalNDR

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

func (*DeleteScheduleTaskResponse) UnmarshalNDR

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

type ModifyScheduleTaskRequest

type ModifyScheduleTaskRequest 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 name of the Task Scheduler task to modify.
	TaskName *oaut.String `idl:"name:taskName" json:"task_name"`
	// namespacesSafeArray: Pointer to a variable that contains a VARIANT structure, which
	// contains a SAFEARRAY of VARIANT structures. The VARIANT structures contained in the
	// SAFEARRAY MUST be BSTR string values, each representing a local directory path that
	// needs to be verified as supported by the File Server Resource Manager Protocol storage.
	NamespacesSafeArray *oaut.Variant `idl:"name:namespacesSafeArray" json:"namespaces_safe_array"`
	// serializedTask: Contains the XML representation of the task to be modified.<64>
	SerializedTask *oaut.String `idl:"name:serializedTask" json:"serialized_task"`
}

ModifyScheduleTaskRequest structure represents the ModifyScheduleTask operation request

func (*ModifyScheduleTaskRequest) MarshalNDR

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

func (*ModifyScheduleTaskRequest) UnmarshalNDR

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

type ModifyScheduleTaskResponse

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

ModifyScheduleTaskResponse structure represents the ModifyScheduleTask operation response

func (*ModifyScheduleTaskResponse) MarshalNDR

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

func (*ModifyScheduleTaskResponse) UnmarshalNDR

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

type ReportSchedulerClient

type ReportSchedulerClient interface {

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

	// The VerifyNamespaces method checks that all namespaces passed in exist and are valid
	// paths.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	|                RETURN                 |                                                                                  |
	//	|              VALUE/CODE               |                                   DESCRIPTION                                    |
	//	|                                       |                                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045304 FSRM_E_PATH_NOT_FOUND      | The specified path could not be found.                                           |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045306 FSRM_E_INVALID_PATH        | The supplied path is not valid.                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045315 FSRM_E_VOLUME_UNSUPPORTED  | The volume is not an NTFS volume.                                                |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x8004531F FSRM_E_FILE_SYSTEM_CORRUPT | The file system is corrupt.                                                      |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG               | This code is returned for the following reasons: The namespacesSafeArray         |
	//	|                                       | parameter is NULL. The namespacesSafeArray parameter does not contain a variant  |
	//	|                                       | array of BSTRs.                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	VerifyNamespaces(context.Context, *VerifyNamespacesRequest, ...dcerpc.CallOption) (*VerifyNamespacesResponse, error)

	// The CreateScheduleTask method creates a task that is capable of triggering the generation
	// of a File Server Resource Manager Protocol report job.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	|              RETURN              |                                                                                  |
	//	|            VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                  |                                                                                  |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045303 FSRM_E_ALREADY_EXISTS | The object already exists.                                                       |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045311 FSRM_E_NOT_SUPPORTED  | This function is not supported for this object.                                  |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045316 FSRM_E_UNEXPECTED     | An unexpected error occurred; check the application event log. You might get     |
	//	|                                  | this error if the XML is malformed.                                              |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG          | This code is returned for the following reasons: The taskName parameter is NULL. |
	//	|                                  | The namespacesSafeArray parameter is NULL. The serializedTask parameter is NULL. |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	CreateScheduleTask(context.Context, *CreateScheduleTaskRequest, ...dcerpc.CallOption) (*CreateScheduleTaskResponse, error)

	// The ModifyScheduleTask method modifies the specified task that is capable of triggering
	// the generation of a File Server Resource Manager Protocol report job.
	//
	// 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 task could not be found.                                           |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | This code is returned for the following reasons: The taskName parameter is NULL. |
	//	|                             | The serializedTask parameter is NULL. The taskName parameter is not a valid      |
	//	|                             | value.                                                                           |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	ModifyScheduleTask(context.Context, *ModifyScheduleTaskRequest, ...dcerpc.CallOption) (*ModifyScheduleTaskResponse, error)

	// The DeleteScheduleTask method deletes the specified task so that it no longer triggers
	// the generation of a File Server Resource Manager Protocol report job.
	//
	// 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 task could not be found. |
	//	+-----------------------------+----------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | The taskName parameter is NULL.        |
	//	+-----------------------------+----------------------------------------+
	DeleteScheduleTask(context.Context, *DeleteScheduleTaskRequest, ...dcerpc.CallOption) (*DeleteScheduleTaskResponse, 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) ReportSchedulerClient
}

IFsrmReportScheduler interface.

func NewReportSchedulerClient

func NewReportSchedulerClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ReportSchedulerClient, error)

type ReportSchedulerServer

type ReportSchedulerServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// The VerifyNamespaces method checks that all namespaces passed in exist and are valid
	// paths.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	|                RETURN                 |                                                                                  |
	//	|              VALUE/CODE               |                                   DESCRIPTION                                    |
	//	|                                       |                                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045304 FSRM_E_PATH_NOT_FOUND      | The specified path could not be found.                                           |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045306 FSRM_E_INVALID_PATH        | The supplied path is not valid.                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045315 FSRM_E_VOLUME_UNSUPPORTED  | The volume is not an NTFS volume.                                                |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x8004531F FSRM_E_FILE_SYSTEM_CORRUPT | The file system is corrupt.                                                      |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG               | This code is returned for the following reasons: The namespacesSafeArray         |
	//	|                                       | parameter is NULL. The namespacesSafeArray parameter does not contain a variant  |
	//	|                                       | array of BSTRs.                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	VerifyNamespaces(context.Context, *VerifyNamespacesRequest) (*VerifyNamespacesResponse, error)

	// The CreateScheduleTask method creates a task that is capable of triggering the generation
	// of a File Server Resource Manager Protocol report job.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	|              RETURN              |                                                                                  |
	//	|            VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                  |                                                                                  |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045303 FSRM_E_ALREADY_EXISTS | The object already exists.                                                       |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045311 FSRM_E_NOT_SUPPORTED  | This function is not supported for this object.                                  |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045316 FSRM_E_UNEXPECTED     | An unexpected error occurred; check the application event log. You might get     |
	//	|                                  | this error if the XML is malformed.                                              |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG          | This code is returned for the following reasons: The taskName parameter is NULL. |
	//	|                                  | The namespacesSafeArray parameter is NULL. The serializedTask parameter is NULL. |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	CreateScheduleTask(context.Context, *CreateScheduleTaskRequest) (*CreateScheduleTaskResponse, error)

	// The ModifyScheduleTask method modifies the specified task that is capable of triggering
	// the generation of a File Server Resource Manager Protocol report job.
	//
	// 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 task could not be found.                                           |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | This code is returned for the following reasons: The taskName parameter is NULL. |
	//	|                             | The serializedTask parameter is NULL. The taskName parameter is not a valid      |
	//	|                             | value.                                                                           |
	//	+-----------------------------+----------------------------------------------------------------------------------+
	ModifyScheduleTask(context.Context, *ModifyScheduleTaskRequest) (*ModifyScheduleTaskResponse, error)

	// The DeleteScheduleTask method deletes the specified task so that it no longer triggers
	// the generation of a File Server Resource Manager Protocol report job.
	//
	// 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 task could not be found. |
	//	+-----------------------------+----------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | The taskName parameter is NULL.        |
	//	+-----------------------------+----------------------------------------+
	DeleteScheduleTask(context.Context, *DeleteScheduleTaskRequest) (*DeleteScheduleTaskResponse, error)
}

IFsrmReportScheduler server interface.

type UnimplementedReportSchedulerServer added in v1.1.5

type UnimplementedReportSchedulerServer struct {
	idispatch.UnimplementedDispatchServer
}

Unimplemented IFsrmReportScheduler

func (UnimplementedReportSchedulerServer) CreateScheduleTask added in v1.1.5

func (UnimplementedReportSchedulerServer) DeleteScheduleTask added in v1.1.5

func (UnimplementedReportSchedulerServer) ModifyScheduleTask added in v1.1.5

func (UnimplementedReportSchedulerServer) VerifyNamespaces added in v1.1.5

type VerifyNamespacesRequest

type VerifyNamespacesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// namespacesSafeArray: Pointer to a variable that contains a VARIANT structure, which
	// contains a SAFEARRAY of VARIANT structures. The VARIANT structures contained in the
	// SAFEARRAY MUST be BSTR string values, each representing a local directory path that
	// needs to be verified as supported by the File Server Resource Manager Protocol storage
	// reports.
	NamespacesSafeArray *oaut.Variant `idl:"name:namespacesSafeArray" json:"namespaces_safe_array"`
}

VerifyNamespacesRequest structure represents the VerifyNamespaces operation request

func (*VerifyNamespacesRequest) MarshalNDR

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

func (*VerifyNamespacesRequest) UnmarshalNDR

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

type VerifyNamespacesResponse

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

VerifyNamespacesResponse structure represents the VerifyNamespaces operation response

func (*VerifyNamespacesResponse) MarshalNDR

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

func (*VerifyNamespacesResponse) UnmarshalNDR

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