Documentation ¶
Index ¶
- Constants
- type GetEndpointExtpluginStatus
- type GetEndpointExtpluginStatusFailure
- type GetEndpointExtpluginStatusHandler
- type GetEndpointExtpluginStatusHandlerFunc
- type GetEndpointExtpluginStatusOK
- type GetEndpointExtpluginStatusParams
- type PutEndpointProbe
- type PutEndpointProbeCreated
- type PutEndpointProbeFailure
- type PutEndpointProbeHandler
- type PutEndpointProbeHandlerFunc
- type PutEndpointProbeParams
Constants ¶
const GetEndpointExtpluginStatusFailureCode int = 500
GetEndpointExtpluginStatusFailureCode is the HTTP code returned for type GetEndpointExtpluginStatusFailure
const GetEndpointExtpluginStatusOKCode int = 200
GetEndpointExtpluginStatusOKCode is the HTTP code returned for type GetEndpointExtpluginStatusOK
const PutEndpointProbeCreatedCode int = 201
PutEndpointProbeCreatedCode is the HTTP code returned for type PutEndpointProbeCreated
const PutEndpointProbeFailureCode int = 500
PutEndpointProbeFailureCode is the HTTP code returned for type PutEndpointProbeFailure
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetEndpointExtpluginStatus ¶
type GetEndpointExtpluginStatus struct { Context *middleware.Context Handler GetEndpointExtpluginStatusHandler }
GetEndpointExtpluginStatus swagger:route GET /endpoint/extplugin/status endpoint getEndpointExtpluginStatus
get external plugin status
func NewGetEndpointExtpluginStatus ¶
func NewGetEndpointExtpluginStatus(ctx *middleware.Context, handler GetEndpointExtpluginStatusHandler) *GetEndpointExtpluginStatus
NewGetEndpointExtpluginStatus creates a new http.Handler for the get endpoint extplugin status operation
func (*GetEndpointExtpluginStatus) ServeHTTP ¶
func (o *GetEndpointExtpluginStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetEndpointExtpluginStatusFailure ¶
type GetEndpointExtpluginStatusFailure struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
GetEndpointExtpluginStatusFailure failed to get external plugin status. Details in message.
swagger:response getEndpointExtpluginStatusFailure
func NewGetEndpointExtpluginStatusFailure ¶
func NewGetEndpointExtpluginStatusFailure() *GetEndpointExtpluginStatusFailure
NewGetEndpointExtpluginStatusFailure creates GetEndpointExtpluginStatusFailure with default headers values
func (*GetEndpointExtpluginStatusFailure) SetPayload ¶
func (o *GetEndpointExtpluginStatusFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the get endpoint extplugin status failure response
func (*GetEndpointExtpluginStatusFailure) WithPayload ¶
func (o *GetEndpointExtpluginStatusFailure) WithPayload(payload models.Error) *GetEndpointExtpluginStatusFailure
WithPayload adds the payload to the get endpoint extplugin status failure response
func (*GetEndpointExtpluginStatusFailure) WriteResponse ¶
func (o *GetEndpointExtpluginStatusFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEndpointExtpluginStatusHandler ¶
type GetEndpointExtpluginStatusHandler interface {
Handle(GetEndpointExtpluginStatusParams) middleware.Responder
}
GetEndpointExtpluginStatusHandler interface for that can handle valid get endpoint extplugin status params
type GetEndpointExtpluginStatusHandlerFunc ¶
type GetEndpointExtpluginStatusHandlerFunc func(GetEndpointExtpluginStatusParams) middleware.Responder
GetEndpointExtpluginStatusHandlerFunc turns a function with the right signature into a get endpoint extplugin status handler
func (GetEndpointExtpluginStatusHandlerFunc) Handle ¶
func (fn GetEndpointExtpluginStatusHandlerFunc) Handle(params GetEndpointExtpluginStatusParams) middleware.Responder
Handle executing the request and returning a response
type GetEndpointExtpluginStatusOK ¶
type GetEndpointExtpluginStatusOK struct { /* In: Body */ Payload models.ExtFeatureData `json:"body,omitempty"` }
GetEndpointExtpluginStatusOK Success
swagger:response getEndpointExtpluginStatusOK
func NewGetEndpointExtpluginStatusOK ¶
func NewGetEndpointExtpluginStatusOK() *GetEndpointExtpluginStatusOK
NewGetEndpointExtpluginStatusOK creates GetEndpointExtpluginStatusOK with default headers values
func (*GetEndpointExtpluginStatusOK) SetPayload ¶
func (o *GetEndpointExtpluginStatusOK) SetPayload(payload models.ExtFeatureData)
SetPayload sets the payload to the get endpoint extplugin status o k response
func (*GetEndpointExtpluginStatusOK) WithPayload ¶
func (o *GetEndpointExtpluginStatusOK) WithPayload(payload models.ExtFeatureData) *GetEndpointExtpluginStatusOK
WithPayload adds the payload to the get endpoint extplugin status o k response
func (*GetEndpointExtpluginStatusOK) WriteResponse ¶
func (o *GetEndpointExtpluginStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEndpointExtpluginStatusParams ¶
type GetEndpointExtpluginStatusParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*container id provider by cni In: query */ ContainerID *string /* In: query */ Owner *string }
GetEndpointExtpluginStatusParams contains all the bound params for the get endpoint extplugin status operation typically these are obtained from a http.Request
swagger:parameters GetEndpointExtpluginStatus
func NewGetEndpointExtpluginStatusParams ¶
func NewGetEndpointExtpluginStatusParams() GetEndpointExtpluginStatusParams
NewGetEndpointExtpluginStatusParams creates a new GetEndpointExtpluginStatusParams object no default values defined in spec.
func (*GetEndpointExtpluginStatusParams) BindRequest ¶
func (o *GetEndpointExtpluginStatusParams) 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 NewGetEndpointExtpluginStatusParams() beforehand.
type PutEndpointProbe ¶
type PutEndpointProbe struct { Context *middleware.Context Handler PutEndpointProbeHandler }
PutEndpointProbe swagger:route PUT /endpoint/probe endpoint putEndpointProbe
create or update endpint probe
func NewPutEndpointProbe ¶
func NewPutEndpointProbe(ctx *middleware.Context, handler PutEndpointProbeHandler) *PutEndpointProbe
NewPutEndpointProbe creates a new http.Handler for the put endpoint probe operation
func (*PutEndpointProbe) ServeHTTP ¶
func (o *PutEndpointProbe) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutEndpointProbeCreated ¶
type PutEndpointProbeCreated struct { /* In: Body */ Payload *models.EndpointProbeResponse `json:"body,omitempty"` }
PutEndpointProbeCreated Success
swagger:response putEndpointProbeCreated
func NewPutEndpointProbeCreated ¶
func NewPutEndpointProbeCreated() *PutEndpointProbeCreated
NewPutEndpointProbeCreated creates PutEndpointProbeCreated with default headers values
func (*PutEndpointProbeCreated) SetPayload ¶
func (o *PutEndpointProbeCreated) SetPayload(payload *models.EndpointProbeResponse)
SetPayload sets the payload to the put endpoint probe created response
func (*PutEndpointProbeCreated) WithPayload ¶
func (o *PutEndpointProbeCreated) WithPayload(payload *models.EndpointProbeResponse) *PutEndpointProbeCreated
WithPayload adds the payload to the put endpoint probe created response
func (*PutEndpointProbeCreated) WriteResponse ¶
func (o *PutEndpointProbeCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutEndpointProbeFailure ¶
PutEndpointProbeFailure update endpoint failed. Details in message.
swagger:response putEndpointProbeFailure
func NewPutEndpointProbeFailure ¶
func NewPutEndpointProbeFailure() *PutEndpointProbeFailure
NewPutEndpointProbeFailure creates PutEndpointProbeFailure with default headers values
func (*PutEndpointProbeFailure) SetPayload ¶
func (o *PutEndpointProbeFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the put endpoint probe failure response
func (*PutEndpointProbeFailure) WithPayload ¶
func (o *PutEndpointProbeFailure) WithPayload(payload models.Error) *PutEndpointProbeFailure
WithPayload adds the payload to the put endpoint probe failure response
func (*PutEndpointProbeFailure) WriteResponse ¶
func (o *PutEndpointProbeFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutEndpointProbeHandler ¶
type PutEndpointProbeHandler interface {
Handle(PutEndpointProbeParams) middleware.Responder
}
PutEndpointProbeHandler interface for that can handle valid put endpoint probe params
type PutEndpointProbeHandlerFunc ¶
type PutEndpointProbeHandlerFunc func(PutEndpointProbeParams) middleware.Responder
PutEndpointProbeHandlerFunc turns a function with the right signature into a put endpoint probe handler
func (PutEndpointProbeHandlerFunc) Handle ¶
func (fn PutEndpointProbeHandlerFunc) Handle(params PutEndpointProbeParams) middleware.Responder
Handle executing the request and returning a response
type PutEndpointProbeParams ¶
type PutEndpointProbeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ CniDriver *string /*container id provider by cni In: query */ ContainerID *string /*ifname provider by cni In: query */ Ifname *string /*netns provider by cni In: query */ Netns *string /* In: query */ Owner *string }
PutEndpointProbeParams contains all the bound params for the put endpoint probe operation typically these are obtained from a http.Request
swagger:parameters PutEndpointProbe
func NewPutEndpointProbeParams ¶
func NewPutEndpointProbeParams() PutEndpointProbeParams
NewPutEndpointProbeParams creates a new PutEndpointProbeParams object no default values defined in spec.
func (*PutEndpointProbeParams) BindRequest ¶
func (o *PutEndpointProbeParams) 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 NewPutEndpointProbeParams() beforehand.