daemon

package
v1.17.0-pre.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 39

Documentation

Index

Constants

View Source
const GetCgroupDumpMetadataFailureCode int = 500

GetCgroupDumpMetadataFailureCode is the HTTP code returned for type GetCgroupDumpMetadataFailure

View Source
const GetCgroupDumpMetadataOKCode int = 200

GetCgroupDumpMetadataOKCode is the HTTP code returned for type GetCgroupDumpMetadataOK

View Source
const GetClusterNodesOKCode int = 200

GetClusterNodesOKCode is the HTTP code returned for type GetClusterNodesOK

View Source
const GetConfigOKCode int = 200

GetConfigOKCode is the HTTP code returned for type GetConfigOK

View Source
const GetDebuginfoFailureCode int = 500

GetDebuginfoFailureCode is the HTTP code returned for type GetDebuginfoFailure

View Source
const GetDebuginfoOKCode int = 200

GetDebuginfoOKCode is the HTTP code returned for type GetDebuginfoOK

View Source
const GetHealthzOKCode int = 200

GetHealthzOKCode is the HTTP code returned for type GetHealthzOK

View Source
const GetMapNameEventsNotFoundCode int = 404

GetMapNameEventsNotFoundCode is the HTTP code returned for type GetMapNameEventsNotFound

View Source
const GetMapNameEventsOKCode int = 200

GetMapNameEventsOKCode is the HTTP code returned for type GetMapNameEventsOK

View Source
const GetMapNameNotFoundCode int = 404

GetMapNameNotFoundCode is the HTTP code returned for type GetMapNameNotFound

View Source
const GetMapNameOKCode int = 200

GetMapNameOKCode is the HTTP code returned for type GetMapNameOK

View Source
const GetMapOKCode int = 200

GetMapOKCode is the HTTP code returned for type GetMapOK

View Source
const GetNodeIdsOKCode int = 200

GetNodeIdsOKCode is the HTTP code returned for type GetNodeIdsOK

View Source
const PatchConfigBadRequestCode int = 400

PatchConfigBadRequestCode is the HTTP code returned for type PatchConfigBadRequest

View Source
const PatchConfigFailureCode int = 500

PatchConfigFailureCode is the HTTP code returned for type PatchConfigFailure

View Source
const PatchConfigForbiddenCode int = 403

PatchConfigForbiddenCode is the HTTP code returned for type PatchConfigForbidden

View Source
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 GetCgroupDumpMetadata added in v0.15.7

type GetCgroupDumpMetadata struct {
	Context *middleware.Context
	Handler GetCgroupDumpMetadataHandler
}
GetCgroupDumpMetadata swagger:route GET /cgroup-dump-metadata daemon getCgroupDumpMetadata

Retrieve cgroup metadata for all pods

func NewGetCgroupDumpMetadata added in v0.15.7

func NewGetCgroupDumpMetadata(ctx *middleware.Context, handler GetCgroupDumpMetadataHandler) *GetCgroupDumpMetadata

NewGetCgroupDumpMetadata creates a new http.Handler for the get cgroup dump metadata operation

func (*GetCgroupDumpMetadata) ServeHTTP added in v0.15.7

func (o *GetCgroupDumpMetadata) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetCgroupDumpMetadataFailure added in v0.15.7

type GetCgroupDumpMetadataFailure struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

GetCgroupDumpMetadataFailure CgroupDumpMetadata get failed

swagger:response getCgroupDumpMetadataFailure

func NewGetCgroupDumpMetadataFailure added in v0.15.7

func NewGetCgroupDumpMetadataFailure() *GetCgroupDumpMetadataFailure

NewGetCgroupDumpMetadataFailure creates GetCgroupDumpMetadataFailure with default headers values

func (*GetCgroupDumpMetadataFailure) SetPayload added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) SetPayload(payload models.Error)

SetPayload sets the payload to the get cgroup dump metadata failure response

func (*GetCgroupDumpMetadataFailure) WithPayload added in v0.15.7

WithPayload adds the payload to the get cgroup dump metadata failure response

func (*GetCgroupDumpMetadataFailure) WriteResponse added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetCgroupDumpMetadataHandler added in v0.15.7

type GetCgroupDumpMetadataHandler interface {
	Handle(GetCgroupDumpMetadataParams) middleware.Responder
}

GetCgroupDumpMetadataHandler interface for that can handle valid get cgroup dump metadata params

type GetCgroupDumpMetadataHandlerFunc added in v0.15.7

type GetCgroupDumpMetadataHandlerFunc func(GetCgroupDumpMetadataParams) middleware.Responder

GetCgroupDumpMetadataHandlerFunc turns a function with the right signature into a get cgroup dump metadata handler

func (GetCgroupDumpMetadataHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetCgroupDumpMetadataOK added in v0.15.7

type GetCgroupDumpMetadataOK struct {

	/*
	  In: Body
	*/
	Payload *models.CgroupDumpMetadata `json:"body,omitempty"`
}

GetCgroupDumpMetadataOK Success

swagger:response getCgroupDumpMetadataOK

func NewGetCgroupDumpMetadataOK added in v0.15.7

func NewGetCgroupDumpMetadataOK() *GetCgroupDumpMetadataOK

NewGetCgroupDumpMetadataOK creates GetCgroupDumpMetadataOK with default headers values

func (*GetCgroupDumpMetadataOK) SetPayload added in v0.15.7

func (o *GetCgroupDumpMetadataOK) SetPayload(payload *models.CgroupDumpMetadata)

SetPayload sets the payload to the get cgroup dump metadata o k response

func (*GetCgroupDumpMetadataOK) WithPayload added in v0.15.7

WithPayload adds the payload to the get cgroup dump metadata o k response

func (*GetCgroupDumpMetadataOK) WriteResponse added in v0.15.7

func (o *GetCgroupDumpMetadataOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetCgroupDumpMetadataParams added in v0.15.7

type GetCgroupDumpMetadataParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetCgroupDumpMetadataParams contains all the bound params for the get cgroup dump metadata operation typically these are obtained from a http.Request

swagger:parameters GetCgroupDumpMetadata

func NewGetCgroupDumpMetadataParams added in v0.15.7

func NewGetCgroupDumpMetadataParams() GetCgroupDumpMetadataParams

NewGetCgroupDumpMetadataParams creates a new GetCgroupDumpMetadataParams object

There are no default values defined in the spec.

func (*GetCgroupDumpMetadataParams) BindRequest added in v0.15.7

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 NewGetCgroupDumpMetadataParams() beforehand.

type GetClusterNodes added in v0.15.7

type GetClusterNodes struct {
	Context *middleware.Context
	Handler GetClusterNodesHandler
}
GetClusterNodes swagger:route GET /cluster/nodes daemon getClusterNodes

Get nodes information stored in the cilium-agent

func NewGetClusterNodes added in v0.15.7

func NewGetClusterNodes(ctx *middleware.Context, handler GetClusterNodesHandler) *GetClusterNodes

NewGetClusterNodes creates a new http.Handler for the get cluster nodes operation

func (*GetClusterNodes) ServeHTTP added in v0.15.7

func (o *GetClusterNodes) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetClusterNodesHandler added in v0.15.7

type GetClusterNodesHandler interface {
	Handle(GetClusterNodesParams) middleware.Responder
}

GetClusterNodesHandler interface for that can handle valid get cluster nodes params

type GetClusterNodesHandlerFunc added in v0.15.7

type GetClusterNodesHandlerFunc func(GetClusterNodesParams) middleware.Responder

GetClusterNodesHandlerFunc turns a function with the right signature into a get cluster nodes handler

func (GetClusterNodesHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetClusterNodesOK added in v0.15.7

type GetClusterNodesOK struct {

	/*
	  In: Body
	*/
	Payload *models.ClusterNodeStatus `json:"body,omitempty"`
}

GetClusterNodesOK Success

swagger:response getClusterNodesOK

func NewGetClusterNodesOK added in v0.15.7

func NewGetClusterNodesOK() *GetClusterNodesOK

NewGetClusterNodesOK creates GetClusterNodesOK with default headers values

func (*GetClusterNodesOK) SetPayload added in v0.15.7

func (o *GetClusterNodesOK) SetPayload(payload *models.ClusterNodeStatus)

SetPayload sets the payload to the get cluster nodes o k response

func (*GetClusterNodesOK) WithPayload added in v0.15.7

func (o *GetClusterNodesOK) WithPayload(payload *models.ClusterNodeStatus) *GetClusterNodesOK

WithPayload adds the payload to the get cluster nodes o k response

func (*GetClusterNodesOK) WriteResponse added in v0.15.7

func (o *GetClusterNodesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetClusterNodesParams added in v0.15.7

type GetClusterNodesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Client UUID should be used when the client wants to request
	a diff of nodes added and / or removed since the last time
	that client has made a request.

	  In: header
	*/
	ClientID *int64
}

GetClusterNodesParams contains all the bound params for the get cluster nodes operation typically these are obtained from a http.Request

swagger:parameters GetClusterNodes

func NewGetClusterNodesParams added in v0.15.7

func NewGetClusterNodesParams() GetClusterNodesParams

NewGetClusterNodesParams creates a new GetClusterNodesParams object

There are no default values defined in the spec.

func (*GetClusterNodesParams) BindRequest added in v0.15.7

func (o *GetClusterNodesParams) 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 NewGetClusterNodesParams() beforehand.

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

func (*GetConfig) ServeHTTP

func (o *GetConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

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

type GetConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

There are no default values defined in the 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 GetDebuginfo added in v0.15.7

type GetDebuginfo struct {
	Context *middleware.Context
	Handler GetDebuginfoHandler
}
GetDebuginfo swagger:route GET /debuginfo daemon getDebuginfo

Retrieve information about the agent and environment for debugging

func NewGetDebuginfo added in v0.15.7

func NewGetDebuginfo(ctx *middleware.Context, handler GetDebuginfoHandler) *GetDebuginfo

NewGetDebuginfo creates a new http.Handler for the get debuginfo operation

func (*GetDebuginfo) ServeHTTP added in v0.15.7

func (o *GetDebuginfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetDebuginfoFailure added in v0.15.7

type GetDebuginfoFailure struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

GetDebuginfoFailure DebugInfo get failed

swagger:response getDebuginfoFailure

func NewGetDebuginfoFailure added in v0.15.7

func NewGetDebuginfoFailure() *GetDebuginfoFailure

NewGetDebuginfoFailure creates GetDebuginfoFailure with default headers values

func (*GetDebuginfoFailure) SetPayload added in v0.15.7

func (o *GetDebuginfoFailure) SetPayload(payload models.Error)

SetPayload sets the payload to the get debuginfo failure response

func (*GetDebuginfoFailure) WithPayload added in v0.15.7

func (o *GetDebuginfoFailure) WithPayload(payload models.Error) *GetDebuginfoFailure

WithPayload adds the payload to the get debuginfo failure response

func (*GetDebuginfoFailure) WriteResponse added in v0.15.7

func (o *GetDebuginfoFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDebuginfoHandler added in v0.15.7

type GetDebuginfoHandler interface {
	Handle(GetDebuginfoParams) middleware.Responder
}

GetDebuginfoHandler interface for that can handle valid get debuginfo params

type GetDebuginfoHandlerFunc added in v0.15.7

type GetDebuginfoHandlerFunc func(GetDebuginfoParams) middleware.Responder

GetDebuginfoHandlerFunc turns a function with the right signature into a get debuginfo handler

func (GetDebuginfoHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetDebuginfoOK added in v0.15.7

type GetDebuginfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.DebugInfo `json:"body,omitempty"`
}

GetDebuginfoOK Success

swagger:response getDebuginfoOK

func NewGetDebuginfoOK added in v0.15.7

func NewGetDebuginfoOK() *GetDebuginfoOK

NewGetDebuginfoOK creates GetDebuginfoOK with default headers values

func (*GetDebuginfoOK) SetPayload added in v0.15.7

func (o *GetDebuginfoOK) SetPayload(payload *models.DebugInfo)

SetPayload sets the payload to the get debuginfo o k response

func (*GetDebuginfoOK) WithPayload added in v0.15.7

func (o *GetDebuginfoOK) WithPayload(payload *models.DebugInfo) *GetDebuginfoOK

WithPayload adds the payload to the get debuginfo o k response

func (*GetDebuginfoOK) WriteResponse added in v0.15.7

func (o *GetDebuginfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDebuginfoParams added in v0.15.7

type GetDebuginfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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 v0.15.7

func NewGetDebuginfoParams() GetDebuginfoParams

NewGetDebuginfoParams creates a new GetDebuginfoParams object

There are no default values defined in the spec.

func (*GetDebuginfoParams) BindRequest added in v0.15.7

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 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 and Hubble.

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

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

type GetHealthzParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Brief will return a brief representation of the Cilium status.

	  In: header
	*/
	Brief *bool
	/*If set to true, failure of the agent to connect to the Kubernetes control plane will cause the agent's health status to also fail.

	  In: header
	  Default: true
	*/
	RequireK8sConnectivity *bool
}

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 with the default values initialized.

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 GetMap added in v0.15.7

type GetMap struct {
	Context *middleware.Context
	Handler GetMapHandler
}
GetMap swagger:route GET /map daemon getMap

List all open maps

func NewGetMap added in v0.15.7

func NewGetMap(ctx *middleware.Context, handler GetMapHandler) *GetMap

NewGetMap creates a new http.Handler for the get map operation

func (*GetMap) ServeHTTP added in v0.15.7

func (o *GetMap) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetMapHandler added in v0.15.7

type GetMapHandler interface {
	Handle(GetMapParams) middleware.Responder
}

GetMapHandler interface for that can handle valid get map params

type GetMapHandlerFunc added in v0.15.7

type GetMapHandlerFunc func(GetMapParams) middleware.Responder

GetMapHandlerFunc turns a function with the right signature into a get map handler

func (GetMapHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetMapName added in v0.15.7

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 v0.15.7

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 v0.15.7

func (o *GetMapName) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetMapNameEvents added in v0.15.7

type GetMapNameEvents struct {
	Context *middleware.Context
	Handler GetMapNameEventsHandler
}
GetMapNameEvents swagger:route GET /map/{name}/events daemon getMapNameEvents

Retrieves the recent event logs associated with this endpoint.

func NewGetMapNameEvents added in v0.15.7

func NewGetMapNameEvents(ctx *middleware.Context, handler GetMapNameEventsHandler) *GetMapNameEvents

NewGetMapNameEvents creates a new http.Handler for the get map name events operation

func (*GetMapNameEvents) ServeHTTP added in v0.15.7

func (o *GetMapNameEvents) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetMapNameEventsHandler added in v0.15.7

type GetMapNameEventsHandler interface {
	Handle(GetMapNameEventsParams) middleware.Responder
}

GetMapNameEventsHandler interface for that can handle valid get map name events params

type GetMapNameEventsHandlerFunc added in v0.15.7

type GetMapNameEventsHandlerFunc func(GetMapNameEventsParams) middleware.Responder

GetMapNameEventsHandlerFunc turns a function with the right signature into a get map name events handler

func (GetMapNameEventsHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetMapNameEventsNotFound added in v0.15.7

type GetMapNameEventsNotFound struct {
}

GetMapNameEventsNotFound Map not found

swagger:response getMapNameEventsNotFound

func NewGetMapNameEventsNotFound added in v0.15.7

func NewGetMapNameEventsNotFound() *GetMapNameEventsNotFound

NewGetMapNameEventsNotFound creates GetMapNameEventsNotFound with default headers values

func (*GetMapNameEventsNotFound) WriteResponse added in v0.15.7

func (o *GetMapNameEventsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMapNameEventsOK added in v0.15.7

type GetMapNameEventsOK struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

GetMapNameEventsOK Success

swagger:response getMapNameEventsOK

func NewGetMapNameEventsOK added in v0.15.7

func NewGetMapNameEventsOK() *GetMapNameEventsOK

NewGetMapNameEventsOK creates GetMapNameEventsOK with default headers values

func (*GetMapNameEventsOK) SetPayload added in v0.15.7

func (o *GetMapNameEventsOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the get map name events o k response

func (*GetMapNameEventsOK) WithPayload added in v0.15.7

func (o *GetMapNameEventsOK) WithPayload(payload io.ReadCloser) *GetMapNameEventsOK

WithPayload adds the payload to the get map name events o k response

func (*GetMapNameEventsOK) WriteResponse added in v0.15.7

func (o *GetMapNameEventsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMapNameEventsParams added in v0.15.7

type GetMapNameEventsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Whether to follow streamed requests
	  In: query
	*/
	Follow *bool
	/*Name of map
	  Required: true
	  In: path
	*/
	Name string
}

GetMapNameEventsParams contains all the bound params for the get map name events operation typically these are obtained from a http.Request

swagger:parameters GetMapNameEvents

func NewGetMapNameEventsParams added in v0.15.7

func NewGetMapNameEventsParams() GetMapNameEventsParams

NewGetMapNameEventsParams creates a new GetMapNameEventsParams object

There are no default values defined in the spec.

func (*GetMapNameEventsParams) BindRequest added in v0.15.7

func (o *GetMapNameEventsParams) 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 NewGetMapNameEventsParams() beforehand.

type GetMapNameHandler added in v0.15.7

type GetMapNameHandler interface {
	Handle(GetMapNameParams) middleware.Responder
}

GetMapNameHandler interface for that can handle valid get map name params

type GetMapNameHandlerFunc added in v0.15.7

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 v0.15.7

Handle executing the request and returning a response

type GetMapNameNotFound added in v0.15.7

type GetMapNameNotFound struct {
}

GetMapNameNotFound Map not found

swagger:response getMapNameNotFound

func NewGetMapNameNotFound added in v0.15.7

func NewGetMapNameNotFound() *GetMapNameNotFound

NewGetMapNameNotFound creates GetMapNameNotFound with default headers values

func (*GetMapNameNotFound) WriteResponse added in v0.15.7

func (o *GetMapNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMapNameOK added in v0.15.7

type GetMapNameOK struct {

	/*
	  In: Body
	*/
	Payload *models.BPFMap `json:"body,omitempty"`
}

GetMapNameOK Success

swagger:response getMapNameOK

func NewGetMapNameOK added in v0.15.7

func NewGetMapNameOK() *GetMapNameOK

NewGetMapNameOK creates GetMapNameOK with default headers values

func (*GetMapNameOK) SetPayload added in v0.15.7

func (o *GetMapNameOK) SetPayload(payload *models.BPFMap)

SetPayload sets the payload to the get map name o k response

func (*GetMapNameOK) WithPayload added in v0.15.7

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 v0.15.7

func (o *GetMapNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMapNameParams added in v0.15.7

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 v0.15.7

func NewGetMapNameParams() GetMapNameParams

NewGetMapNameParams creates a new GetMapNameParams object

There are no default values defined in the spec.

func (*GetMapNameParams) BindRequest added in v0.15.7

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 GetMapOK added in v0.15.7

type GetMapOK struct {

	/*
	  In: Body
	*/
	Payload *models.BPFMapList `json:"body,omitempty"`
}

GetMapOK Success

swagger:response getMapOK

func NewGetMapOK added in v0.15.7

func NewGetMapOK() *GetMapOK

NewGetMapOK creates GetMapOK with default headers values

func (*GetMapOK) SetPayload added in v0.15.7

func (o *GetMapOK) SetPayload(payload *models.BPFMapList)

SetPayload sets the payload to the get map o k response

func (*GetMapOK) WithPayload added in v0.15.7

func (o *GetMapOK) WithPayload(payload *models.BPFMapList) *GetMapOK

WithPayload adds the payload to the get map o k response

func (*GetMapOK) WriteResponse added in v0.15.7

func (o *GetMapOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMapParams added in v0.15.7

type GetMapParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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 v0.15.7

func NewGetMapParams() GetMapParams

NewGetMapParams creates a new GetMapParams object

There are no default values defined in the spec.

func (*GetMapParams) BindRequest added in v0.15.7

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 GetNodeIds added in v0.15.7

type GetNodeIds struct {
	Context *middleware.Context
	Handler GetNodeIdsHandler
}
GetNodeIds swagger:route GET /node/ids daemon getNodeIds

List information about known node IDs

Retrieves a list of node IDs allocated by the agent and their associated node IP addresses.

func NewGetNodeIds added in v0.15.7

func NewGetNodeIds(ctx *middleware.Context, handler GetNodeIdsHandler) *GetNodeIds

NewGetNodeIds creates a new http.Handler for the get node ids operation

func (*GetNodeIds) ServeHTTP added in v0.15.7

func (o *GetNodeIds) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetNodeIdsHandler added in v0.15.7

type GetNodeIdsHandler interface {
	Handle(GetNodeIdsParams) middleware.Responder
}

GetNodeIdsHandler interface for that can handle valid get node ids params

type GetNodeIdsHandlerFunc added in v0.15.7

type GetNodeIdsHandlerFunc func(GetNodeIdsParams) middleware.Responder

GetNodeIdsHandlerFunc turns a function with the right signature into a get node ids handler

func (GetNodeIdsHandlerFunc) Handle added in v0.15.7

Handle executing the request and returning a response

type GetNodeIdsOK added in v0.15.7

type GetNodeIdsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.NodeID `json:"body,omitempty"`
}

GetNodeIdsOK Success

swagger:response getNodeIdsOK

func NewGetNodeIdsOK added in v0.15.7

func NewGetNodeIdsOK() *GetNodeIdsOK

NewGetNodeIdsOK creates GetNodeIdsOK with default headers values

func (*GetNodeIdsOK) SetPayload added in v0.15.7

func (o *GetNodeIdsOK) SetPayload(payload []*models.NodeID)

SetPayload sets the payload to the get node ids o k response

func (*GetNodeIdsOK) WithPayload added in v0.15.7

func (o *GetNodeIdsOK) WithPayload(payload []*models.NodeID) *GetNodeIdsOK

WithPayload adds the payload to the get node ids o k response

func (*GetNodeIdsOK) WriteResponse added in v0.15.7

func (o *GetNodeIdsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetNodeIdsParams added in v0.15.7

type GetNodeIdsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetNodeIdsParams contains all the bound params for the get node ids operation typically these are obtained from a http.Request

swagger:parameters GetNodeIds

func NewGetNodeIdsParams added in v0.15.7

func NewGetNodeIdsParams() GetNodeIdsParams

NewGetNodeIdsParams creates a new GetNodeIdsParams object

There are no default values defined in the spec.

func (*GetNodeIdsParams) BindRequest added in v0.15.7

func (o *GetNodeIdsParams) 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 NewGetNodeIdsParams() beforehand.

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

type PatchConfigBadRequest struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

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

type PatchConfigFailure struct {

	/*
	  In: Body
	*/
	Payload models.Error `json:"body,omitempty"`
}

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 PatchConfigForbidden added in v0.15.7

type PatchConfigForbidden struct {
}

PatchConfigForbidden Forbidden

swagger:response patchConfigForbidden

func NewPatchConfigForbidden added in v0.15.7

func NewPatchConfigForbidden() *PatchConfigForbidden

NewPatchConfigForbidden creates PatchConfigForbidden with default headers values

func (*PatchConfigForbidden) WriteResponse added in v0.15.7

func (o *PatchConfigForbidden) 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

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

There are no default values defined in the 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL