coordination

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

GetCoordinationAPIGroupOKCode is the HTTP code returned for type GetCoordinationAPIGroupOK

View Source
const GetCoordinationAPIGroupUnauthorizedCode int = 401

GetCoordinationAPIGroupUnauthorizedCode is the HTTP code returned for type GetCoordinationAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCoordinationAPIGroup

type GetCoordinationAPIGroup struct {
	Context *middleware.Context
	Handler GetCoordinationAPIGroupHandler
}

GetCoordinationAPIGroup swagger:route GET /apis/coordination.k8s.io/ coordination getCoordinationApiGroup

get information of a group

func NewGetCoordinationAPIGroup

func NewGetCoordinationAPIGroup(ctx *middleware.Context, handler GetCoordinationAPIGroupHandler) *GetCoordinationAPIGroup

NewGetCoordinationAPIGroup creates a new http.Handler for the get coordination API group operation

func (*GetCoordinationAPIGroup) ServeHTTP

type GetCoordinationAPIGroupHandler

type GetCoordinationAPIGroupHandler interface {
	Handle(GetCoordinationAPIGroupParams) middleware.Responder
}

GetCoordinationAPIGroupHandler interface for that can handle valid get coordination API group params

type GetCoordinationAPIGroupHandlerFunc

type GetCoordinationAPIGroupHandlerFunc func(GetCoordinationAPIGroupParams) middleware.Responder

GetCoordinationAPIGroupHandlerFunc turns a function with the right signature into a get coordination API group handler

func (GetCoordinationAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetCoordinationAPIGroupOK

type GetCoordinationAPIGroupOK struct {

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

GetCoordinationAPIGroupOK OK

swagger:response getCoordinationApiGroupOK

func NewGetCoordinationAPIGroupOK

func NewGetCoordinationAPIGroupOK() *GetCoordinationAPIGroupOK

NewGetCoordinationAPIGroupOK creates GetCoordinationAPIGroupOK with default headers values

func (*GetCoordinationAPIGroupOK) SetPayload

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

func (*GetCoordinationAPIGroupOK) WithPayload

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

func (*GetCoordinationAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetCoordinationAPIGroupParams

type GetCoordinationAPIGroupParams struct {

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

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

swagger:parameters getCoordinationAPIGroup

func NewGetCoordinationAPIGroupParams

func NewGetCoordinationAPIGroupParams() GetCoordinationAPIGroupParams

NewGetCoordinationAPIGroupParams creates a new GetCoordinationAPIGroupParams object no default values defined in spec.

func (*GetCoordinationAPIGroupParams) 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 NewGetCoordinationAPIGroupParams() beforehand.

type GetCoordinationAPIGroupUnauthorized

type GetCoordinationAPIGroupUnauthorized struct {
}

GetCoordinationAPIGroupUnauthorized Unauthorized

swagger:response getCoordinationApiGroupUnauthorized

func NewGetCoordinationAPIGroupUnauthorized

func NewGetCoordinationAPIGroupUnauthorized() *GetCoordinationAPIGroupUnauthorized

NewGetCoordinationAPIGroupUnauthorized creates GetCoordinationAPIGroupUnauthorized with default headers values

func (*GetCoordinationAPIGroupUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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