authorization

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

GetAuthorizationAPIGroupOKCode is the HTTP code returned for type GetAuthorizationAPIGroupOK

View Source
const GetAuthorizationAPIGroupUnauthorizedCode int = 401

GetAuthorizationAPIGroupUnauthorizedCode is the HTTP code returned for type GetAuthorizationAPIGroupUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAuthorizationAPIGroup

type GetAuthorizationAPIGroup struct {
	Context *middleware.Context
	Handler GetAuthorizationAPIGroupHandler
}

GetAuthorizationAPIGroup swagger:route GET /apis/authorization.k8s.io/ authorization getAuthorizationApiGroup

get information of a group

func NewGetAuthorizationAPIGroup

func NewGetAuthorizationAPIGroup(ctx *middleware.Context, handler GetAuthorizationAPIGroupHandler) *GetAuthorizationAPIGroup

NewGetAuthorizationAPIGroup creates a new http.Handler for the get authorization API group operation

func (*GetAuthorizationAPIGroup) ServeHTTP

type GetAuthorizationAPIGroupHandler

type GetAuthorizationAPIGroupHandler interface {
	Handle(GetAuthorizationAPIGroupParams) middleware.Responder
}

GetAuthorizationAPIGroupHandler interface for that can handle valid get authorization API group params

type GetAuthorizationAPIGroupHandlerFunc

type GetAuthorizationAPIGroupHandlerFunc func(GetAuthorizationAPIGroupParams) middleware.Responder

GetAuthorizationAPIGroupHandlerFunc turns a function with the right signature into a get authorization API group handler

func (GetAuthorizationAPIGroupHandlerFunc) Handle

Handle executing the request and returning a response

type GetAuthorizationAPIGroupOK

type GetAuthorizationAPIGroupOK struct {

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

GetAuthorizationAPIGroupOK OK

swagger:response getAuthorizationApiGroupOK

func NewGetAuthorizationAPIGroupOK

func NewGetAuthorizationAPIGroupOK() *GetAuthorizationAPIGroupOK

NewGetAuthorizationAPIGroupOK creates GetAuthorizationAPIGroupOK with default headers values

func (*GetAuthorizationAPIGroupOK) SetPayload

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

func (*GetAuthorizationAPIGroupOK) WithPayload

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

func (*GetAuthorizationAPIGroupOK) WriteResponse

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

WriteResponse to the client

type GetAuthorizationAPIGroupParams

type GetAuthorizationAPIGroupParams struct {

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

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

swagger:parameters getAuthorizationAPIGroup

func NewGetAuthorizationAPIGroupParams

func NewGetAuthorizationAPIGroupParams() GetAuthorizationAPIGroupParams

NewGetAuthorizationAPIGroupParams creates a new GetAuthorizationAPIGroupParams object no default values defined in spec.

func (*GetAuthorizationAPIGroupParams) 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 NewGetAuthorizationAPIGroupParams() beforehand.

type GetAuthorizationAPIGroupUnauthorized

type GetAuthorizationAPIGroupUnauthorized struct {
}

GetAuthorizationAPIGroupUnauthorized Unauthorized

swagger:response getAuthorizationApiGroupUnauthorized

func NewGetAuthorizationAPIGroupUnauthorized

func NewGetAuthorizationAPIGroupUnauthorized() *GetAuthorizationAPIGroupUnauthorized

NewGetAuthorizationAPIGroupUnauthorized creates GetAuthorizationAPIGroupUnauthorized with default headers values

func (*GetAuthorizationAPIGroupUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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