southbound

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const GetJobsBadRequestCode int = 400

GetJobsBadRequestCode is the HTTP code returned for type GetJobsBadRequest

View Source
const GetJobsEventsBadRequestCode int = 400

GetJobsEventsBadRequestCode is the HTTP code returned for type GetJobsEventsBadRequest

View Source
const GetJobsEventsNotFoundCode int = 404

GetJobsEventsNotFoundCode is the HTTP code returned for type GetJobsEventsNotFound

View Source
const GetJobsEventsOKCode int = 200

GetJobsEventsOKCode is the HTTP code returned for type GetJobsEventsOK

View Source
const GetJobsIDBadRequestCode int = 400

GetJobsIDBadRequestCode is the HTTP code returned for type GetJobsIDBadRequest

View Source
const GetJobsIDDefinitionNotFoundCode int = 404

GetJobsIDDefinitionNotFoundCode is the HTTP code returned for type GetJobsIDDefinitionNotFound

View Source
const GetJobsIDDefinitionOKCode int = 200

GetJobsIDDefinitionOKCode is the HTTP code returned for type GetJobsIDDefinitionOK

View Source
const GetJobsIDNotFoundCode int = 404

GetJobsIDNotFoundCode is the HTTP code returned for type GetJobsIDNotFound

View Source
const GetJobsIDOKCode int = 200

GetJobsIDOKCode is the HTTP code returned for type GetJobsIDOK

View Source
const GetJobsIDStatusNotFoundCode int = 404

GetJobsIDStatusNotFoundCode is the HTTP code returned for type GetJobsIDStatusNotFound

View Source
const GetJobsIDStatusOKCode int = 200

GetJobsIDStatusOKCode is the HTTP code returned for type GetJobsIDStatusOK

View Source
const GetJobsIDTagsNotFoundCode int = 404

GetJobsIDTagsNotFoundCode is the HTTP code returned for type GetJobsIDTagsNotFound

View Source
const GetJobsIDTagsOKCode int = 200

GetJobsIDTagsOKCode is the HTTP code returned for type GetJobsIDTagsOK

View Source
const GetJobsOKCode int = 200

GetJobsOKCode is the HTTP code returned for type GetJobsOK

View Source
const GetWorkflowsNameBadRequestCode int = 400

GetWorkflowsNameBadRequestCode is the HTTP code returned for type GetWorkflowsNameBadRequest

View Source
const GetWorkflowsNameNotFoundCode int = 404

GetWorkflowsNameNotFoundCode is the HTTP code returned for type GetWorkflowsNameNotFound

View Source
const GetWorkflowsNameOKCode int = 200

GetWorkflowsNameOKCode is the HTTP code returned for type GetWorkflowsNameOK

View Source
const GetWorkflowsOKCode int = 200

GetWorkflowsOKCode is the HTTP code returned for type GetWorkflowsOK

View Source
const PutJobsIDDefinitionBadRequestCode int = 400

PutJobsIDDefinitionBadRequestCode is the HTTP code returned for type PutJobsIDDefinitionBadRequest

View Source
const PutJobsIDDefinitionNotFoundCode int = 404

PutJobsIDDefinitionNotFoundCode is the HTTP code returned for type PutJobsIDDefinitionNotFound

View Source
const PutJobsIDDefinitionOKCode int = 200

PutJobsIDDefinitionOKCode is the HTTP code returned for type PutJobsIDDefinitionOK

View Source
const PutJobsIDStatusBadRequestCode int = 400

PutJobsIDStatusBadRequestCode is the HTTP code returned for type PutJobsIDStatusBadRequest

View Source
const PutJobsIDStatusNotFoundCode int = 404

PutJobsIDStatusNotFoundCode is the HTTP code returned for type PutJobsIDStatusNotFound

View Source
const PutJobsIDStatusOKCode int = 200

PutJobsIDStatusOKCode is the HTTP code returned for type PutJobsIDStatusOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetJobs

type GetJobs struct {
	Context *middleware.Context
	Handler GetJobsHandler
}
GetJobs swagger:route GET /jobs southbound getJobs

List of job descriptions

List of job descriptions By default, this endpoint returns the list of jobs in a specific order and predetermined paging properties. These defaults are:

  • Ascending sort on stime
  • 10 entries per page

func NewGetJobs

func NewGetJobs(ctx *middleware.Context, handler GetJobsHandler) *GetJobs

NewGetJobs creates a new http.Handler for the get jobs operation

func (*GetJobs) ServeHTTP

func (o *GetJobs) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetJobsBadRequest

type GetJobsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsBadRequest If request is invalid

swagger:response getJobsBadRequest

func NewGetJobsBadRequest

func NewGetJobsBadRequest() *GetJobsBadRequest

NewGetJobsBadRequest creates GetJobsBadRequest with default headers values

func (*GetJobsBadRequest) SetPayload

func (o *GetJobsBadRequest) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs bad request response

func (*GetJobsBadRequest) WithPayload

func (o *GetJobsBadRequest) WithPayload(payload *model.ErrorResponse) *GetJobsBadRequest

WithPayload adds the payload to the get jobs bad request response

func (*GetJobsBadRequest) WriteResponse

func (o *GetJobsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsDefault

type GetJobsDefault struct {
	// contains filtered or unexported fields
}

GetJobsDefault Other error with any status code and response body format.

swagger:response getJobsDefault

func NewGetJobsDefault

func NewGetJobsDefault(code int) *GetJobsDefault

NewGetJobsDefault creates GetJobsDefault with default headers values

func (*GetJobsDefault) SetStatusCode

func (o *GetJobsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get jobs default response

func (*GetJobsDefault) WithStatusCode

func (o *GetJobsDefault) WithStatusCode(code int) *GetJobsDefault

WithStatusCode adds the status to the get jobs default response

func (*GetJobsDefault) WriteResponse

func (o *GetJobsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsEvents added in v0.2.0

type GetJobsEvents struct {
	Context *middleware.Context
	Handler GetJobsEventsHandler
}
GetJobsEvents swagger:route GET /jobs/events southbound getJobsEvents

Obtain instant notifications when there are job changes matching the criteria. This endpoint utilizes server-sent events (SSE), where responses are "chunked" with double newline breaks. For example, a single event might look like this:

data: {"clientId":"example_client","state":"INSTALLING"}\n\n

func NewGetJobsEvents added in v0.2.0

func NewGetJobsEvents(ctx *middleware.Context, handler GetJobsEventsHandler) *GetJobsEvents

NewGetJobsEvents creates a new http.Handler for the get jobs events operation

func (*GetJobsEvents) ServeHTTP added in v0.2.0

func (o *GetJobsEvents) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetJobsEventsBadRequest added in v0.2.0

type GetJobsEventsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsEventsBadRequest Bad Request

swagger:response getJobsEventsBadRequest

func NewGetJobsEventsBadRequest added in v0.2.0

func NewGetJobsEventsBadRequest() *GetJobsEventsBadRequest

NewGetJobsEventsBadRequest creates GetJobsEventsBadRequest with default headers values

func (*GetJobsEventsBadRequest) SetPayload added in v0.2.0

func (o *GetJobsEventsBadRequest) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs events bad request response

func (*GetJobsEventsBadRequest) WithPayload added in v0.2.0

WithPayload adds the payload to the get jobs events bad request response

func (*GetJobsEventsBadRequest) WriteResponse added in v0.2.0

func (o *GetJobsEventsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsEventsDefault added in v0.2.0

type GetJobsEventsDefault struct {
	// contains filtered or unexported fields
}

GetJobsEventsDefault Other error with any status code and response body format

swagger:response getJobsEventsDefault

func NewGetJobsEventsDefault added in v0.2.0

func NewGetJobsEventsDefault(code int) *GetJobsEventsDefault

NewGetJobsEventsDefault creates GetJobsEventsDefault with default headers values

func (*GetJobsEventsDefault) SetStatusCode added in v0.2.0

func (o *GetJobsEventsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get jobs events default response

func (*GetJobsEventsDefault) WithStatusCode added in v0.2.0

func (o *GetJobsEventsDefault) WithStatusCode(code int) *GetJobsEventsDefault

WithStatusCode adds the status to the get jobs events default response

func (*GetJobsEventsDefault) WriteResponse added in v0.2.0

func (o *GetJobsEventsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsEventsHandler added in v0.2.0

type GetJobsEventsHandler interface {
	Handle(GetJobsEventsParams) middleware.Responder
}

GetJobsEventsHandler interface for that can handle valid get jobs events params

type GetJobsEventsHandlerFunc added in v0.2.0

type GetJobsEventsHandlerFunc func(GetJobsEventsParams) middleware.Responder

GetJobsEventsHandlerFunc turns a function with the right signature into a get jobs events handler

func (GetJobsEventsHandlerFunc) Handle added in v0.2.0

Handle executing the request and returning a response

type GetJobsEventsNotFound added in v0.2.0

type GetJobsEventsNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsEventsNotFound Not Found

swagger:response getJobsEventsNotFound

func NewGetJobsEventsNotFound added in v0.2.0

func NewGetJobsEventsNotFound() *GetJobsEventsNotFound

NewGetJobsEventsNotFound creates GetJobsEventsNotFound with default headers values

func (*GetJobsEventsNotFound) SetPayload added in v0.2.0

func (o *GetJobsEventsNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs events not found response

func (*GetJobsEventsNotFound) WithPayload added in v0.2.0

WithPayload adds the payload to the get jobs events not found response

func (*GetJobsEventsNotFound) WriteResponse added in v0.2.0

func (o *GetJobsEventsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsEventsOK added in v0.2.0

type GetJobsEventsOK struct {
}

GetJobsEventsOK A stream of server-sent events

swagger:response getJobsEventsOK

func NewGetJobsEventsOK added in v0.2.0

func NewGetJobsEventsOK() *GetJobsEventsOK

NewGetJobsEventsOK creates GetJobsEventsOK with default headers values

func (*GetJobsEventsOK) WriteResponse added in v0.2.0

func (o *GetJobsEventsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsEventsParams added in v0.2.0

type GetJobsEventsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The job's clientId must be one of these clientIds (comma-separated).
	  In: query
	*/
	ClientIds *string
	/*The job's id must be one of these ids (comma-separated).
	  In: query
	*/
	JobIds *string
	/*A (comma-separated) list of tags to include into each job event. This can be used to aggregrate events from multiple wfx instances.

	  In: query
	*/
	Tags *string
	/*The job's workflow must be equal to one of the provided workflow names (comma-separated).
	  In: query
	*/
	Workflows *string
}

GetJobsEventsParams contains all the bound params for the get jobs events operation typically these are obtained from a http.Request

swagger:parameters GetJobsEvents

func NewGetJobsEventsParams added in v0.2.0

func NewGetJobsEventsParams() GetJobsEventsParams

NewGetJobsEventsParams creates a new GetJobsEventsParams object

There are no default values defined in the spec.

func (*GetJobsEventsParams) BindRequest added in v0.2.0

func (o *GetJobsEventsParams) 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 NewGetJobsEventsParams() beforehand.

type GetJobsEventsURL added in v0.2.0

type GetJobsEventsURL struct {
	ClientIds *string
	JobIds    *string
	Tags      *string
	Workflows *string
	// contains filtered or unexported fields
}

GetJobsEventsURL generates an URL for the get jobs events operation

func (*GetJobsEventsURL) Build added in v0.2.0

func (o *GetJobsEventsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetJobsEventsURL) BuildFull added in v0.2.0

func (o *GetJobsEventsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetJobsEventsURL) Must added in v0.2.0

func (o *GetJobsEventsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetJobsEventsURL) SetBasePath added in v0.2.0

func (o *GetJobsEventsURL) 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 (*GetJobsEventsURL) String added in v0.2.0

func (o *GetJobsEventsURL) String() string

String returns the string representation of the path with query string

func (*GetJobsEventsURL) StringFull added in v0.2.0

func (o *GetJobsEventsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetJobsEventsURL) WithBasePath added in v0.2.0

func (o *GetJobsEventsURL) WithBasePath(bp string) *GetJobsEventsURL

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 GetJobsHandler

type GetJobsHandler interface {
	Handle(GetJobsParams) middleware.Responder
}

GetJobsHandler interface for that can handle valid get jobs params

type GetJobsHandlerFunc

type GetJobsHandlerFunc func(GetJobsParams) middleware.Responder

GetJobsHandlerFunc turns a function with the right signature into a get jobs handler

func (GetJobsHandlerFunc) Handle

Handle executing the request and returning a response

type GetJobsID

type GetJobsID struct {
	Context *middleware.Context
	Handler GetJobsIDHandler
}
GetJobsID swagger:route GET /jobs/{id} southbound getJobsId

Job description for a given ID

Job description for a given ID

func NewGetJobsID

func NewGetJobsID(ctx *middleware.Context, handler GetJobsIDHandler) *GetJobsID

NewGetJobsID creates a new http.Handler for the get jobs ID operation

func (*GetJobsID) ServeHTTP

func (o *GetJobsID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetJobsIDBadRequest

type GetJobsIDBadRequest struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsIDBadRequest Bad Request

swagger:response getJobsIdBadRequest

func NewGetJobsIDBadRequest

func NewGetJobsIDBadRequest() *GetJobsIDBadRequest

NewGetJobsIDBadRequest creates GetJobsIDBadRequest with default headers values

func (*GetJobsIDBadRequest) SetPayload

func (o *GetJobsIDBadRequest) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs Id bad request response

func (*GetJobsIDBadRequest) WithPayload

func (o *GetJobsIDBadRequest) WithPayload(payload *model.ErrorResponse) *GetJobsIDBadRequest

WithPayload adds the payload to the get jobs Id bad request response

func (*GetJobsIDBadRequest) WriteResponse

func (o *GetJobsIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDDefault

type GetJobsIDDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDDefault Other error with any status code and response body format.

swagger:response getJobsIdDefault

func NewGetJobsIDDefault

func NewGetJobsIDDefault(code int) *GetJobsIDDefault

NewGetJobsIDDefault creates GetJobsIDDefault with default headers values

func (*GetJobsIDDefault) SetStatusCode

func (o *GetJobsIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get jobs ID default response

func (*GetJobsIDDefault) WithStatusCode

func (o *GetJobsIDDefault) WithStatusCode(code int) *GetJobsIDDefault

WithStatusCode adds the status to the get jobs ID default response

func (*GetJobsIDDefault) WriteResponse

func (o *GetJobsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDDefinition

type GetJobsIDDefinition struct {
	Context *middleware.Context
	Handler GetJobsIDDefinitionHandler
}
GetJobsIDDefinition swagger:route GET /jobs/{id}/definition southbound getJobsIdDefinition

Get job definition

Retrieve the job definition

func NewGetJobsIDDefinition

func NewGetJobsIDDefinition(ctx *middleware.Context, handler GetJobsIDDefinitionHandler) *GetJobsIDDefinition

NewGetJobsIDDefinition creates a new http.Handler for the get jobs ID definition operation

func (*GetJobsIDDefinition) ServeHTTP

func (o *GetJobsIDDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetJobsIDDefinitionDefault

type GetJobsIDDefinitionDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDDefinitionDefault Other error with any status code and response body format.

swagger:response getJobsIdDefinitionDefault

func NewGetJobsIDDefinitionDefault

func NewGetJobsIDDefinitionDefault(code int) *GetJobsIDDefinitionDefault

NewGetJobsIDDefinitionDefault creates GetJobsIDDefinitionDefault with default headers values

func (*GetJobsIDDefinitionDefault) SetStatusCode

func (o *GetJobsIDDefinitionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get jobs ID definition default response

func (*GetJobsIDDefinitionDefault) WithStatusCode

WithStatusCode adds the status to the get jobs ID definition default response

func (*GetJobsIDDefinitionDefault) WriteResponse

func (o *GetJobsIDDefinitionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDDefinitionHandler

type GetJobsIDDefinitionHandler interface {
	Handle(GetJobsIDDefinitionParams) middleware.Responder
}

GetJobsIDDefinitionHandler interface for that can handle valid get jobs ID definition params

type GetJobsIDDefinitionHandlerFunc

type GetJobsIDDefinitionHandlerFunc func(GetJobsIDDefinitionParams) middleware.Responder

GetJobsIDDefinitionHandlerFunc turns a function with the right signature into a get jobs ID definition handler

func (GetJobsIDDefinitionHandlerFunc) Handle

Handle executing the request and returning a response

type GetJobsIDDefinitionNotFound

type GetJobsIDDefinitionNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsIDDefinitionNotFound Not Found

swagger:response getJobsIdDefinitionNotFound

func NewGetJobsIDDefinitionNotFound

func NewGetJobsIDDefinitionNotFound() *GetJobsIDDefinitionNotFound

NewGetJobsIDDefinitionNotFound creates GetJobsIDDefinitionNotFound with default headers values

func (*GetJobsIDDefinitionNotFound) SetPayload

func (o *GetJobsIDDefinitionNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs Id definition not found response

func (*GetJobsIDDefinitionNotFound) WithPayload

WithPayload adds the payload to the get jobs Id definition not found response

func (*GetJobsIDDefinitionNotFound) WriteResponse

func (o *GetJobsIDDefinitionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDDefinitionOK

type GetJobsIDDefinitionOK struct {

	/*
	  In: Body
	*/
	Payload map[string]interface{} `json:"body,omitempty"`
}

GetJobsIDDefinitionOK Job definition

swagger:response getJobsIdDefinitionOK

func NewGetJobsIDDefinitionOK

func NewGetJobsIDDefinitionOK() *GetJobsIDDefinitionOK

NewGetJobsIDDefinitionOK creates GetJobsIDDefinitionOK with default headers values

func (*GetJobsIDDefinitionOK) SetPayload

func (o *GetJobsIDDefinitionOK) SetPayload(payload map[string]interface{})

SetPayload sets the payload to the get jobs Id definition o k response

func (*GetJobsIDDefinitionOK) WithPayload

func (o *GetJobsIDDefinitionOK) WithPayload(payload map[string]interface{}) *GetJobsIDDefinitionOK

WithPayload adds the payload to the get jobs Id definition o k response

func (*GetJobsIDDefinitionOK) WriteResponse

func (o *GetJobsIDDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDDefinitionParams

type GetJobsIDDefinitionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Job ID
	  Required: true
	  In: path
	*/
	ID string
}

GetJobsIDDefinitionParams contains all the bound params for the get jobs ID definition operation typically these are obtained from a http.Request

swagger:parameters GetJobsIDDefinition

func NewGetJobsIDDefinitionParams

func NewGetJobsIDDefinitionParams() GetJobsIDDefinitionParams

NewGetJobsIDDefinitionParams creates a new GetJobsIDDefinitionParams object

There are no default values defined in the spec.

func (*GetJobsIDDefinitionParams) BindRequest

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 NewGetJobsIDDefinitionParams() beforehand.

type GetJobsIDDefinitionURL

type GetJobsIDDefinitionURL struct {
	ID string
	// contains filtered or unexported fields
}

GetJobsIDDefinitionURL generates an URL for the get jobs ID definition operation

func (*GetJobsIDDefinitionURL) Build

func (o *GetJobsIDDefinitionURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetJobsIDDefinitionURL) BuildFull

func (o *GetJobsIDDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetJobsIDDefinitionURL) Must

func (o *GetJobsIDDefinitionURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetJobsIDDefinitionURL) SetBasePath

func (o *GetJobsIDDefinitionURL) 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 (*GetJobsIDDefinitionURL) String

func (o *GetJobsIDDefinitionURL) String() string

String returns the string representation of the path with query string

func (*GetJobsIDDefinitionURL) StringFull

func (o *GetJobsIDDefinitionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetJobsIDDefinitionURL) 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 GetJobsIDHandler

type GetJobsIDHandler interface {
	Handle(GetJobsIDParams) middleware.Responder
}

GetJobsIDHandler interface for that can handle valid get jobs ID params

type GetJobsIDHandlerFunc

type GetJobsIDHandlerFunc func(GetJobsIDParams) middleware.Responder

GetJobsIDHandlerFunc turns a function with the right signature into a get jobs ID handler

func (GetJobsIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetJobsIDNotFound

type GetJobsIDNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsIDNotFound Not Found

swagger:response getJobsIdNotFound

func NewGetJobsIDNotFound

func NewGetJobsIDNotFound() *GetJobsIDNotFound

NewGetJobsIDNotFound creates GetJobsIDNotFound with default headers values

func (*GetJobsIDNotFound) SetPayload

func (o *GetJobsIDNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs Id not found response

func (*GetJobsIDNotFound) WithPayload

func (o *GetJobsIDNotFound) WithPayload(payload *model.ErrorResponse) *GetJobsIDNotFound

WithPayload adds the payload to the get jobs Id not found response

func (*GetJobsIDNotFound) WriteResponse

func (o *GetJobsIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDOK

type GetJobsIDOK struct {

	/*
	  In: Body
	*/
	Payload *model.Job `json:"body,omitempty"`
}

GetJobsIDOK Job description for for a given ID

swagger:response getJobsIdOK

func NewGetJobsIDOK

func NewGetJobsIDOK() *GetJobsIDOK

NewGetJobsIDOK creates GetJobsIDOK with default headers values

func (*GetJobsIDOK) SetPayload

func (o *GetJobsIDOK) SetPayload(payload *model.Job)

SetPayload sets the payload to the get jobs Id o k response

func (*GetJobsIDOK) WithPayload

func (o *GetJobsIDOK) WithPayload(payload *model.Job) *GetJobsIDOK

WithPayload adds the payload to the get jobs Id o k response

func (*GetJobsIDOK) WriteResponse

func (o *GetJobsIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDParams

type GetJobsIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Boolean flag to include the transition history of the job
	  In: query
	*/
	History *bool
	/*Job ID
	  Required: true
	  In: path
	*/
	ID string
}

GetJobsIDParams contains all the bound params for the get jobs ID operation typically these are obtained from a http.Request

swagger:parameters GetJobsID

func NewGetJobsIDParams

func NewGetJobsIDParams() GetJobsIDParams

NewGetJobsIDParams creates a new GetJobsIDParams object

There are no default values defined in the spec.

func (*GetJobsIDParams) BindRequest

func (o *GetJobsIDParams) 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 NewGetJobsIDParams() beforehand.

type GetJobsIDStatus

type GetJobsIDStatus struct {
	Context *middleware.Context
	Handler GetJobsIDStatusHandler
}
GetJobsIDStatus swagger:route GET /jobs/{id}/status southbound getJobsIdStatus

Get job status

Retrieve the job status

func NewGetJobsIDStatus

func NewGetJobsIDStatus(ctx *middleware.Context, handler GetJobsIDStatusHandler) *GetJobsIDStatus

NewGetJobsIDStatus creates a new http.Handler for the get jobs ID status operation

func (*GetJobsIDStatus) ServeHTTP

func (o *GetJobsIDStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetJobsIDStatusDefault

type GetJobsIDStatusDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDStatusDefault Other error with any status code and response body format.

swagger:response getJobsIdStatusDefault

func NewGetJobsIDStatusDefault

func NewGetJobsIDStatusDefault(code int) *GetJobsIDStatusDefault

NewGetJobsIDStatusDefault creates GetJobsIDStatusDefault with default headers values

func (*GetJobsIDStatusDefault) SetStatusCode

func (o *GetJobsIDStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get jobs ID status default response

func (*GetJobsIDStatusDefault) WithStatusCode

func (o *GetJobsIDStatusDefault) WithStatusCode(code int) *GetJobsIDStatusDefault

WithStatusCode adds the status to the get jobs ID status default response

func (*GetJobsIDStatusDefault) WriteResponse

func (o *GetJobsIDStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDStatusHandler

type GetJobsIDStatusHandler interface {
	Handle(GetJobsIDStatusParams) middleware.Responder
}

GetJobsIDStatusHandler interface for that can handle valid get jobs ID status params

type GetJobsIDStatusHandlerFunc

type GetJobsIDStatusHandlerFunc func(GetJobsIDStatusParams) middleware.Responder

GetJobsIDStatusHandlerFunc turns a function with the right signature into a get jobs ID status handler

func (GetJobsIDStatusHandlerFunc) Handle

Handle executing the request and returning a response

type GetJobsIDStatusNotFound

type GetJobsIDStatusNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsIDStatusNotFound Not Found

swagger:response getJobsIdStatusNotFound

func NewGetJobsIDStatusNotFound

func NewGetJobsIDStatusNotFound() *GetJobsIDStatusNotFound

NewGetJobsIDStatusNotFound creates GetJobsIDStatusNotFound with default headers values

func (*GetJobsIDStatusNotFound) SetPayload

func (o *GetJobsIDStatusNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs Id status not found response

func (*GetJobsIDStatusNotFound) WithPayload

WithPayload adds the payload to the get jobs Id status not found response

func (*GetJobsIDStatusNotFound) WriteResponse

func (o *GetJobsIDStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDStatusOK

type GetJobsIDStatusOK struct {

	/*
	  In: Body
	*/
	Payload *model.JobStatus `json:"body,omitempty"`
}

GetJobsIDStatusOK Job status

swagger:response getJobsIdStatusOK

func NewGetJobsIDStatusOK

func NewGetJobsIDStatusOK() *GetJobsIDStatusOK

NewGetJobsIDStatusOK creates GetJobsIDStatusOK with default headers values

func (*GetJobsIDStatusOK) SetPayload

func (o *GetJobsIDStatusOK) SetPayload(payload *model.JobStatus)

SetPayload sets the payload to the get jobs Id status o k response

func (*GetJobsIDStatusOK) WithPayload

func (o *GetJobsIDStatusOK) WithPayload(payload *model.JobStatus) *GetJobsIDStatusOK

WithPayload adds the payload to the get jobs Id status o k response

func (*GetJobsIDStatusOK) WriteResponse

func (o *GetJobsIDStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDStatusParams

type GetJobsIDStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Job ID
	  Required: true
	  In: path
	*/
	ID string
}

GetJobsIDStatusParams contains all the bound params for the get jobs ID status operation typically these are obtained from a http.Request

swagger:parameters GetJobsIDStatus

func NewGetJobsIDStatusParams

func NewGetJobsIDStatusParams() GetJobsIDStatusParams

NewGetJobsIDStatusParams creates a new GetJobsIDStatusParams object

There are no default values defined in the spec.

func (*GetJobsIDStatusParams) BindRequest

func (o *GetJobsIDStatusParams) 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 NewGetJobsIDStatusParams() beforehand.

type GetJobsIDStatusURL

type GetJobsIDStatusURL struct {
	ID string
	// contains filtered or unexported fields
}

GetJobsIDStatusURL generates an URL for the get jobs ID status operation

func (*GetJobsIDStatusURL) Build

func (o *GetJobsIDStatusURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetJobsIDStatusURL) BuildFull

func (o *GetJobsIDStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetJobsIDStatusURL) Must

func (o *GetJobsIDStatusURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetJobsIDStatusURL) SetBasePath

func (o *GetJobsIDStatusURL) 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 (*GetJobsIDStatusURL) String

func (o *GetJobsIDStatusURL) String() string

String returns the string representation of the path with query string

func (*GetJobsIDStatusURL) StringFull

func (o *GetJobsIDStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetJobsIDStatusURL) WithBasePath

func (o *GetJobsIDStatusURL) WithBasePath(bp string) *GetJobsIDStatusURL

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 GetJobsIDTags

type GetJobsIDTags struct {
	Context *middleware.Context
	Handler GetJobsIDTagsHandler
}
GetJobsIDTags swagger:route GET /jobs/{id}/tags southbound getJobsIdTags

Get tags

Get the tags of a job

func NewGetJobsIDTags

func NewGetJobsIDTags(ctx *middleware.Context, handler GetJobsIDTagsHandler) *GetJobsIDTags

NewGetJobsIDTags creates a new http.Handler for the get jobs ID tags operation

func (*GetJobsIDTags) ServeHTTP

func (o *GetJobsIDTags) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetJobsIDTagsDefault

type GetJobsIDTagsDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDTagsDefault Other error with any status code and response body format.

swagger:response getJobsIdTagsDefault

func NewGetJobsIDTagsDefault

func NewGetJobsIDTagsDefault(code int) *GetJobsIDTagsDefault

NewGetJobsIDTagsDefault creates GetJobsIDTagsDefault with default headers values

func (*GetJobsIDTagsDefault) SetStatusCode

func (o *GetJobsIDTagsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get jobs ID tags default response

func (*GetJobsIDTagsDefault) WithStatusCode

func (o *GetJobsIDTagsDefault) WithStatusCode(code int) *GetJobsIDTagsDefault

WithStatusCode adds the status to the get jobs ID tags default response

func (*GetJobsIDTagsDefault) WriteResponse

func (o *GetJobsIDTagsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDTagsHandler

type GetJobsIDTagsHandler interface {
	Handle(GetJobsIDTagsParams) middleware.Responder
}

GetJobsIDTagsHandler interface for that can handle valid get jobs ID tags params

type GetJobsIDTagsHandlerFunc

type GetJobsIDTagsHandlerFunc func(GetJobsIDTagsParams) middleware.Responder

GetJobsIDTagsHandlerFunc turns a function with the right signature into a get jobs ID tags handler

func (GetJobsIDTagsHandlerFunc) Handle

Handle executing the request and returning a response

type GetJobsIDTagsNotFound

type GetJobsIDTagsNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetJobsIDTagsNotFound Not Found

swagger:response getJobsIdTagsNotFound

func NewGetJobsIDTagsNotFound

func NewGetJobsIDTagsNotFound() *GetJobsIDTagsNotFound

NewGetJobsIDTagsNotFound creates GetJobsIDTagsNotFound with default headers values

func (*GetJobsIDTagsNotFound) SetPayload

func (o *GetJobsIDTagsNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get jobs Id tags not found response

func (*GetJobsIDTagsNotFound) WithPayload

WithPayload adds the payload to the get jobs Id tags not found response

func (*GetJobsIDTagsNotFound) WriteResponse

func (o *GetJobsIDTagsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDTagsOK

type GetJobsIDTagsOK struct {

	/*
	  In: Body
	*/
	Payload []string `json:"body,omitempty"`
}

GetJobsIDTagsOK Job tags

swagger:response getJobsIdTagsOK

func NewGetJobsIDTagsOK

func NewGetJobsIDTagsOK() *GetJobsIDTagsOK

NewGetJobsIDTagsOK creates GetJobsIDTagsOK with default headers values

func (*GetJobsIDTagsOK) SetPayload

func (o *GetJobsIDTagsOK) SetPayload(payload []string)

SetPayload sets the payload to the get jobs Id tags o k response

func (*GetJobsIDTagsOK) WithPayload

func (o *GetJobsIDTagsOK) WithPayload(payload []string) *GetJobsIDTagsOK

WithPayload adds the payload to the get jobs Id tags o k response

func (*GetJobsIDTagsOK) WriteResponse

func (o *GetJobsIDTagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetJobsIDTagsParams

type GetJobsIDTagsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Job ID
	  Required: true
	  In: path
	*/
	ID string
}

GetJobsIDTagsParams contains all the bound params for the get jobs ID tags operation typically these are obtained from a http.Request

swagger:parameters GetJobsIDTags

func NewGetJobsIDTagsParams

func NewGetJobsIDTagsParams() GetJobsIDTagsParams

NewGetJobsIDTagsParams creates a new GetJobsIDTagsParams object

There are no default values defined in the spec.

func (*GetJobsIDTagsParams) BindRequest

func (o *GetJobsIDTagsParams) 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 NewGetJobsIDTagsParams() beforehand.

type GetJobsIDTagsURL

type GetJobsIDTagsURL struct {
	ID string
	// contains filtered or unexported fields
}

GetJobsIDTagsURL generates an URL for the get jobs ID tags operation

func (*GetJobsIDTagsURL) Build

func (o *GetJobsIDTagsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetJobsIDTagsURL) BuildFull

func (o *GetJobsIDTagsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetJobsIDTagsURL) Must

func (o *GetJobsIDTagsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetJobsIDTagsURL) SetBasePath

func (o *GetJobsIDTagsURL) 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 (*GetJobsIDTagsURL) String

func (o *GetJobsIDTagsURL) String() string

String returns the string representation of the path with query string

func (*GetJobsIDTagsURL) StringFull

func (o *GetJobsIDTagsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetJobsIDTagsURL) WithBasePath

func (o *GetJobsIDTagsURL) WithBasePath(bp string) *GetJobsIDTagsURL

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 GetJobsIDURL

type GetJobsIDURL struct {
	ID string

	History *bool
	// contains filtered or unexported fields
}

GetJobsIDURL generates an URL for the get jobs ID operation

func (*GetJobsIDURL) Build

func (o *GetJobsIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetJobsIDURL) BuildFull

func (o *GetJobsIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetJobsIDURL) Must

func (o *GetJobsIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetJobsIDURL) SetBasePath

func (o *GetJobsIDURL) 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 (*GetJobsIDURL) String

func (o *GetJobsIDURL) String() string

String returns the string representation of the path with query string

func (*GetJobsIDURL) StringFull

func (o *GetJobsIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetJobsIDURL) WithBasePath

func (o *GetJobsIDURL) WithBasePath(bp string) *GetJobsIDURL

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 GetJobsOK

type GetJobsOK struct {

	/*
	  In: Body
	*/
	Payload *model.PaginatedJobList `json:"body,omitempty"`
}

GetJobsOK A paginated job list.

swagger:response getJobsOK

func NewGetJobsOK

func NewGetJobsOK() *GetJobsOK

NewGetJobsOK creates GetJobsOK with default headers values

func (*GetJobsOK) SetPayload

func (o *GetJobsOK) SetPayload(payload *model.PaginatedJobList)

SetPayload sets the payload to the get jobs o k response

func (*GetJobsOK) WithPayload

func (o *GetJobsOK) WithPayload(payload *model.PaginatedJobList) *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

type GetJobsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Filter jobs belonging to a specific client with clientId
	  In: query
	*/
	ClientID *string
	/*Filter jobs based on the group they are in
	  In: query
	*/
	Group []string
	/*the maximum number of items to return
	  In: query
	  Default: 10
	*/
	Limit *int32
	/*the number of items to skip before starting to return results
	  In: query
	  Default: 0
	*/
	Offset *int64
	/*the order of returned elements
	  In: query
	  Default: "asc"
	*/
	Sort *string
	/*Filter jobs based on the current state value
	  In: query
	*/
	State *string
	/*Filter jobs by tags
	  In: query
	*/
	Tag []string
	/*Filter jobs matching by workflow
	  In: query
	*/
	Workflow *string
}

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 with the default values initialized.

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 GetJobsURL

type GetJobsURL struct {
	ClientID *string
	Group    []string
	Limit    *int32
	Offset   *int64
	Sort     *string
	State    *string
	Tag      []string
	Workflow *string
	// 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) Must

func (o *GetJobsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

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 GetWorkflows

type GetWorkflows struct {
	Context *middleware.Context
	Handler GetWorkflowsHandler
}
GetWorkflows swagger:route GET /workflows southbound getWorkflows

List of available workflows

List of available workflows

func NewGetWorkflows

func NewGetWorkflows(ctx *middleware.Context, handler GetWorkflowsHandler) *GetWorkflows

NewGetWorkflows creates a new http.Handler for the get workflows operation

func (*GetWorkflows) ServeHTTP

func (o *GetWorkflows) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetWorkflowsDefault

type GetWorkflowsDefault struct {
	// contains filtered or unexported fields
}

GetWorkflowsDefault Other error with any status code and response body format.

swagger:response getWorkflowsDefault

func NewGetWorkflowsDefault

func NewGetWorkflowsDefault(code int) *GetWorkflowsDefault

NewGetWorkflowsDefault creates GetWorkflowsDefault with default headers values

func (*GetWorkflowsDefault) SetStatusCode

func (o *GetWorkflowsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get workflows default response

func (*GetWorkflowsDefault) WithStatusCode

func (o *GetWorkflowsDefault) WithStatusCode(code int) *GetWorkflowsDefault

WithStatusCode adds the status to the get workflows default response

func (*GetWorkflowsDefault) WriteResponse

func (o *GetWorkflowsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWorkflowsHandler

type GetWorkflowsHandler interface {
	Handle(GetWorkflowsParams) middleware.Responder
}

GetWorkflowsHandler interface for that can handle valid get workflows params

type GetWorkflowsHandlerFunc

type GetWorkflowsHandlerFunc func(GetWorkflowsParams) middleware.Responder

GetWorkflowsHandlerFunc turns a function with the right signature into a get workflows handler

func (GetWorkflowsHandlerFunc) Handle

Handle executing the request and returning a response

type GetWorkflowsName

type GetWorkflowsName struct {
	Context *middleware.Context
	Handler GetWorkflowsNameHandler
}
GetWorkflowsName swagger:route GET /workflows/{name} southbound getWorkflowsName

Workflow description for a given name

Workflow description for a given name

func NewGetWorkflowsName

func NewGetWorkflowsName(ctx *middleware.Context, handler GetWorkflowsNameHandler) *GetWorkflowsName

NewGetWorkflowsName creates a new http.Handler for the get workflows name operation

func (*GetWorkflowsName) ServeHTTP

func (o *GetWorkflowsName) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetWorkflowsNameBadRequest

type GetWorkflowsNameBadRequest struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetWorkflowsNameBadRequest If request is invalid

swagger:response getWorkflowsNameBadRequest

func NewGetWorkflowsNameBadRequest

func NewGetWorkflowsNameBadRequest() *GetWorkflowsNameBadRequest

NewGetWorkflowsNameBadRequest creates GetWorkflowsNameBadRequest with default headers values

func (*GetWorkflowsNameBadRequest) SetPayload

func (o *GetWorkflowsNameBadRequest) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get workflows name bad request response

func (*GetWorkflowsNameBadRequest) WithPayload

WithPayload adds the payload to the get workflows name bad request response

func (*GetWorkflowsNameBadRequest) WriteResponse

func (o *GetWorkflowsNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWorkflowsNameDefault

type GetWorkflowsNameDefault struct {
	// contains filtered or unexported fields
}

GetWorkflowsNameDefault Other error with any status code and response body format.

swagger:response getWorkflowsNameDefault

func NewGetWorkflowsNameDefault

func NewGetWorkflowsNameDefault(code int) *GetWorkflowsNameDefault

NewGetWorkflowsNameDefault creates GetWorkflowsNameDefault with default headers values

func (*GetWorkflowsNameDefault) SetStatusCode

func (o *GetWorkflowsNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get workflows name default response

func (*GetWorkflowsNameDefault) WithStatusCode

func (o *GetWorkflowsNameDefault) WithStatusCode(code int) *GetWorkflowsNameDefault

WithStatusCode adds the status to the get workflows name default response

func (*GetWorkflowsNameDefault) WriteResponse

func (o *GetWorkflowsNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWorkflowsNameHandler

type GetWorkflowsNameHandler interface {
	Handle(GetWorkflowsNameParams) middleware.Responder
}

GetWorkflowsNameHandler interface for that can handle valid get workflows name params

type GetWorkflowsNameHandlerFunc

type GetWorkflowsNameHandlerFunc func(GetWorkflowsNameParams) middleware.Responder

GetWorkflowsNameHandlerFunc turns a function with the right signature into a get workflows name handler

func (GetWorkflowsNameHandlerFunc) Handle

Handle executing the request and returning a response

type GetWorkflowsNameNotFound

type GetWorkflowsNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

GetWorkflowsNameNotFound Not Found

swagger:response getWorkflowsNameNotFound

func NewGetWorkflowsNameNotFound

func NewGetWorkflowsNameNotFound() *GetWorkflowsNameNotFound

NewGetWorkflowsNameNotFound creates GetWorkflowsNameNotFound with default headers values

func (*GetWorkflowsNameNotFound) SetPayload

func (o *GetWorkflowsNameNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the get workflows name not found response

func (*GetWorkflowsNameNotFound) WithPayload

WithPayload adds the payload to the get workflows name not found response

func (*GetWorkflowsNameNotFound) WriteResponse

func (o *GetWorkflowsNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWorkflowsNameOK

type GetWorkflowsNameOK struct {

	/*
	  In: Body
	*/
	Payload *model.Workflow `json:"body,omitempty"`
}

GetWorkflowsNameOK Workflow description with the provided key

swagger:response getWorkflowsNameOK

func NewGetWorkflowsNameOK

func NewGetWorkflowsNameOK() *GetWorkflowsNameOK

NewGetWorkflowsNameOK creates GetWorkflowsNameOK with default headers values

func (*GetWorkflowsNameOK) SetPayload

func (o *GetWorkflowsNameOK) SetPayload(payload *model.Workflow)

SetPayload sets the payload to the get workflows name o k response

func (*GetWorkflowsNameOK) WithPayload

func (o *GetWorkflowsNameOK) WithPayload(payload *model.Workflow) *GetWorkflowsNameOK

WithPayload adds the payload to the get workflows name o k response

func (*GetWorkflowsNameOK) WriteResponse

func (o *GetWorkflowsNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWorkflowsNameParams

type GetWorkflowsNameParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Unique name for the workflow
	  Required: true
	  In: path
	*/
	Name string
}

GetWorkflowsNameParams contains all the bound params for the get workflows name operation typically these are obtained from a http.Request

swagger:parameters GetWorkflowsName

func NewGetWorkflowsNameParams

func NewGetWorkflowsNameParams() GetWorkflowsNameParams

NewGetWorkflowsNameParams creates a new GetWorkflowsNameParams object

There are no default values defined in the spec.

func (*GetWorkflowsNameParams) BindRequest

func (o *GetWorkflowsNameParams) 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 NewGetWorkflowsNameParams() beforehand.

type GetWorkflowsNameURL

type GetWorkflowsNameURL struct {
	Name string
	// contains filtered or unexported fields
}

GetWorkflowsNameURL generates an URL for the get workflows name operation

func (*GetWorkflowsNameURL) Build

func (o *GetWorkflowsNameURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetWorkflowsNameURL) BuildFull

func (o *GetWorkflowsNameURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetWorkflowsNameURL) Must

func (o *GetWorkflowsNameURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetWorkflowsNameURL) SetBasePath

func (o *GetWorkflowsNameURL) 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 (*GetWorkflowsNameURL) String

func (o *GetWorkflowsNameURL) String() string

String returns the string representation of the path with query string

func (*GetWorkflowsNameURL) StringFull

func (o *GetWorkflowsNameURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetWorkflowsNameURL) WithBasePath

func (o *GetWorkflowsNameURL) WithBasePath(bp string) *GetWorkflowsNameURL

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 GetWorkflowsOK

type GetWorkflowsOK struct {

	/*
	  In: Body
	*/
	Payload *model.PaginatedWorkflowList `json:"body,omitempty"`
}

GetWorkflowsOK A list of workflows

swagger:response getWorkflowsOK

func NewGetWorkflowsOK

func NewGetWorkflowsOK() *GetWorkflowsOK

NewGetWorkflowsOK creates GetWorkflowsOK with default headers values

func (*GetWorkflowsOK) SetPayload

func (o *GetWorkflowsOK) SetPayload(payload *model.PaginatedWorkflowList)

SetPayload sets the payload to the get workflows o k response

func (*GetWorkflowsOK) WithPayload

func (o *GetWorkflowsOK) WithPayload(payload *model.PaginatedWorkflowList) *GetWorkflowsOK

WithPayload adds the payload to the get workflows o k response

func (*GetWorkflowsOK) WriteResponse

func (o *GetWorkflowsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWorkflowsParams

type GetWorkflowsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*the maximum number of items to return
	  In: query
	  Default: 10
	*/
	Limit *int32
	/*the number of items to skip before starting to return results
	  In: query
	  Default: 0
	*/
	Offset *int64
	/*the order of returned elements
	  In: query
	  Default: "asc"
	*/
	Sort *string
}

GetWorkflowsParams contains all the bound params for the get workflows operation typically these are obtained from a http.Request

swagger:parameters GetWorkflows

func NewGetWorkflowsParams

func NewGetWorkflowsParams() GetWorkflowsParams

NewGetWorkflowsParams creates a new GetWorkflowsParams object with the default values initialized.

func (*GetWorkflowsParams) BindRequest

func (o *GetWorkflowsParams) 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 NewGetWorkflowsParams() beforehand.

type GetWorkflowsURL

type GetWorkflowsURL struct {
	Limit  *int32
	Offset *int64
	Sort   *string
	// contains filtered or unexported fields
}

GetWorkflowsURL generates an URL for the get workflows operation

func (*GetWorkflowsURL) Build

func (o *GetWorkflowsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetWorkflowsURL) BuildFull

func (o *GetWorkflowsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetWorkflowsURL) Must

func (o *GetWorkflowsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetWorkflowsURL) SetBasePath

func (o *GetWorkflowsURL) 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 (*GetWorkflowsURL) String

func (o *GetWorkflowsURL) String() string

String returns the string representation of the path with query string

func (*GetWorkflowsURL) StringFull

func (o *GetWorkflowsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetWorkflowsURL) WithBasePath

func (o *GetWorkflowsURL) WithBasePath(bp string) *GetWorkflowsURL

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 PutJobsIDDefinition

type PutJobsIDDefinition struct {
	Context *middleware.Context
	Handler PutJobsIDDefinitionHandler
}
PutJobsIDDefinition swagger:route PUT /jobs/{id}/definition southbound putJobsIdDefinition

Modify job definition

Modify the job definition of an existing job

func NewPutJobsIDDefinition

func NewPutJobsIDDefinition(ctx *middleware.Context, handler PutJobsIDDefinitionHandler) *PutJobsIDDefinition

NewPutJobsIDDefinition creates a new http.Handler for the put jobs ID definition operation

func (*PutJobsIDDefinition) ServeHTTP

func (o *PutJobsIDDefinition) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutJobsIDDefinitionBadRequest

type PutJobsIDDefinitionBadRequest struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

PutJobsIDDefinitionBadRequest Bad Request

swagger:response putJobsIdDefinitionBadRequest

func NewPutJobsIDDefinitionBadRequest

func NewPutJobsIDDefinitionBadRequest() *PutJobsIDDefinitionBadRequest

NewPutJobsIDDefinitionBadRequest creates PutJobsIDDefinitionBadRequest with default headers values

func (*PutJobsIDDefinitionBadRequest) SetPayload

func (o *PutJobsIDDefinitionBadRequest) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the put jobs Id definition bad request response

func (*PutJobsIDDefinitionBadRequest) WithPayload

WithPayload adds the payload to the put jobs Id definition bad request response

func (*PutJobsIDDefinitionBadRequest) WriteResponse

func (o *PutJobsIDDefinitionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDDefinitionDefault

type PutJobsIDDefinitionDefault struct {
	// contains filtered or unexported fields
}

PutJobsIDDefinitionDefault Other error with any status code and response body format.

swagger:response putJobsIdDefinitionDefault

func NewPutJobsIDDefinitionDefault

func NewPutJobsIDDefinitionDefault(code int) *PutJobsIDDefinitionDefault

NewPutJobsIDDefinitionDefault creates PutJobsIDDefinitionDefault with default headers values

func (*PutJobsIDDefinitionDefault) SetStatusCode

func (o *PutJobsIDDefinitionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put jobs ID definition default response

func (*PutJobsIDDefinitionDefault) WithStatusCode

WithStatusCode adds the status to the put jobs ID definition default response

func (*PutJobsIDDefinitionDefault) WriteResponse

func (o *PutJobsIDDefinitionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDDefinitionHandler

type PutJobsIDDefinitionHandler interface {
	Handle(PutJobsIDDefinitionParams) middleware.Responder
}

PutJobsIDDefinitionHandler interface for that can handle valid put jobs ID definition params

type PutJobsIDDefinitionHandlerFunc

type PutJobsIDDefinitionHandlerFunc func(PutJobsIDDefinitionParams) middleware.Responder

PutJobsIDDefinitionHandlerFunc turns a function with the right signature into a put jobs ID definition handler

func (PutJobsIDDefinitionHandlerFunc) Handle

Handle executing the request and returning a response

type PutJobsIDDefinitionNotFound

type PutJobsIDDefinitionNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

PutJobsIDDefinitionNotFound Not Found

swagger:response putJobsIdDefinitionNotFound

func NewPutJobsIDDefinitionNotFound

func NewPutJobsIDDefinitionNotFound() *PutJobsIDDefinitionNotFound

NewPutJobsIDDefinitionNotFound creates PutJobsIDDefinitionNotFound with default headers values

func (*PutJobsIDDefinitionNotFound) SetPayload

func (o *PutJobsIDDefinitionNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the put jobs Id definition not found response

func (*PutJobsIDDefinitionNotFound) WithPayload

WithPayload adds the payload to the put jobs Id definition not found response

func (*PutJobsIDDefinitionNotFound) WriteResponse

func (o *PutJobsIDDefinitionNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDDefinitionOK

type PutJobsIDDefinitionOK struct {

	/*
	  In: Body
	*/
	Payload map[string]interface{} `json:"body,omitempty"`
}

PutJobsIDDefinitionOK Job modified successfully

swagger:response putJobsIdDefinitionOK

func NewPutJobsIDDefinitionOK

func NewPutJobsIDDefinitionOK() *PutJobsIDDefinitionOK

NewPutJobsIDDefinitionOK creates PutJobsIDDefinitionOK with default headers values

func (*PutJobsIDDefinitionOK) SetPayload

func (o *PutJobsIDDefinitionOK) SetPayload(payload map[string]interface{})

SetPayload sets the payload to the put jobs Id definition o k response

func (*PutJobsIDDefinitionOK) WithPayload

func (o *PutJobsIDDefinitionOK) WithPayload(payload map[string]interface{}) *PutJobsIDDefinitionOK

WithPayload adds the payload to the put jobs Id definition o k response

func (*PutJobsIDDefinitionOK) WriteResponse

func (o *PutJobsIDDefinitionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDDefinitionParams

type PutJobsIDDefinitionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*How to modify the job
	  Required: true
	  In: body
	*/
	JobDefinition map[string]interface{}
	/*Job ID
	  Required: true
	  In: path
	*/
	ID string
}

PutJobsIDDefinitionParams contains all the bound params for the put jobs ID definition operation typically these are obtained from a http.Request

swagger:parameters PutJobsIDDefinition

func NewPutJobsIDDefinitionParams

func NewPutJobsIDDefinitionParams() PutJobsIDDefinitionParams

NewPutJobsIDDefinitionParams creates a new PutJobsIDDefinitionParams object

There are no default values defined in the spec.

func (*PutJobsIDDefinitionParams) BindRequest

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 NewPutJobsIDDefinitionParams() beforehand.

type PutJobsIDDefinitionURL

type PutJobsIDDefinitionURL struct {
	ID string
	// contains filtered or unexported fields
}

PutJobsIDDefinitionURL generates an URL for the put jobs ID definition operation

func (*PutJobsIDDefinitionURL) Build

func (o *PutJobsIDDefinitionURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutJobsIDDefinitionURL) BuildFull

func (o *PutJobsIDDefinitionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutJobsIDDefinitionURL) Must

func (o *PutJobsIDDefinitionURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PutJobsIDDefinitionURL) SetBasePath

func (o *PutJobsIDDefinitionURL) 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 (*PutJobsIDDefinitionURL) String

func (o *PutJobsIDDefinitionURL) String() string

String returns the string representation of the path with query string

func (*PutJobsIDDefinitionURL) StringFull

func (o *PutJobsIDDefinitionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PutJobsIDDefinitionURL) 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 PutJobsIDStatus

type PutJobsIDStatus struct {
	Context *middleware.Context
	Handler PutJobsIDStatusHandler
}
PutJobsIDStatus swagger:route PUT /jobs/{id}/status southbound putJobsIdStatus

Modify status of an existing job

Modify status of an existing job

func NewPutJobsIDStatus

func NewPutJobsIDStatus(ctx *middleware.Context, handler PutJobsIDStatusHandler) *PutJobsIDStatus

NewPutJobsIDStatus creates a new http.Handler for the put jobs ID status operation

func (*PutJobsIDStatus) ServeHTTP

func (o *PutJobsIDStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutJobsIDStatusBadRequest

type PutJobsIDStatusBadRequest struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

PutJobsIDStatusBadRequest Bad Request

swagger:response putJobsIdStatusBadRequest

func NewPutJobsIDStatusBadRequest

func NewPutJobsIDStatusBadRequest() *PutJobsIDStatusBadRequest

NewPutJobsIDStatusBadRequest creates PutJobsIDStatusBadRequest with default headers values

func (*PutJobsIDStatusBadRequest) SetPayload

func (o *PutJobsIDStatusBadRequest) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the put jobs Id status bad request response

func (*PutJobsIDStatusBadRequest) WithPayload

WithPayload adds the payload to the put jobs Id status bad request response

func (*PutJobsIDStatusBadRequest) WriteResponse

func (o *PutJobsIDStatusBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDStatusDefault

type PutJobsIDStatusDefault struct {
	// contains filtered or unexported fields
}

PutJobsIDStatusDefault Other error with any status code and response body format.

swagger:response putJobsIdStatusDefault

func NewPutJobsIDStatusDefault

func NewPutJobsIDStatusDefault(code int) *PutJobsIDStatusDefault

NewPutJobsIDStatusDefault creates PutJobsIDStatusDefault with default headers values

func (*PutJobsIDStatusDefault) SetStatusCode

func (o *PutJobsIDStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put jobs ID status default response

func (*PutJobsIDStatusDefault) WithStatusCode

func (o *PutJobsIDStatusDefault) WithStatusCode(code int) *PutJobsIDStatusDefault

WithStatusCode adds the status to the put jobs ID status default response

func (*PutJobsIDStatusDefault) WriteResponse

func (o *PutJobsIDStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDStatusHandler

type PutJobsIDStatusHandler interface {
	Handle(PutJobsIDStatusParams) middleware.Responder
}

PutJobsIDStatusHandler interface for that can handle valid put jobs ID status params

type PutJobsIDStatusHandlerFunc

type PutJobsIDStatusHandlerFunc func(PutJobsIDStatusParams) middleware.Responder

PutJobsIDStatusHandlerFunc turns a function with the right signature into a put jobs ID status handler

func (PutJobsIDStatusHandlerFunc) Handle

Handle executing the request and returning a response

type PutJobsIDStatusNotFound

type PutJobsIDStatusNotFound struct {

	/*
	  In: Body
	*/
	Payload *model.ErrorResponse `json:"body,omitempty"`
}

PutJobsIDStatusNotFound Not Found

swagger:response putJobsIdStatusNotFound

func NewPutJobsIDStatusNotFound

func NewPutJobsIDStatusNotFound() *PutJobsIDStatusNotFound

NewPutJobsIDStatusNotFound creates PutJobsIDStatusNotFound with default headers values

func (*PutJobsIDStatusNotFound) SetPayload

func (o *PutJobsIDStatusNotFound) SetPayload(payload *model.ErrorResponse)

SetPayload sets the payload to the put jobs Id status not found response

func (*PutJobsIDStatusNotFound) WithPayload

WithPayload adds the payload to the put jobs Id status not found response

func (*PutJobsIDStatusNotFound) WriteResponse

func (o *PutJobsIDStatusNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDStatusOK

type PutJobsIDStatusOK struct {

	/*
	  In: Body
	*/
	Payload *model.JobStatus `json:"body,omitempty"`
}

PutJobsIDStatusOK Job modified successfully

swagger:response putJobsIdStatusOK

func NewPutJobsIDStatusOK

func NewPutJobsIDStatusOK() *PutJobsIDStatusOK

NewPutJobsIDStatusOK creates PutJobsIDStatusOK with default headers values

func (*PutJobsIDStatusOK) SetPayload

func (o *PutJobsIDStatusOK) SetPayload(payload *model.JobStatus)

SetPayload sets the payload to the put jobs Id status o k response

func (*PutJobsIDStatusOK) WithPayload

func (o *PutJobsIDStatusOK) WithPayload(payload *model.JobStatus) *PutJobsIDStatusOK

WithPayload adds the payload to the put jobs Id status o k response

func (*PutJobsIDStatusOK) WriteResponse

func (o *PutJobsIDStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutJobsIDStatusParams

type PutJobsIDStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*This contains the new job status
	  Required: true
	  In: body
	*/
	NewJobStatus *model.JobStatus
	/*Job ID
	  Required: true
	  In: path
	*/
	ID string
}

PutJobsIDStatusParams contains all the bound params for the put jobs ID status operation typically these are obtained from a http.Request

swagger:parameters PutJobsIDStatus

func NewPutJobsIDStatusParams

func NewPutJobsIDStatusParams() PutJobsIDStatusParams

NewPutJobsIDStatusParams creates a new PutJobsIDStatusParams object

There are no default values defined in the spec.

func (*PutJobsIDStatusParams) BindRequest

func (o *PutJobsIDStatusParams) 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 NewPutJobsIDStatusParams() beforehand.

type PutJobsIDStatusURL

type PutJobsIDStatusURL struct {
	ID string
	// contains filtered or unexported fields
}

PutJobsIDStatusURL generates an URL for the put jobs ID status operation

func (*PutJobsIDStatusURL) Build

func (o *PutJobsIDStatusURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutJobsIDStatusURL) BuildFull

func (o *PutJobsIDStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutJobsIDStatusURL) Must

func (o *PutJobsIDStatusURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PutJobsIDStatusURL) SetBasePath

func (o *PutJobsIDStatusURL) 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 (*PutJobsIDStatusURL) String

func (o *PutJobsIDStatusURL) String() string

String returns the string representation of the path with query string

func (*PutJobsIDStatusURL) StringFull

func (o *PutJobsIDStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PutJobsIDStatusURL) WithBasePath

func (o *PutJobsIDStatusURL) WithBasePath(bp string) *PutJobsIDStatusURL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL