releases

package
v0.0.2-0...-8752257 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AddReleasesBadRequestCode int = 400

AddReleasesBadRequestCode is the HTTP code returned for type AddReleasesBadRequest

View Source
const AddReleasesCreatedCode int = 201

AddReleasesCreatedCode is the HTTP code returned for type AddReleasesCreated

View Source
const AddReleasesInternalServerErrorCode int = 500

AddReleasesInternalServerErrorCode is the HTTP code returned for type AddReleasesInternalServerError

View Source
const AddReleasesUnauthorizedCode int = 401

AddReleasesUnauthorizedCode is the HTTP code returned for type AddReleasesUnauthorized

View Source
const DeleteReleaseBadRequestCode int = 400

DeleteReleaseBadRequestCode is the HTTP code returned for type DeleteReleaseBadRequest

View Source
const DeleteReleaseInternalServerErrorCode int = 500

DeleteReleaseInternalServerErrorCode is the HTTP code returned for type DeleteReleaseInternalServerError

View Source
const DeleteReleaseNotFoundCode int = 404

DeleteReleaseNotFoundCode is the HTTP code returned for type DeleteReleaseNotFound

View Source
const DeleteReleaseOKCode int = 200

DeleteReleaseOKCode is the HTTP code returned for type DeleteReleaseOK

View Source
const DeleteReleaseUnauthorizedCode int = 401

DeleteReleaseUnauthorizedCode is the HTTP code returned for type DeleteReleaseUnauthorized

View Source
const GetReleaseByIDBadRequestCode int = 400

GetReleaseByIDBadRequestCode is the HTTP code returned for type GetReleaseByIDBadRequest

View Source
const GetReleaseByIDInternalServerErrorCode int = 500

GetReleaseByIDInternalServerErrorCode is the HTTP code returned for type GetReleaseByIDInternalServerError

View Source
const GetReleaseByIDNotFoundCode int = 404

GetReleaseByIDNotFoundCode is the HTTP code returned for type GetReleaseByIDNotFound

View Source
const GetReleaseByIDOKCode int = 200

GetReleaseByIDOKCode is the HTTP code returned for type GetReleaseByIDOK

View Source
const GetReleaseByIDUnauthorizedCode int = 401

GetReleaseByIDUnauthorizedCode is the HTTP code returned for type GetReleaseByIDUnauthorized

View Source
const GetReleasesBadRequestCode int = 400

GetReleasesBadRequestCode is the HTTP code returned for type GetReleasesBadRequest

View Source
const GetReleasesInternalServerErrorCode int = 500

GetReleasesInternalServerErrorCode is the HTTP code returned for type GetReleasesInternalServerError

View Source
const GetReleasesOKCode int = 200

GetReleasesOKCode is the HTTP code returned for type GetReleasesOK

View Source
const GetReleasesUnauthorizedCode int = 401

GetReleasesUnauthorizedCode is the HTTP code returned for type GetReleasesUnauthorized

View Source
const UpdateReleaseBadRequestCode int = 400

UpdateReleaseBadRequestCode is the HTTP code returned for type UpdateReleaseBadRequest

View Source
const UpdateReleaseInternalServerErrorCode int = 500

UpdateReleaseInternalServerErrorCode is the HTTP code returned for type UpdateReleaseInternalServerError

View Source
const UpdateReleaseNotFoundCode int = 404

UpdateReleaseNotFoundCode is the HTTP code returned for type UpdateReleaseNotFound

View Source
const UpdateReleaseOKCode int = 200

UpdateReleaseOKCode is the HTTP code returned for type UpdateReleaseOK

View Source
const UpdateReleaseUnauthorizedCode int = 401

UpdateReleaseUnauthorizedCode is the HTTP code returned for type UpdateReleaseUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddReleases

type AddReleases struct {
	Context *middleware.Context
	Handler AddReleasesHandler
}

AddReleases swagger:route POST /releases releases addReleases

Add a new release to the clusters

func NewAddReleases

func NewAddReleases(ctx *middleware.Context, handler AddReleasesHandler) *AddReleases

NewAddReleases creates a new http.Handler for the add releases operation

func (*AddReleases) ServeHTTP

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

type AddReleasesBadRequest

type AddReleasesBadRequest struct {

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

AddReleasesBadRequest Bad Request

swagger:response addReleasesBadRequest

func NewAddReleasesBadRequest

func NewAddReleasesBadRequest() *AddReleasesBadRequest

NewAddReleasesBadRequest creates AddReleasesBadRequest with default headers values

func (*AddReleasesBadRequest) SetPayload

func (o *AddReleasesBadRequest) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the add releases bad request response

func (*AddReleasesBadRequest) WithPayload

WithPayload adds the payload to the add releases bad request response

func (*AddReleasesBadRequest) WriteResponse

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

WriteResponse to the client

type AddReleasesCreated

type AddReleasesCreated struct {

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

AddReleasesCreated Created

swagger:response addReleasesCreated

func NewAddReleasesCreated

func NewAddReleasesCreated() *AddReleasesCreated

NewAddReleasesCreated creates AddReleasesCreated with default headers values

func (*AddReleasesCreated) SetPayload

func (o *AddReleasesCreated) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the add releases created response

func (*AddReleasesCreated) WithPayload

func (o *AddReleasesCreated) WithPayload(payload *models.APIResponse) *AddReleasesCreated

WithPayload adds the payload to the add releases created response

func (*AddReleasesCreated) WriteResponse

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

WriteResponse to the client

type AddReleasesHandler

type AddReleasesHandler interface {
	Handle(AddReleasesParams) middleware.Responder
}

AddReleasesHandler interface for that can handle valid add releases params

type AddReleasesHandlerFunc

type AddReleasesHandlerFunc func(AddReleasesParams) middleware.Responder

AddReleasesHandlerFunc turns a function with the right signature into a add releases handler

func (AddReleasesHandlerFunc) Handle

Handle executing the request and returning a response

type AddReleasesInternalServerError

type AddReleasesInternalServerError struct {

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

AddReleasesInternalServerError Internal Server Error

swagger:response addReleasesInternalServerError

func NewAddReleasesInternalServerError

func NewAddReleasesInternalServerError() *AddReleasesInternalServerError

NewAddReleasesInternalServerError creates AddReleasesInternalServerError with default headers values

func (*AddReleasesInternalServerError) SetPayload

func (o *AddReleasesInternalServerError) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the add releases internal server error response

func (*AddReleasesInternalServerError) WithPayload

WithPayload adds the payload to the add releases internal server error response

func (*AddReleasesInternalServerError) WriteResponse

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

WriteResponse to the client

type AddReleasesParams

type AddReleasesParams struct {

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

	/*The file to upload
	  Required: true
	  In: formData
	*/
	ChartTar runtime.File
	/*The node labels to identify applicable clusters
	  In: query
	*/
	Labels *string
	/*The name of the helm release
	  Required: true
	  In: formData
	*/
	Name string
	/*The kubernetes namespace to be used
	  Required: true
	  In: formData
	*/
	Namespace string
}

AddReleasesParams contains all the bound params for the add releases operation typically these are obtained from a http.Request

swagger:parameters addReleases

func NewAddReleasesParams

func NewAddReleasesParams() AddReleasesParams

NewAddReleasesParams creates a new AddReleasesParams object with the default values initialized.

func (*AddReleasesParams) BindRequest

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

type AddReleasesURL

type AddReleasesURL struct {
	Labels *string
	// contains filtered or unexported fields
}

AddReleasesURL generates an URL for the add releases operation

func (*AddReleasesURL) Build

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

Build a url path and query string

func (*AddReleasesURL) BuildFull

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

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

func (*AddReleasesURL) Must

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

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

func (*AddReleasesURL) SetBasePath

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

func (o *AddReleasesURL) String() string

String returns the string representation of the path with query string

func (*AddReleasesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddReleasesURL) WithBasePath

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

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 AddReleasesUnauthorized

type AddReleasesUnauthorized struct {

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

AddReleasesUnauthorized Unauthorized

swagger:response addReleasesUnauthorized

func NewAddReleasesUnauthorized

func NewAddReleasesUnauthorized() *AddReleasesUnauthorized

NewAddReleasesUnauthorized creates AddReleasesUnauthorized with default headers values

func (*AddReleasesUnauthorized) SetPayload

func (o *AddReleasesUnauthorized) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the add releases unauthorized response

func (*AddReleasesUnauthorized) WithPayload

WithPayload adds the payload to the add releases unauthorized response

func (*AddReleasesUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteRelease

type DeleteRelease struct {
	Context *middleware.Context
	Handler DeleteReleaseHandler
}

DeleteRelease swagger:route DELETE /releases/{releaseId} releases deleteRelease

Delete release by ID

func NewDeleteRelease

func NewDeleteRelease(ctx *middleware.Context, handler DeleteReleaseHandler) *DeleteRelease

NewDeleteRelease creates a new http.Handler for the delete release operation

func (*DeleteRelease) ServeHTTP

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

type DeleteReleaseBadRequest

type DeleteReleaseBadRequest struct {

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

DeleteReleaseBadRequest Bad Request

swagger:response deleteReleaseBadRequest

func NewDeleteReleaseBadRequest

func NewDeleteReleaseBadRequest() *DeleteReleaseBadRequest

NewDeleteReleaseBadRequest creates DeleteReleaseBadRequest with default headers values

func (*DeleteReleaseBadRequest) SetPayload

func (o *DeleteReleaseBadRequest) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the delete release bad request response

func (*DeleteReleaseBadRequest) WithPayload

WithPayload adds the payload to the delete release bad request response

func (*DeleteReleaseBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteReleaseHandler

type DeleteReleaseHandler interface {
	Handle(DeleteReleaseParams) middleware.Responder
}

DeleteReleaseHandler interface for that can handle valid delete release params

type DeleteReleaseHandlerFunc

type DeleteReleaseHandlerFunc func(DeleteReleaseParams) middleware.Responder

DeleteReleaseHandlerFunc turns a function with the right signature into a delete release handler

func (DeleteReleaseHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteReleaseInternalServerError

type DeleteReleaseInternalServerError struct {

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

DeleteReleaseInternalServerError Internal Server Error

swagger:response deleteReleaseInternalServerError

func NewDeleteReleaseInternalServerError

func NewDeleteReleaseInternalServerError() *DeleteReleaseInternalServerError

NewDeleteReleaseInternalServerError creates DeleteReleaseInternalServerError with default headers values

func (*DeleteReleaseInternalServerError) SetPayload

func (o *DeleteReleaseInternalServerError) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the delete release internal server error response

func (*DeleteReleaseInternalServerError) WithPayload

WithPayload adds the payload to the delete release internal server error response

func (*DeleteReleaseInternalServerError) WriteResponse

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

WriteResponse to the client

type DeleteReleaseNotFound

type DeleteReleaseNotFound struct {

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

DeleteReleaseNotFound The specified resource was not found

swagger:response deleteReleaseNotFound

func NewDeleteReleaseNotFound

func NewDeleteReleaseNotFound() *DeleteReleaseNotFound

NewDeleteReleaseNotFound creates DeleteReleaseNotFound with default headers values

func (*DeleteReleaseNotFound) SetPayload

func (o *DeleteReleaseNotFound) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the delete release not found response

func (*DeleteReleaseNotFound) WithPayload

WithPayload adds the payload to the delete release not found response

func (*DeleteReleaseNotFound) WriteResponse

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

WriteResponse to the client

type DeleteReleaseOK

type DeleteReleaseOK struct {
}

DeleteReleaseOK OK

swagger:response deleteReleaseOK

func NewDeleteReleaseOK

func NewDeleteReleaseOK() *DeleteReleaseOK

NewDeleteReleaseOK creates DeleteReleaseOK with default headers values

func (*DeleteReleaseOK) WriteResponse

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

WriteResponse to the client

type DeleteReleaseParams

type DeleteReleaseParams struct {

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

	/*The node labels to identify applicable clusters
	  In: query
	*/
	Labels *string
	/*ID of release to return
	  Required: true
	  In: path
	*/
	ReleaseID string
}

DeleteReleaseParams contains all the bound params for the delete release operation typically these are obtained from a http.Request

swagger:parameters deleteRelease

func NewDeleteReleaseParams

func NewDeleteReleaseParams() DeleteReleaseParams

NewDeleteReleaseParams creates a new DeleteReleaseParams object with the default values initialized.

func (*DeleteReleaseParams) BindRequest

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

type DeleteReleaseURL

type DeleteReleaseURL struct {
	ReleaseID string

	Labels *string
	// contains filtered or unexported fields
}

DeleteReleaseURL generates an URL for the delete release operation

func (*DeleteReleaseURL) Build

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

Build a url path and query string

func (*DeleteReleaseURL) BuildFull

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

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

func (*DeleteReleaseURL) Must

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

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

func (*DeleteReleaseURL) SetBasePath

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

func (o *DeleteReleaseURL) String() string

String returns the string representation of the path with query string

func (*DeleteReleaseURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteReleaseURL) WithBasePath

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

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 DeleteReleaseUnauthorized

type DeleteReleaseUnauthorized struct {

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

DeleteReleaseUnauthorized Unauthorized

swagger:response deleteReleaseUnauthorized

func NewDeleteReleaseUnauthorized

func NewDeleteReleaseUnauthorized() *DeleteReleaseUnauthorized

NewDeleteReleaseUnauthorized creates DeleteReleaseUnauthorized with default headers values

func (*DeleteReleaseUnauthorized) SetPayload

func (o *DeleteReleaseUnauthorized) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the delete release unauthorized response

func (*DeleteReleaseUnauthorized) WithPayload

WithPayload adds the payload to the delete release unauthorized response

func (*DeleteReleaseUnauthorized) WriteResponse

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

WriteResponse to the client

type GetReleaseByID

type GetReleaseByID struct {
	Context *middleware.Context
	Handler GetReleaseByIDHandler
}

GetReleaseByID swagger:route GET /releases/{releaseId} releases getReleaseById

Find release by ID

Returns a single release

func NewGetReleaseByID

func NewGetReleaseByID(ctx *middleware.Context, handler GetReleaseByIDHandler) *GetReleaseByID

NewGetReleaseByID creates a new http.Handler for the get release by Id operation

func (*GetReleaseByID) ServeHTTP

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

type GetReleaseByIDBadRequest

type GetReleaseByIDBadRequest struct {

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

GetReleaseByIDBadRequest Bad Request

swagger:response getReleaseByIdBadRequest

func NewGetReleaseByIDBadRequest

func NewGetReleaseByIDBadRequest() *GetReleaseByIDBadRequest

NewGetReleaseByIDBadRequest creates GetReleaseByIDBadRequest with default headers values

func (*GetReleaseByIDBadRequest) SetPayload

func (o *GetReleaseByIDBadRequest) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get release by Id bad request response

func (*GetReleaseByIDBadRequest) WithPayload

WithPayload adds the payload to the get release by Id bad request response

func (*GetReleaseByIDBadRequest) WriteResponse

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

WriteResponse to the client

type GetReleaseByIDHandler

type GetReleaseByIDHandler interface {
	Handle(GetReleaseByIDParams) middleware.Responder
}

GetReleaseByIDHandler interface for that can handle valid get release by Id params

type GetReleaseByIDHandlerFunc

type GetReleaseByIDHandlerFunc func(GetReleaseByIDParams) middleware.Responder

GetReleaseByIDHandlerFunc turns a function with the right signature into a get release by Id handler

func (GetReleaseByIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetReleaseByIDInternalServerError

type GetReleaseByIDInternalServerError struct {

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

GetReleaseByIDInternalServerError Internal Server Error

swagger:response getReleaseByIdInternalServerError

func NewGetReleaseByIDInternalServerError

func NewGetReleaseByIDInternalServerError() *GetReleaseByIDInternalServerError

NewGetReleaseByIDInternalServerError creates GetReleaseByIDInternalServerError with default headers values

func (*GetReleaseByIDInternalServerError) SetPayload

func (o *GetReleaseByIDInternalServerError) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get release by Id internal server error response

func (*GetReleaseByIDInternalServerError) WithPayload

WithPayload adds the payload to the get release by Id internal server error response

func (*GetReleaseByIDInternalServerError) WriteResponse

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

WriteResponse to the client

type GetReleaseByIDNotFound

type GetReleaseByIDNotFound struct {

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

GetReleaseByIDNotFound The specified resource was not found

swagger:response getReleaseByIdNotFound

func NewGetReleaseByIDNotFound

func NewGetReleaseByIDNotFound() *GetReleaseByIDNotFound

NewGetReleaseByIDNotFound creates GetReleaseByIDNotFound with default headers values

func (*GetReleaseByIDNotFound) SetPayload

func (o *GetReleaseByIDNotFound) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get release by Id not found response

func (*GetReleaseByIDNotFound) WithPayload

WithPayload adds the payload to the get release by Id not found response

func (*GetReleaseByIDNotFound) WriteResponse

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

WriteResponse to the client

type GetReleaseByIDOK

type GetReleaseByIDOK struct {

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

GetReleaseByIDOK OK

swagger:response getReleaseByIdOK

func NewGetReleaseByIDOK

func NewGetReleaseByIDOK() *GetReleaseByIDOK

NewGetReleaseByIDOK creates GetReleaseByIDOK with default headers values

func (*GetReleaseByIDOK) SetPayload

func (o *GetReleaseByIDOK) SetPayload(payload *models.ReleaseRelease)

SetPayload sets the payload to the get release by Id o k response

func (*GetReleaseByIDOK) WithPayload

func (o *GetReleaseByIDOK) WithPayload(payload *models.ReleaseRelease) *GetReleaseByIDOK

WithPayload adds the payload to the get release by Id o k response

func (*GetReleaseByIDOK) WriteResponse

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

WriteResponse to the client

type GetReleaseByIDParams

type GetReleaseByIDParams struct {

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

	/*The node labels to identify applicable clusters
	  In: query
	*/
	Labels *string
	/*ID of release to return
	  Required: true
	  In: path
	*/
	ReleaseID string
}

GetReleaseByIDParams contains all the bound params for the get release by Id operation typically these are obtained from a http.Request

swagger:parameters getReleaseById

func NewGetReleaseByIDParams

func NewGetReleaseByIDParams() GetReleaseByIDParams

NewGetReleaseByIDParams creates a new GetReleaseByIDParams object with the default values initialized.

func (*GetReleaseByIDParams) BindRequest

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

type GetReleaseByIDURL

type GetReleaseByIDURL struct {
	ReleaseID string

	Labels *string
	// contains filtered or unexported fields
}

GetReleaseByIDURL generates an URL for the get release by Id operation

func (*GetReleaseByIDURL) Build

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

Build a url path and query string

func (*GetReleaseByIDURL) BuildFull

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

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

func (*GetReleaseByIDURL) Must

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

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

func (*GetReleaseByIDURL) SetBasePath

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

func (o *GetReleaseByIDURL) String() string

String returns the string representation of the path with query string

func (*GetReleaseByIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetReleaseByIDURL) WithBasePath

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

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 GetReleaseByIDUnauthorized

type GetReleaseByIDUnauthorized struct {

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

GetReleaseByIDUnauthorized Unauthorized

swagger:response getReleaseByIdUnauthorized

func NewGetReleaseByIDUnauthorized

func NewGetReleaseByIDUnauthorized() *GetReleaseByIDUnauthorized

NewGetReleaseByIDUnauthorized creates GetReleaseByIDUnauthorized with default headers values

func (*GetReleaseByIDUnauthorized) SetPayload

func (o *GetReleaseByIDUnauthorized) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get release by Id unauthorized response

func (*GetReleaseByIDUnauthorized) WithPayload

WithPayload adds the payload to the get release by Id unauthorized response

func (*GetReleaseByIDUnauthorized) WriteResponse

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

WriteResponse to the client

type GetReleases

type GetReleases struct {
	Context *middleware.Context
	Handler GetReleasesHandler
}

GetReleases swagger:route GET /releases releases getReleases

Returns all releases

Returns a list of releases

func NewGetReleases

func NewGetReleases(ctx *middleware.Context, handler GetReleasesHandler) *GetReleases

NewGetReleases creates a new http.Handler for the get releases operation

func (*GetReleases) ServeHTTP

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

type GetReleasesBadRequest

type GetReleasesBadRequest struct {

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

GetReleasesBadRequest Bad Request

swagger:response getReleasesBadRequest

func NewGetReleasesBadRequest

func NewGetReleasesBadRequest() *GetReleasesBadRequest

NewGetReleasesBadRequest creates GetReleasesBadRequest with default headers values

func (*GetReleasesBadRequest) SetPayload

func (o *GetReleasesBadRequest) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get releases bad request response

func (*GetReleasesBadRequest) WithPayload

WithPayload adds the payload to the get releases bad request response

func (*GetReleasesBadRequest) WriteResponse

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

WriteResponse to the client

type GetReleasesHandler

type GetReleasesHandler interface {
	Handle(GetReleasesParams) middleware.Responder
}

GetReleasesHandler interface for that can handle valid get releases params

type GetReleasesHandlerFunc

type GetReleasesHandlerFunc func(GetReleasesParams) middleware.Responder

GetReleasesHandlerFunc turns a function with the right signature into a get releases handler

func (GetReleasesHandlerFunc) Handle

Handle executing the request and returning a response

type GetReleasesInternalServerError

type GetReleasesInternalServerError struct {

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

GetReleasesInternalServerError Internal Server Error

swagger:response getReleasesInternalServerError

func NewGetReleasesInternalServerError

func NewGetReleasesInternalServerError() *GetReleasesInternalServerError

NewGetReleasesInternalServerError creates GetReleasesInternalServerError with default headers values

func (*GetReleasesInternalServerError) SetPayload

func (o *GetReleasesInternalServerError) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get releases internal server error response

func (*GetReleasesInternalServerError) WithPayload

WithPayload adds the payload to the get releases internal server error response

func (*GetReleasesInternalServerError) WriteResponse

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

WriteResponse to the client

type GetReleasesOK

type GetReleasesOK struct {

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

GetReleasesOK OK

swagger:response getReleasesOK

func NewGetReleasesOK

func NewGetReleasesOK() *GetReleasesOK

NewGetReleasesOK creates GetReleasesOK with default headers values

func (*GetReleasesOK) SetPayload

func (o *GetReleasesOK) SetPayload(payload models.GetReleasesOKBody)

SetPayload sets the payload to the get releases o k response

func (*GetReleasesOK) WithPayload

func (o *GetReleasesOK) WithPayload(payload models.GetReleasesOKBody) *GetReleasesOK

WithPayload adds the payload to the get releases o k response

func (*GetReleasesOK) WriteResponse

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

WriteResponse to the client

type GetReleasesParams

type GetReleasesParams struct {

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

	/*The node labels to identify applicable clusters
	  In: query
	*/
	Labels *string
}

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

swagger:parameters getReleases

func NewGetReleasesParams

func NewGetReleasesParams() GetReleasesParams

NewGetReleasesParams creates a new GetReleasesParams object with the default values initialized.

func (*GetReleasesParams) BindRequest

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

type GetReleasesURL

type GetReleasesURL struct {
	Labels *string
	// contains filtered or unexported fields
}

GetReleasesURL generates an URL for the get releases operation

func (*GetReleasesURL) Build

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

Build a url path and query string

func (*GetReleasesURL) BuildFull

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

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

func (*GetReleasesURL) Must

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

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

func (*GetReleasesURL) SetBasePath

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

func (o *GetReleasesURL) String() string

String returns the string representation of the path with query string

func (*GetReleasesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetReleasesURL) WithBasePath

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

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 GetReleasesUnauthorized

type GetReleasesUnauthorized struct {

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

GetReleasesUnauthorized Unauthorized

swagger:response getReleasesUnauthorized

func NewGetReleasesUnauthorized

func NewGetReleasesUnauthorized() *GetReleasesUnauthorized

NewGetReleasesUnauthorized creates GetReleasesUnauthorized with default headers values

func (*GetReleasesUnauthorized) SetPayload

func (o *GetReleasesUnauthorized) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the get releases unauthorized response

func (*GetReleasesUnauthorized) WithPayload

WithPayload adds the payload to the get releases unauthorized response

func (*GetReleasesUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateRelease

type UpdateRelease struct {
	Context *middleware.Context
	Handler UpdateReleaseHandler
}

UpdateRelease swagger:route PUT /releases/{releaseId} releases updateRelease

Update an existing release

func NewUpdateRelease

func NewUpdateRelease(ctx *middleware.Context, handler UpdateReleaseHandler) *UpdateRelease

NewUpdateRelease creates a new http.Handler for the update release operation

func (*UpdateRelease) ServeHTTP

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

type UpdateReleaseBadRequest

type UpdateReleaseBadRequest struct {

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

UpdateReleaseBadRequest Bad Request

swagger:response updateReleaseBadRequest

func NewUpdateReleaseBadRequest

func NewUpdateReleaseBadRequest() *UpdateReleaseBadRequest

NewUpdateReleaseBadRequest creates UpdateReleaseBadRequest with default headers values

func (*UpdateReleaseBadRequest) SetPayload

func (o *UpdateReleaseBadRequest) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update release bad request response

func (*UpdateReleaseBadRequest) WithPayload

WithPayload adds the payload to the update release bad request response

func (*UpdateReleaseBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateReleaseHandler

type UpdateReleaseHandler interface {
	Handle(UpdateReleaseParams) middleware.Responder
}

UpdateReleaseHandler interface for that can handle valid update release params

type UpdateReleaseHandlerFunc

type UpdateReleaseHandlerFunc func(UpdateReleaseParams) middleware.Responder

UpdateReleaseHandlerFunc turns a function with the right signature into a update release handler

func (UpdateReleaseHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateReleaseInternalServerError

type UpdateReleaseInternalServerError struct {

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

UpdateReleaseInternalServerError Internal Server Error

swagger:response updateReleaseInternalServerError

func NewUpdateReleaseInternalServerError

func NewUpdateReleaseInternalServerError() *UpdateReleaseInternalServerError

NewUpdateReleaseInternalServerError creates UpdateReleaseInternalServerError with default headers values

func (*UpdateReleaseInternalServerError) SetPayload

func (o *UpdateReleaseInternalServerError) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update release internal server error response

func (*UpdateReleaseInternalServerError) WithPayload

WithPayload adds the payload to the update release internal server error response

func (*UpdateReleaseInternalServerError) WriteResponse

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

WriteResponse to the client

type UpdateReleaseNotFound

type UpdateReleaseNotFound struct {

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

UpdateReleaseNotFound The specified resource was not found

swagger:response updateReleaseNotFound

func NewUpdateReleaseNotFound

func NewUpdateReleaseNotFound() *UpdateReleaseNotFound

NewUpdateReleaseNotFound creates UpdateReleaseNotFound with default headers values

func (*UpdateReleaseNotFound) SetPayload

func (o *UpdateReleaseNotFound) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update release not found response

func (*UpdateReleaseNotFound) WithPayload

WithPayload adds the payload to the update release not found response

func (*UpdateReleaseNotFound) WriteResponse

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

WriteResponse to the client

type UpdateReleaseOK

type UpdateReleaseOK struct {
}

UpdateReleaseOK OK

swagger:response updateReleaseOK

func NewUpdateReleaseOK

func NewUpdateReleaseOK() *UpdateReleaseOK

NewUpdateReleaseOK creates UpdateReleaseOK with default headers values

func (*UpdateReleaseOK) WriteResponse

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

WriteResponse to the client

type UpdateReleaseParams

type UpdateReleaseParams struct {

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

	/*The file to upload
	  Required: true
	  In: formData
	*/
	ChartTar runtime.File
	/*The node labels to identify applicable clusters
	  In: query
	*/
	Labels *string
	/*ID of release to update
	  Required: true
	  In: path
	*/
	ReleaseID string
}

UpdateReleaseParams contains all the bound params for the update release operation typically these are obtained from a http.Request

swagger:parameters updateRelease

func NewUpdateReleaseParams

func NewUpdateReleaseParams() UpdateReleaseParams

NewUpdateReleaseParams creates a new UpdateReleaseParams object with the default values initialized.

func (*UpdateReleaseParams) BindRequest

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

type UpdateReleaseURL

type UpdateReleaseURL struct {
	ReleaseID string

	Labels *string
	// contains filtered or unexported fields
}

UpdateReleaseURL generates an URL for the update release operation

func (*UpdateReleaseURL) Build

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

Build a url path and query string

func (*UpdateReleaseURL) BuildFull

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

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

func (*UpdateReleaseURL) Must

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

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

func (*UpdateReleaseURL) SetBasePath

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

func (o *UpdateReleaseURL) String() string

String returns the string representation of the path with query string

func (*UpdateReleaseURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateReleaseURL) WithBasePath

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

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 UpdateReleaseUnauthorized

type UpdateReleaseUnauthorized struct {

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

UpdateReleaseUnauthorized Unauthorized

swagger:response updateReleaseUnauthorized

func NewUpdateReleaseUnauthorized

func NewUpdateReleaseUnauthorized() *UpdateReleaseUnauthorized

NewUpdateReleaseUnauthorized creates UpdateReleaseUnauthorized with default headers values

func (*UpdateReleaseUnauthorized) SetPayload

func (o *UpdateReleaseUnauthorized) SetPayload(payload *models.APIResponse)

SetPayload sets the payload to the update release unauthorized response

func (*UpdateReleaseUnauthorized) WithPayload

WithPayload adds the payload to the update release unauthorized response

func (*UpdateReleaseUnauthorized) WriteResponse

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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