versions

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ListComponentVersionsOKCode int = 200

ListComponentVersionsOKCode is the HTTP code returned for type ListComponentVersionsOK

Variables

This section is empty.

Functions

This section is empty.

Types

type ListComponentVersions

type ListComponentVersions struct {
	Context *middleware.Context
	Handler ListComponentVersionsHandler
}

ListComponentVersions swagger:route GET /component_versions versions listComponentVersions

List of componenets versions

func NewListComponentVersions

func NewListComponentVersions(ctx *middleware.Context, handler ListComponentVersionsHandler) *ListComponentVersions

NewListComponentVersions creates a new http.Handler for the list component versions operation

func (*ListComponentVersions) ServeHTTP

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

type ListComponentVersionsHandler

type ListComponentVersionsHandler interface {
	Handle(ListComponentVersionsParams, interface{}) middleware.Responder
}

ListComponentVersionsHandler interface for that can handle valid list component versions params

type ListComponentVersionsHandlerFunc

type ListComponentVersionsHandlerFunc func(ListComponentVersionsParams, interface{}) middleware.Responder

ListComponentVersionsHandlerFunc turns a function with the right signature into a list component versions handler

func (ListComponentVersionsHandlerFunc) Handle

func (fn ListComponentVersionsHandlerFunc) Handle(params ListComponentVersionsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListComponentVersionsOK

type ListComponentVersionsOK struct {

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

ListComponentVersionsOK Success.

swagger:response listComponentVersionsOK

func NewListComponentVersionsOK

func NewListComponentVersionsOK() *ListComponentVersionsOK

NewListComponentVersionsOK creates ListComponentVersionsOK with default headers values

func (*ListComponentVersionsOK) SetPayload

func (o *ListComponentVersionsOK) SetPayload(payload *models.ListVersions)

SetPayload sets the payload to the list component versions o k response

func (*ListComponentVersionsOK) WithPayload

WithPayload adds the payload to the list component versions o k response

func (*ListComponentVersionsOK) WriteResponse

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

WriteResponse to the client

type ListComponentVersionsParams

type ListComponentVersionsParams struct {

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

ListComponentVersionsParams contains all the bound params for the list component versions operation typically these are obtained from a http.Request

swagger:parameters ListComponentVersions

func NewListComponentVersionsParams

func NewListComponentVersionsParams() ListComponentVersionsParams

NewListComponentVersionsParams creates a new ListComponentVersionsParams object no default values defined in spec.

func (*ListComponentVersionsParams) 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 NewListComponentVersionsParams() beforehand.

type ListComponentVersionsURL

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

ListComponentVersionsURL generates an URL for the list component versions operation

func (*ListComponentVersionsURL) Build

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

Build a url path and query string

func (*ListComponentVersionsURL) BuildFull

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

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

func (*ListComponentVersionsURL) Must

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

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

func (*ListComponentVersionsURL) SetBasePath

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

func (o *ListComponentVersionsURL) String() string

String returns the string representation of the path with query string

func (*ListComponentVersionsURL) StringFull

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

StringFull returns the string representation of a complete url

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