storage

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

GetStorageAPIGroupOKCode is the HTTP code returned for type GetStorageAPIGroupOK

View Source
const GetStorageAPIGroupUnauthorizedCode int = 401

GetStorageAPIGroupUnauthorizedCode is the HTTP code returned for type GetStorageAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStorageAPIGroup

type GetStorageAPIGroup struct {
	Context *middleware.Context
	Handler GetStorageAPIGroupHandler
}

GetStorageAPIGroup swagger:route GET /apis/storage.k8s.io/ storage getStorageApiGroup

get information of a group

func NewGetStorageAPIGroup

func NewGetStorageAPIGroup(ctx *middleware.Context, handler GetStorageAPIGroupHandler) *GetStorageAPIGroup

NewGetStorageAPIGroup creates a new http.Handler for the get storage API group operation

func (*GetStorageAPIGroup) ServeHTTP

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

type GetStorageAPIGroupHandler

type GetStorageAPIGroupHandler interface {
	Handle(GetStorageAPIGroupParams) middleware.Responder
}

GetStorageAPIGroupHandler interface for that can handle valid get storage API group params

type GetStorageAPIGroupHandlerFunc

type GetStorageAPIGroupHandlerFunc func(GetStorageAPIGroupParams) middleware.Responder

GetStorageAPIGroupHandlerFunc turns a function with the right signature into a get storage API group handler

func (GetStorageAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetStorageAPIGroupOK

type GetStorageAPIGroupOK struct {

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

GetStorageAPIGroupOK OK

swagger:response getStorageApiGroupOK

func NewGetStorageAPIGroupOK

func NewGetStorageAPIGroupOK() *GetStorageAPIGroupOK

NewGetStorageAPIGroupOK creates GetStorageAPIGroupOK with default headers values

func (*GetStorageAPIGroupOK) SetPayload

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

func (*GetStorageAPIGroupOK) WithPayload

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

func (*GetStorageAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetStorageAPIGroupParams

type GetStorageAPIGroupParams struct {

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

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

swagger:parameters getStorageAPIGroup

func NewGetStorageAPIGroupParams

func NewGetStorageAPIGroupParams() GetStorageAPIGroupParams

NewGetStorageAPIGroupParams creates a new GetStorageAPIGroupParams object no default values defined in spec.

func (*GetStorageAPIGroupParams) 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 NewGetStorageAPIGroupParams() beforehand.

type GetStorageAPIGroupUnauthorized

type GetStorageAPIGroupUnauthorized struct {
}

GetStorageAPIGroupUnauthorized Unauthorized

swagger:response getStorageApiGroupUnauthorized

func NewGetStorageAPIGroupUnauthorized

func NewGetStorageAPIGroupUnauthorized() *GetStorageAPIGroupUnauthorized

NewGetStorageAPIGroupUnauthorized creates GetStorageAPIGroupUnauthorized with default headers values

func (*GetStorageAPIGroupUnauthorized) WriteResponse

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