apiregistration

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

GetApiregistrationAPIGroupOKCode is the HTTP code returned for type GetApiregistrationAPIGroupOK

View Source
const GetApiregistrationAPIGroupUnauthorizedCode int = 401

GetApiregistrationAPIGroupUnauthorizedCode is the HTTP code returned for type GetApiregistrationAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetApiregistrationAPIGroup

type GetApiregistrationAPIGroup struct {
	Context *middleware.Context
	Handler GetApiregistrationAPIGroupHandler
}

GetApiregistrationAPIGroup swagger:route GET /apis/apiregistration.k8s.io/ apiregistration getApiregistrationApiGroup

get information of a group

func NewGetApiregistrationAPIGroup

func NewGetApiregistrationAPIGroup(ctx *middleware.Context, handler GetApiregistrationAPIGroupHandler) *GetApiregistrationAPIGroup

NewGetApiregistrationAPIGroup creates a new http.Handler for the get apiregistration API group operation

func (*GetApiregistrationAPIGroup) ServeHTTP

type GetApiregistrationAPIGroupHandler

type GetApiregistrationAPIGroupHandler interface {
	Handle(GetApiregistrationAPIGroupParams) middleware.Responder
}

GetApiregistrationAPIGroupHandler interface for that can handle valid get apiregistration API group params

type GetApiregistrationAPIGroupHandlerFunc

type GetApiregistrationAPIGroupHandlerFunc func(GetApiregistrationAPIGroupParams) middleware.Responder

GetApiregistrationAPIGroupHandlerFunc turns a function with the right signature into a get apiregistration API group handler

func (GetApiregistrationAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetApiregistrationAPIGroupOK

type GetApiregistrationAPIGroupOK struct {

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

GetApiregistrationAPIGroupOK OK

swagger:response getApiregistrationApiGroupOK

func NewGetApiregistrationAPIGroupOK

func NewGetApiregistrationAPIGroupOK() *GetApiregistrationAPIGroupOK

NewGetApiregistrationAPIGroupOK creates GetApiregistrationAPIGroupOK with default headers values

func (*GetApiregistrationAPIGroupOK) SetPayload

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

func (*GetApiregistrationAPIGroupOK) WithPayload

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

func (*GetApiregistrationAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetApiregistrationAPIGroupParams

type GetApiregistrationAPIGroupParams struct {

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

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

swagger:parameters getApiregistrationAPIGroup

func NewGetApiregistrationAPIGroupParams

func NewGetApiregistrationAPIGroupParams() GetApiregistrationAPIGroupParams

NewGetApiregistrationAPIGroupParams creates a new GetApiregistrationAPIGroupParams object no default values defined in spec.

func (*GetApiregistrationAPIGroupParams) 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 NewGetApiregistrationAPIGroupParams() beforehand.

type GetApiregistrationAPIGroupUnauthorized

type GetApiregistrationAPIGroupUnauthorized struct {
}

GetApiregistrationAPIGroupUnauthorized Unauthorized

swagger:response getApiregistrationApiGroupUnauthorized

func NewGetApiregistrationAPIGroupUnauthorized

func NewGetApiregistrationAPIGroupUnauthorized() *GetApiregistrationAPIGroupUnauthorized

NewGetApiregistrationAPIGroupUnauthorized creates GetApiregistrationAPIGroupUnauthorized with default headers values

func (*GetApiregistrationAPIGroupUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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