extensions

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 GetExtensionsAPIGroupOKCode int = 200

GetExtensionsAPIGroupOKCode is the HTTP code returned for type GetExtensionsAPIGroupOK

View Source
const GetExtensionsAPIGroupUnauthorizedCode int = 401

GetExtensionsAPIGroupUnauthorizedCode is the HTTP code returned for type GetExtensionsAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetExtensionsAPIGroup

type GetExtensionsAPIGroup struct {
	Context *middleware.Context
	Handler GetExtensionsAPIGroupHandler
}

GetExtensionsAPIGroup swagger:route GET /apis/extensions/ extensions getExtensionsApiGroup

get information of a group

func NewGetExtensionsAPIGroup

func NewGetExtensionsAPIGroup(ctx *middleware.Context, handler GetExtensionsAPIGroupHandler) *GetExtensionsAPIGroup

NewGetExtensionsAPIGroup creates a new http.Handler for the get extensions API group operation

func (*GetExtensionsAPIGroup) ServeHTTP

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

type GetExtensionsAPIGroupHandler

type GetExtensionsAPIGroupHandler interface {
	Handle(GetExtensionsAPIGroupParams) middleware.Responder
}

GetExtensionsAPIGroupHandler interface for that can handle valid get extensions API group params

type GetExtensionsAPIGroupHandlerFunc

type GetExtensionsAPIGroupHandlerFunc func(GetExtensionsAPIGroupParams) middleware.Responder

GetExtensionsAPIGroupHandlerFunc turns a function with the right signature into a get extensions API group handler

func (GetExtensionsAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetExtensionsAPIGroupOK

type GetExtensionsAPIGroupOK struct {

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

GetExtensionsAPIGroupOK OK

swagger:response getExtensionsApiGroupOK

func NewGetExtensionsAPIGroupOK

func NewGetExtensionsAPIGroupOK() *GetExtensionsAPIGroupOK

NewGetExtensionsAPIGroupOK creates GetExtensionsAPIGroupOK with default headers values

func (*GetExtensionsAPIGroupOK) SetPayload

SetPayload sets the payload to the get extensions Api group o k response

func (*GetExtensionsAPIGroupOK) WithPayload

WithPayload adds the payload to the get extensions Api group o k response

func (*GetExtensionsAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetExtensionsAPIGroupParams

type GetExtensionsAPIGroupParams struct {

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

GetExtensionsAPIGroupParams contains all the bound params for the get extensions API group operation typically these are obtained from a http.Request

swagger:parameters getExtensionsAPIGroup

func NewGetExtensionsAPIGroupParams

func NewGetExtensionsAPIGroupParams() GetExtensionsAPIGroupParams

NewGetExtensionsAPIGroupParams creates a new GetExtensionsAPIGroupParams object no default values defined in spec.

func (*GetExtensionsAPIGroupParams) 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 NewGetExtensionsAPIGroupParams() beforehand.

type GetExtensionsAPIGroupUnauthorized

type GetExtensionsAPIGroupUnauthorized struct {
}

GetExtensionsAPIGroupUnauthorized Unauthorized

swagger:response getExtensionsApiGroupUnauthorized

func NewGetExtensionsAPIGroupUnauthorized

func NewGetExtensionsAPIGroupUnauthorized() *GetExtensionsAPIGroupUnauthorized

NewGetExtensionsAPIGroupUnauthorized creates GetExtensionsAPIGroupUnauthorized with default headers values

func (*GetExtensionsAPIGroupUnauthorized) WriteResponse

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