Documentation
¶
Index ¶
- Constants
- type GetCoordinationAPIGroup
- type GetCoordinationAPIGroupHandler
- type GetCoordinationAPIGroupHandlerFunc
- type GetCoordinationAPIGroupOK
- func (o *GetCoordinationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetCoordinationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetCoordinationAPIGroupOK
- func (o *GetCoordinationAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCoordinationAPIGroupParams
- type GetCoordinationAPIGroupUnauthorized
Constants ¶
const GetCoordinationAPIGroupOKCode int = 200
GetCoordinationAPIGroupOKCode is the HTTP code returned for type GetCoordinationAPIGroupOK
GetCoordinationAPIGroupUnauthorizedCode is the HTTP code returned for type GetCoordinationAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCoordinationAPIGroup ¶
type GetCoordinationAPIGroup struct { Context *middleware.Context Handler GetCoordinationAPIGroupHandler }
GetCoordinationAPIGroup swagger:route GET /apis/coordination.k8s.io/ coordination getCoordinationApiGroup
get information of a group
func NewGetCoordinationAPIGroup ¶
func NewGetCoordinationAPIGroup(ctx *middleware.Context, handler GetCoordinationAPIGroupHandler) *GetCoordinationAPIGroup
NewGetCoordinationAPIGroup creates a new http.Handler for the get coordination API group operation
func (*GetCoordinationAPIGroup) ServeHTTP ¶
func (o *GetCoordinationAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCoordinationAPIGroupHandler ¶
type GetCoordinationAPIGroupHandler interface {
Handle(GetCoordinationAPIGroupParams) middleware.Responder
}
GetCoordinationAPIGroupHandler interface for that can handle valid get coordination API group params
type GetCoordinationAPIGroupHandlerFunc ¶
type GetCoordinationAPIGroupHandlerFunc func(GetCoordinationAPIGroupParams) middleware.Responder
GetCoordinationAPIGroupHandlerFunc turns a function with the right signature into a get coordination API group handler
func (GetCoordinationAPIGroupHandlerFunc) Handle ¶
func (fn GetCoordinationAPIGroupHandlerFunc) Handle(params GetCoordinationAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetCoordinationAPIGroupOK ¶
type GetCoordinationAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetCoordinationAPIGroupOK OK
swagger:response getCoordinationApiGroupOK
func NewGetCoordinationAPIGroupOK ¶
func NewGetCoordinationAPIGroupOK() *GetCoordinationAPIGroupOK
NewGetCoordinationAPIGroupOK creates GetCoordinationAPIGroupOK with default headers values
func (*GetCoordinationAPIGroupOK) SetPayload ¶
func (o *GetCoordinationAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get coordination Api group o k response
func (*GetCoordinationAPIGroupOK) WithPayload ¶
func (o *GetCoordinationAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetCoordinationAPIGroupOK
WithPayload adds the payload to the get coordination Api group o k response
func (*GetCoordinationAPIGroupOK) WriteResponse ¶
func (o *GetCoordinationAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCoordinationAPIGroupParams ¶
type GetCoordinationAPIGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetCoordinationAPIGroupParams contains all the bound params for the get coordination API group operation typically these are obtained from a http.Request
swagger:parameters getCoordinationAPIGroup
func NewGetCoordinationAPIGroupParams ¶
func NewGetCoordinationAPIGroupParams() GetCoordinationAPIGroupParams
NewGetCoordinationAPIGroupParams creates a new GetCoordinationAPIGroupParams object no default values defined in spec.
func (*GetCoordinationAPIGroupParams) BindRequest ¶
func (o *GetCoordinationAPIGroupParams) 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 NewGetCoordinationAPIGroupParams() beforehand.
type GetCoordinationAPIGroupUnauthorized ¶
type GetCoordinationAPIGroupUnauthorized struct { }
GetCoordinationAPIGroupUnauthorized Unauthorized
swagger:response getCoordinationApiGroupUnauthorized
func NewGetCoordinationAPIGroupUnauthorized ¶
func NewGetCoordinationAPIGroupUnauthorized() *GetCoordinationAPIGroupUnauthorized
NewGetCoordinationAPIGroupUnauthorized creates GetCoordinationAPIGroupUnauthorized with default headers values
func (*GetCoordinationAPIGroupUnauthorized) WriteResponse ¶
func (o *GetCoordinationAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client