Documentation
¶
Index ¶
- Constants
- type ListComponentVersions
- type ListComponentVersionsHandler
- type ListComponentVersionsHandlerFunc
- type ListComponentVersionsOK
- type ListComponentVersionsParams
- type ListComponentVersionsURL
- func (o *ListComponentVersionsURL) Build() (*url.URL, error)
- func (o *ListComponentVersionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListComponentVersionsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListComponentVersionsURL) SetBasePath(bp string)
- func (o *ListComponentVersionsURL) String() string
- func (o *ListComponentVersionsURL) StringFull(scheme, host string) string
- func (o *ListComponentVersionsURL) WithBasePath(bp string) *ListComponentVersionsURL
Constants ¶
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) middleware.Responder
}
ListComponentVersionsHandler interface for that can handle valid list component versions params
type ListComponentVersionsHandlerFunc ¶
type ListComponentVersionsHandlerFunc func(ListComponentVersionsParams) 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) 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 ¶
func (o *ListComponentVersionsOK) WithPayload(payload *models.ListVersions) *ListComponentVersionsOK
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 ¶
func (o *ListComponentVersionsParams) 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 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 ¶
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 ¶
func (o *ListComponentVersionsURL) WithBasePath(bp string) *ListComponentVersionsURL
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