Documentation
¶
Index ¶
- Variables
- func NewReportSchedulerServerHandle(o ReportSchedulerServer) dcerpc.ServerHandle
- func RegisterReportSchedulerServer(conn dcerpc.Conn, o ReportSchedulerServer, opts ...dcerpc.Option)
- func ReportSchedulerServerHandle(ctx context.Context, o ReportSchedulerServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type CreateScheduleTaskRequest
- type CreateScheduleTaskResponse
- type DeleteScheduleTaskRequest
- type DeleteScheduleTaskResponse
- type ModifyScheduleTaskRequest
- type ModifyScheduleTaskResponse
- type ReportSchedulerClient
- type ReportSchedulerServer
- type UnimplementedReportSchedulerServer
- func (UnimplementedReportSchedulerServer) CreateScheduleTask(context.Context, *CreateScheduleTaskRequest) (*CreateScheduleTaskResponse, error)
- func (UnimplementedReportSchedulerServer) DeleteScheduleTask(context.Context, *DeleteScheduleTaskRequest) (*DeleteScheduleTaskResponse, error)
- func (UnimplementedReportSchedulerServer) ModifyScheduleTask(context.Context, *ModifyScheduleTaskRequest) (*ModifyScheduleTaskResponse, error)
- func (UnimplementedReportSchedulerServer) VerifyNamespaces(context.Context, *VerifyNamespacesRequest) (*VerifyNamespacesResponse, error)
- type VerifyNamespacesRequest
- type VerifyNamespacesResponse
Constants ¶
This section is empty.
Variables ¶
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} )
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)
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 (*CreateScheduleTaskRequest) UnmarshalNDR ¶
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 (*CreateScheduleTaskResponse) UnmarshalNDR ¶
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 (*DeleteScheduleTaskRequest) UnmarshalNDR ¶
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 (*DeleteScheduleTaskResponse) UnmarshalNDR ¶
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 (*ModifyScheduleTaskRequest) UnmarshalNDR ¶
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 (*ModifyScheduleTaskResponse) UnmarshalNDR ¶
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.
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 ¶
type UnimplementedReportSchedulerServer struct {
idispatch.UnimplementedDispatchServer
}
Unimplemented IFsrmReportScheduler
func (UnimplementedReportSchedulerServer) CreateScheduleTask ¶
func (UnimplementedReportSchedulerServer) CreateScheduleTask(context.Context, *CreateScheduleTaskRequest) (*CreateScheduleTaskResponse, error)
func (UnimplementedReportSchedulerServer) DeleteScheduleTask ¶
func (UnimplementedReportSchedulerServer) DeleteScheduleTask(context.Context, *DeleteScheduleTaskRequest) (*DeleteScheduleTaskResponse, error)
func (UnimplementedReportSchedulerServer) ModifyScheduleTask ¶
func (UnimplementedReportSchedulerServer) ModifyScheduleTask(context.Context, *ModifyScheduleTaskRequest) (*ModifyScheduleTaskResponse, error)
func (UnimplementedReportSchedulerServer) VerifyNamespaces ¶
func (UnimplementedReportSchedulerServer) VerifyNamespaces(context.Context, *VerifyNamespacesRequest) (*VerifyNamespacesResponse, error)
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 (*VerifyNamespacesRequest) UnmarshalNDR ¶
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