Documentation
¶
Index ¶
- Constants
- type GetAuthorizationAPIGroup
- type GetAuthorizationAPIGroupHandler
- type GetAuthorizationAPIGroupHandlerFunc
- type GetAuthorizationAPIGroupOK
- func (o *GetAuthorizationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetAuthorizationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetAuthorizationAPIGroupOK
- func (o *GetAuthorizationAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAuthorizationAPIGroupParams
- type GetAuthorizationAPIGroupUnauthorized
Constants ¶
const GetAuthorizationAPIGroupOKCode int = 200
GetAuthorizationAPIGroupOKCode is the HTTP code returned for type GetAuthorizationAPIGroupOK
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 ¶
func (o *GetAuthorizationAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn GetAuthorizationAPIGroupHandlerFunc) Handle(params GetAuthorizationAPIGroupParams) middleware.Responder
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 ¶
func (o *GetAuthorizationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get authorization Api group o k response
func (*GetAuthorizationAPIGroupOK) WithPayload ¶
func (o *GetAuthorizationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetAuthorizationAPIGroupOK
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 ¶
func (o *GetAuthorizationAPIGroupParams) 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 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 ¶
func (o *GetAuthorizationAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client