node

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

GetNodeAPIGroupOKCode is the HTTP code returned for type GetNodeAPIGroupOK

View Source
const GetNodeAPIGroupUnauthorizedCode int = 401

GetNodeAPIGroupUnauthorizedCode is the HTTP code returned for type GetNodeAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetNodeAPIGroup

type GetNodeAPIGroup struct {
	Context *middleware.Context
	Handler GetNodeAPIGroupHandler
}

GetNodeAPIGroup swagger:route GET /apis/node.k8s.io/ node getNodeApiGroup

get information of a group

func NewGetNodeAPIGroup

func NewGetNodeAPIGroup(ctx *middleware.Context, handler GetNodeAPIGroupHandler) *GetNodeAPIGroup

NewGetNodeAPIGroup creates a new http.Handler for the get node API group operation

func (*GetNodeAPIGroup) ServeHTTP

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

type GetNodeAPIGroupHandler

type GetNodeAPIGroupHandler interface {
	Handle(GetNodeAPIGroupParams) middleware.Responder
}

GetNodeAPIGroupHandler interface for that can handle valid get node API group params

type GetNodeAPIGroupHandlerFunc

type GetNodeAPIGroupHandlerFunc func(GetNodeAPIGroupParams) middleware.Responder

GetNodeAPIGroupHandlerFunc turns a function with the right signature into a get node API group handler

func (GetNodeAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetNodeAPIGroupOK

type GetNodeAPIGroupOK struct {

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

GetNodeAPIGroupOK OK

swagger:response getNodeApiGroupOK

func NewGetNodeAPIGroupOK

func NewGetNodeAPIGroupOK() *GetNodeAPIGroupOK

NewGetNodeAPIGroupOK creates GetNodeAPIGroupOK with default headers values

func (*GetNodeAPIGroupOK) SetPayload

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

func (*GetNodeAPIGroupOK) WithPayload

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

func (*GetNodeAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetNodeAPIGroupParams

type GetNodeAPIGroupParams struct {

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

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

swagger:parameters getNodeAPIGroup

func NewGetNodeAPIGroupParams

func NewGetNodeAPIGroupParams() GetNodeAPIGroupParams

NewGetNodeAPIGroupParams creates a new GetNodeAPIGroupParams object no default values defined in spec.

func (*GetNodeAPIGroupParams) BindRequest

func (o *GetNodeAPIGroupParams) 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 NewGetNodeAPIGroupParams() beforehand.

type GetNodeAPIGroupUnauthorized

type GetNodeAPIGroupUnauthorized struct {
}

GetNodeAPIGroupUnauthorized Unauthorized

swagger:response getNodeApiGroupUnauthorized

func NewGetNodeAPIGroupUnauthorized

func NewGetNodeAPIGroupUnauthorized() *GetNodeAPIGroupUnauthorized

NewGetNodeAPIGroupUnauthorized creates GetNodeAPIGroupUnauthorized with default headers values

func (*GetNodeAPIGroupUnauthorized) WriteResponse

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