Documentation
¶
Index ¶
- Constants
- type GetStorageAPIGroup
- type GetStorageAPIGroupHandler
- type GetStorageAPIGroupHandlerFunc
- type GetStorageAPIGroupOK
- func (o *GetStorageAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetStorageAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetStorageAPIGroupOK
- func (o *GetStorageAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetStorageAPIGroupParams
- type GetStorageAPIGroupUnauthorized
Constants ¶
const GetStorageAPIGroupOKCode int = 200
GetStorageAPIGroupOKCode is the HTTP code returned for type GetStorageAPIGroupOK
GetStorageAPIGroupUnauthorizedCode is the HTTP code returned for type GetStorageAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetStorageAPIGroup ¶
type GetStorageAPIGroup struct { Context *middleware.Context Handler GetStorageAPIGroupHandler }
GetStorageAPIGroup swagger:route GET /apis/storage.k8s.io/ storage getStorageApiGroup
get information of a group
func NewGetStorageAPIGroup ¶
func NewGetStorageAPIGroup(ctx *middleware.Context, handler GetStorageAPIGroupHandler) *GetStorageAPIGroup
NewGetStorageAPIGroup creates a new http.Handler for the get storage API group operation
func (*GetStorageAPIGroup) ServeHTTP ¶
func (o *GetStorageAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetStorageAPIGroupHandler ¶
type GetStorageAPIGroupHandler interface {
Handle(GetStorageAPIGroupParams) middleware.Responder
}
GetStorageAPIGroupHandler interface for that can handle valid get storage API group params
type GetStorageAPIGroupHandlerFunc ¶
type GetStorageAPIGroupHandlerFunc func(GetStorageAPIGroupParams) middleware.Responder
GetStorageAPIGroupHandlerFunc turns a function with the right signature into a get storage API group handler
func (GetStorageAPIGroupHandlerFunc) Handle ¶
func (fn GetStorageAPIGroupHandlerFunc) Handle(params GetStorageAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetStorageAPIGroupOK ¶
type GetStorageAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetStorageAPIGroupOK OK
swagger:response getStorageApiGroupOK
func NewGetStorageAPIGroupOK ¶
func NewGetStorageAPIGroupOK() *GetStorageAPIGroupOK
NewGetStorageAPIGroupOK creates GetStorageAPIGroupOK with default headers values
func (*GetStorageAPIGroupOK) SetPayload ¶
func (o *GetStorageAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get storage Api group o k response
func (*GetStorageAPIGroupOK) WithPayload ¶
func (o *GetStorageAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetStorageAPIGroupOK
WithPayload adds the payload to the get storage Api group o k response
func (*GetStorageAPIGroupOK) WriteResponse ¶
func (o *GetStorageAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStorageAPIGroupParams ¶
type GetStorageAPIGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetStorageAPIGroupParams contains all the bound params for the get storage API group operation typically these are obtained from a http.Request
swagger:parameters getStorageAPIGroup
func NewGetStorageAPIGroupParams ¶
func NewGetStorageAPIGroupParams() GetStorageAPIGroupParams
NewGetStorageAPIGroupParams creates a new GetStorageAPIGroupParams object no default values defined in spec.
func (*GetStorageAPIGroupParams) BindRequest ¶
func (o *GetStorageAPIGroupParams) 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 NewGetStorageAPIGroupParams() beforehand.
type GetStorageAPIGroupUnauthorized ¶
type GetStorageAPIGroupUnauthorized struct { }
GetStorageAPIGroupUnauthorized Unauthorized
swagger:response getStorageApiGroupUnauthorized
func NewGetStorageAPIGroupUnauthorized ¶
func NewGetStorageAPIGroupUnauthorized() *GetStorageAPIGroupUnauthorized
NewGetStorageAPIGroupUnauthorized creates GetStorageAPIGroupUnauthorized with default headers values
func (*GetStorageAPIGroupUnauthorized) WriteResponse ¶
func (o *GetStorageAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client