Documentation
¶
Overview ¶
Package file provides node-targeted file deploy API handlers.
Index ¶
- func Handler(logger *slog.Logger, jobClient client.JobClient, signingKey string, ...) []func(e *echo.Echo)
- type File
- func (s *File) PostNodeFileDeploy(ctx context.Context, request gen.PostNodeFileDeployRequestObject) (gen.PostNodeFileDeployResponseObject, error)
- func (s *File) PostNodeFileStatus(ctx context.Context, request gen.PostNodeFileStatusRequestObject) (gen.PostNodeFileStatusResponseObject, error)
- func (s *File) PostNodeFileUndeploy(ctx context.Context, request gen.PostNodeFileUndeployRequestObject) (gen.PostNodeFileUndeployResponseObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
// JobClient provides job-based operations for file deploy operations.
JobClient client.JobClient
// contains filtered or unexported fields
}
File implementation of the node file deploy APIs operations.
func (*File) PostNodeFileDeploy ¶
func (s *File) PostNodeFileDeploy( ctx context.Context, request gen.PostNodeFileDeployRequestObject, ) (gen.PostNodeFileDeployResponseObject, error)
PostNodeFileDeploy post the node file deploy API endpoint.
func (*File) PostNodeFileStatus ¶
func (s *File) PostNodeFileStatus( ctx context.Context, request gen.PostNodeFileStatusRequestObject, ) (gen.PostNodeFileStatusResponseObject, error)
PostNodeFileStatus post the node file status API endpoint.
func (*File) PostNodeFileUndeploy ¶
func (s *File) PostNodeFileUndeploy( ctx context.Context, request gen.PostNodeFileUndeployRequestObject, ) (gen.PostNodeFileUndeployResponseObject, error)
PostNodeFileUndeploy post the node file undeploy API endpoint.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.