Documentation
¶
Index ¶
- Constants
- type GetAppsAPIGroup
- type GetAppsAPIGroupHandler
- type GetAppsAPIGroupHandlerFunc
- type GetAppsAPIGroupOK
- func (o *GetAppsAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetAppsAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetAppsAPIGroupOK
- func (o *GetAppsAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAppsAPIGroupParams
- type GetAppsAPIGroupUnauthorized
Constants ¶
const GetAppsAPIGroupOKCode int = 200
GetAppsAPIGroupOKCode is the HTTP code returned for type GetAppsAPIGroupOK
GetAppsAPIGroupUnauthorizedCode is the HTTP code returned for type GetAppsAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAppsAPIGroup ¶
type GetAppsAPIGroup struct { Context *middleware.Context Handler GetAppsAPIGroupHandler }
GetAppsAPIGroup swagger:route GET /apis/apps/ apps getAppsApiGroup
get information of a group
func NewGetAppsAPIGroup ¶
func NewGetAppsAPIGroup(ctx *middleware.Context, handler GetAppsAPIGroupHandler) *GetAppsAPIGroup
NewGetAppsAPIGroup creates a new http.Handler for the get apps API group operation
func (*GetAppsAPIGroup) ServeHTTP ¶
func (o *GetAppsAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAppsAPIGroupHandler ¶
type GetAppsAPIGroupHandler interface {
Handle(GetAppsAPIGroupParams) middleware.Responder
}
GetAppsAPIGroupHandler interface for that can handle valid get apps API group params
type GetAppsAPIGroupHandlerFunc ¶
type GetAppsAPIGroupHandlerFunc func(GetAppsAPIGroupParams) middleware.Responder
GetAppsAPIGroupHandlerFunc turns a function with the right signature into a get apps API group handler
func (GetAppsAPIGroupHandlerFunc) Handle ¶
func (fn GetAppsAPIGroupHandlerFunc) Handle(params GetAppsAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetAppsAPIGroupOK ¶
type GetAppsAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetAppsAPIGroupOK OK
swagger:response getAppsApiGroupOK
func NewGetAppsAPIGroupOK ¶
func NewGetAppsAPIGroupOK() *GetAppsAPIGroupOK
NewGetAppsAPIGroupOK creates GetAppsAPIGroupOK with default headers values
func (*GetAppsAPIGroupOK) SetPayload ¶
func (o *GetAppsAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get apps Api group o k response
func (*GetAppsAPIGroupOK) WithPayload ¶
func (o *GetAppsAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetAppsAPIGroupOK
WithPayload adds the payload to the get apps Api group o k response
func (*GetAppsAPIGroupOK) WriteResponse ¶
func (o *GetAppsAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAppsAPIGroupParams ¶
GetAppsAPIGroupParams contains all the bound params for the get apps API group operation typically these are obtained from a http.Request
swagger:parameters getAppsAPIGroup
func NewGetAppsAPIGroupParams ¶
func NewGetAppsAPIGroupParams() GetAppsAPIGroupParams
NewGetAppsAPIGroupParams creates a new GetAppsAPIGroupParams object no default values defined in spec.
func (*GetAppsAPIGroupParams) BindRequest ¶
func (o *GetAppsAPIGroupParams) 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 NewGetAppsAPIGroupParams() beforehand.
type GetAppsAPIGroupUnauthorized ¶
type GetAppsAPIGroupUnauthorized struct { }
GetAppsAPIGroupUnauthorized Unauthorized
swagger:response getAppsApiGroupUnauthorized
func NewGetAppsAPIGroupUnauthorized ¶
func NewGetAppsAPIGroupUnauthorized() *GetAppsAPIGroupUnauthorized
NewGetAppsAPIGroupUnauthorized creates GetAppsAPIGroupUnauthorized with default headers values
func (*GetAppsAPIGroupUnauthorized) WriteResponse ¶
func (o *GetAppsAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client