Documentation ¶
Index ¶
- Constants
- type GetConfig
- type GetConfigHandler
- type GetConfigHandlerFunc
- type GetConfigOK
- type GetConfigParams
- type GetConfigURL
- func (o *GetConfigURL) Build() (*url.URL, error)
- func (o *GetConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *GetConfigURL) SetBasePath(bp string)
- func (o *GetConfigURL) String() string
- func (o *GetConfigURL) StringFull(scheme, host string) string
- func (o *GetConfigURL) WithBasePath(bp string) *GetConfigURL
- type GetDebuginfo
- type GetDebuginfoFailure
- type GetDebuginfoHandler
- type GetDebuginfoHandlerFunc
- type GetDebuginfoOK
- type GetDebuginfoParams
- type GetDebuginfoURL
- func (o *GetDebuginfoURL) Build() (*url.URL, error)
- func (o *GetDebuginfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDebuginfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDebuginfoURL) SetBasePath(bp string)
- func (o *GetDebuginfoURL) String() string
- func (o *GetDebuginfoURL) StringFull(scheme, host string) string
- func (o *GetDebuginfoURL) WithBasePath(bp string) *GetDebuginfoURL
- type GetHealthz
- type GetHealthzHandler
- type GetHealthzHandlerFunc
- type GetHealthzOK
- type GetHealthzParams
- type GetHealthzURL
- func (o *GetHealthzURL) Build() (*url.URL, error)
- func (o *GetHealthzURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetHealthzURL) Must(u *url.URL, err error) *url.URL
- func (o *GetHealthzURL) SetBasePath(bp string)
- func (o *GetHealthzURL) String() string
- func (o *GetHealthzURL) StringFull(scheme, host string) string
- func (o *GetHealthzURL) WithBasePath(bp string) *GetHealthzURL
- type GetMap
- type GetMapHandler
- type GetMapHandlerFunc
- type GetMapName
- type GetMapNameHandler
- type GetMapNameHandlerFunc
- type GetMapNameNotFound
- type GetMapNameOK
- type GetMapNameParams
- type GetMapNameURL
- func (o *GetMapNameURL) Build() (*url.URL, error)
- func (o *GetMapNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMapNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMapNameURL) SetBasePath(bp string)
- func (o *GetMapNameURL) String() string
- func (o *GetMapNameURL) StringFull(scheme, host string) string
- func (o *GetMapNameURL) WithBasePath(bp string) *GetMapNameURL
- type GetMapOK
- type GetMapParams
- type GetMapURL
- func (o *GetMapURL) Build() (*url.URL, error)
- func (o *GetMapURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMapURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMapURL) SetBasePath(bp string)
- func (o *GetMapURL) String() string
- func (o *GetMapURL) StringFull(scheme, host string) string
- func (o *GetMapURL) WithBasePath(bp string) *GetMapURL
- type PatchConfig
- type PatchConfigBadRequest
- type PatchConfigFailure
- type PatchConfigHandler
- type PatchConfigHandlerFunc
- type PatchConfigOK
- type PatchConfigParams
- type PatchConfigURL
- func (o *PatchConfigURL) Build() (*url.URL, error)
- func (o *PatchConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchConfigURL) SetBasePath(bp string)
- func (o *PatchConfigURL) String() string
- func (o *PatchConfigURL) StringFull(scheme, host string) string
- func (o *PatchConfigURL) WithBasePath(bp string) *PatchConfigURL
Constants ¶
const GetConfigOKCode int = 200
GetConfigOKCode is the HTTP code returned for type GetConfigOK
const GetDebuginfoFailureCode int = 500
GetDebuginfoFailureCode is the HTTP code returned for type GetDebuginfoFailure
const GetDebuginfoOKCode int = 200
GetDebuginfoOKCode is the HTTP code returned for type GetDebuginfoOK
const GetHealthzOKCode int = 200
GetHealthzOKCode is the HTTP code returned for type GetHealthzOK
const GetMapNameNotFoundCode int = 404
GetMapNameNotFoundCode is the HTTP code returned for type GetMapNameNotFound
const GetMapNameOKCode int = 200
GetMapNameOKCode is the HTTP code returned for type GetMapNameOK
const GetMapOKCode int = 200
GetMapOKCode is the HTTP code returned for type GetMapOK
const PatchConfigBadRequestCode int = 400
PatchConfigBadRequestCode is the HTTP code returned for type PatchConfigBadRequest
const PatchConfigFailureCode int = 500
PatchConfigFailureCode is the HTTP code returned for type PatchConfigFailure
const PatchConfigOKCode int = 200
PatchConfigOKCode is the HTTP code returned for type PatchConfigOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetConfig ¶
type GetConfig struct { Context *middleware.Context Handler GetConfigHandler }
GetConfig swagger:route GET /config daemon getConfig
Get configuration of Cilium daemon ¶
Returns the configuration of the Cilium daemon.
func NewGetConfig ¶
func NewGetConfig(ctx *middleware.Context, handler GetConfigHandler) *GetConfig
NewGetConfig creates a new http.Handler for the get config operation
type GetConfigHandler ¶
type GetConfigHandler interface {
Handle(GetConfigParams) middleware.Responder
}
GetConfigHandler interface for that can handle valid get config params
type GetConfigHandlerFunc ¶
type GetConfigHandlerFunc func(GetConfigParams) middleware.Responder
GetConfigHandlerFunc turns a function with the right signature into a get config handler
func (GetConfigHandlerFunc) Handle ¶
func (fn GetConfigHandlerFunc) Handle(params GetConfigParams) middleware.Responder
Handle executing the request and returning a response
type GetConfigOK ¶
type GetConfigOK struct { /* In: Body */ Payload *models.DaemonConfiguration `json:"body,omitempty"` }
GetConfigOK Success
swagger:response getConfigOK
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates GetConfigOK with default headers values
func (*GetConfigOK) SetPayload ¶
func (o *GetConfigOK) SetPayload(payload *models.DaemonConfiguration)
SetPayload sets the payload to the get config o k response
func (*GetConfigOK) WithPayload ¶
func (o *GetConfigOK) WithPayload(payload *models.DaemonConfiguration) *GetConfigOK
WithPayload adds the payload to the get config o k response
func (*GetConfigOK) WriteResponse ¶
func (o *GetConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetConfigParams ¶
GetConfigParams contains all the bound params for the get config operation typically these are obtained from a http.Request
swagger:parameters GetConfig
func NewGetConfigParams ¶
func NewGetConfigParams() GetConfigParams
NewGetConfigParams creates a new GetConfigParams object no default values defined in spec.
func (*GetConfigParams) BindRequest ¶
func (o *GetConfigParams) 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 NewGetConfigParams() beforehand.
type GetConfigURL ¶
type GetConfigURL struct {
// contains filtered or unexported fields
}
GetConfigURL generates an URL for the get config operation
func (*GetConfigURL) Build ¶
func (o *GetConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetConfigURL) BuildFull ¶
func (o *GetConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetConfigURL) SetBasePath ¶
func (o *GetConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetConfigURL) String ¶
func (o *GetConfigURL) String() string
String returns the string representation of the path with query string
func (*GetConfigURL) StringFull ¶
func (o *GetConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetConfigURL) WithBasePath ¶
func (o *GetConfigURL) WithBasePath(bp string) *GetConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDebuginfo ¶ added in v1.5.0
type GetDebuginfo struct { Context *middleware.Context Handler GetDebuginfoHandler }
GetDebuginfo swagger:route GET /debuginfo daemon getDebuginfo
Retrieve information about the agent and evironment for debugging
func NewGetDebuginfo ¶ added in v1.5.0
func NewGetDebuginfo(ctx *middleware.Context, handler GetDebuginfoHandler) *GetDebuginfo
NewGetDebuginfo creates a new http.Handler for the get debuginfo operation
func (*GetDebuginfo) ServeHTTP ¶ added in v1.5.0
func (o *GetDebuginfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDebuginfoFailure ¶ added in v1.5.0
GetDebuginfoFailure DebugInfo get failed
swagger:response getDebuginfoFailure
func NewGetDebuginfoFailure ¶ added in v1.5.0
func NewGetDebuginfoFailure() *GetDebuginfoFailure
NewGetDebuginfoFailure creates GetDebuginfoFailure with default headers values
func (*GetDebuginfoFailure) SetPayload ¶ added in v1.5.0
func (o *GetDebuginfoFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the get debuginfo failure response
func (*GetDebuginfoFailure) WithPayload ¶ added in v1.5.0
func (o *GetDebuginfoFailure) WithPayload(payload models.Error) *GetDebuginfoFailure
WithPayload adds the payload to the get debuginfo failure response
func (*GetDebuginfoFailure) WriteResponse ¶ added in v1.5.0
func (o *GetDebuginfoFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebuginfoHandler ¶ added in v1.5.0
type GetDebuginfoHandler interface {
Handle(GetDebuginfoParams) middleware.Responder
}
GetDebuginfoHandler interface for that can handle valid get debuginfo params
type GetDebuginfoHandlerFunc ¶ added in v1.5.0
type GetDebuginfoHandlerFunc func(GetDebuginfoParams) middleware.Responder
GetDebuginfoHandlerFunc turns a function with the right signature into a get debuginfo handler
func (GetDebuginfoHandlerFunc) Handle ¶ added in v1.5.0
func (fn GetDebuginfoHandlerFunc) Handle(params GetDebuginfoParams) middleware.Responder
Handle executing the request and returning a response
type GetDebuginfoOK ¶ added in v1.5.0
GetDebuginfoOK Success
swagger:response getDebuginfoOK
func NewGetDebuginfoOK ¶ added in v1.5.0
func NewGetDebuginfoOK() *GetDebuginfoOK
NewGetDebuginfoOK creates GetDebuginfoOK with default headers values
func (*GetDebuginfoOK) SetPayload ¶ added in v1.5.0
func (o *GetDebuginfoOK) SetPayload(payload *models.DebugInfo)
SetPayload sets the payload to the get debuginfo o k response
func (*GetDebuginfoOK) WithPayload ¶ added in v1.5.0
func (o *GetDebuginfoOK) WithPayload(payload *models.DebugInfo) *GetDebuginfoOK
WithPayload adds the payload to the get debuginfo o k response
func (*GetDebuginfoOK) WriteResponse ¶ added in v1.5.0
func (o *GetDebuginfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDebuginfoParams ¶ added in v1.5.0
GetDebuginfoParams contains all the bound params for the get debuginfo operation typically these are obtained from a http.Request
swagger:parameters GetDebuginfo
func NewGetDebuginfoParams ¶ added in v1.5.0
func NewGetDebuginfoParams() GetDebuginfoParams
NewGetDebuginfoParams creates a new GetDebuginfoParams object no default values defined in spec.
func (*GetDebuginfoParams) BindRequest ¶ added in v1.5.0
func (o *GetDebuginfoParams) 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 NewGetDebuginfoParams() beforehand.
type GetDebuginfoURL ¶ added in v1.5.0
type GetDebuginfoURL struct {
// contains filtered or unexported fields
}
GetDebuginfoURL generates an URL for the get debuginfo operation
func (*GetDebuginfoURL) Build ¶ added in v1.5.0
func (o *GetDebuginfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDebuginfoURL) BuildFull ¶ added in v1.5.0
func (o *GetDebuginfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDebuginfoURL) Must ¶ added in v1.5.0
Must is a helper function to panic when the url builder returns an error
func (*GetDebuginfoURL) SetBasePath ¶ added in v1.5.0
func (o *GetDebuginfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDebuginfoURL) String ¶ added in v1.5.0
func (o *GetDebuginfoURL) String() string
String returns the string representation of the path with query string
func (*GetDebuginfoURL) StringFull ¶ added in v1.5.0
func (o *GetDebuginfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDebuginfoURL) WithBasePath ¶ added in v1.5.0
func (o *GetDebuginfoURL) WithBasePath(bp string) *GetDebuginfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetHealthz ¶
type GetHealthz struct { Context *middleware.Context Handler GetHealthzHandler }
GetHealthz swagger:route GET /healthz daemon getHealthz
Get health of Cilium daemon ¶
Returns health and status information of the Cilium daemon and related components such as the local container runtime, connected datastore, Kubernetes integration.
func NewGetHealthz ¶
func NewGetHealthz(ctx *middleware.Context, handler GetHealthzHandler) *GetHealthz
NewGetHealthz creates a new http.Handler for the get healthz operation
func (*GetHealthz) ServeHTTP ¶
func (o *GetHealthz) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetHealthzHandler ¶
type GetHealthzHandler interface {
Handle(GetHealthzParams) middleware.Responder
}
GetHealthzHandler interface for that can handle valid get healthz params
type GetHealthzHandlerFunc ¶
type GetHealthzHandlerFunc func(GetHealthzParams) middleware.Responder
GetHealthzHandlerFunc turns a function with the right signature into a get healthz handler
func (GetHealthzHandlerFunc) Handle ¶
func (fn GetHealthzHandlerFunc) Handle(params GetHealthzParams) middleware.Responder
Handle executing the request and returning a response
type GetHealthzOK ¶
type GetHealthzOK struct { /* In: Body */ Payload *models.StatusResponse `json:"body,omitempty"` }
GetHealthzOK Success
swagger:response getHealthzOK
func NewGetHealthzOK ¶
func NewGetHealthzOK() *GetHealthzOK
NewGetHealthzOK creates GetHealthzOK with default headers values
func (*GetHealthzOK) SetPayload ¶
func (o *GetHealthzOK) SetPayload(payload *models.StatusResponse)
SetPayload sets the payload to the get healthz o k response
func (*GetHealthzOK) WithPayload ¶
func (o *GetHealthzOK) WithPayload(payload *models.StatusResponse) *GetHealthzOK
WithPayload adds the payload to the get healthz o k response
func (*GetHealthzOK) WriteResponse ¶
func (o *GetHealthzOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHealthzParams ¶
GetHealthzParams contains all the bound params for the get healthz operation typically these are obtained from a http.Request
swagger:parameters GetHealthz
func NewGetHealthzParams ¶
func NewGetHealthzParams() GetHealthzParams
NewGetHealthzParams creates a new GetHealthzParams object no default values defined in spec.
func (*GetHealthzParams) BindRequest ¶
func (o *GetHealthzParams) 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 NewGetHealthzParams() beforehand.
type GetHealthzURL ¶
type GetHealthzURL struct {
// contains filtered or unexported fields
}
GetHealthzURL generates an URL for the get healthz operation
func (*GetHealthzURL) Build ¶
func (o *GetHealthzURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetHealthzURL) BuildFull ¶
func (o *GetHealthzURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetHealthzURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetHealthzURL) SetBasePath ¶
func (o *GetHealthzURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetHealthzURL) String ¶
func (o *GetHealthzURL) String() string
String returns the string representation of the path with query string
func (*GetHealthzURL) StringFull ¶
func (o *GetHealthzURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetHealthzURL) WithBasePath ¶
func (o *GetHealthzURL) WithBasePath(bp string) *GetHealthzURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetMap ¶ added in v1.5.0
type GetMap struct { Context *middleware.Context Handler GetMapHandler }
GetMap swagger:route GET /map daemon getMap
List all open maps
func NewGetMap ¶ added in v1.5.0
func NewGetMap(ctx *middleware.Context, handler GetMapHandler) *GetMap
NewGetMap creates a new http.Handler for the get map operation
type GetMapHandler ¶ added in v1.5.0
type GetMapHandler interface {
Handle(GetMapParams) middleware.Responder
}
GetMapHandler interface for that can handle valid get map params
type GetMapHandlerFunc ¶ added in v1.5.0
type GetMapHandlerFunc func(GetMapParams) middleware.Responder
GetMapHandlerFunc turns a function with the right signature into a get map handler
func (GetMapHandlerFunc) Handle ¶ added in v1.5.0
func (fn GetMapHandlerFunc) Handle(params GetMapParams) middleware.Responder
Handle executing the request and returning a response
type GetMapName ¶ added in v1.5.0
type GetMapName struct { Context *middleware.Context Handler GetMapNameHandler }
GetMapName swagger:route GET /map/{name} daemon getMapName
Retrieve contents of BPF map
func NewGetMapName ¶ added in v1.5.0
func NewGetMapName(ctx *middleware.Context, handler GetMapNameHandler) *GetMapName
NewGetMapName creates a new http.Handler for the get map name operation
func (*GetMapName) ServeHTTP ¶ added in v1.5.0
func (o *GetMapName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMapNameHandler ¶ added in v1.5.0
type GetMapNameHandler interface {
Handle(GetMapNameParams) middleware.Responder
}
GetMapNameHandler interface for that can handle valid get map name params
type GetMapNameHandlerFunc ¶ added in v1.5.0
type GetMapNameHandlerFunc func(GetMapNameParams) middleware.Responder
GetMapNameHandlerFunc turns a function with the right signature into a get map name handler
func (GetMapNameHandlerFunc) Handle ¶ added in v1.5.0
func (fn GetMapNameHandlerFunc) Handle(params GetMapNameParams) middleware.Responder
Handle executing the request and returning a response
type GetMapNameNotFound ¶ added in v1.5.0
type GetMapNameNotFound struct { }
GetMapNameNotFound Map not found
swagger:response getMapNameNotFound
func NewGetMapNameNotFound ¶ added in v1.5.0
func NewGetMapNameNotFound() *GetMapNameNotFound
NewGetMapNameNotFound creates GetMapNameNotFound with default headers values
func (*GetMapNameNotFound) WriteResponse ¶ added in v1.5.0
func (o *GetMapNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMapNameOK ¶ added in v1.5.0
GetMapNameOK Success
swagger:response getMapNameOK
func NewGetMapNameOK ¶ added in v1.5.0
func NewGetMapNameOK() *GetMapNameOK
NewGetMapNameOK creates GetMapNameOK with default headers values
func (*GetMapNameOK) SetPayload ¶ added in v1.5.0
func (o *GetMapNameOK) SetPayload(payload *models.BPFMap)
SetPayload sets the payload to the get map name o k response
func (*GetMapNameOK) WithPayload ¶ added in v1.5.0
func (o *GetMapNameOK) WithPayload(payload *models.BPFMap) *GetMapNameOK
WithPayload adds the payload to the get map name o k response
func (*GetMapNameOK) WriteResponse ¶ added in v1.5.0
func (o *GetMapNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMapNameParams ¶ added in v1.5.0
type GetMapNameParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of map Required: true In: path */ Name string }
GetMapNameParams contains all the bound params for the get map name operation typically these are obtained from a http.Request
swagger:parameters GetMapName
func NewGetMapNameParams ¶ added in v1.5.0
func NewGetMapNameParams() GetMapNameParams
NewGetMapNameParams creates a new GetMapNameParams object no default values defined in spec.
func (*GetMapNameParams) BindRequest ¶ added in v1.5.0
func (o *GetMapNameParams) 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 NewGetMapNameParams() beforehand.
type GetMapNameURL ¶ added in v1.5.0
type GetMapNameURL struct { Name string // contains filtered or unexported fields }
GetMapNameURL generates an URL for the get map name operation
func (*GetMapNameURL) Build ¶ added in v1.5.0
func (o *GetMapNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMapNameURL) BuildFull ¶ added in v1.5.0
func (o *GetMapNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMapNameURL) Must ¶ added in v1.5.0
Must is a helper function to panic when the url builder returns an error
func (*GetMapNameURL) SetBasePath ¶ added in v1.5.0
func (o *GetMapNameURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetMapNameURL) String ¶ added in v1.5.0
func (o *GetMapNameURL) String() string
String returns the string representation of the path with query string
func (*GetMapNameURL) StringFull ¶ added in v1.5.0
func (o *GetMapNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMapNameURL) WithBasePath ¶ added in v1.5.0
func (o *GetMapNameURL) WithBasePath(bp string) *GetMapNameURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetMapOK ¶ added in v1.5.0
type GetMapOK struct { /* In: Body */ Payload *models.BPFMapList `json:"body,omitempty"` }
GetMapOK Success
swagger:response getMapOK
func NewGetMapOK ¶ added in v1.5.0
func NewGetMapOK() *GetMapOK
NewGetMapOK creates GetMapOK with default headers values
func (*GetMapOK) SetPayload ¶ added in v1.5.0
func (o *GetMapOK) SetPayload(payload *models.BPFMapList)
SetPayload sets the payload to the get map o k response
func (*GetMapOK) WithPayload ¶ added in v1.5.0
func (o *GetMapOK) WithPayload(payload *models.BPFMapList) *GetMapOK
WithPayload adds the payload to the get map o k response
func (*GetMapOK) WriteResponse ¶ added in v1.5.0
func (o *GetMapOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMapParams ¶ added in v1.5.0
GetMapParams contains all the bound params for the get map operation typically these are obtained from a http.Request
swagger:parameters GetMap
func NewGetMapParams ¶ added in v1.5.0
func NewGetMapParams() GetMapParams
NewGetMapParams creates a new GetMapParams object no default values defined in spec.
func (*GetMapParams) BindRequest ¶ added in v1.5.0
func (o *GetMapParams) 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 NewGetMapParams() beforehand.
type GetMapURL ¶ added in v1.5.0
type GetMapURL struct {
// contains filtered or unexported fields
}
GetMapURL generates an URL for the get map operation
func (*GetMapURL) BuildFull ¶ added in v1.5.0
BuildFull builds a full url with scheme, host, path and query string
func (*GetMapURL) Must ¶ added in v1.5.0
Must is a helper function to panic when the url builder returns an error
func (*GetMapURL) SetBasePath ¶ added in v1.5.0
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetMapURL) String ¶ added in v1.5.0
String returns the string representation of the path with query string
func (*GetMapURL) StringFull ¶ added in v1.5.0
StringFull returns the string representation of a complete url
func (*GetMapURL) WithBasePath ¶ added in v1.5.0
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PatchConfig ¶
type PatchConfig struct { Context *middleware.Context Handler PatchConfigHandler }
PatchConfig swagger:route PATCH /config daemon patchConfig
Modify daemon configuration ¶
Updates the daemon configuration by applying the provided ConfigurationMap and regenerates & recompiles all required datapath components.
func NewPatchConfig ¶
func NewPatchConfig(ctx *middleware.Context, handler PatchConfigHandler) *PatchConfig
NewPatchConfig creates a new http.Handler for the patch config operation
func (*PatchConfig) ServeHTTP ¶
func (o *PatchConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchConfigBadRequest ¶
PatchConfigBadRequest Bad configuration parameters
swagger:response patchConfigBadRequest
func NewPatchConfigBadRequest ¶
func NewPatchConfigBadRequest() *PatchConfigBadRequest
NewPatchConfigBadRequest creates PatchConfigBadRequest with default headers values
func (*PatchConfigBadRequest) SetPayload ¶
func (o *PatchConfigBadRequest) SetPayload(payload models.Error)
SetPayload sets the payload to the patch config bad request response
func (*PatchConfigBadRequest) WithPayload ¶
func (o *PatchConfigBadRequest) WithPayload(payload models.Error) *PatchConfigBadRequest
WithPayload adds the payload to the patch config bad request response
func (*PatchConfigBadRequest) WriteResponse ¶
func (o *PatchConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigFailure ¶
PatchConfigFailure Recompilation failed
swagger:response patchConfigFailure
func NewPatchConfigFailure ¶
func NewPatchConfigFailure() *PatchConfigFailure
NewPatchConfigFailure creates PatchConfigFailure with default headers values
func (*PatchConfigFailure) SetPayload ¶
func (o *PatchConfigFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the patch config failure response
func (*PatchConfigFailure) WithPayload ¶
func (o *PatchConfigFailure) WithPayload(payload models.Error) *PatchConfigFailure
WithPayload adds the payload to the patch config failure response
func (*PatchConfigFailure) WriteResponse ¶
func (o *PatchConfigFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigHandler ¶
type PatchConfigHandler interface {
Handle(PatchConfigParams) middleware.Responder
}
PatchConfigHandler interface for that can handle valid patch config params
type PatchConfigHandlerFunc ¶
type PatchConfigHandlerFunc func(PatchConfigParams) middleware.Responder
PatchConfigHandlerFunc turns a function with the right signature into a patch config handler
func (PatchConfigHandlerFunc) Handle ¶
func (fn PatchConfigHandlerFunc) Handle(params PatchConfigParams) middleware.Responder
Handle executing the request and returning a response
type PatchConfigOK ¶
type PatchConfigOK struct { }
PatchConfigOK Success
swagger:response patchConfigOK
func NewPatchConfigOK ¶
func NewPatchConfigOK() *PatchConfigOK
NewPatchConfigOK creates PatchConfigOK with default headers values
func (*PatchConfigOK) WriteResponse ¶
func (o *PatchConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigParams ¶
type PatchConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Configuration *models.DaemonConfigurationSpec }
PatchConfigParams contains all the bound params for the patch config operation typically these are obtained from a http.Request
swagger:parameters PatchConfig
func NewPatchConfigParams ¶
func NewPatchConfigParams() PatchConfigParams
NewPatchConfigParams creates a new PatchConfigParams object no default values defined in spec.
func (*PatchConfigParams) BindRequest ¶
func (o *PatchConfigParams) 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 NewPatchConfigParams() beforehand.
type PatchConfigURL ¶
type PatchConfigURL struct {
// contains filtered or unexported fields
}
PatchConfigURL generates an URL for the patch config operation
func (*PatchConfigURL) Build ¶
func (o *PatchConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchConfigURL) BuildFull ¶
func (o *PatchConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchConfigURL) SetBasePath ¶
func (o *PatchConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PatchConfigURL) String ¶
func (o *PatchConfigURL) String() string
String returns the string representation of the path with query string
func (*PatchConfigURL) StringFull ¶
func (o *PatchConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchConfigURL) WithBasePath ¶
func (o *PatchConfigURL) WithBasePath(bp string) *PatchConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_config.go
- get_config_parameters.go
- get_config_responses.go
- get_config_urlbuilder.go
- get_debuginfo.go
- get_debuginfo_parameters.go
- get_debuginfo_responses.go
- get_debuginfo_urlbuilder.go
- get_healthz.go
- get_healthz_parameters.go
- get_healthz_responses.go
- get_healthz_urlbuilder.go
- get_map.go
- get_map_name.go
- get_map_name_parameters.go
- get_map_name_responses.go
- get_map_name_urlbuilder.go
- get_map_parameters.go
- get_map_responses.go
- get_map_urlbuilder.go
- patch_config.go
- patch_config_parameters.go
- patch_config_responses.go
- patch_config_urlbuilder.go