jobs

package
v0.0.0-...-7977c27 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const RetrieveJobThatWasSuccessfulOKCode int = 200

RetrieveJobThatWasSuccessfulOKCode is the HTTP code returned for type RetrieveJobThatWasSuccessfulOK

Variables

This section is empty.

Functions

This section is empty.

Types

type RetrieveJobThatWasSuccessful

type RetrieveJobThatWasSuccessful struct {
	Context *middleware.Context
	Handler RetrieveJobThatWasSuccessfulHandler
}

RetrieveJobThatWasSuccessful swagger:route GET /jobs/{guid} jobs retrieveJobThatWasSuccessful

Retrieve Job that was successful

curl --insecure -i %s/v2/jobs/{guid} -X GET -H 'Authorization: %s'

func NewRetrieveJobThatWasSuccessful

func NewRetrieveJobThatWasSuccessful(ctx *middleware.Context, handler RetrieveJobThatWasSuccessfulHandler) *RetrieveJobThatWasSuccessful

NewRetrieveJobThatWasSuccessful creates a new http.Handler for the retrieve job that was successful operation

func (*RetrieveJobThatWasSuccessful) ServeHTTP

type RetrieveJobThatWasSuccessfulHandler

type RetrieveJobThatWasSuccessfulHandler interface {
	Handle(RetrieveJobThatWasSuccessfulParams) middleware.Responder
}

RetrieveJobThatWasSuccessfulHandler interface for that can handle valid retrieve job that was successful params

type RetrieveJobThatWasSuccessfulHandlerFunc

type RetrieveJobThatWasSuccessfulHandlerFunc func(RetrieveJobThatWasSuccessfulParams) middleware.Responder

RetrieveJobThatWasSuccessfulHandlerFunc turns a function with the right signature into a retrieve job that was successful handler

func (RetrieveJobThatWasSuccessfulHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveJobThatWasSuccessfulOK

type RetrieveJobThatWasSuccessfulOK struct {

	/*
	  In: Body
	*/
	Payload *models.RetrieveJobThatWasSuccessfulResponseResource `json:"body,omitempty"`
}

RetrieveJobThatWasSuccessfulOK successful response

swagger:response retrieveJobThatWasSuccessfulOK

func NewRetrieveJobThatWasSuccessfulOK

func NewRetrieveJobThatWasSuccessfulOK() *RetrieveJobThatWasSuccessfulOK

NewRetrieveJobThatWasSuccessfulOK creates RetrieveJobThatWasSuccessfulOK with default headers values

func (*RetrieveJobThatWasSuccessfulOK) SetPayload

SetPayload sets the payload to the retrieve job that was successful o k response

func (*RetrieveJobThatWasSuccessfulOK) WithPayload

WithPayload adds the payload to the retrieve job that was successful o k response

func (*RetrieveJobThatWasSuccessfulOK) WriteResponse

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

WriteResponse to the client

type RetrieveJobThatWasSuccessfulParams

type RetrieveJobThatWasSuccessfulParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/jobs/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

RetrieveJobThatWasSuccessfulParams contains all the bound params for the retrieve job that was successful operation typically these are obtained from a http.Request

swagger:parameters retrieveJobThatWasSuccessful

func NewRetrieveJobThatWasSuccessfulParams

func NewRetrieveJobThatWasSuccessfulParams() RetrieveJobThatWasSuccessfulParams

NewRetrieveJobThatWasSuccessfulParams creates a new RetrieveJobThatWasSuccessfulParams object no default values defined in spec.

func (*RetrieveJobThatWasSuccessfulParams) 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 NewRetrieveJobThatWasSuccessfulParams() beforehand.

type RetrieveJobThatWasSuccessfulURL

type RetrieveJobThatWasSuccessfulURL struct {
	GUID string
	// contains filtered or unexported fields
}

RetrieveJobThatWasSuccessfulURL generates an URL for the retrieve job that was successful operation

func (*RetrieveJobThatWasSuccessfulURL) Build

Build a url path and query string

func (*RetrieveJobThatWasSuccessfulURL) BuildFull

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

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

func (*RetrieveJobThatWasSuccessfulURL) Must

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

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

func (*RetrieveJobThatWasSuccessfulURL) SetBasePath

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

String returns the string representation of the path with query string

func (*RetrieveJobThatWasSuccessfulURL) StringFull

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

StringFull returns the string representation of a complete url

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

Jump to

Keyboard shortcuts

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