Documentation
¶
Index ¶
- Constants
- type GetEventsAPIGroup
- type GetEventsAPIGroupHandler
- type GetEventsAPIGroupHandlerFunc
- type GetEventsAPIGroupOK
- func (o *GetEventsAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetEventsAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetEventsAPIGroupOK
- func (o *GetEventsAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEventsAPIGroupParams
- type GetEventsAPIGroupUnauthorized
Constants ¶
const GetEventsAPIGroupOKCode int = 200
GetEventsAPIGroupOKCode is the HTTP code returned for type GetEventsAPIGroupOK
GetEventsAPIGroupUnauthorizedCode is the HTTP code returned for type GetEventsAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetEventsAPIGroup ¶
type GetEventsAPIGroup struct { Context *middleware.Context Handler GetEventsAPIGroupHandler }
GetEventsAPIGroup swagger:route GET /apis/events.k8s.io/ events getEventsApiGroup
get information of a group
func NewGetEventsAPIGroup ¶
func NewGetEventsAPIGroup(ctx *middleware.Context, handler GetEventsAPIGroupHandler) *GetEventsAPIGroup
NewGetEventsAPIGroup creates a new http.Handler for the get events API group operation
func (*GetEventsAPIGroup) ServeHTTP ¶
func (o *GetEventsAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetEventsAPIGroupHandler ¶
type GetEventsAPIGroupHandler interface {
Handle(GetEventsAPIGroupParams) middleware.Responder
}
GetEventsAPIGroupHandler interface for that can handle valid get events API group params
type GetEventsAPIGroupHandlerFunc ¶
type GetEventsAPIGroupHandlerFunc func(GetEventsAPIGroupParams) middleware.Responder
GetEventsAPIGroupHandlerFunc turns a function with the right signature into a get events API group handler
func (GetEventsAPIGroupHandlerFunc) Handle ¶
func (fn GetEventsAPIGroupHandlerFunc) Handle(params GetEventsAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetEventsAPIGroupOK ¶
type GetEventsAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetEventsAPIGroupOK OK
swagger:response getEventsApiGroupOK
func NewGetEventsAPIGroupOK ¶
func NewGetEventsAPIGroupOK() *GetEventsAPIGroupOK
NewGetEventsAPIGroupOK creates GetEventsAPIGroupOK with default headers values
func (*GetEventsAPIGroupOK) SetPayload ¶
func (o *GetEventsAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get events Api group o k response
func (*GetEventsAPIGroupOK) WithPayload ¶
func (o *GetEventsAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetEventsAPIGroupOK
WithPayload adds the payload to the get events Api group o k response
func (*GetEventsAPIGroupOK) WriteResponse ¶
func (o *GetEventsAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEventsAPIGroupParams ¶
GetEventsAPIGroupParams contains all the bound params for the get events API group operation typically these are obtained from a http.Request
swagger:parameters getEventsAPIGroup
func NewGetEventsAPIGroupParams ¶
func NewGetEventsAPIGroupParams() GetEventsAPIGroupParams
NewGetEventsAPIGroupParams creates a new GetEventsAPIGroupParams object no default values defined in spec.
func (*GetEventsAPIGroupParams) BindRequest ¶
func (o *GetEventsAPIGroupParams) 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 NewGetEventsAPIGroupParams() beforehand.
type GetEventsAPIGroupUnauthorized ¶
type GetEventsAPIGroupUnauthorized struct { }
GetEventsAPIGroupUnauthorized Unauthorized
swagger:response getEventsApiGroupUnauthorized
func NewGetEventsAPIGroupUnauthorized ¶
func NewGetEventsAPIGroupUnauthorized() *GetEventsAPIGroupUnauthorized
NewGetEventsAPIGroupUnauthorized creates GetEventsAPIGroupUnauthorized with default headers values
func (*GetEventsAPIGroupUnauthorized) WriteResponse ¶
func (o *GetEventsAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client