package
0.0.0-20220914130927-3febccf69fb0
Repository: https://github.com/opdev/backup-handler.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewClient initializes a "Restore Service" service client given the endpoints.
NewCreateEndpoint returns an endpoint function that calls the method "create" of service "Restore Service".
NewDeleteEndpoint returns an endpoint function that calls the method "delete" of service "Restore Service".
NewEndpoints wraps the methods of the "Restore Service" service with endpoints.
NewGetEndpoint returns an endpoint function that calls the method "get" of service "Restore Service".
NewRestoreresult initializes result type Restoreresult from viewed result type Restoreresult.
NewUpdateEndpoint returns an endpoint function that calls the method "update" of service "Restore Service".
NewViewedRestoreresult initializes viewed result type Restoreresult from result type Restoreresult using the given view.
# Constants
ServiceName is the name of the service as defined in the design.
# Variables
MethodNames lists the service method names as defined in the design.
# Structs
Backup not found error is returned when the backup is not found.
Client is the "Restore Service" service client.
DeletePayload is the payload type of the Restore Service service delete method.
Endpoints wraps the "Restore Service" service endpoints.
GetPayload is the payload type of the Restore Service service get method.
Restore is the payload type of the Restore Service service create method.
Restoreresult is the result type of the Restore Service service create method.
# Interfaces
Service to handle restore requests.