core

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const GetCoreAPIVersionsOKCode int = 200

GetCoreAPIVersionsOKCode is the HTTP code returned for type GetCoreAPIVersionsOK

View Source
const GetCoreAPIVersionsUnauthorizedCode int = 401

GetCoreAPIVersionsUnauthorizedCode is the HTTP code returned for type GetCoreAPIVersionsUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCoreAPIVersions

type GetCoreAPIVersions struct {
	Context *middleware.Context
	Handler GetCoreAPIVersionsHandler
}

GetCoreAPIVersions swagger:route GET /api/ core getCoreApiVersions

get available API versions

func NewGetCoreAPIVersions

func NewGetCoreAPIVersions(ctx *middleware.Context, handler GetCoreAPIVersionsHandler) *GetCoreAPIVersions

NewGetCoreAPIVersions creates a new http.Handler for the get core API versions operation

func (*GetCoreAPIVersions) ServeHTTP

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

type GetCoreAPIVersionsHandler

type GetCoreAPIVersionsHandler interface {
	Handle(GetCoreAPIVersionsParams) middleware.Responder
}

GetCoreAPIVersionsHandler interface for that can handle valid get core API versions params

type GetCoreAPIVersionsHandlerFunc

type GetCoreAPIVersionsHandlerFunc func(GetCoreAPIVersionsParams) middleware.Responder

GetCoreAPIVersionsHandlerFunc turns a function with the right signature into a get core API versions handler

func (GetCoreAPIVersionsHandlerFunc) Handle

Handle executing the request and returning a response

type GetCoreAPIVersionsOK

type GetCoreAPIVersionsOK struct {

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

GetCoreAPIVersionsOK OK

swagger:response getCoreApiVersionsOK

func NewGetCoreAPIVersionsOK

func NewGetCoreAPIVersionsOK() *GetCoreAPIVersionsOK

NewGetCoreAPIVersionsOK creates GetCoreAPIVersionsOK with default headers values

func (*GetCoreAPIVersionsOK) SetPayload

SetPayload sets the payload to the get core Api versions o k response

func (*GetCoreAPIVersionsOK) WithPayload

WithPayload adds the payload to the get core Api versions o k response

func (*GetCoreAPIVersionsOK) WriteResponse

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

WriteResponse to the client

type GetCoreAPIVersionsParams

type GetCoreAPIVersionsParams struct {

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

GetCoreAPIVersionsParams contains all the bound params for the get core API versions operation typically these are obtained from a http.Request

swagger:parameters getCoreAPIVersions

func NewGetCoreAPIVersionsParams

func NewGetCoreAPIVersionsParams() GetCoreAPIVersionsParams

NewGetCoreAPIVersionsParams creates a new GetCoreAPIVersionsParams object no default values defined in spec.

func (*GetCoreAPIVersionsParams) 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 NewGetCoreAPIVersionsParams() beforehand.

type GetCoreAPIVersionsUnauthorized

type GetCoreAPIVersionsUnauthorized struct {
}

GetCoreAPIVersionsUnauthorized Unauthorized

swagger:response getCoreApiVersionsUnauthorized

func NewGetCoreAPIVersionsUnauthorized

func NewGetCoreAPIVersionsUnauthorized() *GetCoreAPIVersionsUnauthorized

NewGetCoreAPIVersionsUnauthorized creates GetCoreAPIVersionsUnauthorized with default headers values

func (*GetCoreAPIVersionsUnauthorized) WriteResponse

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