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
NewBackupresult initializes result type Backupresult from viewed result type Backupresult.
NewClient initializes a "Backup Service" service client given the endpoints.
NewCreateEndpoint returns an endpoint function that calls the method "create" of service "Backup Service".
NewDeleteEndpoint returns an endpoint function that calls the method "delete" of service "Backup Service".
NewEndpoints wraps the methods of the "Backup Service" service with endpoints.
NewGetEndpoint returns an endpoint function that calls the method "get" of service "Backup Service".
NewUpdateEndpoint returns an endpoint function that calls the method "update" of service "Backup Service".
NewViewedBackupresult initializes viewed result type Backupresult from result type Backupresult 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 is the payload type of the Backup Service service create method.
Backup not found error is returned when the backup is not found.
Backupresult is the result type of the Backup Service service create method.
Client is the "Backup Service" service client.
DeletePayload is the payload type of the Backup Service service delete method.
Endpoints wraps the "Backup Service" service endpoints.
GetPayload is the payload type of the Backup Service service get method.
# Interfaces
Service to handle backup requests.