Documentation
¶
Index ¶
- Constants
- type GetNetworkingAPIGroup
- type GetNetworkingAPIGroupHandler
- type GetNetworkingAPIGroupHandlerFunc
- type GetNetworkingAPIGroupOK
- func (o *GetNetworkingAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
- func (o *GetNetworkingAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetNetworkingAPIGroupOK
- func (o *GetNetworkingAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNetworkingAPIGroupParams
- type GetNetworkingAPIGroupUnauthorized
Constants ¶
const GetNetworkingAPIGroupOKCode int = 200
GetNetworkingAPIGroupOKCode is the HTTP code returned for type GetNetworkingAPIGroupOK
GetNetworkingAPIGroupUnauthorizedCode is the HTTP code returned for type GetNetworkingAPIGroupUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetNetworkingAPIGroup ¶
type GetNetworkingAPIGroup struct { Context *middleware.Context Handler GetNetworkingAPIGroupHandler }
GetNetworkingAPIGroup swagger:route GET /apis/networking.k8s.io/ networking getNetworkingApiGroup
get information of a group
func NewGetNetworkingAPIGroup ¶
func NewGetNetworkingAPIGroup(ctx *middleware.Context, handler GetNetworkingAPIGroupHandler) *GetNetworkingAPIGroup
NewGetNetworkingAPIGroup creates a new http.Handler for the get networking API group operation
func (*GetNetworkingAPIGroup) ServeHTTP ¶
func (o *GetNetworkingAPIGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNetworkingAPIGroupHandler ¶
type GetNetworkingAPIGroupHandler interface {
Handle(GetNetworkingAPIGroupParams) middleware.Responder
}
GetNetworkingAPIGroupHandler interface for that can handle valid get networking API group params
type GetNetworkingAPIGroupHandlerFunc ¶
type GetNetworkingAPIGroupHandlerFunc func(GetNetworkingAPIGroupParams) middleware.Responder
GetNetworkingAPIGroupHandlerFunc turns a function with the right signature into a get networking API group handler
func (GetNetworkingAPIGroupHandlerFunc) Handle ¶
func (fn GetNetworkingAPIGroupHandlerFunc) Handle(params GetNetworkingAPIGroupParams) middleware.Responder
Handle executing the request and returning a response
type GetNetworkingAPIGroupOK ¶
type GetNetworkingAPIGroupOK struct { /* In: Body */ Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup `json:"body,omitempty"` }
GetNetworkingAPIGroupOK OK
swagger:response getNetworkingApiGroupOK
func NewGetNetworkingAPIGroupOK ¶
func NewGetNetworkingAPIGroupOK() *GetNetworkingAPIGroupOK
NewGetNetworkingAPIGroupOK creates GetNetworkingAPIGroupOK with default headers values
func (*GetNetworkingAPIGroupOK) SetPayload ¶
func (o *GetNetworkingAPIGroupOK) SetPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup)
SetPayload sets the payload to the get networking Api group o k response
func (*GetNetworkingAPIGroupOK) WithPayload ¶
func (o *GetNetworkingAPIGroupOK) WithPayload(payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup) *GetNetworkingAPIGroupOK
WithPayload adds the payload to the get networking Api group o k response
func (*GetNetworkingAPIGroupOK) WriteResponse ¶
func (o *GetNetworkingAPIGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNetworkingAPIGroupParams ¶
type GetNetworkingAPIGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetNetworkingAPIGroupParams contains all the bound params for the get networking API group operation typically these are obtained from a http.Request
swagger:parameters getNetworkingAPIGroup
func NewGetNetworkingAPIGroupParams ¶
func NewGetNetworkingAPIGroupParams() GetNetworkingAPIGroupParams
NewGetNetworkingAPIGroupParams creates a new GetNetworkingAPIGroupParams object no default values defined in spec.
func (*GetNetworkingAPIGroupParams) BindRequest ¶
func (o *GetNetworkingAPIGroupParams) 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 NewGetNetworkingAPIGroupParams() beforehand.
type GetNetworkingAPIGroupUnauthorized ¶
type GetNetworkingAPIGroupUnauthorized struct { }
GetNetworkingAPIGroupUnauthorized Unauthorized
swagger:response getNetworkingApiGroupUnauthorized
func NewGetNetworkingAPIGroupUnauthorized ¶
func NewGetNetworkingAPIGroupUnauthorized() *GetNetworkingAPIGroupUnauthorized
NewGetNetworkingAPIGroupUnauthorized creates GetNetworkingAPIGroupUnauthorized with default headers values
func (*GetNetworkingAPIGroupUnauthorized) WriteResponse ¶
func (o *GetNetworkingAPIGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client