Documentation ¶
Index ¶
- Constants
- type GetNodeAPIGroup
- type GetNodeAPIGroupHandler
- type GetNodeAPIGroupHandlerFunc
- type GetNodeAPIGroupOK
- func (o *GetNodeAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetNodeAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetNodeAPIGroupOK
- func (o *GetNodeAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNodeAPIGroupParams
- type GetNodeAPIGroupUnauthorized
Constants ¶
const GetNodeAPIGroupOKCode int = 200
GetNodeAPIGroupOKCode is the HTTP code returned for type GetNodeAPIGroupOK
GetNodeAPIGroupUnauthorizedCode is the HTTP code returned for type GetNodeAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetNodeAPIGroup ¶
type GetNodeAPIGroup struct { Context *middleware.Context Handler GetNodeAPIGroupHandler }
GetNodeAPIGroup swagger:route GET /apis/node.k8s.io/ node getNodeApiGroup
get information of a group
func NewGetNodeAPIGroup ¶
func NewGetNodeAPIGroup(ctx *middleware.Context, handler GetNodeAPIGroupHandler) *GetNodeAPIGroup
NewGetNodeAPIGroup creates a new http.Handler for the get node API group operation
func (*GetNodeAPIGroup) ServeHTTP ¶
func (o *GetNodeAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNodeAPIGroupHandler ¶
type GetNodeAPIGroupHandler interface {
Handle(GetNodeAPIGroupParams) middleware.Responder
}
GetNodeAPIGroupHandler interface for that can handle valid get node API group params
type GetNodeAPIGroupHandlerFunc ¶
type GetNodeAPIGroupHandlerFunc func(GetNodeAPIGroupParams) middleware.Responder
GetNodeAPIGroupHandlerFunc turns a function with the right signature into a get node API group handler
func (GetNodeAPIGroupHandlerFunc) Handle ¶
func (fn GetNodeAPIGroupHandlerFunc) Handle(params GetNodeAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetNodeAPIGroupOK ¶
type GetNodeAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetNodeAPIGroupOK OK
swagger:response getNodeApiGroupOK
func NewGetNodeAPIGroupOK ¶
func NewGetNodeAPIGroupOK() *GetNodeAPIGroupOK
NewGetNodeAPIGroupOK creates GetNodeAPIGroupOK with default headers values
func (*GetNodeAPIGroupOK) SetPayload ¶
func (o *GetNodeAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get node Api group o k response
func (*GetNodeAPIGroupOK) WithPayload ¶
func (o *GetNodeAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetNodeAPIGroupOK
WithPayload adds the payload to the get node Api group o k response
func (*GetNodeAPIGroupOK) WriteResponse ¶
func (o *GetNodeAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNodeAPIGroupParams ¶
GetNodeAPIGroupParams contains all the bound params for the get node API group operation typically these are obtained from a http.Request
swagger:parameters getNodeAPIGroup
func NewGetNodeAPIGroupParams ¶
func NewGetNodeAPIGroupParams() GetNodeAPIGroupParams
NewGetNodeAPIGroupParams creates a new GetNodeAPIGroupParams object no default values defined in spec.
func (*GetNodeAPIGroupParams) BindRequest ¶
func (o *GetNodeAPIGroupParams) 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 NewGetNodeAPIGroupParams() beforehand.
type GetNodeAPIGroupUnauthorized ¶
type GetNodeAPIGroupUnauthorized struct { }
GetNodeAPIGroupUnauthorized Unauthorized
swagger:response getNodeApiGroupUnauthorized
func NewGetNodeAPIGroupUnauthorized ¶
func NewGetNodeAPIGroupUnauthorized() *GetNodeAPIGroupUnauthorized
NewGetNodeAPIGroupUnauthorized creates GetNodeAPIGroupUnauthorized with default headers values
func (*GetNodeAPIGroupUnauthorized) WriteResponse ¶
func (o *GetNodeAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client