apps

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

GetAppsAPIGroupOKCode is the HTTP code returned for type GetAppsAPIGroupOK

View Source
const GetAppsAPIGroupUnauthorizedCode int = 401

GetAppsAPIGroupUnauthorizedCode is the HTTP code returned for type GetAppsAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAppsAPIGroup

type GetAppsAPIGroup struct {
	Context *middleware.Context
	Handler GetAppsAPIGroupHandler
}

GetAppsAPIGroup swagger:route GET /apis/apps/ apps getAppsApiGroup

get information of a group

func NewGetAppsAPIGroup

func NewGetAppsAPIGroup(ctx *middleware.Context, handler GetAppsAPIGroupHandler) *GetAppsAPIGroup

NewGetAppsAPIGroup creates a new http.Handler for the get apps API group operation

func (*GetAppsAPIGroup) ServeHTTP

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

type GetAppsAPIGroupHandler

type GetAppsAPIGroupHandler interface {
	Handle(GetAppsAPIGroupParams) middleware.Responder
}

GetAppsAPIGroupHandler interface for that can handle valid get apps API group params

type GetAppsAPIGroupHandlerFunc

type GetAppsAPIGroupHandlerFunc func(GetAppsAPIGroupParams) middleware.Responder

GetAppsAPIGroupHandlerFunc turns a function with the right signature into a get apps API group handler

func (GetAppsAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetAppsAPIGroupOK

type GetAppsAPIGroupOK struct {

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

GetAppsAPIGroupOK OK

swagger:response getAppsApiGroupOK

func NewGetAppsAPIGroupOK

func NewGetAppsAPIGroupOK() *GetAppsAPIGroupOK

NewGetAppsAPIGroupOK creates GetAppsAPIGroupOK with default headers values

func (*GetAppsAPIGroupOK) SetPayload

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

func (*GetAppsAPIGroupOK) WithPayload

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

func (*GetAppsAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetAppsAPIGroupParams

type GetAppsAPIGroupParams struct {

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

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

swagger:parameters getAppsAPIGroup

func NewGetAppsAPIGroupParams

func NewGetAppsAPIGroupParams() GetAppsAPIGroupParams

NewGetAppsAPIGroupParams creates a new GetAppsAPIGroupParams object no default values defined in spec.

func (*GetAppsAPIGroupParams) BindRequest

func (o *GetAppsAPIGroupParams) 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 NewGetAppsAPIGroupParams() beforehand.

type GetAppsAPIGroupUnauthorized

type GetAppsAPIGroupUnauthorized struct {
}

GetAppsAPIGroupUnauthorized Unauthorized

swagger:response getAppsApiGroupUnauthorized

func NewGetAppsAPIGroupUnauthorized

func NewGetAppsAPIGroupUnauthorized() *GetAppsAPIGroupUnauthorized

NewGetAppsAPIGroupUnauthorized creates GetAppsAPIGroupUnauthorized with default headers values

func (*GetAppsAPIGroupUnauthorized) WriteResponse

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