Documentation ¶
Index ¶
- Constants
- type DeleteJobID
- type DeleteJobIDHandler
- type DeleteJobIDHandlerFunc
- type DeleteJobIDInternalServerError
- func (o *DeleteJobIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *DeleteJobIDInternalServerError) WithPayload(payload *models.ResponseBody500) *DeleteJobIDInternalServerError
- func (o *DeleteJobIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteJobIDNotFound
- type DeleteJobIDOK
- type DeleteJobIDParams
- type DeleteJobIDURL
- func (o *DeleteJobIDURL) Build() (*url.URL, error)
- func (o *DeleteJobIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteJobIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteJobIDURL) SetBasePath(bp string)
- func (o *DeleteJobIDURL) String() string
- func (o *DeleteJobIDURL) StringFull(scheme, host string) string
- func (o *DeleteJobIDURL) WithBasePath(bp string) *DeleteJobIDURL
- type DrDataStagerAPI
- func (o *DrDataStagerAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *DrDataStagerAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *DrDataStagerAPI) Authorizer() runtime.Authorizer
- func (o *DrDataStagerAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *DrDataStagerAPI) Context() *middleware.Context
- func (o *DrDataStagerAPI) DefaultConsumes() string
- func (o *DrDataStagerAPI) DefaultProduces() string
- func (o *DrDataStagerAPI) Formats() strfmt.Registry
- func (o *DrDataStagerAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *DrDataStagerAPI) Init()
- func (o *DrDataStagerAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *DrDataStagerAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *DrDataStagerAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *DrDataStagerAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *DrDataStagerAPI) Serve(builder middleware.Builder) http.Handler
- func (o *DrDataStagerAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *DrDataStagerAPI) SetDefaultConsumes(mediaType string)
- func (o *DrDataStagerAPI) SetDefaultProduces(mediaType string)
- func (o *DrDataStagerAPI) SetSpec(spec *loads.Document)
- func (o *DrDataStagerAPI) UseRedoc()
- func (o *DrDataStagerAPI) UseSwaggerUI()
- func (o *DrDataStagerAPI) Validate() error
- type GetDacProjectNumber
- type GetDacProjectNumberHandler
- type GetDacProjectNumberHandlerFunc
- type GetDacProjectNumberInternalServerError
- func (o *GetDacProjectNumberInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *GetDacProjectNumberInternalServerError) WithPayload(payload *models.ResponseBody500) *GetDacProjectNumberInternalServerError
- func (o *GetDacProjectNumberInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDacProjectNumberNotFound
- type GetDacProjectNumberOK
- type GetDacProjectNumberParams
- type GetDacProjectNumberURL
- func (o *GetDacProjectNumberURL) Build() (*url.URL, error)
- func (o *GetDacProjectNumberURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDacProjectNumberURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDacProjectNumberURL) SetBasePath(bp string)
- func (o *GetDacProjectNumberURL) String() string
- func (o *GetDacProjectNumberURL) StringFull(scheme, host string) string
- func (o *GetDacProjectNumberURL) WithBasePath(bp string) *GetDacProjectNumberURL
- type GetDir
- type GetDirHandler
- type GetDirHandlerFunc
- type GetDirInternalServerError
- type GetDirOK
- type GetDirParams
- type GetDirURL
- func (o *GetDirURL) Build() (*url.URL, error)
- func (o *GetDirURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDirURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDirURL) SetBasePath(bp string)
- func (o *GetDirURL) String() string
- func (o *GetDirURL) StringFull(scheme, host string) string
- func (o *GetDirURL) WithBasePath(bp string) *GetDirURL
- type GetJobID
- type GetJobIDHandler
- type GetJobIDHandlerFunc
- type GetJobIDInternalServerError
- type GetJobIDNotFound
- type GetJobIDOK
- type GetJobIDParams
- type GetJobIDURL
- func (o *GetJobIDURL) Build() (*url.URL, error)
- func (o *GetJobIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetJobIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetJobIDURL) SetBasePath(bp string)
- func (o *GetJobIDURL) String() string
- func (o *GetJobIDURL) StringFull(scheme, host string) string
- func (o *GetJobIDURL) WithBasePath(bp string) *GetJobIDURL
- type GetJobs
- type GetJobsHandler
- type GetJobsHandlerFunc
- type GetJobsInternalServerError
- type GetJobsOK
- type GetJobsParams
- type GetJobsStatus
- type GetJobsStatusHandler
- type GetJobsStatusHandlerFunc
- type GetJobsStatusInternalServerError
- func (o *GetJobsStatusInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *GetJobsStatusInternalServerError) WithPayload(payload *models.ResponseBody500) *GetJobsStatusInternalServerError
- func (o *GetJobsStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetJobsStatusOK
- type GetJobsStatusParams
- type GetJobsStatusURL
- func (o *GetJobsStatusURL) Build() (*url.URL, error)
- func (o *GetJobsStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetJobsStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *GetJobsStatusURL) SetBasePath(bp string)
- func (o *GetJobsStatusURL) String() string
- func (o *GetJobsStatusURL) StringFull(scheme, host string) string
- func (o *GetJobsStatusURL) WithBasePath(bp string) *GetJobsStatusURL
- type GetJobsURL
- func (o *GetJobsURL) Build() (*url.URL, error)
- func (o *GetJobsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetJobsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetJobsURL) SetBasePath(bp string)
- func (o *GetJobsURL) String() string
- func (o *GetJobsURL) StringFull(scheme, host string) string
- func (o *GetJobsURL) WithBasePath(bp string) *GetJobsURL
- type GetPing
- type GetPingHandler
- type GetPingHandlerFunc
- type GetPingInternalServerError
- type GetPingOK
- type GetPingParams
- type GetPingURL
- func (o *GetPingURL) Build() (*url.URL, error)
- func (o *GetPingURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPingURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPingURL) SetBasePath(bp string)
- func (o *GetPingURL) String() string
- func (o *GetPingURL) StringFull(scheme, host string) string
- func (o *GetPingURL) WithBasePath(bp string) *GetPingURL
- type PostJob
- type PostJobHandler
- type PostJobHandlerFunc
- type PostJobInternalServerError
- type PostJobOK
- type PostJobParams
- type PostJobURL
- func (o *PostJobURL) Build() (*url.URL, error)
- func (o *PostJobURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostJobURL) Must(u *url.URL, err error) *url.URL
- func (o *PostJobURL) SetBasePath(bp string)
- func (o *PostJobURL) String() string
- func (o *PostJobURL) StringFull(scheme, host string) string
- func (o *PostJobURL) WithBasePath(bp string) *PostJobURL
- type PostJobs
- type PostJobsHandler
- type PostJobsHandlerFunc
- type PostJobsInternalServerError
- type PostJobsMultiStatus
- type PostJobsOK
- type PostJobsParams
- type PostJobsURL
- func (o *PostJobsURL) Build() (*url.URL, error)
- func (o *PostJobsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostJobsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostJobsURL) SetBasePath(bp string)
- func (o *PostJobsURL) String() string
- func (o *PostJobsURL) StringFull(scheme, host string) string
- func (o *PostJobsURL) WithBasePath(bp string) *PostJobsURL
- type PutJobScheduledID
- type PutJobScheduledIDBadRequest
- type PutJobScheduledIDHandler
- type PutJobScheduledIDHandlerFunc
- type PutJobScheduledIDInternalServerError
- func (o *PutJobScheduledIDInternalServerError) SetPayload(payload *models.ResponseBody500)
- func (o *PutJobScheduledIDInternalServerError) WithPayload(payload *models.ResponseBody500) *PutJobScheduledIDInternalServerError
- func (o *PutJobScheduledIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutJobScheduledIDNotFound
- type PutJobScheduledIDOK
- type PutJobScheduledIDParams
- type PutJobScheduledIDURL
- func (o *PutJobScheduledIDURL) Build() (*url.URL, error)
- func (o *PutJobScheduledIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutJobScheduledIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutJobScheduledIDURL) SetBasePath(bp string)
- func (o *PutJobScheduledIDURL) String() string
- func (o *PutJobScheduledIDURL) StringFull(scheme, host string) string
- func (o *PutJobScheduledIDURL) WithBasePath(bp string) *PutJobScheduledIDURL
Constants ¶
const DeleteJobIDInternalServerErrorCode int = 500
DeleteJobIDInternalServerErrorCode is the HTTP code returned for type DeleteJobIDInternalServerError
const DeleteJobIDNotFoundCode int = 404
DeleteJobIDNotFoundCode is the HTTP code returned for type DeleteJobIDNotFound
const DeleteJobIDOKCode int = 200
DeleteJobIDOKCode is the HTTP code returned for type DeleteJobIDOK
const GetDacProjectNumberInternalServerErrorCode int = 500
GetDacProjectNumberInternalServerErrorCode is the HTTP code returned for type GetDacProjectNumberInternalServerError
const GetDacProjectNumberNotFoundCode int = 404
GetDacProjectNumberNotFoundCode is the HTTP code returned for type GetDacProjectNumberNotFound
const GetDacProjectNumberOKCode int = 200
GetDacProjectNumberOKCode is the HTTP code returned for type GetDacProjectNumberOK
const GetDirInternalServerErrorCode int = 500
GetDirInternalServerErrorCode is the HTTP code returned for type GetDirInternalServerError
const GetDirOKCode int = 200
GetDirOKCode is the HTTP code returned for type GetDirOK
const GetJobIDInternalServerErrorCode int = 500
GetJobIDInternalServerErrorCode is the HTTP code returned for type GetJobIDInternalServerError
const GetJobIDNotFoundCode int = 404
GetJobIDNotFoundCode is the HTTP code returned for type GetJobIDNotFound
const GetJobIDOKCode int = 200
GetJobIDOKCode is the HTTP code returned for type GetJobIDOK
const GetJobsInternalServerErrorCode int = 500
GetJobsInternalServerErrorCode is the HTTP code returned for type GetJobsInternalServerError
const GetJobsOKCode int = 200
GetJobsOKCode is the HTTP code returned for type GetJobsOK
const GetJobsStatusInternalServerErrorCode int = 500
GetJobsStatusInternalServerErrorCode is the HTTP code returned for type GetJobsStatusInternalServerError
const GetJobsStatusOKCode int = 200
GetJobsStatusOKCode is the HTTP code returned for type GetJobsStatusOK
const GetPingInternalServerErrorCode int = 500
GetPingInternalServerErrorCode is the HTTP code returned for type GetPingInternalServerError
const GetPingOKCode int = 200
GetPingOKCode is the HTTP code returned for type GetPingOK
const PostJobInternalServerErrorCode int = 500
PostJobInternalServerErrorCode is the HTTP code returned for type PostJobInternalServerError
const PostJobOKCode int = 200
PostJobOKCode is the HTTP code returned for type PostJobOK
const PostJobsInternalServerErrorCode int = 500
PostJobsInternalServerErrorCode is the HTTP code returned for type PostJobsInternalServerError
const PostJobsMultiStatusCode int = 207
PostJobsMultiStatusCode is the HTTP code returned for type PostJobsMultiStatus
const PostJobsOKCode int = 200
PostJobsOKCode is the HTTP code returned for type PostJobsOK
const PutJobScheduledIDBadRequestCode int = 400
PutJobScheduledIDBadRequestCode is the HTTP code returned for type PutJobScheduledIDBadRequest
const PutJobScheduledIDInternalServerErrorCode int = 500
PutJobScheduledIDInternalServerErrorCode is the HTTP code returned for type PutJobScheduledIDInternalServerError
const PutJobScheduledIDNotFoundCode int = 404
PutJobScheduledIDNotFoundCode is the HTTP code returned for type PutJobScheduledIDNotFound
const PutJobScheduledIDOKCode int = 200
PutJobScheduledIDOKCode is the HTTP code returned for type PutJobScheduledIDOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteJobID ¶
type DeleteJobID struct { Context *middleware.Context Handler DeleteJobIDHandler }
DeleteJobID swagger:route DELETE /job/{id} deleteJobId
cancel a stager job
func NewDeleteJobID ¶
func NewDeleteJobID(ctx *middleware.Context, handler DeleteJobIDHandler) *DeleteJobID
NewDeleteJobID creates a new http.Handler for the delete job ID operation
func (*DeleteJobID) ServeHTTP ¶
func (o *DeleteJobID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteJobIDHandler ¶
type DeleteJobIDHandler interface {
Handle(DeleteJobIDParams, *models.Principal) middleware.Responder
}
DeleteJobIDHandler interface for that can handle valid delete job ID params
type DeleteJobIDHandlerFunc ¶
type DeleteJobIDHandlerFunc func(DeleteJobIDParams, *models.Principal) middleware.Responder
DeleteJobIDHandlerFunc turns a function with the right signature into a delete job ID handler
func (DeleteJobIDHandlerFunc) Handle ¶
func (fn DeleteJobIDHandlerFunc) Handle(params DeleteJobIDParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteJobIDInternalServerError ¶
type DeleteJobIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
DeleteJobIDInternalServerError failure
swagger:response deleteJobIdInternalServerError
func NewDeleteJobIDInternalServerError ¶
func NewDeleteJobIDInternalServerError() *DeleteJobIDInternalServerError
NewDeleteJobIDInternalServerError creates DeleteJobIDInternalServerError with default headers values
func (*DeleteJobIDInternalServerError) SetPayload ¶
func (o *DeleteJobIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the delete job Id internal server error response
func (*DeleteJobIDInternalServerError) WithPayload ¶
func (o *DeleteJobIDInternalServerError) WithPayload(payload *models.ResponseBody500) *DeleteJobIDInternalServerError
WithPayload adds the payload to the delete job Id internal server error response
func (*DeleteJobIDInternalServerError) WriteResponse ¶
func (o *DeleteJobIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteJobIDNotFound ¶
type DeleteJobIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
DeleteJobIDNotFound job not found
swagger:response deleteJobIdNotFound
func NewDeleteJobIDNotFound ¶
func NewDeleteJobIDNotFound() *DeleteJobIDNotFound
NewDeleteJobIDNotFound creates DeleteJobIDNotFound with default headers values
func (*DeleteJobIDNotFound) SetPayload ¶
func (o *DeleteJobIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the delete job Id not found response
func (*DeleteJobIDNotFound) WithPayload ¶
func (o *DeleteJobIDNotFound) WithPayload(payload string) *DeleteJobIDNotFound
WithPayload adds the payload to the delete job Id not found response
func (*DeleteJobIDNotFound) WriteResponse ¶
func (o *DeleteJobIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteJobIDOK ¶
DeleteJobIDOK success
swagger:response deleteJobIdOK
func NewDeleteJobIDOK ¶
func NewDeleteJobIDOK() *DeleteJobIDOK
NewDeleteJobIDOK creates DeleteJobIDOK with default headers values
func (*DeleteJobIDOK) SetPayload ¶
func (o *DeleteJobIDOK) SetPayload(payload *models.JobInfo)
SetPayload sets the payload to the delete job Id o k response
func (*DeleteJobIDOK) WithPayload ¶
func (o *DeleteJobIDOK) WithPayload(payload *models.JobInfo) *DeleteJobIDOK
WithPayload adds the payload to the delete job Id o k response
func (*DeleteJobIDOK) WriteResponse ¶
func (o *DeleteJobIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteJobIDParams ¶
type DeleteJobIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*job identifier Required: true In: path */ ID string }
DeleteJobIDParams contains all the bound params for the delete job ID operation typically these are obtained from a http.Request
swagger:parameters DeleteJobID
func NewDeleteJobIDParams ¶
func NewDeleteJobIDParams() DeleteJobIDParams
NewDeleteJobIDParams creates a new DeleteJobIDParams object
There are no default values defined in the spec.
func (*DeleteJobIDParams) BindRequest ¶
func (o *DeleteJobIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteJobIDParams() beforehand.
type DeleteJobIDURL ¶
type DeleteJobIDURL struct { ID string // contains filtered or unexported fields }
DeleteJobIDURL generates an URL for the delete job ID operation
func (*DeleteJobIDURL) Build ¶
func (o *DeleteJobIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteJobIDURL) BuildFull ¶
func (o *DeleteJobIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteJobIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteJobIDURL) SetBasePath ¶
func (o *DeleteJobIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteJobIDURL) String ¶
func (o *DeleteJobIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteJobIDURL) StringFull ¶
func (o *DeleteJobIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteJobIDURL) WithBasePath ¶
func (o *DeleteJobIDURL) WithBasePath(bp string) *DeleteJobIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DrDataStagerAPI ¶
type DrDataStagerAPI struct { Middleware func(middleware.Builder) http.Handler // BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator // APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator // BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator // JSONConsumer registers a consumer for the following mime types: // - application/json JSONConsumer runtime.Consumer // JSONProducer registers a producer for the following mime types: // - application/json JSONProducer runtime.Producer // BasicAuthAuth registers a function that takes username and password and returns a principal // it performs authentication with basic auth BasicAuthAuth func(string, string) (*models.Principal, error) // Oauth2Auth registers a function that takes an access token and a collection of required scopes and returns a principal // it performs authentication based on an oauth2 bearer token provided in the request Oauth2Auth func(string, []string) (*models.Principal, error) // APIAuthorizer provides access control (ACL/RBAC/ABAC) by providing access to the request and authenticated principal APIAuthorizer runtime.Authorizer // DeleteJobIDHandler sets the operation handler for the delete job ID operation DeleteJobIDHandler DeleteJobIDHandler // GetDacProjectNumberHandler sets the operation handler for the get dac project number operation GetDacProjectNumberHandler GetDacProjectNumberHandler // GetDirHandler sets the operation handler for the get dir operation GetDirHandler GetDirHandler // GetJobIDHandler sets the operation handler for the get job ID operation GetJobIDHandler GetJobIDHandler // GetJobsHandler sets the operation handler for the get jobs operation GetJobsHandler GetJobsHandler // GetJobsStatusHandler sets the operation handler for the get jobs status operation GetJobsStatusHandler GetJobsStatusHandler // GetPingHandler sets the operation handler for the get ping operation GetPingHandler GetPingHandler // PostJobHandler sets the operation handler for the post job operation PostJobHandler PostJobHandler // PostJobsHandler sets the operation handler for the post jobs operation PostJobsHandler PostJobsHandler // PutJobScheduledIDHandler sets the operation handler for the put job scheduled ID operation PutJobScheduledIDHandler PutJobScheduledIDHandler // ServeError is called when an error is received, there is a default handler // but you can set your own with this ServeError func(http.ResponseWriter, *http.Request, error) // PreServerShutdown is called before the HTTP(S) server is shutdown // This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic PreServerShutdown func() // ServerShutdown is called when the HTTP(S) server is shut down and done // handling all active connections and does not accept connections any more ServerShutdown func() // Custom command line argument groups with their descriptions CommandLineOptionsGroups []swag.CommandLineOptionsGroup // User defined logger function. Logger func(string, ...interface{}) // contains filtered or unexported fields }
DrDataStagerAPI Donders Repository data stager APIs
func NewDrDataStagerAPI ¶
func NewDrDataStagerAPI(spec *loads.Document) *DrDataStagerAPI
NewDrDataStagerAPI creates a new DrDataStager instance
func (*DrDataStagerAPI) AddMiddlewareFor ¶
func (o *DrDataStagerAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
AddMiddlewareFor adds a http middleware to existing handler
func (*DrDataStagerAPI) AuthenticatorsFor ¶
func (o *DrDataStagerAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*DrDataStagerAPI) Authorizer ¶
func (o *DrDataStagerAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*DrDataStagerAPI) ConsumersFor ¶
func (o *DrDataStagerAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*DrDataStagerAPI) Context ¶
func (o *DrDataStagerAPI) Context() *middleware.Context
Context returns the middleware context for the dr data stager API
func (*DrDataStagerAPI) DefaultConsumes ¶
func (o *DrDataStagerAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*DrDataStagerAPI) DefaultProduces ¶
func (o *DrDataStagerAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*DrDataStagerAPI) Formats ¶
func (o *DrDataStagerAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*DrDataStagerAPI) HandlerFor ¶
func (o *DrDataStagerAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*DrDataStagerAPI) Init ¶
func (o *DrDataStagerAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*DrDataStagerAPI) ProducersFor ¶
func (o *DrDataStagerAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*DrDataStagerAPI) RegisterConsumer ¶
func (o *DrDataStagerAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*DrDataStagerAPI) RegisterFormat ¶
func (o *DrDataStagerAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*DrDataStagerAPI) RegisterProducer ¶
func (o *DrDataStagerAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*DrDataStagerAPI) Serve ¶
func (o *DrDataStagerAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*DrDataStagerAPI) ServeErrorFor ¶
func (o *DrDataStagerAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*DrDataStagerAPI) SetDefaultConsumes ¶
func (o *DrDataStagerAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*DrDataStagerAPI) SetDefaultProduces ¶
func (o *DrDataStagerAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*DrDataStagerAPI) SetSpec ¶
func (o *DrDataStagerAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*DrDataStagerAPI) UseRedoc ¶
func (o *DrDataStagerAPI) UseRedoc()
UseRedoc for documentation at /docs
func (*DrDataStagerAPI) UseSwaggerUI ¶
func (o *DrDataStagerAPI) UseSwaggerUI()
UseSwaggerUI for documentation at /docs
func (*DrDataStagerAPI) Validate ¶
func (o *DrDataStagerAPI) Validate() error
Validate validates the registrations in the DrDataStagerAPI
type GetDacProjectNumber ¶
type GetDacProjectNumber struct { Context *middleware.Context Handler GetDacProjectNumberHandler }
GetDacProjectNumber swagger:route GET /dac/project/{number} getDacProjectNumber
retrieve the Data Acquisition Collection associated with a project
func NewGetDacProjectNumber ¶
func NewGetDacProjectNumber(ctx *middleware.Context, handler GetDacProjectNumberHandler) *GetDacProjectNumber
NewGetDacProjectNumber creates a new http.Handler for the get dac project number operation
func (*GetDacProjectNumber) ServeHTTP ¶
func (o *GetDacProjectNumber) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDacProjectNumberHandler ¶
type GetDacProjectNumberHandler interface {
Handle(GetDacProjectNumberParams) middleware.Responder
}
GetDacProjectNumberHandler interface for that can handle valid get dac project number params
type GetDacProjectNumberHandlerFunc ¶
type GetDacProjectNumberHandlerFunc func(GetDacProjectNumberParams) middleware.Responder
GetDacProjectNumberHandlerFunc turns a function with the right signature into a get dac project number handler
func (GetDacProjectNumberHandlerFunc) Handle ¶
func (fn GetDacProjectNumberHandlerFunc) Handle(params GetDacProjectNumberParams) middleware.Responder
Handle executing the request and returning a response
type GetDacProjectNumberInternalServerError ¶
type GetDacProjectNumberInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetDacProjectNumberInternalServerError failure
swagger:response getDacProjectNumberInternalServerError
func NewGetDacProjectNumberInternalServerError ¶
func NewGetDacProjectNumberInternalServerError() *GetDacProjectNumberInternalServerError
NewGetDacProjectNumberInternalServerError creates GetDacProjectNumberInternalServerError with default headers values
func (*GetDacProjectNumberInternalServerError) SetPayload ¶
func (o *GetDacProjectNumberInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get dac project number internal server error response
func (*GetDacProjectNumberInternalServerError) WithPayload ¶
func (o *GetDacProjectNumberInternalServerError) WithPayload(payload *models.ResponseBody500) *GetDacProjectNumberInternalServerError
WithPayload adds the payload to the get dac project number internal server error response
func (*GetDacProjectNumberInternalServerError) WriteResponse ¶
func (o *GetDacProjectNumberInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDacProjectNumberNotFound ¶
type GetDacProjectNumberNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetDacProjectNumberNotFound collection not found
swagger:response getDacProjectNumberNotFound
func NewGetDacProjectNumberNotFound ¶
func NewGetDacProjectNumberNotFound() *GetDacProjectNumberNotFound
NewGetDacProjectNumberNotFound creates GetDacProjectNumberNotFound with default headers values
func (*GetDacProjectNumberNotFound) SetPayload ¶
func (o *GetDacProjectNumberNotFound) SetPayload(payload string)
SetPayload sets the payload to the get dac project number not found response
func (*GetDacProjectNumberNotFound) WithPayload ¶
func (o *GetDacProjectNumberNotFound) WithPayload(payload string) *GetDacProjectNumberNotFound
WithPayload adds the payload to the get dac project number not found response
func (*GetDacProjectNumberNotFound) WriteResponse ¶
func (o *GetDacProjectNumberNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDacProjectNumberOK ¶
type GetDacProjectNumberOK struct { /* In: Body */ Payload *models.Collection `json:"body,omitempty"` }
GetDacProjectNumberOK success
swagger:response getDacProjectNumberOK
func NewGetDacProjectNumberOK ¶
func NewGetDacProjectNumberOK() *GetDacProjectNumberOK
NewGetDacProjectNumberOK creates GetDacProjectNumberOK with default headers values
func (*GetDacProjectNumberOK) SetPayload ¶
func (o *GetDacProjectNumberOK) SetPayload(payload *models.Collection)
SetPayload sets the payload to the get dac project number o k response
func (*GetDacProjectNumberOK) WithPayload ¶
func (o *GetDacProjectNumberOK) WithPayload(payload *models.Collection) *GetDacProjectNumberOK
WithPayload adds the payload to the get dac project number o k response
func (*GetDacProjectNumberOK) WriteResponse ¶
func (o *GetDacProjectNumberOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDacProjectNumberParams ¶
type GetDacProjectNumberParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*project number Required: true In: path */ Number string }
GetDacProjectNumberParams contains all the bound params for the get dac project number operation typically these are obtained from a http.Request
swagger:parameters GetDacProjectNumber
func NewGetDacProjectNumberParams ¶
func NewGetDacProjectNumberParams() GetDacProjectNumberParams
NewGetDacProjectNumberParams creates a new GetDacProjectNumberParams object
There are no default values defined in the spec.
func (*GetDacProjectNumberParams) BindRequest ¶
func (o *GetDacProjectNumberParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDacProjectNumberParams() beforehand.
type GetDacProjectNumberURL ¶
type GetDacProjectNumberURL struct { Number string // contains filtered or unexported fields }
GetDacProjectNumberURL generates an URL for the get dac project number operation
func (*GetDacProjectNumberURL) Build ¶
func (o *GetDacProjectNumberURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDacProjectNumberURL) BuildFull ¶
func (o *GetDacProjectNumberURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDacProjectNumberURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDacProjectNumberURL) SetBasePath ¶
func (o *GetDacProjectNumberURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDacProjectNumberURL) String ¶
func (o *GetDacProjectNumberURL) String() string
String returns the string representation of the path with query string
func (*GetDacProjectNumberURL) StringFull ¶
func (o *GetDacProjectNumberURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDacProjectNumberURL) WithBasePath ¶
func (o *GetDacProjectNumberURL) WithBasePath(bp string) *GetDacProjectNumberURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDir ¶
type GetDir struct { Context *middleware.Context Handler GetDirHandler }
GetDir swagger:route GET /dir getDir
get entities within a filesystem path
func NewGetDir ¶
func NewGetDir(ctx *middleware.Context, handler GetDirHandler) *GetDir
NewGetDir creates a new http.Handler for the get dir operation
type GetDirHandler ¶
type GetDirHandler interface {
Handle(GetDirParams, *models.Principal) middleware.Responder
}
GetDirHandler interface for that can handle valid get dir params
type GetDirHandlerFunc ¶
type GetDirHandlerFunc func(GetDirParams, *models.Principal) middleware.Responder
GetDirHandlerFunc turns a function with the right signature into a get dir handler
func (GetDirHandlerFunc) Handle ¶
func (fn GetDirHandlerFunc) Handle(params GetDirParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetDirInternalServerError ¶
type GetDirInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetDirInternalServerError failure
swagger:response getDirInternalServerError
func NewGetDirInternalServerError ¶
func NewGetDirInternalServerError() *GetDirInternalServerError
NewGetDirInternalServerError creates GetDirInternalServerError with default headers values
func (*GetDirInternalServerError) SetPayload ¶
func (o *GetDirInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get dir internal server error response
func (*GetDirInternalServerError) WithPayload ¶
func (o *GetDirInternalServerError) WithPayload(payload *models.ResponseBody500) *GetDirInternalServerError
WithPayload adds the payload to the get dir internal server error response
func (*GetDirInternalServerError) WriteResponse ¶
func (o *GetDirInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDirOK ¶
type GetDirOK struct { /* In: Body */ Payload *models.ResponseDirEntries `json:"body,omitempty"` }
GetDirOK success
swagger:response getDirOK
func NewGetDirOK ¶
func NewGetDirOK() *GetDirOK
NewGetDirOK creates GetDirOK with default headers values
func (*GetDirOK) SetPayload ¶
func (o *GetDirOK) SetPayload(payload *models.ResponseDirEntries)
SetPayload sets the payload to the get dir o k response
func (*GetDirOK) WithPayload ¶
func (o *GetDirOK) WithPayload(payload *models.ResponseDirEntries) *GetDirOK
WithPayload adds the payload to the get dir o k response
func (*GetDirOK) WriteResponse ¶
func (o *GetDirOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDirParams ¶
type GetDirParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*the directory Required: true In: body */ Dir *models.DirPath }
GetDirParams contains all the bound params for the get dir operation typically these are obtained from a http.Request
swagger:parameters GetDir
func NewGetDirParams ¶
func NewGetDirParams() GetDirParams
NewGetDirParams creates a new GetDirParams object
There are no default values defined in the spec.
func (*GetDirParams) BindRequest ¶
func (o *GetDirParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDirParams() beforehand.
type GetDirURL ¶
type GetDirURL struct {
// contains filtered or unexported fields
}
GetDirURL generates an URL for the get dir operation
func (*GetDirURL) SetBasePath ¶
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDirURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*GetDirURL) WithBasePath ¶
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetJobID ¶
type GetJobID struct { Context *middleware.Context Handler GetJobIDHandler }
GetJobID swagger:route GET /job/{id} getJobId
get stager job information
func NewGetJobID ¶
func NewGetJobID(ctx *middleware.Context, handler GetJobIDHandler) *GetJobID
NewGetJobID creates a new http.Handler for the get job ID operation
type GetJobIDHandler ¶
type GetJobIDHandler interface {
Handle(GetJobIDParams, *models.Principal) middleware.Responder
}
GetJobIDHandler interface for that can handle valid get job ID params
type GetJobIDHandlerFunc ¶
type GetJobIDHandlerFunc func(GetJobIDParams, *models.Principal) middleware.Responder
GetJobIDHandlerFunc turns a function with the right signature into a get job ID handler
func (GetJobIDHandlerFunc) Handle ¶
func (fn GetJobIDHandlerFunc) Handle(params GetJobIDParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetJobIDInternalServerError ¶
type GetJobIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetJobIDInternalServerError failure
swagger:response getJobIdInternalServerError
func NewGetJobIDInternalServerError ¶
func NewGetJobIDInternalServerError() *GetJobIDInternalServerError
NewGetJobIDInternalServerError creates GetJobIDInternalServerError with default headers values
func (*GetJobIDInternalServerError) SetPayload ¶
func (o *GetJobIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get job Id internal server error response
func (*GetJobIDInternalServerError) WithPayload ¶
func (o *GetJobIDInternalServerError) WithPayload(payload *models.ResponseBody500) *GetJobIDInternalServerError
WithPayload adds the payload to the get job Id internal server error response
func (*GetJobIDInternalServerError) WriteResponse ¶
func (o *GetJobIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetJobIDNotFound ¶
type GetJobIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetJobIDNotFound job not found
swagger:response getJobIdNotFound
func NewGetJobIDNotFound ¶
func NewGetJobIDNotFound() *GetJobIDNotFound
NewGetJobIDNotFound creates GetJobIDNotFound with default headers values
func (*GetJobIDNotFound) SetPayload ¶
func (o *GetJobIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the get job Id not found response
func (*GetJobIDNotFound) WithPayload ¶
func (o *GetJobIDNotFound) WithPayload(payload string) *GetJobIDNotFound
WithPayload adds the payload to the get job Id not found response
func (*GetJobIDNotFound) WriteResponse ¶
func (o *GetJobIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetJobIDOK ¶
GetJobIDOK success
swagger:response getJobIdOK
func NewGetJobIDOK ¶
func NewGetJobIDOK() *GetJobIDOK
NewGetJobIDOK creates GetJobIDOK with default headers values
func (*GetJobIDOK) SetPayload ¶
func (o *GetJobIDOK) SetPayload(payload *models.JobInfo)
SetPayload sets the payload to the get job Id o k response
func (*GetJobIDOK) WithPayload ¶
func (o *GetJobIDOK) WithPayload(payload *models.JobInfo) *GetJobIDOK
WithPayload adds the payload to the get job Id o k response
func (*GetJobIDOK) WriteResponse ¶
func (o *GetJobIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetJobIDParams ¶
type GetJobIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*job identifier Required: true In: path */ ID string }
GetJobIDParams contains all the bound params for the get job ID operation typically these are obtained from a http.Request
swagger:parameters GetJobID
func NewGetJobIDParams ¶
func NewGetJobIDParams() GetJobIDParams
NewGetJobIDParams creates a new GetJobIDParams object
There are no default values defined in the spec.
func (*GetJobIDParams) BindRequest ¶
func (o *GetJobIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetJobIDParams() beforehand.
type GetJobIDURL ¶
type GetJobIDURL struct { ID string // contains filtered or unexported fields }
GetJobIDURL generates an URL for the get job ID operation
func (*GetJobIDURL) Build ¶
func (o *GetJobIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetJobIDURL) BuildFull ¶
func (o *GetJobIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetJobIDURL) SetBasePath ¶
func (o *GetJobIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetJobIDURL) String ¶
func (o *GetJobIDURL) String() string
String returns the string representation of the path with query string
func (*GetJobIDURL) StringFull ¶
func (o *GetJobIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetJobIDURL) WithBasePath ¶
func (o *GetJobIDURL) WithBasePath(bp string) *GetJobIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetJobs ¶
type GetJobs struct { Context *middleware.Context Handler GetJobsHandler }
GetJobs swagger:route GET /jobs getJobs
get all jobs of a user
func NewGetJobs ¶
func NewGetJobs(ctx *middleware.Context, handler GetJobsHandler) *GetJobs
NewGetJobs creates a new http.Handler for the get jobs operation
type GetJobsHandler ¶
type GetJobsHandler interface {
Handle(GetJobsParams, *models.Principal) middleware.Responder
}
GetJobsHandler interface for that can handle valid get jobs params
type GetJobsHandlerFunc ¶
type GetJobsHandlerFunc func(GetJobsParams, *models.Principal) middleware.Responder
GetJobsHandlerFunc turns a function with the right signature into a get jobs handler
func (GetJobsHandlerFunc) Handle ¶
func (fn GetJobsHandlerFunc) Handle(params GetJobsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetJobsInternalServerError ¶
type GetJobsInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetJobsInternalServerError failure
swagger:response getJobsInternalServerError
func NewGetJobsInternalServerError ¶
func NewGetJobsInternalServerError() *GetJobsInternalServerError
NewGetJobsInternalServerError creates GetJobsInternalServerError with default headers values
func (*GetJobsInternalServerError) SetPayload ¶
func (o *GetJobsInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get jobs internal server error response
func (*GetJobsInternalServerError) WithPayload ¶
func (o *GetJobsInternalServerError) WithPayload(payload *models.ResponseBody500) *GetJobsInternalServerError
WithPayload adds the payload to the get jobs internal server error response
func (*GetJobsInternalServerError) WriteResponse ¶
func (o *GetJobsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetJobsOK ¶
type GetJobsOK struct { /* In: Body */ Payload *models.ResponseBodyJobs `json:"body,omitempty"` }
GetJobsOK success
swagger:response getJobsOK
func NewGetJobsOK ¶
func NewGetJobsOK() *GetJobsOK
NewGetJobsOK creates GetJobsOK with default headers values
func (*GetJobsOK) SetPayload ¶
func (o *GetJobsOK) SetPayload(payload *models.ResponseBodyJobs)
SetPayload sets the payload to the get jobs o k response
func (*GetJobsOK) WithPayload ¶
func (o *GetJobsOK) WithPayload(payload *models.ResponseBodyJobs) *GetJobsOK
WithPayload adds the payload to the get jobs o k response
func (*GetJobsOK) WriteResponse ¶
func (o *GetJobsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetJobsParams ¶
GetJobsParams contains all the bound params for the get jobs operation typically these are obtained from a http.Request
swagger:parameters GetJobs
func NewGetJobsParams ¶
func NewGetJobsParams() GetJobsParams
NewGetJobsParams creates a new GetJobsParams object
There are no default values defined in the spec.
func (*GetJobsParams) BindRequest ¶
func (o *GetJobsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetJobsParams() beforehand.
type GetJobsStatus ¶
type GetJobsStatus struct { Context *middleware.Context Handler GetJobsStatusHandler }
GetJobsStatus swagger:route GET /jobs/{status} getJobsStatus
get list of jobs at given status
func NewGetJobsStatus ¶
func NewGetJobsStatus(ctx *middleware.Context, handler GetJobsStatusHandler) *GetJobsStatus
NewGetJobsStatus creates a new http.Handler for the get jobs status operation
func (*GetJobsStatus) ServeHTTP ¶
func (o *GetJobsStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetJobsStatusHandler ¶
type GetJobsStatusHandler interface {
Handle(GetJobsStatusParams, *models.Principal) middleware.Responder
}
GetJobsStatusHandler interface for that can handle valid get jobs status params
type GetJobsStatusHandlerFunc ¶
type GetJobsStatusHandlerFunc func(GetJobsStatusParams, *models.Principal) middleware.Responder
GetJobsStatusHandlerFunc turns a function with the right signature into a get jobs status handler
func (GetJobsStatusHandlerFunc) Handle ¶
func (fn GetJobsStatusHandlerFunc) Handle(params GetJobsStatusParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetJobsStatusInternalServerError ¶
type GetJobsStatusInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetJobsStatusInternalServerError failure
swagger:response getJobsStatusInternalServerError
func NewGetJobsStatusInternalServerError ¶
func NewGetJobsStatusInternalServerError() *GetJobsStatusInternalServerError
NewGetJobsStatusInternalServerError creates GetJobsStatusInternalServerError with default headers values
func (*GetJobsStatusInternalServerError) SetPayload ¶
func (o *GetJobsStatusInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get jobs status internal server error response
func (*GetJobsStatusInternalServerError) WithPayload ¶
func (o *GetJobsStatusInternalServerError) WithPayload(payload *models.ResponseBody500) *GetJobsStatusInternalServerError
WithPayload adds the payload to the get jobs status internal server error response
func (*GetJobsStatusInternalServerError) WriteResponse ¶
func (o *GetJobsStatusInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetJobsStatusOK ¶
type GetJobsStatusOK struct { /* In: Body */ Payload *models.ResponseBodyJobs `json:"body,omitempty"` }
GetJobsStatusOK success
swagger:response getJobsStatusOK
func NewGetJobsStatusOK ¶
func NewGetJobsStatusOK() *GetJobsStatusOK
NewGetJobsStatusOK creates GetJobsStatusOK with default headers values
func (*GetJobsStatusOK) SetPayload ¶
func (o *GetJobsStatusOK) SetPayload(payload *models.ResponseBodyJobs)
SetPayload sets the payload to the get jobs status o k response
func (*GetJobsStatusOK) WithPayload ¶
func (o *GetJobsStatusOK) WithPayload(payload *models.ResponseBodyJobs) *GetJobsStatusOK
WithPayload adds the payload to the get jobs status o k response
func (*GetJobsStatusOK) WriteResponse ¶
func (o *GetJobsStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetJobsStatusParams ¶
type GetJobsStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*job status Required: true In: path */ Status string }
GetJobsStatusParams contains all the bound params for the get jobs status operation typically these are obtained from a http.Request
swagger:parameters GetJobsStatus
func NewGetJobsStatusParams ¶
func NewGetJobsStatusParams() GetJobsStatusParams
NewGetJobsStatusParams creates a new GetJobsStatusParams object
There are no default values defined in the spec.
func (*GetJobsStatusParams) BindRequest ¶
func (o *GetJobsStatusParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetJobsStatusParams() beforehand.
type GetJobsStatusURL ¶
type GetJobsStatusURL struct { Status string // contains filtered or unexported fields }
GetJobsStatusURL generates an URL for the get jobs status operation
func (*GetJobsStatusURL) Build ¶
func (o *GetJobsStatusURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetJobsStatusURL) BuildFull ¶
func (o *GetJobsStatusURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetJobsStatusURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetJobsStatusURL) SetBasePath ¶
func (o *GetJobsStatusURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetJobsStatusURL) String ¶
func (o *GetJobsStatusURL) String() string
String returns the string representation of the path with query string
func (*GetJobsStatusURL) StringFull ¶
func (o *GetJobsStatusURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetJobsStatusURL) WithBasePath ¶
func (o *GetJobsStatusURL) WithBasePath(bp string) *GetJobsStatusURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetJobsURL ¶
type GetJobsURL struct {
// contains filtered or unexported fields
}
GetJobsURL generates an URL for the get jobs operation
func (*GetJobsURL) Build ¶
func (o *GetJobsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetJobsURL) BuildFull ¶
func (o *GetJobsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetJobsURL) SetBasePath ¶
func (o *GetJobsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetJobsURL) String ¶
func (o *GetJobsURL) String() string
String returns the string representation of the path with query string
func (*GetJobsURL) StringFull ¶
func (o *GetJobsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetJobsURL) WithBasePath ¶
func (o *GetJobsURL) WithBasePath(bp string) *GetJobsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetPing ¶
type GetPing struct { Context *middleware.Context Handler GetPingHandler }
GetPing swagger:route GET /ping getPing
check API server health
func NewGetPing ¶
func NewGetPing(ctx *middleware.Context, handler GetPingHandler) *GetPing
NewGetPing creates a new http.Handler for the get ping operation
type GetPingHandler ¶
type GetPingHandler interface {
Handle(GetPingParams) middleware.Responder
}
GetPingHandler interface for that can handle valid get ping params
type GetPingHandlerFunc ¶
type GetPingHandlerFunc func(GetPingParams) middleware.Responder
GetPingHandlerFunc turns a function with the right signature into a get ping handler
func (GetPingHandlerFunc) Handle ¶
func (fn GetPingHandlerFunc) Handle(params GetPingParams) middleware.Responder
Handle executing the request and returning a response
type GetPingInternalServerError ¶
type GetPingInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
GetPingInternalServerError failure
swagger:response getPingInternalServerError
func NewGetPingInternalServerError ¶
func NewGetPingInternalServerError() *GetPingInternalServerError
NewGetPingInternalServerError creates GetPingInternalServerError with default headers values
func (*GetPingInternalServerError) SetPayload ¶
func (o *GetPingInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the get ping internal server error response
func (*GetPingInternalServerError) WithPayload ¶
func (o *GetPingInternalServerError) WithPayload(payload *models.ResponseBody500) *GetPingInternalServerError
WithPayload adds the payload to the get ping internal server error response
func (*GetPingInternalServerError) WriteResponse ¶
func (o *GetPingInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPingOK ¶
type GetPingOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetPingOK success
swagger:response getPingOK
func NewGetPingOK ¶
func NewGetPingOK() *GetPingOK
NewGetPingOK creates GetPingOK with default headers values
func (*GetPingOK) SetPayload ¶
SetPayload sets the payload to the get ping o k response
func (*GetPingOK) WithPayload ¶
WithPayload adds the payload to the get ping o k response
func (*GetPingOK) WriteResponse ¶
func (o *GetPingOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPingParams ¶
GetPingParams contains all the bound params for the get ping operation typically these are obtained from a http.Request
swagger:parameters GetPing
func NewGetPingParams ¶
func NewGetPingParams() GetPingParams
NewGetPingParams creates a new GetPingParams object
There are no default values defined in the spec.
func (*GetPingParams) BindRequest ¶
func (o *GetPingParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetPingParams() beforehand.
type GetPingURL ¶
type GetPingURL struct {
// contains filtered or unexported fields
}
GetPingURL generates an URL for the get ping operation
func (*GetPingURL) Build ¶
func (o *GetPingURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPingURL) BuildFull ¶
func (o *GetPingURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPingURL) SetBasePath ¶
func (o *GetPingURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetPingURL) String ¶
func (o *GetPingURL) String() string
String returns the string representation of the path with query string
func (*GetPingURL) StringFull ¶
func (o *GetPingURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPingURL) WithBasePath ¶
func (o *GetPingURL) WithBasePath(bp string) *GetPingURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostJob ¶
type PostJob struct { Context *middleware.Context Handler PostJobHandler }
PostJob swagger:route POST /job postJob
create a new stager job
func NewPostJob ¶
func NewPostJob(ctx *middleware.Context, handler PostJobHandler) *PostJob
NewPostJob creates a new http.Handler for the post job operation
type PostJobHandler ¶
type PostJobHandler interface {
Handle(PostJobParams, *models.Principal) middleware.Responder
}
PostJobHandler interface for that can handle valid post job params
type PostJobHandlerFunc ¶
type PostJobHandlerFunc func(PostJobParams, *models.Principal) middleware.Responder
PostJobHandlerFunc turns a function with the right signature into a post job handler
func (PostJobHandlerFunc) Handle ¶
func (fn PostJobHandlerFunc) Handle(params PostJobParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostJobInternalServerError ¶
type PostJobInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
PostJobInternalServerError failure
swagger:response postJobInternalServerError
func NewPostJobInternalServerError ¶
func NewPostJobInternalServerError() *PostJobInternalServerError
NewPostJobInternalServerError creates PostJobInternalServerError with default headers values
func (*PostJobInternalServerError) SetPayload ¶
func (o *PostJobInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the post job internal server error response
func (*PostJobInternalServerError) WithPayload ¶
func (o *PostJobInternalServerError) WithPayload(payload *models.ResponseBody500) *PostJobInternalServerError
WithPayload adds the payload to the post job internal server error response
func (*PostJobInternalServerError) WriteResponse ¶
func (o *PostJobInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostJobOK ¶
PostJobOK success
swagger:response postJobOK
func NewPostJobOK ¶
func NewPostJobOK() *PostJobOK
NewPostJobOK creates PostJobOK with default headers values
func (*PostJobOK) SetPayload ¶
SetPayload sets the payload to the post job o k response
func (*PostJobOK) WithPayload ¶
WithPayload adds the payload to the post job o k response
func (*PostJobOK) WriteResponse ¶
func (o *PostJobOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostJobParams ¶
type PostJobParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*stager job data Required: true In: body */ Data *models.JobData }
PostJobParams contains all the bound params for the post job operation typically these are obtained from a http.Request
swagger:parameters PostJob
func NewPostJobParams ¶
func NewPostJobParams() PostJobParams
NewPostJobParams creates a new PostJobParams object
There are no default values defined in the spec.
func (*PostJobParams) BindRequest ¶
func (o *PostJobParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostJobParams() beforehand.
type PostJobURL ¶
type PostJobURL struct {
// contains filtered or unexported fields
}
PostJobURL generates an URL for the post job operation
func (*PostJobURL) Build ¶
func (o *PostJobURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostJobURL) BuildFull ¶
func (o *PostJobURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostJobURL) SetBasePath ¶
func (o *PostJobURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostJobURL) String ¶
func (o *PostJobURL) String() string
String returns the string representation of the path with query string
func (*PostJobURL) StringFull ¶
func (o *PostJobURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostJobURL) WithBasePath ¶
func (o *PostJobURL) WithBasePath(bp string) *PostJobURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostJobs ¶
type PostJobs struct { Context *middleware.Context Handler PostJobsHandler }
PostJobs swagger:route POST /jobs postJobs
create multiple new stager jobs
func NewPostJobs ¶
func NewPostJobs(ctx *middleware.Context, handler PostJobsHandler) *PostJobs
NewPostJobs creates a new http.Handler for the post jobs operation
type PostJobsHandler ¶
type PostJobsHandler interface {
Handle(PostJobsParams, *models.Principal) middleware.Responder
}
PostJobsHandler interface for that can handle valid post jobs params
type PostJobsHandlerFunc ¶
type PostJobsHandlerFunc func(PostJobsParams, *models.Principal) middleware.Responder
PostJobsHandlerFunc turns a function with the right signature into a post jobs handler
func (PostJobsHandlerFunc) Handle ¶
func (fn PostJobsHandlerFunc) Handle(params PostJobsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PostJobsInternalServerError ¶
type PostJobsInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
PostJobsInternalServerError failure
swagger:response postJobsInternalServerError
func NewPostJobsInternalServerError ¶
func NewPostJobsInternalServerError() *PostJobsInternalServerError
NewPostJobsInternalServerError creates PostJobsInternalServerError with default headers values
func (*PostJobsInternalServerError) SetPayload ¶
func (o *PostJobsInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the post jobs internal server error response
func (*PostJobsInternalServerError) WithPayload ¶
func (o *PostJobsInternalServerError) WithPayload(payload *models.ResponseBody500) *PostJobsInternalServerError
WithPayload adds the payload to the post jobs internal server error response
func (*PostJobsInternalServerError) WriteResponse ¶
func (o *PostJobsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostJobsMultiStatus ¶
type PostJobsMultiStatus struct { /* In: Body */ Payload *models.ResponseBodyJobs `json:"body,omitempty"` }
PostJobsMultiStatus multi-status
swagger:response postJobsMultiStatus
func NewPostJobsMultiStatus ¶
func NewPostJobsMultiStatus() *PostJobsMultiStatus
NewPostJobsMultiStatus creates PostJobsMultiStatus with default headers values
func (*PostJobsMultiStatus) SetPayload ¶
func (o *PostJobsMultiStatus) SetPayload(payload *models.ResponseBodyJobs)
SetPayload sets the payload to the post jobs multi status response
func (*PostJobsMultiStatus) WithPayload ¶
func (o *PostJobsMultiStatus) WithPayload(payload *models.ResponseBodyJobs) *PostJobsMultiStatus
WithPayload adds the payload to the post jobs multi status response
func (*PostJobsMultiStatus) WriteResponse ¶
func (o *PostJobsMultiStatus) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostJobsOK ¶
type PostJobsOK struct { /* In: Body */ Payload *models.ResponseBodyJobs `json:"body,omitempty"` }
PostJobsOK success
swagger:response postJobsOK
func NewPostJobsOK ¶
func NewPostJobsOK() *PostJobsOK
NewPostJobsOK creates PostJobsOK with default headers values
func (*PostJobsOK) SetPayload ¶
func (o *PostJobsOK) SetPayload(payload *models.ResponseBodyJobs)
SetPayload sets the payload to the post jobs o k response
func (*PostJobsOK) WithPayload ¶
func (o *PostJobsOK) WithPayload(payload *models.ResponseBodyJobs) *PostJobsOK
WithPayload adds the payload to the post jobs o k response
func (*PostJobsOK) WriteResponse ¶
func (o *PostJobsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostJobsParams ¶
type PostJobsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*stager job data Required: true In: body */ Data *models.RequestBodyJobs }
PostJobsParams contains all the bound params for the post jobs operation typically these are obtained from a http.Request
swagger:parameters PostJobs
func NewPostJobsParams ¶
func NewPostJobsParams() PostJobsParams
NewPostJobsParams creates a new PostJobsParams object
There are no default values defined in the spec.
func (*PostJobsParams) BindRequest ¶
func (o *PostJobsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostJobsParams() beforehand.
type PostJobsURL ¶
type PostJobsURL struct {
// contains filtered or unexported fields
}
PostJobsURL generates an URL for the post jobs operation
func (*PostJobsURL) Build ¶
func (o *PostJobsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostJobsURL) BuildFull ¶
func (o *PostJobsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostJobsURL) SetBasePath ¶
func (o *PostJobsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostJobsURL) String ¶
func (o *PostJobsURL) String() string
String returns the string representation of the path with query string
func (*PostJobsURL) StringFull ¶
func (o *PostJobsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostJobsURL) WithBasePath ¶
func (o *PostJobsURL) WithBasePath(bp string) *PostJobsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutJobScheduledID ¶
type PutJobScheduledID struct { Context *middleware.Context Handler PutJobScheduledIDHandler }
PutJobScheduledID swagger:route PUT /job/scheduled/{id} putJobScheduledId
reschedule a job in completed or archived state
func NewPutJobScheduledID ¶
func NewPutJobScheduledID(ctx *middleware.Context, handler PutJobScheduledIDHandler) *PutJobScheduledID
NewPutJobScheduledID creates a new http.Handler for the put job scheduled ID operation
func (*PutJobScheduledID) ServeHTTP ¶
func (o *PutJobScheduledID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutJobScheduledIDBadRequest ¶
type PutJobScheduledIDBadRequest struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PutJobScheduledIDBadRequest bad request
swagger:response putJobScheduledIdBadRequest
func NewPutJobScheduledIDBadRequest ¶
func NewPutJobScheduledIDBadRequest() *PutJobScheduledIDBadRequest
NewPutJobScheduledIDBadRequest creates PutJobScheduledIDBadRequest with default headers values
func (*PutJobScheduledIDBadRequest) SetPayload ¶
func (o *PutJobScheduledIDBadRequest) SetPayload(payload string)
SetPayload sets the payload to the put job scheduled Id bad request response
func (*PutJobScheduledIDBadRequest) WithPayload ¶
func (o *PutJobScheduledIDBadRequest) WithPayload(payload string) *PutJobScheduledIDBadRequest
WithPayload adds the payload to the put job scheduled Id bad request response
func (*PutJobScheduledIDBadRequest) WriteResponse ¶
func (o *PutJobScheduledIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutJobScheduledIDHandler ¶
type PutJobScheduledIDHandler interface {
Handle(PutJobScheduledIDParams, *models.Principal) middleware.Responder
}
PutJobScheduledIDHandler interface for that can handle valid put job scheduled ID params
type PutJobScheduledIDHandlerFunc ¶
type PutJobScheduledIDHandlerFunc func(PutJobScheduledIDParams, *models.Principal) middleware.Responder
PutJobScheduledIDHandlerFunc turns a function with the right signature into a put job scheduled ID handler
func (PutJobScheduledIDHandlerFunc) Handle ¶
func (fn PutJobScheduledIDHandlerFunc) Handle(params PutJobScheduledIDParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type PutJobScheduledIDInternalServerError ¶
type PutJobScheduledIDInternalServerError struct { /* In: Body */ Payload *models.ResponseBody500 `json:"body,omitempty"` }
PutJobScheduledIDInternalServerError failure
swagger:response putJobScheduledIdInternalServerError
func NewPutJobScheduledIDInternalServerError ¶
func NewPutJobScheduledIDInternalServerError() *PutJobScheduledIDInternalServerError
NewPutJobScheduledIDInternalServerError creates PutJobScheduledIDInternalServerError with default headers values
func (*PutJobScheduledIDInternalServerError) SetPayload ¶
func (o *PutJobScheduledIDInternalServerError) SetPayload(payload *models.ResponseBody500)
SetPayload sets the payload to the put job scheduled Id internal server error response
func (*PutJobScheduledIDInternalServerError) WithPayload ¶
func (o *PutJobScheduledIDInternalServerError) WithPayload(payload *models.ResponseBody500) *PutJobScheduledIDInternalServerError
WithPayload adds the payload to the put job scheduled Id internal server error response
func (*PutJobScheduledIDInternalServerError) WriteResponse ¶
func (o *PutJobScheduledIDInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutJobScheduledIDNotFound ¶
type PutJobScheduledIDNotFound struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PutJobScheduledIDNotFound job not found
swagger:response putJobScheduledIdNotFound
func NewPutJobScheduledIDNotFound ¶
func NewPutJobScheduledIDNotFound() *PutJobScheduledIDNotFound
NewPutJobScheduledIDNotFound creates PutJobScheduledIDNotFound with default headers values
func (*PutJobScheduledIDNotFound) SetPayload ¶
func (o *PutJobScheduledIDNotFound) SetPayload(payload string)
SetPayload sets the payload to the put job scheduled Id not found response
func (*PutJobScheduledIDNotFound) WithPayload ¶
func (o *PutJobScheduledIDNotFound) WithPayload(payload string) *PutJobScheduledIDNotFound
WithPayload adds the payload to the put job scheduled Id not found response
func (*PutJobScheduledIDNotFound) WriteResponse ¶
func (o *PutJobScheduledIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutJobScheduledIDOK ¶
PutJobScheduledIDOK success
swagger:response putJobScheduledIdOK
func NewPutJobScheduledIDOK ¶
func NewPutJobScheduledIDOK() *PutJobScheduledIDOK
NewPutJobScheduledIDOK creates PutJobScheduledIDOK with default headers values
func (*PutJobScheduledIDOK) SetPayload ¶
func (o *PutJobScheduledIDOK) SetPayload(payload *models.JobInfo)
SetPayload sets the payload to the put job scheduled Id o k response
func (*PutJobScheduledIDOK) WithPayload ¶
func (o *PutJobScheduledIDOK) WithPayload(payload *models.JobInfo) *PutJobScheduledIDOK
WithPayload adds the payload to the put job scheduled Id o k response
func (*PutJobScheduledIDOK) WriteResponse ¶
func (o *PutJobScheduledIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutJobScheduledIDParams ¶
type PutJobScheduledIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*job id Required: true In: path */ ID string }
PutJobScheduledIDParams contains all the bound params for the put job scheduled ID operation typically these are obtained from a http.Request
swagger:parameters PutJobScheduledID
func NewPutJobScheduledIDParams ¶
func NewPutJobScheduledIDParams() PutJobScheduledIDParams
NewPutJobScheduledIDParams creates a new PutJobScheduledIDParams object
There are no default values defined in the spec.
func (*PutJobScheduledIDParams) BindRequest ¶
func (o *PutJobScheduledIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutJobScheduledIDParams() beforehand.
type PutJobScheduledIDURL ¶
type PutJobScheduledIDURL struct { ID string // contains filtered or unexported fields }
PutJobScheduledIDURL generates an URL for the put job scheduled ID operation
func (*PutJobScheduledIDURL) Build ¶
func (o *PutJobScheduledIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutJobScheduledIDURL) BuildFull ¶
func (o *PutJobScheduledIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutJobScheduledIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutJobScheduledIDURL) SetBasePath ¶
func (o *PutJobScheduledIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutJobScheduledIDURL) String ¶
func (o *PutJobScheduledIDURL) String() string
String returns the string representation of the path with query string
func (*PutJobScheduledIDURL) StringFull ¶
func (o *PutJobScheduledIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutJobScheduledIDURL) WithBasePath ¶
func (o *PutJobScheduledIDURL) WithBasePath(bp string) *PutJobScheduledIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- delete_job_id.go
- delete_job_id_parameters.go
- delete_job_id_responses.go
- delete_job_id_urlbuilder.go
- dr_data_stager_api.go
- get_dac_project_number.go
- get_dac_project_number_parameters.go
- get_dac_project_number_responses.go
- get_dac_project_number_urlbuilder.go
- get_dir.go
- get_dir_parameters.go
- get_dir_responses.go
- get_dir_urlbuilder.go
- get_job_id.go
- get_job_id_parameters.go
- get_job_id_responses.go
- get_job_id_urlbuilder.go
- get_jobs.go
- get_jobs_parameters.go
- get_jobs_responses.go
- get_jobs_status.go
- get_jobs_status_parameters.go
- get_jobs_status_responses.go
- get_jobs_status_urlbuilder.go
- get_jobs_urlbuilder.go
- get_ping.go
- get_ping_parameters.go
- get_ping_responses.go
- get_ping_urlbuilder.go
- post_job.go
- post_job_parameters.go
- post_job_responses.go
- post_job_urlbuilder.go
- post_jobs.go
- post_jobs_parameters.go
- post_jobs_responses.go
- post_jobs_urlbuilder.go
- put_job_scheduled_id.go
- put_job_scheduled_id_parameters.go
- put_job_scheduled_id_responses.go
- put_job_scheduled_id_urlbuilder.go