ifsrmfilemanagementjobmanager

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmFileManagementJobManager interface identifier ee321ecb-d95e-48e9-907c-c7685a013235
	FileManagementJobManagerIID = &dcom.IID{Data1: 0xee321ecb, Data2: 0xd95e, Data3: 0x48e9, Data4: []byte{0x90, 0x7c, 0xc7, 0x68, 0x5a, 0x01, 0x32, 0x35}}
	// Syntax UUID
	FileManagementJobManagerSyntaxUUID = &uuid.UUID{TimeLow: 0xee321ecb, TimeMid: 0xd95e, TimeHiAndVersion: 0x48e9, ClockSeqHiAndReserved: 0x90, ClockSeqLow: 0x7c, Node: [6]uint8{0xc7, 0x68, 0x5a, 0x1, 0x32, 0x35}}
	// Syntax ID
	FileManagementJobManagerSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: FileManagementJobManagerSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func FileManagementJobManagerServerHandle

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

func RegisterFileManagementJobManagerServer

func RegisterFileManagementJobManagerServer(conn dcerpc.Conn, o FileManagementJobManagerServer, opts ...dcerpc.Option)

Types

type CreateFileManagementJobRequest

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

CreateFileManagementJobRequest structure represents the CreateFileManagementJob operation request

func (*CreateFileManagementJobRequest) MarshalNDR

func (*CreateFileManagementJobRequest) UnmarshalNDR

type CreateFileManagementJobResponse

type CreateFileManagementJobResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// fileManagementJob: Pointer to an IFsrmFileManagementJob interface pointer (section
	// 3.2.4.2.48) that upon completion points to a blank fileManagementJob. A caller MUST
	// release the fileManagementJob received when the caller is done with it. To have the
	// fileManagementJob added to the server's List of Persisted File Management Jobs (section
	// 3.2.1.7), the client MUST call Commit (section 3.2.4.2.48.1).
	FileManagementJob *fsrm.FileManagementJob `idl:"name:fileManagementJob" json:"file_management_job"`
	// Return: The CreateFileManagementJob return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateFileManagementJobResponse structure represents the CreateFileManagementJob operation response

func (*CreateFileManagementJobResponse) MarshalNDR

func (*CreateFileManagementJobResponse) UnmarshalNDR

type EnumFileManagementJobsRequest

type EnumFileManagementJobsRequest 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 fileManagementJobs.
	Options fsrm.EnumOptions `idl:"name:options" json:"options"`
}

EnumFileManagementJobsRequest structure represents the EnumFileManagementJobs operation request

func (*EnumFileManagementJobsRequest) MarshalNDR

func (*EnumFileManagementJobsRequest) UnmarshalNDR

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

type EnumFileManagementJobsResponse

type EnumFileManagementJobsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// fileManagementJobs: Pointer to an IFsrmCollection interface pointer (section 3.2.4.2.1)
	// that upon completion contains pointers to every file management job on the server.
	// A caller MUST release the collection received when the caller is done with it.
	FileManagementJobs *fsrm.Collection `idl:"name:fileManagementJobs" json:"file_management_jobs"`
	// Return: The EnumFileManagementJobs return value.
	Return int32 `idl:"name:Return" json:"return"`
}

EnumFileManagementJobsResponse structure represents the EnumFileManagementJobs operation response

func (*EnumFileManagementJobsResponse) MarshalNDR

func (*EnumFileManagementJobsResponse) UnmarshalNDR

type FileManagementJobManagerClient

type FileManagementJobManagerClient interface {

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

	// ActionVariables operation.
	GetActionVariables(context.Context, *GetActionVariablesRequest, ...dcerpc.CallOption) (*GetActionVariablesResponse, error)

	// ActionVariableDescriptions operation.
	GetActionVariableDescriptions(context.Context, *GetActionVariableDescriptionsRequest, ...dcerpc.CallOption) (*GetActionVariableDescriptionsResponse, error)

	// The EnumFileManagementJobs method returns all the fileManagementJobs from the List
	// of Persisted File Management Jobs (section 3.2.1.7) 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 code is returned for the following reasons: The fileManagementJobs          |
	//	|                                 | parameter is NULL.                                                               |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045311 FSRM_E_NOT_SUPPORTED | The options parameter does not contain a valid FsrmEnumOptions (section          |
	//	|                                 | 2.2.1.2.5) value.                                                                |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	EnumFileManagementJobs(context.Context, *EnumFileManagementJobsRequest, ...dcerpc.CallOption) (*EnumFileManagementJobsResponse, error)

	// The CreateFileManagementJob method creates a blank Non-Persisted File Management
	// Job Instance (section 3.2.1.7.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 fileManagementJob parameter is NULL. |
	//	+-------------------------+------------------------------------------+
	CreateFileManagementJob(context.Context, *CreateFileManagementJobRequest, ...dcerpc.CallOption) (*CreateFileManagementJobResponse, error)

	// The GetFileManagementJob method returns a pointer to the fileManagementJob with the
	// specified name from the List of Persisted File Management Jobs (section 3.2.1.7)
	// 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                      |
	//	|                             |                                                       |
	//	+-----------------------------+-------------------------------------------------------+
	//	+-----------------------------+-------------------------------------------------------+
	//	| 0x80045301 FSRM_E_NOT_FOUND | The specified file management job could not be found. |
	//	+-----------------------------+-------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | The fileManagementJob parameter is NULL.              |
	//	+-----------------------------+-------------------------------------------------------+
	GetFileManagementJob(context.Context, *GetFileManagementJobRequest, ...dcerpc.CallOption) (*GetFileManagementJobResponse, 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) FileManagementJobManagerClient
}

IFsrmFileManagementJobManager interface.

func NewFileManagementJobManagerClient

func NewFileManagementJobManagerClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (FileManagementJobManagerClient, error)

type FileManagementJobManagerServer

type FileManagementJobManagerServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// ActionVariables operation.
	GetActionVariables(context.Context, *GetActionVariablesRequest) (*GetActionVariablesResponse, error)

	// ActionVariableDescriptions operation.
	GetActionVariableDescriptions(context.Context, *GetActionVariableDescriptionsRequest) (*GetActionVariableDescriptionsResponse, error)

	// The EnumFileManagementJobs method returns all the fileManagementJobs from the List
	// of Persisted File Management Jobs (section 3.2.1.7) 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 code is returned for the following reasons: The fileManagementJobs          |
	//	|                                 | parameter is NULL.                                                               |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045311 FSRM_E_NOT_SUPPORTED | The options parameter does not contain a valid FsrmEnumOptions (section          |
	//	|                                 | 2.2.1.2.5) value.                                                                |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	EnumFileManagementJobs(context.Context, *EnumFileManagementJobsRequest) (*EnumFileManagementJobsResponse, error)

	// The CreateFileManagementJob method creates a blank Non-Persisted File Management
	// Job Instance (section 3.2.1.7.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 fileManagementJob parameter is NULL. |
	//	+-------------------------+------------------------------------------+
	CreateFileManagementJob(context.Context, *CreateFileManagementJobRequest) (*CreateFileManagementJobResponse, error)

	// The GetFileManagementJob method returns a pointer to the fileManagementJob with the
	// specified name from the List of Persisted File Management Jobs (section 3.2.1.7)
	// 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                      |
	//	|                             |                                                       |
	//	+-----------------------------+-------------------------------------------------------+
	//	+-----------------------------+-------------------------------------------------------+
	//	| 0x80045301 FSRM_E_NOT_FOUND | The specified file management job could not be found. |
	//	+-----------------------------+-------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG     | The fileManagementJob parameter is NULL.              |
	//	+-----------------------------+-------------------------------------------------------+
	GetFileManagementJob(context.Context, *GetFileManagementJobRequest) (*GetFileManagementJobResponse, error)
}

IFsrmFileManagementJobManager server interface.

type GetActionVariableDescriptionsRequest

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

GetActionVariableDescriptionsRequest structure represents the ActionVariableDescriptions operation request

func (*GetActionVariableDescriptionsRequest) MarshalNDR

func (*GetActionVariableDescriptionsRequest) UnmarshalNDR

type GetActionVariableDescriptionsResponse

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

GetActionVariableDescriptionsResponse structure represents the ActionVariableDescriptions operation response

func (*GetActionVariableDescriptionsResponse) MarshalNDR

func (*GetActionVariableDescriptionsResponse) UnmarshalNDR

type GetActionVariablesRequest

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

GetActionVariablesRequest structure represents the ActionVariables operation request

func (*GetActionVariablesRequest) MarshalNDR

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

func (*GetActionVariablesRequest) UnmarshalNDR

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

type GetActionVariablesResponse

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

GetActionVariablesResponse structure represents the ActionVariables operation response

func (*GetActionVariablesResponse) MarshalNDR

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

func (*GetActionVariablesResponse) UnmarshalNDR

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

type GetFileManagementJobRequest

type GetFileManagementJobRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// name: Contains the name of the fileManagementJob to return.
	Name *oaut.String `idl:"name:name" json:"name"`
}

GetFileManagementJobRequest structure represents the GetFileManagementJob operation request

func (*GetFileManagementJobRequest) MarshalNDR

func (*GetFileManagementJobRequest) UnmarshalNDR

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

type GetFileManagementJobResponse

type GetFileManagementJobResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// fileManagementJob: Pointer to an IFsrmFileManagementJob interface pointer (section
	// 3.2.4.2.48) that upon completion points to the fileManagementJob with the specified
	// name. A caller MUST release the fileManagementJob received when the caller is done
	// with it.
	FileManagementJob *fsrm.FileManagementJob `idl:"name:fileManagementJob" json:"file_management_job"`
	// Return: The GetFileManagementJob return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetFileManagementJobResponse structure represents the GetFileManagementJob operation response

func (*GetFileManagementJobResponse) MarshalNDR

func (*GetFileManagementJobResponse) UnmarshalNDR

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

type UnimplementedFileManagementJobManagerServer added in v1.1.5

type UnimplementedFileManagementJobManagerServer struct {
	idispatch.UnimplementedDispatchServer
}

Unimplemented IFsrmFileManagementJobManager

func (UnimplementedFileManagementJobManagerServer) CreateFileManagementJob added in v1.1.5

func (UnimplementedFileManagementJobManagerServer) EnumFileManagementJobs added in v1.1.5

func (UnimplementedFileManagementJobManagerServer) GetActionVariableDescriptions added in v1.1.5

func (UnimplementedFileManagementJobManagerServer) GetActionVariables added in v1.1.5

func (UnimplementedFileManagementJobManagerServer) GetFileManagementJob added in v1.1.5

Jump to

Keyboard shortcuts

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