batch

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

GetBatchAPIGroupOKCode is the HTTP code returned for type GetBatchAPIGroupOK

View Source
const GetBatchAPIGroupUnauthorizedCode int = 401

GetBatchAPIGroupUnauthorizedCode is the HTTP code returned for type GetBatchAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetBatchAPIGroup

type GetBatchAPIGroup struct {
	Context *middleware.Context
	Handler GetBatchAPIGroupHandler
}

GetBatchAPIGroup swagger:route GET /apis/batch/ batch getBatchApiGroup

get information of a group

func NewGetBatchAPIGroup

func NewGetBatchAPIGroup(ctx *middleware.Context, handler GetBatchAPIGroupHandler) *GetBatchAPIGroup

NewGetBatchAPIGroup creates a new http.Handler for the get batch API group operation

func (*GetBatchAPIGroup) ServeHTTP

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

type GetBatchAPIGroupHandler

type GetBatchAPIGroupHandler interface {
	Handle(GetBatchAPIGroupParams) middleware.Responder
}

GetBatchAPIGroupHandler interface for that can handle valid get batch API group params

type GetBatchAPIGroupHandlerFunc

type GetBatchAPIGroupHandlerFunc func(GetBatchAPIGroupParams) middleware.Responder

GetBatchAPIGroupHandlerFunc turns a function with the right signature into a get batch API group handler

func (GetBatchAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetBatchAPIGroupOK

type GetBatchAPIGroupOK struct {

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

GetBatchAPIGroupOK OK

swagger:response getBatchApiGroupOK

func NewGetBatchAPIGroupOK

func NewGetBatchAPIGroupOK() *GetBatchAPIGroupOK

NewGetBatchAPIGroupOK creates GetBatchAPIGroupOK with default headers values

func (*GetBatchAPIGroupOK) SetPayload

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

func (*GetBatchAPIGroupOK) WithPayload

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

func (*GetBatchAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetBatchAPIGroupParams

type GetBatchAPIGroupParams struct {

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

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

swagger:parameters getBatchAPIGroup

func NewGetBatchAPIGroupParams

func NewGetBatchAPIGroupParams() GetBatchAPIGroupParams

NewGetBatchAPIGroupParams creates a new GetBatchAPIGroupParams object no default values defined in spec.

func (*GetBatchAPIGroupParams) BindRequest

func (o *GetBatchAPIGroupParams) 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 NewGetBatchAPIGroupParams() beforehand.

type GetBatchAPIGroupUnauthorized

type GetBatchAPIGroupUnauthorized struct {
}

GetBatchAPIGroupUnauthorized Unauthorized

swagger:response getBatchApiGroupUnauthorized

func NewGetBatchAPIGroupUnauthorized

func NewGetBatchAPIGroupUnauthorized() *GetBatchAPIGroupUnauthorized

NewGetBatchAPIGroupUnauthorized creates GetBatchAPIGroupUnauthorized with default headers values

func (*GetBatchAPIGroupUnauthorized) WriteResponse

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