Documentation
¶
Index ¶
- Variables
- func FileServerVSSAgentServerHandle(ctx context.Context, o FileServerVSSAgentServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewFileServerVSSAgentServerHandle(o FileServerVSSAgentServer) dcerpc.ServerHandle
- func RegisterFileServerVSSAgentServer(conn dcerpc.Conn, o FileServerVSSAgentServer, opts ...dcerpc.Option)
- type AbortShadowCopySetRequest
- type AbortShadowCopySetResponse
- type AddToShadowCopySetRequest
- type AddToShadowCopySetResponse
- type CommitShadowCopySetRequest
- type CommitShadowCopySetResponse
- type DeleteShareMappingRequest
- type DeleteShareMappingResponse
- type ExposeShadowCopySetRequest
- type ExposeShadowCopySetResponse
- type FileServerVSSAgentClient
- type FileServerVSSAgentServer
- type GetShareMappingRequest
- type GetShareMappingResponse
- type GetSupportedVersionRequest
- type GetSupportedVersionResponse
- type IsPathShadowCopiedRequest
- type IsPathShadowCopiedResponse
- type IsPathSupportedRequest
- type IsPathSupportedResponse
- type PrepareShadowCopySetRequest
- type PrepareShadowCopySetResponse
- type RecoveryCompleteShadowCopySetRequest
- type RecoveryCompleteShadowCopySetResponse
- type SetContextRequest
- type SetContextResponse
- type ShareMapping
- type ShareMapping1
- type ShareMapping_1
- type StartShadowCopySetRequest
- type StartShadowCopySetResponse
- type UnimplementedFileServerVSSAgentServer
- func (UnimplementedFileServerVSSAgentServer) AbortShadowCopySet(context.Context, *AbortShadowCopySetRequest) (*AbortShadowCopySetResponse, error)
- func (UnimplementedFileServerVSSAgentServer) AddToShadowCopySet(context.Context, *AddToShadowCopySetRequest) (*AddToShadowCopySetResponse, error)
- func (UnimplementedFileServerVSSAgentServer) CommitShadowCopySet(context.Context, *CommitShadowCopySetRequest) (*CommitShadowCopySetResponse, error)
- func (UnimplementedFileServerVSSAgentServer) DeleteShareMapping(context.Context, *DeleteShareMappingRequest) (*DeleteShareMappingResponse, error)
- func (UnimplementedFileServerVSSAgentServer) ExposeShadowCopySet(context.Context, *ExposeShadowCopySetRequest) (*ExposeShadowCopySetResponse, error)
- func (UnimplementedFileServerVSSAgentServer) GetShareMapping(context.Context, *GetShareMappingRequest) (*GetShareMappingResponse, error)
- func (UnimplementedFileServerVSSAgentServer) GetSupportedVersion(context.Context, *GetSupportedVersionRequest) (*GetSupportedVersionResponse, error)
- func (UnimplementedFileServerVSSAgentServer) IsPathShadowCopied(context.Context, *IsPathShadowCopiedRequest) (*IsPathShadowCopiedResponse, error)
- func (UnimplementedFileServerVSSAgentServer) IsPathSupported(context.Context, *IsPathSupportedRequest) (*IsPathSupportedResponse, error)
- func (UnimplementedFileServerVSSAgentServer) PrepareShadowCopySet(context.Context, *PrepareShadowCopySetRequest) (*PrepareShadowCopySetResponse, error)
- func (UnimplementedFileServerVSSAgentServer) RecoveryCompleteShadowCopySet(context.Context, *RecoveryCompleteShadowCopySetRequest) (*RecoveryCompleteShadowCopySetResponse, error)
- func (UnimplementedFileServerVSSAgentServer) SetContext(context.Context, *SetContextRequest) (*SetContextResponse, error)
- func (UnimplementedFileServerVSSAgentServer) StartShadowCopySet(context.Context, *StartShadowCopySetRequest) (*StartShadowCopySetResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( // Syntax UUID FileServerVSSAgentSyntaxUUID = &uuid.UUID{TimeLow: 0xa8e0653c, TimeMid: 0x2744, TimeHiAndVersion: 0x4389, ClockSeqHiAndReserved: 0xa6, ClockSeqLow: 0x1d, Node: [6]uint8{0x73, 0x73, 0xdf, 0x8b, 0x22, 0x92}} // Syntax ID FileServerVSSAgentSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: FileServerVSSAgentSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "fsrvp"
)
Functions ¶
func NewFileServerVSSAgentServerHandle ¶
func NewFileServerVSSAgentServerHandle(o FileServerVSSAgentServer) dcerpc.ServerHandle
func RegisterFileServerVSSAgentServer ¶
func RegisterFileServerVSSAgentServer(conn dcerpc.Conn, o FileServerVSSAgentServer, opts ...dcerpc.Option)
Types ¶
type AbortShadowCopySetRequest ¶
type AbortShadowCopySetRequest struct { // ShadowCopySetId: The GUID of the shadow copy set. ShadowCopySetID *dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` }
AbortShadowCopySetRequest structure represents the AbortShadowCopySet operation request
func (*AbortShadowCopySetRequest) MarshalNDR ¶
func (*AbortShadowCopySetRequest) UnmarshalNDR ¶
type AbortShadowCopySetResponse ¶
type AbortShadowCopySetResponse struct { // Return: The AbortShadowCopySet return value. Return uint32 `idl:"name:Return" json:"return"` }
AbortShadowCopySetResponse structure represents the AbortShadowCopySet operation response
func (*AbortShadowCopySetResponse) MarshalNDR ¶
func (*AbortShadowCopySetResponse) UnmarshalNDR ¶
type AddToShadowCopySetRequest ¶
type AddToShadowCopySetRequest struct { // ClientShadowCopyId: The GUID for the shadow copy, assigned by the client.<8> ClientShadowCopyID *dtyp.GUID `idl:"name:ClientShadowCopyId" json:"client_shadow_copy_id"` // ShadowCopySetId: The GUID of the shadow copy set to which ShareName is to be added. // This GUID is assigned by the server. ShadowCopySetID *dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` ShareName string `idl:"name:ShareName;string" json:"share_name"` }
AddToShadowCopySetRequest structure represents the AddToShadowCopySet operation request
func (*AddToShadowCopySetRequest) MarshalNDR ¶
func (*AddToShadowCopySetRequest) UnmarshalNDR ¶
type AddToShadowCopySetResponse ¶
type AddToShadowCopySetResponse struct { // pShadowCopyId: The GUID of the shadow copy associated with the share. ShadowCopyID *dtyp.GUID `idl:"name:pShadowCopyId" json:"shadow_copy_id"` // Return: The AddToShadowCopySet return value. Return uint32 `idl:"name:Return" json:"return"` }
AddToShadowCopySetResponse structure represents the AddToShadowCopySet operation response
func (*AddToShadowCopySetResponse) MarshalNDR ¶
func (*AddToShadowCopySetResponse) UnmarshalNDR ¶
type CommitShadowCopySetRequest ¶
type CommitShadowCopySetRequest struct { // ShadowCopySetId: The GUID of the shadow copy set, assigned by the server. ShadowCopySetID *dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` // TimeOutInMilliseconds: The time in milliseconds that the server MUST wait for the // shadow copy commit process. TimeoutInMilliseconds uint32 `idl:"name:TimeOutInMilliseconds" json:"timeout_in_milliseconds"` }
CommitShadowCopySetRequest structure represents the CommitShadowCopySet operation request
func (*CommitShadowCopySetRequest) MarshalNDR ¶
func (*CommitShadowCopySetRequest) UnmarshalNDR ¶
type CommitShadowCopySetResponse ¶
type CommitShadowCopySetResponse struct { // Return: The CommitShadowCopySet return value. Return uint32 `idl:"name:Return" json:"return"` }
CommitShadowCopySetResponse structure represents the CommitShadowCopySet operation response
func (*CommitShadowCopySetResponse) MarshalNDR ¶
func (*CommitShadowCopySetResponse) UnmarshalNDR ¶
type DeleteShareMappingRequest ¶
type DeleteShareMappingRequest struct { dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` ShadowCopyID *dtyp.GUID `idl:"name:ShadowCopyId" json:"shadow_copy_id"` ShareName string `idl:"name:ShareName;string" json:"share_name"` }ShadowCopySetID *
DeleteShareMappingRequest structure represents the DeleteShareMapping operation request
func (*DeleteShareMappingRequest) MarshalNDR ¶
func (*DeleteShareMappingRequest) UnmarshalNDR ¶
type DeleteShareMappingResponse ¶
type DeleteShareMappingResponse struct { uint32 `idl:"name:Return" json:"return"` }Return
DeleteShareMappingResponse structure represents the DeleteShareMapping operation response
func (*DeleteShareMappingResponse) MarshalNDR ¶
func (*DeleteShareMappingResponse) UnmarshalNDR ¶
type ExposeShadowCopySetRequest ¶
type ExposeShadowCopySetRequest struct { // ShadowCopySetId: The GUID of the shadow copy set. ShadowCopySetID *dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` // TimeOutInMilliseconds: The maximum time, in milliseconds, for which the server // MUST wait for completion of the expose operation. TimeoutInMilliseconds uint32 `idl:"name:TimeOutInMilliseconds" json:"timeout_in_milliseconds"` }
ExposeShadowCopySetRequest structure represents the ExposeShadowCopySet operation request
func (*ExposeShadowCopySetRequest) MarshalNDR ¶
func (*ExposeShadowCopySetRequest) UnmarshalNDR ¶
type ExposeShadowCopySetResponse ¶
type ExposeShadowCopySetResponse struct { // Return: The ExposeShadowCopySet return value. Return uint32 `idl:"name:Return" json:"return"` }
ExposeShadowCopySetResponse structure represents the ExposeShadowCopySet operation response
func (*ExposeShadowCopySetResponse) MarshalNDR ¶
func (*ExposeShadowCopySetResponse) UnmarshalNDR ¶
type FileServerVSSAgentClient ¶
type FileServerVSSAgentClient interface { // The GetSupportedVersion method is invoked by the client to get the minimum and maximum // versions of the protocol that the server supports. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed below. // // +---------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------+--------------------------------------------------------------------+ // +---------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +---------------------------+--------------------------------------------------------------------+ GetSupportedVersion(context.Context, *GetSupportedVersionRequest, ...dcerpc.CallOption) (*GetSupportedVersionResponse, error) // The SetContext method sets the context for the current shadow copy creation process. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed below. // // +------------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+--------------------------------------------------------------------+ // +------------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +------------------------------------------------+--------------------------------------------------------------------+ // | 0x8004231B FSRVP_E_UNSUPPORTED_CONTEXT | The context value specified is invalid. | // +------------------------------------------------+--------------------------------------------------------------------+ // | 0x80042316 FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS | Creation of another shadow copy set is in progress. | // +------------------------------------------------+--------------------------------------------------------------------+ // // If the Context parameter contains an invalid value, the server MUST fail the call // with FSRVP_E_UNSUPPORTED_CONTEXT. SetContext(context.Context, *SetContextRequest, ...dcerpc.CallOption) (*SetContextResponse, error) // The StartShadowCopySet method is called by the client to initiate a new shadow copy // set for shadow copy creation.<6> // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed in the following table: // // +------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80042316 FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS | StartShadowCopySet (Opnum 2) was called while the creation of another shadow | // | | copy set was in progress. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // // If ContextSet is FALSE, the server MUST fail the call with FSRVP_E_BAD_STATE. // // If there is a ShadowCopySet in the GlobalShadowCopySetTable where ShadowCopySet.Status // is not equal to "Recovered", the server MUST fail the call with FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS. StartShadowCopySet(context.Context, *StartShadowCopySetRequest, ...dcerpc.CallOption) (*StartShadowCopySetResponse, error) // The AddToShadowCopySet method adds a share to an existing shadow copy set. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed in the following table: // // +----------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have permission to perform the operation. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x8004230C FSRVP_E_NOT_SUPPORTED | The file store that contains the share to be shadow copied is not supported by | // | | the server. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the state of the server. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x8004230D FSRVP_E_OBJECT_ALREADY_EXISTS | The object already exists. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+----------------------------------------------------------------------------------+ AddToShadowCopySet(context.Context, *AddToShadowCopySetRequest, ...dcerpc.CallOption) (*AddToShadowCopySetResponse, error) // The CommitShadowCopySet method is invoked by the client to commit a given shadow // copy set. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed below. // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the state of the server. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042500 FSSAGENT_E_TIMEOUT | The wait for the shadow copy commit operation has timed out. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0xFFFFFFFF FSRVP_E_WAIT_FAILED | The wait for shadow copy commit operation has failed. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ CommitShadowCopySet(context.Context, *CommitShadowCopySetRequest, ...dcerpc.CallOption) (*CommitShadowCopySetResponse, error) // The ExposeShadowCopySet method exposes all the shadow copies in a shadow copy set // as file shares on the file server. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed in the following table. // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the server's state. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ ExposeShadowCopySet(context.Context, *ExposeShadowCopySetRequest, ...dcerpc.CallOption) (*ExposeShadowCopySetResponse, error) // The RecoveryCompleteShadowCopySet method is invoked by the client to indicate to // the server that the data associated with the file shares in a shadow copy set have // been recovered by the VSS writers. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x00000000 ZERO | The operation completed successfully. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the server's state. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ RecoveryCompleteShadowCopySet(context.Context, *RecoveryCompleteShadowCopySetRequest, ...dcerpc.CallOption) (*RecoveryCompleteShadowCopySetResponse, error) // The AbortShadowCopySet method is invoked by the client to delete a given shadow copy // set on the server. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table. // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the server's state. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ AbortShadowCopySet(context.Context, *AbortShadowCopySetRequest, ...dcerpc.CallOption) (*AbortShadowCopySetResponse, error) // The IsPathSupported method is invoked by the client to query if a given share is // supported by the server for shadow copy operations. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +-----------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------------+----------------------------------------------------------------------------------+ // +-----------------------------------+----------------------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +-----------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-----------------------------------+----------------------------------------------------------------------------------+ // | 0x8004230CL FSRVP_E_NOT_SUPPORTED | The file store that contains the share to be shadow copied is not supported by | // | | the server. | // +-----------------------------------+----------------------------------------------------------------------------------+ IsPathSupported(context.Context, *IsPathSupportedRequest, ...dcerpc.CallOption) (*IsPathSupportedResponse, error) // The IsPathShadowCopied method is invoked by the client to query if any shadow copy // for a share already exists. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table. // // +---------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------+--------------------------------------------------------------------+ // +---------------------------+--------------------------------------------------------------------+ // | 0x00000000 ZERO | The operation completed successfully. | // +---------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +---------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +---------------------------+--------------------------------------------------------------------+ IsPathShadowCopied(context.Context, *IsPathShadowCopiedRequest, ...dcerpc.CallOption) (*IsPathShadowCopiedResponse, error) // on a given file share on the server after the shadow copy of the share has been exposed. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ // // If the value of Level is invalid, the server MUST fail the call with E_INVALIDARG. GetShareMapping(context.Context, *GetShareMappingRequest, ...dcerpc.CallOption) (*GetShareMappingResponse, error) // shadow copy set. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042308 FSRVP_E_OBJECT_NOT_FOUND | The specified object does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ DeleteShareMapping(context.Context, *DeleteShareMappingRequest, ...dcerpc.CallOption) (*DeleteShareMappingResponse, error) // The PrepareShadowCopySet method is invoked by the client to ensure that the server // has completed preparation for creating the shadow copy set. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed below. // // +----------------------------------------------+----------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+----------------------------------------------------------------+ // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have permission to perform the operation. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the state of the server. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x00000102 FSRVP_E_WAIT_TIMEOUT | The wait for shadow copy preparation operation has timed out. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0xFFFFFFFF FSRVP_E_WAIT_FAILED | The wait for shadow copy preparation operation has failed. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+----------------------------------------------------------------+ PrepareShadowCopySet(context.Context, *PrepareShadowCopySetRequest, ...dcerpc.CallOption) (*PrepareShadowCopySetResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // Conn returns the client connection (unsafe) Conn() dcerpc.Conn }
FileServerVssAgent interface.
type FileServerVSSAgentServer ¶
type FileServerVSSAgentServer interface { // The GetSupportedVersion method is invoked by the client to get the minimum and maximum // versions of the protocol that the server supports. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed below. // // +---------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------+--------------------------------------------------------------------+ // +---------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +---------------------------+--------------------------------------------------------------------+ GetSupportedVersion(context.Context, *GetSupportedVersionRequest) (*GetSupportedVersionResponse, error) // The SetContext method sets the context for the current shadow copy creation process. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed below. // // +------------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+--------------------------------------------------------------------+ // +------------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +------------------------------------------------+--------------------------------------------------------------------+ // | 0x8004231B FSRVP_E_UNSUPPORTED_CONTEXT | The context value specified is invalid. | // +------------------------------------------------+--------------------------------------------------------------------+ // | 0x80042316 FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS | Creation of another shadow copy set is in progress. | // +------------------------------------------------+--------------------------------------------------------------------+ // // If the Context parameter contains an invalid value, the server MUST fail the call // with FSRVP_E_UNSUPPORTED_CONTEXT. SetContext(context.Context, *SetContextRequest) (*SetContextResponse, error) // The StartShadowCopySet method is called by the client to initiate a new shadow copy // set for shadow copy creation.<6> // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed in the following table: // // +------------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +------------------------------------------------+----------------------------------------------------------------------------------+ // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80042316 FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS | StartShadowCopySet (Opnum 2) was called while the creation of another shadow | // | | copy set was in progress. | // +------------------------------------------------+----------------------------------------------------------------------------------+ // // If ContextSet is FALSE, the server MUST fail the call with FSRVP_E_BAD_STATE. // // If there is a ShadowCopySet in the GlobalShadowCopySetTable where ShadowCopySet.Status // is not equal to "Recovered", the server MUST fail the call with FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS. StartShadowCopySet(context.Context, *StartShadowCopySetRequest) (*StartShadowCopySetResponse, error) // The AddToShadowCopySet method adds a share to an existing shadow copy set. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed in the following table: // // +----------------------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+----------------------------------------------------------------------------------+ // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have permission to perform the operation. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x8004230C FSRVP_E_NOT_SUPPORTED | The file store that contains the share to be shadow copied is not supported by | // | | the server. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the state of the server. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x8004230D FSRVP_E_OBJECT_ALREADY_EXISTS | The object already exists. | // +----------------------------------------------+----------------------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+----------------------------------------------------------------------------------+ AddToShadowCopySet(context.Context, *AddToShadowCopySetRequest) (*AddToShadowCopySetResponse, error) // The CommitShadowCopySet method is invoked by the client to commit a given shadow // copy set. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed below. // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the state of the server. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042500 FSSAGENT_E_TIMEOUT | The wait for the shadow copy commit operation has timed out. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0xFFFFFFFF FSRVP_E_WAIT_FAILED | The wait for shadow copy commit operation has failed. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ CommitShadowCopySet(context.Context, *CommitShadowCopySetRequest) (*CommitShadowCopySetResponse, error) // The ExposeShadowCopySet method exposes all the shadow copies in a shadow copy set // as file shares on the file server. // // Return Values: The method returns one of the values specified in section 2.2.4. The // most common error codes are listed in the following table. // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the server's state. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ ExposeShadowCopySet(context.Context, *ExposeShadowCopySetRequest) (*ExposeShadowCopySetResponse, error) // The RecoveryCompleteShadowCopySet method is invoked by the client to indicate to // the server that the data associated with the file shares in a shadow copy set have // been recovered by the VSS writers. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x00000000 ZERO | The operation completed successfully. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the server's state. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ RecoveryCompleteShadowCopySet(context.Context, *RecoveryCompleteShadowCopySetRequest) (*RecoveryCompleteShadowCopySetResponse, error) // The AbortShadowCopySet method is invoked by the client to delete a given shadow copy // set on the server. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table. // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the server's state. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ AbortShadowCopySet(context.Context, *AbortShadowCopySetRequest) (*AbortShadowCopySetResponse, error) // The IsPathSupported method is invoked by the client to query if a given share is // supported by the server for shadow copy operations. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +-----------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------------+----------------------------------------------------------------------------------+ // +-----------------------------------+----------------------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +-----------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +-----------------------------------+----------------------------------------------------------------------------------+ // | 0x8004230CL FSRVP_E_NOT_SUPPORTED | The file store that contains the share to be shadow copied is not supported by | // | | the server. | // +-----------------------------------+----------------------------------------------------------------------------------+ IsPathSupported(context.Context, *IsPathSupportedRequest) (*IsPathSupportedResponse, error) // The IsPathShadowCopied method is invoked by the client to query if any shadow copy // for a share already exists. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table. // // +---------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------+--------------------------------------------------------------------+ // +---------------------------+--------------------------------------------------------------------+ // | 0x00000000 ZERO | The operation completed successfully. | // +---------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +---------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +---------------------------+--------------------------------------------------------------------+ IsPathShadowCopied(context.Context, *IsPathShadowCopiedRequest) (*IsPathShadowCopiedResponse, error) // on a given file share on the server after the shadow copy of the share has been exposed. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ // // If the value of Level is invalid, the server MUST fail the call with E_INVALIDARG. GetShareMapping(context.Context, *GetShareMappingRequest) (*GetShareMappingResponse, error) // shadow copy set. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed in the following table: // // +----------------------------------------------+--------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+--------------------------------------------------------------------+ // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have the permissions to perform the operation. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042308 FSRVP_E_OBJECT_NOT_FOUND | The specified object does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+--------------------------------------------------------------------+ DeleteShareMapping(context.Context, *DeleteShareMappingRequest) (*DeleteShareMappingResponse, error) // The PrepareShadowCopySet method is invoked by the client to ensure that the server // has completed preparation for creating the shadow copy set. // // Return Values: The method returns one of the values as specified in section 2.2.4. // The most common error codes are listed below. // // +----------------------------------------------+----------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +----------------------------------------------+----------------------------------------------------------------+ // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80070005 E_ACCESSDENIED | The caller does not have permission to perform the operation. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | One or more arguments are invalid. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80042301 FSRVP_E_BAD_STATE | The method call is invalid because of the state of the server. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x00000102 FSRVP_E_WAIT_TIMEOUT | The wait for shadow copy preparation operation has timed out. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0xFFFFFFFF FSRVP_E_WAIT_FAILED | The wait for shadow copy preparation operation has failed. | // +----------------------------------------------+----------------------------------------------------------------+ // | 0x80042501 FSRVP_E_SHADOWCOPYSET_ID_MISMATCH | The provided ShadowCopySetId does not exist. | // +----------------------------------------------+----------------------------------------------------------------+ PrepareShadowCopySet(context.Context, *PrepareShadowCopySetRequest) (*PrepareShadowCopySetResponse, error) }
FileServerVssAgent server interface.
type GetShareMappingRequest ¶
type GetShareMappingRequest struct { dtyp.GUID `idl:"name:ShadowCopyId" json:"shadow_copy_id"` ShadowCopySetID *dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` ShareName string `idl:"name:ShareName;string" json:"share_name"` // of the following values. // // +-------+--------------------------+ // | | | // | VALUE | MEANING | // | | | // +-------+--------------------------+ // +-------+--------------------------+ // | 1 | FSSAGENT_SHARE_MAPPING_1 | // +-------+--------------------------+ Level uint32 `idl:"name:Level" json:"level"` }ShadowCopyID *
GetShareMappingRequest structure represents the GetShareMapping operation request
func (*GetShareMappingRequest) MarshalNDR ¶
func (*GetShareMappingRequest) UnmarshalNDR ¶
type GetShareMappingResponse ¶
type GetShareMappingResponse struct { uint32 `idl:"name:Level" json:"level"` // 2.2.3.1. ShareMapping *ShareMapping `idl:"name:ShareMapping;switch_is:Level" json:"share_mapping"` Return uint32 `idl:"name:Return" json:"return"` }Level
GetShareMappingResponse structure represents the GetShareMapping operation response
func (*GetShareMappingResponse) MarshalNDR ¶
func (*GetShareMappingResponse) UnmarshalNDR ¶
type GetSupportedVersionRequest ¶
type GetSupportedVersionRequest struct { }
GetSupportedVersionRequest structure represents the GetSupportedVersion operation request
func (*GetSupportedVersionRequest) MarshalNDR ¶
func (*GetSupportedVersionRequest) UnmarshalNDR ¶
type GetSupportedVersionResponse ¶
type GetSupportedVersionResponse struct { // MinVersion: The minimum version of the protocol that the server supports. MinVersion uint32 `idl:"name:MinVersion" json:"min_version"` // MaxVersion: The maximum version of the protocol that the server supports. MaxVersion uint32 `idl:"name:MaxVersion" json:"max_version"` // Return: The GetSupportedVersion return value. Return uint32 `idl:"name:Return" json:"return"` }
GetSupportedVersionResponse structure represents the GetSupportedVersion operation response
func (*GetSupportedVersionResponse) MarshalNDR ¶
func (*GetSupportedVersionResponse) UnmarshalNDR ¶
type IsPathShadowCopiedRequest ¶
type IsPathShadowCopiedRequest struct { string `idl:"name:ShareName;string" json:"share_name"` }ShareName
IsPathShadowCopiedRequest structure represents the IsPathShadowCopied operation request
func (*IsPathShadowCopiedRequest) MarshalNDR ¶
func (*IsPathShadowCopiedRequest) UnmarshalNDR ¶
type IsPathShadowCopiedResponse ¶
type IsPathShadowCopiedResponse struct { // ShadowCopyPresent: This value is set to TRUE if the ShareName specified has a shadow // copy; otherwise set to FALSE. ShadowCopyPresent bool `idl:"name:ShadowCopyPresent" json:"shadow_copy_present"` // ShadowCopyCompatibility: This value indicates whether certain I/O operations on the // file store containing the shadow copy are disabled. This MUST be zero or a combination // of the values as specified in section 2.2.2.3. ShadowCopyCompatibility int32 `idl:"name:ShadowCopyCompatibility" json:"shadow_copy_compatibility"` // Return: The IsPathShadowCopied return value. Return uint32 `idl:"name:Return" json:"return"` }
IsPathShadowCopiedResponse structure represents the IsPathShadowCopied operation response
func (*IsPathShadowCopiedResponse) MarshalNDR ¶
func (*IsPathShadowCopiedResponse) UnmarshalNDR ¶
type IsPathSupportedRequest ¶
type IsPathSupportedRequest struct { string `idl:"name:ShareName;string" json:"share_name"` }ShareName
IsPathSupportedRequest structure represents the IsPathSupported operation request
func (*IsPathSupportedRequest) MarshalNDR ¶
func (*IsPathSupportedRequest) UnmarshalNDR ¶
type IsPathSupportedResponse ¶
type IsPathSupportedResponse struct { // SupportedByThisProvider: A Boolean, when set to TRUE, that indicates that shadow // copies of this share are supported by the server. SupportedByThisProvider bool `idl:"name:SupportedByThisProvider" json:"supported_by_this_provider"` // OwnerMachineName: The name of the server machine to which the client MUST connect // to create shadow copies of the specified ShareName. OwnerMachineName string `idl:"name:OwnerMachineName;string" json:"owner_machine_name"` // Return: The IsPathSupported return value. Return uint32 `idl:"name:Return" json:"return"` }
IsPathSupportedResponse structure represents the IsPathSupported operation response
func (*IsPathSupportedResponse) MarshalNDR ¶
func (*IsPathSupportedResponse) UnmarshalNDR ¶
type PrepareShadowCopySetRequest ¶
type PrepareShadowCopySetRequest struct { // ShadowCopySetId: The GUID of the shadow copy set, assigned by the server. ShadowCopySetID *dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` // TimeOutInMilliseconds: The time in milliseconds for which the server MUST wait for // the shadow copy preparation process to complete. TimeoutInMilliseconds uint32 `idl:"name:TimeOutInMilliseconds" json:"timeout_in_milliseconds"` }
PrepareShadowCopySetRequest structure represents the PrepareShadowCopySet operation request
func (*PrepareShadowCopySetRequest) MarshalNDR ¶
func (*PrepareShadowCopySetRequest) UnmarshalNDR ¶
type PrepareShadowCopySetResponse ¶
type PrepareShadowCopySetResponse struct { // Return: The PrepareShadowCopySet return value. Return uint32 `idl:"name:Return" json:"return"` }
PrepareShadowCopySetResponse structure represents the PrepareShadowCopySet operation response
func (*PrepareShadowCopySetResponse) MarshalNDR ¶
func (*PrepareShadowCopySetResponse) UnmarshalNDR ¶
type RecoveryCompleteShadowCopySetRequest ¶
type RecoveryCompleteShadowCopySetRequest struct { // ShadowCopySetId: The GUID of the shadow copy set. ShadowCopySetID *dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` }
RecoveryCompleteShadowCopySetRequest structure represents the RecoveryCompleteShadowCopySet operation request
func (*RecoveryCompleteShadowCopySetRequest) MarshalNDR ¶
func (*RecoveryCompleteShadowCopySetRequest) UnmarshalNDR ¶
type RecoveryCompleteShadowCopySetResponse ¶
type RecoveryCompleteShadowCopySetResponse struct { // Return: The RecoveryCompleteShadowCopySet return value. Return uint32 `idl:"name:Return" json:"return"` }
RecoveryCompleteShadowCopySetResponse structure represents the RecoveryCompleteShadowCopySet operation response
func (*RecoveryCompleteShadowCopySetResponse) MarshalNDR ¶
func (*RecoveryCompleteShadowCopySetResponse) UnmarshalNDR ¶
type SetContextRequest ¶
type SetContextRequest struct { // Context: The context to be used for the shadow copy operations. It MUST be set to // one of the CONTEXT_VALUES specified in section 2.2.2.2. Context uint32 `idl:"name:Context" json:"context"` }
SetContextRequest structure represents the SetContext operation request
func (*SetContextRequest) MarshalNDR ¶
func (*SetContextRequest) UnmarshalNDR ¶
type SetContextResponse ¶
type SetContextResponse struct { // Return: The SetContext return value. Return uint32 `idl:"name:Return" json:"return"` }
SetContextResponse structure represents the SetContext operation response
func (*SetContextResponse) MarshalNDR ¶
func (*SetContextResponse) UnmarshalNDR ¶
type ShareMapping ¶
type ShareMapping struct { // // *ShareMapping_1 Value is_ShareMapping `json:"value"` }
ShareMapping structure represents FSSAGENT_SHARE_MAPPING RPC union.
The FSSAGENT_SHARE_MAPPING union contains mapping information for a share to its shadow copy based on the level value.
func (*ShareMapping) GetValue ¶
func (o *ShareMapping) GetValue() any
func (*ShareMapping) MarshalUnionNDR ¶
func (*ShareMapping) NDRSwitchValue ¶
func (o *ShareMapping) NDRSwitchValue(sw uint32) uint32
func (*ShareMapping) UnmarshalUnionNDR ¶
type ShareMapping1 ¶
type ShareMapping1 struct { dtyp.GUID `idl:"name:ShadowCopySetId" json:"shadow_copy_set_id"` ShadowCopyID *dtyp.GUID `idl:"name:ShadowCopyId" json:"shadow_copy_id"` ShareNameUNC string `idl:"name:ShareNameUNC;string" json:"share_name_unc"` // share identified by ShareNameUNC, in UNC format. ShadowCopyShareName string `idl:"name:ShadowCopyShareName;string" json:"shadow_copy_share_name"` // MUST be a 64-bit integer value containing the number of 100-nanosecond intervals // since January 1, 1601 (UTC). CreationTimestamp int64 `idl:"name:CreationTimestamp" json:"creation_timestamp"` }ShadowCopySetID *
ShareMapping1 structure represents FSSAGENT_SHARE_MAPPING_1 RPC structure.
This structure contains the mapping information for a file share to its shadow copy.
func (*ShareMapping1) MarshalNDR ¶
func (*ShareMapping1) UnmarshalNDR ¶
type ShareMapping_1 ¶
type ShareMapping_1 struct { // in section 2.2.1.1. ShareMapping1 *ShareMapping1 `idl:"name:ShareMapping1" json:"share_mapping1"` }
ShareMapping_1 structure represents FSSAGENT_SHARE_MAPPING RPC union arm.
It has following labels: 1
func (*ShareMapping_1) MarshalNDR ¶
func (*ShareMapping_1) UnmarshalNDR ¶
type StartShadowCopySetRequest ¶
type StartShadowCopySetRequest struct { // ClientShadowCopySetId: The GUID assigned by the client for the shadow copy set.<7> ClientShadowCopySetID *dtyp.GUID `idl:"name:ClientShadowCopySetId" json:"client_shadow_copy_set_id"` }
StartShadowCopySetRequest structure represents the StartShadowCopySet operation request
func (*StartShadowCopySetRequest) MarshalNDR ¶
func (*StartShadowCopySetRequest) UnmarshalNDR ¶
type StartShadowCopySetResponse ¶
type StartShadowCopySetResponse struct { // pShadowCopySetId: The GUID of the shadow copy set, assigned by the server. ShadowCopySetID *dtyp.GUID `idl:"name:pShadowCopySetId" json:"shadow_copy_set_id"` // Return: The StartShadowCopySet return value. Return uint32 `idl:"name:Return" json:"return"` }
StartShadowCopySetResponse structure represents the StartShadowCopySet operation response
func (*StartShadowCopySetResponse) MarshalNDR ¶
func (*StartShadowCopySetResponse) UnmarshalNDR ¶
type UnimplementedFileServerVSSAgentServer ¶ added in v1.1.5
type UnimplementedFileServerVSSAgentServer struct { }
Unimplemented FileServerVssAgent
func (UnimplementedFileServerVSSAgentServer) AbortShadowCopySet ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) AbortShadowCopySet(context.Context, *AbortShadowCopySetRequest) (*AbortShadowCopySetResponse, error)
func (UnimplementedFileServerVSSAgentServer) AddToShadowCopySet ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) AddToShadowCopySet(context.Context, *AddToShadowCopySetRequest) (*AddToShadowCopySetResponse, error)
func (UnimplementedFileServerVSSAgentServer) CommitShadowCopySet ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) CommitShadowCopySet(context.Context, *CommitShadowCopySetRequest) (*CommitShadowCopySetResponse, error)
func (UnimplementedFileServerVSSAgentServer) DeleteShareMapping ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) DeleteShareMapping(context.Context, *DeleteShareMappingRequest) (*DeleteShareMappingResponse, error)
func (UnimplementedFileServerVSSAgentServer) ExposeShadowCopySet ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) ExposeShadowCopySet(context.Context, *ExposeShadowCopySetRequest) (*ExposeShadowCopySetResponse, error)
func (UnimplementedFileServerVSSAgentServer) GetShareMapping ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) GetShareMapping(context.Context, *GetShareMappingRequest) (*GetShareMappingResponse, error)
func (UnimplementedFileServerVSSAgentServer) GetSupportedVersion ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) GetSupportedVersion(context.Context, *GetSupportedVersionRequest) (*GetSupportedVersionResponse, error)
func (UnimplementedFileServerVSSAgentServer) IsPathShadowCopied ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) IsPathShadowCopied(context.Context, *IsPathShadowCopiedRequest) (*IsPathShadowCopiedResponse, error)
func (UnimplementedFileServerVSSAgentServer) IsPathSupported ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) IsPathSupported(context.Context, *IsPathSupportedRequest) (*IsPathSupportedResponse, error)
func (UnimplementedFileServerVSSAgentServer) PrepareShadowCopySet ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) PrepareShadowCopySet(context.Context, *PrepareShadowCopySetRequest) (*PrepareShadowCopySetResponse, error)
func (UnimplementedFileServerVSSAgentServer) RecoveryCompleteShadowCopySet ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) RecoveryCompleteShadowCopySet(context.Context, *RecoveryCompleteShadowCopySetRequest) (*RecoveryCompleteShadowCopySetResponse, error)
func (UnimplementedFileServerVSSAgentServer) SetContext ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) SetContext(context.Context, *SetContextRequest) (*SetContextResponse, error)
func (UnimplementedFileServerVSSAgentServer) StartShadowCopySet ¶ added in v1.1.5
func (UnimplementedFileServerVSSAgentServer) StartShadowCopySet(context.Context, *StartShadowCopySetRequest) (*StartShadowCopySetResponse, error)