daemon

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 46

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for daemon API

func (*Client) GetCgroupDumpMetadata added in v0.15.7

func (a *Client) GetCgroupDumpMetadata(params *GetCgroupDumpMetadataParams, opts ...ClientOption) (*GetCgroupDumpMetadataOK, error)

GetCgroupDumpMetadata retrieves cgroup metadata for all pods

func (*Client) GetClusterNodes added in v0.15.7

func (a *Client) GetClusterNodes(params *GetClusterNodesParams, opts ...ClientOption) (*GetClusterNodesOK, error)

GetClusterNodes gets nodes information stored in the cilium agent

func (*Client) GetConfig

func (a *Client) GetConfig(params *GetConfigParams, opts ...ClientOption) (*GetConfigOK, error)

GetConfig gets configuration of cilium daemon

Returns the configuration of the Cilium daemon.

func (*Client) GetDebuginfo added in v0.15.7

func (a *Client) GetDebuginfo(params *GetDebuginfoParams, opts ...ClientOption) (*GetDebuginfoOK, error)

GetDebuginfo retrieves information about the agent and environment for debugging

func (*Client) GetHealth added in v0.15.7

func (a *Client) GetHealth(params *GetHealthParams, opts ...ClientOption) (*GetHealthOK, error)

GetHealth gets modules health of cilium daemon

Returns modules health and status information of the Cilium daemon.

func (*Client) GetHealthz

func (a *Client) GetHealthz(params *GetHealthzParams, opts ...ClientOption) (*GetHealthzOK, error)
GetHealthz gets 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 (*Client) GetMap added in v0.15.7

func (a *Client) GetMap(params *GetMapParams, opts ...ClientOption) (*GetMapOK, error)

GetMap lists all open maps

func (*Client) GetMapName added in v0.15.7

func (a *Client) GetMapName(params *GetMapNameParams, opts ...ClientOption) (*GetMapNameOK, error)

GetMapName retrieves contents of b p f map

func (*Client) GetMapNameEvents added in v0.15.7

func (a *Client) GetMapNameEvents(params *GetMapNameEventsParams, writer io.Writer, opts ...ClientOption) (*GetMapNameEventsOK, error)

GetMapNameEvents retrieves the recent event logs associated with this endpoint

func (*Client) GetNodeIds added in v0.15.7

func (a *Client) GetNodeIds(params *GetNodeIdsParams, opts ...ClientOption) (*GetNodeIdsOK, error)
GetNodeIds lists information about known node i ds

Retrieves a list of node IDs allocated by the agent and their

associated node IP addresses.

func (*Client) PatchConfig

func (a *Client) PatchConfig(params *PatchConfigParams, opts ...ClientOption) (*PatchConfigOK, error)
PatchConfig modifies daemon configuration

Updates the daemon configuration by applying the provided

ConfigurationMap and regenerates & recompiles all required datapath components.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v0.15.7

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.15.7

type ClientService interface {
	GetCgroupDumpMetadata(params *GetCgroupDumpMetadataParams, opts ...ClientOption) (*GetCgroupDumpMetadataOK, error)

	GetClusterNodes(params *GetClusterNodesParams, opts ...ClientOption) (*GetClusterNodesOK, error)

	GetConfig(params *GetConfigParams, opts ...ClientOption) (*GetConfigOK, error)

	GetDebuginfo(params *GetDebuginfoParams, opts ...ClientOption) (*GetDebuginfoOK, error)

	GetHealth(params *GetHealthParams, opts ...ClientOption) (*GetHealthOK, error)

	GetHealthz(params *GetHealthzParams, opts ...ClientOption) (*GetHealthzOK, error)

	GetMap(params *GetMapParams, opts ...ClientOption) (*GetMapOK, error)

	GetMapName(params *GetMapNameParams, opts ...ClientOption) (*GetMapNameOK, error)

	GetMapNameEvents(params *GetMapNameEventsParams, writer io.Writer, opts ...ClientOption) (*GetMapNameEventsOK, error)

	GetNodeIds(params *GetNodeIdsParams, opts ...ClientOption) (*GetNodeIdsOK, error)

	PatchConfig(params *PatchConfigParams, opts ...ClientOption) (*PatchConfigOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new daemon API client.

type GetCgroupDumpMetadataFailure added in v0.15.7

type GetCgroupDumpMetadataFailure struct {
	Payload models.Error
}

GetCgroupDumpMetadataFailure describes a response with status code 500, with default header values.

CgroupDumpMetadata get failed

func NewGetCgroupDumpMetadataFailure added in v0.15.7

func NewGetCgroupDumpMetadataFailure() *GetCgroupDumpMetadataFailure

NewGetCgroupDumpMetadataFailure creates a GetCgroupDumpMetadataFailure with default headers values

func (*GetCgroupDumpMetadataFailure) Error added in v0.15.7

func (*GetCgroupDumpMetadataFailure) GetPayload added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) GetPayload() models.Error

func (*GetCgroupDumpMetadataFailure) IsClientError added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) IsClientError() bool

IsClientError returns true when this get cgroup dump metadata failure response has a 4xx status code

func (*GetCgroupDumpMetadataFailure) IsCode added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) IsCode(code int) bool

IsCode returns true when this get cgroup dump metadata failure response a status code equal to that given

func (*GetCgroupDumpMetadataFailure) IsRedirect added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) IsRedirect() bool

IsRedirect returns true when this get cgroup dump metadata failure response has a 3xx status code

func (*GetCgroupDumpMetadataFailure) IsServerError added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) IsServerError() bool

IsServerError returns true when this get cgroup dump metadata failure response has a 5xx status code

func (*GetCgroupDumpMetadataFailure) IsSuccess added in v0.15.7

func (o *GetCgroupDumpMetadataFailure) IsSuccess() bool

IsSuccess returns true when this get cgroup dump metadata failure response has a 2xx status code

func (*GetCgroupDumpMetadataFailure) String added in v0.15.7

type GetCgroupDumpMetadataOK added in v0.15.7

type GetCgroupDumpMetadataOK struct {
	Payload *models.CgroupDumpMetadata
}

GetCgroupDumpMetadataOK describes a response with status code 200, with default header values.

Success

func NewGetCgroupDumpMetadataOK added in v0.15.7

func NewGetCgroupDumpMetadataOK() *GetCgroupDumpMetadataOK

NewGetCgroupDumpMetadataOK creates a GetCgroupDumpMetadataOK with default headers values

func (*GetCgroupDumpMetadataOK) Error added in v0.15.7

func (o *GetCgroupDumpMetadataOK) Error() string

func (*GetCgroupDumpMetadataOK) GetPayload added in v0.15.7

func (*GetCgroupDumpMetadataOK) IsClientError added in v0.15.7

func (o *GetCgroupDumpMetadataOK) IsClientError() bool

IsClientError returns true when this get cgroup dump metadata o k response has a 4xx status code

func (*GetCgroupDumpMetadataOK) IsCode added in v0.15.7

func (o *GetCgroupDumpMetadataOK) IsCode(code int) bool

IsCode returns true when this get cgroup dump metadata o k response a status code equal to that given

func (*GetCgroupDumpMetadataOK) IsRedirect added in v0.15.7

func (o *GetCgroupDumpMetadataOK) IsRedirect() bool

IsRedirect returns true when this get cgroup dump metadata o k response has a 3xx status code

func (*GetCgroupDumpMetadataOK) IsServerError added in v0.15.7

func (o *GetCgroupDumpMetadataOK) IsServerError() bool

IsServerError returns true when this get cgroup dump metadata o k response has a 5xx status code

func (*GetCgroupDumpMetadataOK) IsSuccess added in v0.15.7

func (o *GetCgroupDumpMetadataOK) IsSuccess() bool

IsSuccess returns true when this get cgroup dump metadata o k response has a 2xx status code

func (*GetCgroupDumpMetadataOK) String added in v0.15.7

func (o *GetCgroupDumpMetadataOK) String() string

type GetCgroupDumpMetadataParams added in v0.15.7

type GetCgroupDumpMetadataParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCgroupDumpMetadataParams contains all the parameters to send to the API endpoint

for the get cgroup dump metadata operation.

Typically these are written to a http.Request.

func NewGetCgroupDumpMetadataParams added in v0.15.7

func NewGetCgroupDumpMetadataParams() *GetCgroupDumpMetadataParams

NewGetCgroupDumpMetadataParams creates a new GetCgroupDumpMetadataParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCgroupDumpMetadataParamsWithContext added in v0.15.7

func NewGetCgroupDumpMetadataParamsWithContext(ctx context.Context) *GetCgroupDumpMetadataParams

NewGetCgroupDumpMetadataParamsWithContext creates a new GetCgroupDumpMetadataParams object with the ability to set a context for a request.

func NewGetCgroupDumpMetadataParamsWithHTTPClient added in v0.15.7

func NewGetCgroupDumpMetadataParamsWithHTTPClient(client *http.Client) *GetCgroupDumpMetadataParams

NewGetCgroupDumpMetadataParamsWithHTTPClient creates a new GetCgroupDumpMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewGetCgroupDumpMetadataParamsWithTimeout added in v0.15.7

func NewGetCgroupDumpMetadataParamsWithTimeout(timeout time.Duration) *GetCgroupDumpMetadataParams

NewGetCgroupDumpMetadataParamsWithTimeout creates a new GetCgroupDumpMetadataParams object with the ability to set a timeout on a request.

func (*GetCgroupDumpMetadataParams) SetContext added in v0.15.7

func (o *GetCgroupDumpMetadataParams) SetContext(ctx context.Context)

SetContext adds the context to the get cgroup dump metadata params

func (*GetCgroupDumpMetadataParams) SetDefaults added in v0.15.7

func (o *GetCgroupDumpMetadataParams) SetDefaults()

SetDefaults hydrates default values in the get cgroup dump metadata params (not the query body).

All values with no default are reset to their zero value.

func (*GetCgroupDumpMetadataParams) SetHTTPClient added in v0.15.7

func (o *GetCgroupDumpMetadataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cgroup dump metadata params

func (*GetCgroupDumpMetadataParams) SetTimeout added in v0.15.7

func (o *GetCgroupDumpMetadataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cgroup dump metadata params

func (*GetCgroupDumpMetadataParams) WithContext added in v0.15.7

WithContext adds the context to the get cgroup dump metadata params

func (*GetCgroupDumpMetadataParams) WithDefaults added in v0.15.7

WithDefaults hydrates default values in the get cgroup dump metadata params (not the query body).

All values with no default are reset to their zero value.

func (*GetCgroupDumpMetadataParams) WithHTTPClient added in v0.15.7

WithHTTPClient adds the HTTPClient to the get cgroup dump metadata params

func (*GetCgroupDumpMetadataParams) WithTimeout added in v0.15.7

WithTimeout adds the timeout to the get cgroup dump metadata params

func (*GetCgroupDumpMetadataParams) WriteToRequest added in v0.15.7

WriteToRequest writes these params to a swagger request

type GetCgroupDumpMetadataReader added in v0.15.7

type GetCgroupDumpMetadataReader struct {
	// contains filtered or unexported fields
}

GetCgroupDumpMetadataReader is a Reader for the GetCgroupDumpMetadata structure.

func (*GetCgroupDumpMetadataReader) ReadResponse added in v0.15.7

func (o *GetCgroupDumpMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterNodesOK added in v0.15.7

type GetClusterNodesOK struct {
	Payload *models.ClusterNodeStatus
}

GetClusterNodesOK describes a response with status code 200, with default header values.

Success

func NewGetClusterNodesOK added in v0.15.7

func NewGetClusterNodesOK() *GetClusterNodesOK

NewGetClusterNodesOK creates a GetClusterNodesOK with default headers values

func (*GetClusterNodesOK) Error added in v0.15.7

func (o *GetClusterNodesOK) Error() string

func (*GetClusterNodesOK) GetPayload added in v0.15.7

func (o *GetClusterNodesOK) GetPayload() *models.ClusterNodeStatus

func (*GetClusterNodesOK) IsClientError added in v0.15.7

func (o *GetClusterNodesOK) IsClientError() bool

IsClientError returns true when this get cluster nodes o k response has a 4xx status code

func (*GetClusterNodesOK) IsCode added in v0.15.7

func (o *GetClusterNodesOK) IsCode(code int) bool

IsCode returns true when this get cluster nodes o k response a status code equal to that given

func (*GetClusterNodesOK) IsRedirect added in v0.15.7

func (o *GetClusterNodesOK) IsRedirect() bool

IsRedirect returns true when this get cluster nodes o k response has a 3xx status code

func (*GetClusterNodesOK) IsServerError added in v0.15.7

func (o *GetClusterNodesOK) IsServerError() bool

IsServerError returns true when this get cluster nodes o k response has a 5xx status code

func (*GetClusterNodesOK) IsSuccess added in v0.15.7

func (o *GetClusterNodesOK) IsSuccess() bool

IsSuccess returns true when this get cluster nodes o k response has a 2xx status code

func (*GetClusterNodesOK) String added in v0.15.7

func (o *GetClusterNodesOK) String() string

type GetClusterNodesParams added in v0.15.7

type GetClusterNodesParams struct {

	/* ClientID.

	     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.

	*/
	ClientID *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterNodesParams contains all the parameters to send to the API endpoint

for the get cluster nodes operation.

Typically these are written to a http.Request.

func NewGetClusterNodesParams added in v0.15.7

func NewGetClusterNodesParams() *GetClusterNodesParams

NewGetClusterNodesParams creates a new GetClusterNodesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterNodesParamsWithContext added in v0.15.7

func NewGetClusterNodesParamsWithContext(ctx context.Context) *GetClusterNodesParams

NewGetClusterNodesParamsWithContext creates a new GetClusterNodesParams object with the ability to set a context for a request.

func NewGetClusterNodesParamsWithHTTPClient added in v0.15.7

func NewGetClusterNodesParamsWithHTTPClient(client *http.Client) *GetClusterNodesParams

NewGetClusterNodesParamsWithHTTPClient creates a new GetClusterNodesParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterNodesParamsWithTimeout added in v0.15.7

func NewGetClusterNodesParamsWithTimeout(timeout time.Duration) *GetClusterNodesParams

NewGetClusterNodesParamsWithTimeout creates a new GetClusterNodesParams object with the ability to set a timeout on a request.

func (*GetClusterNodesParams) SetClientID added in v0.15.7

func (o *GetClusterNodesParams) SetClientID(clientID *int64)

SetClientID adds the clientId to the get cluster nodes params

func (*GetClusterNodesParams) SetContext added in v0.15.7

func (o *GetClusterNodesParams) SetContext(ctx context.Context)

SetContext adds the context to the get cluster nodes params

func (*GetClusterNodesParams) SetDefaults added in v0.15.7

func (o *GetClusterNodesParams) SetDefaults()

SetDefaults hydrates default values in the get cluster nodes params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterNodesParams) SetHTTPClient added in v0.15.7

func (o *GetClusterNodesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster nodes params

func (*GetClusterNodesParams) SetTimeout added in v0.15.7

func (o *GetClusterNodesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster nodes params

func (*GetClusterNodesParams) WithClientID added in v0.15.7

func (o *GetClusterNodesParams) WithClientID(clientID *int64) *GetClusterNodesParams

WithClientID adds the clientID to the get cluster nodes params

func (*GetClusterNodesParams) WithContext added in v0.15.7

WithContext adds the context to the get cluster nodes params

func (*GetClusterNodesParams) WithDefaults added in v0.15.7

func (o *GetClusterNodesParams) WithDefaults() *GetClusterNodesParams

WithDefaults hydrates default values in the get cluster nodes params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterNodesParams) WithHTTPClient added in v0.15.7

func (o *GetClusterNodesParams) WithHTTPClient(client *http.Client) *GetClusterNodesParams

WithHTTPClient adds the HTTPClient to the get cluster nodes params

func (*GetClusterNodesParams) WithTimeout added in v0.15.7

func (o *GetClusterNodesParams) WithTimeout(timeout time.Duration) *GetClusterNodesParams

WithTimeout adds the timeout to the get cluster nodes params

func (*GetClusterNodesParams) WriteToRequest added in v0.15.7

func (o *GetClusterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetClusterNodesReader added in v0.15.7

type GetClusterNodesReader struct {
	// contains filtered or unexported fields
}

GetClusterNodesReader is a Reader for the GetClusterNodes structure.

func (*GetClusterNodesReader) ReadResponse added in v0.15.7

func (o *GetClusterNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetConfigOK

type GetConfigOK struct {
	Payload *models.DaemonConfiguration
}

GetConfigOK describes a response with status code 200, with default header values.

Success

func NewGetConfigOK

func NewGetConfigOK() *GetConfigOK

NewGetConfigOK creates a GetConfigOK with default headers values

func (*GetConfigOK) Error

func (o *GetConfigOK) Error() string

func (*GetConfigOK) GetPayload added in v0.15.7

func (o *GetConfigOK) GetPayload() *models.DaemonConfiguration

func (*GetConfigOK) IsClientError added in v0.15.7

func (o *GetConfigOK) IsClientError() bool

IsClientError returns true when this get config o k response has a 4xx status code

func (*GetConfigOK) IsCode added in v0.15.7

func (o *GetConfigOK) IsCode(code int) bool

IsCode returns true when this get config o k response a status code equal to that given

func (*GetConfigOK) IsRedirect added in v0.15.7

func (o *GetConfigOK) IsRedirect() bool

IsRedirect returns true when this get config o k response has a 3xx status code

func (*GetConfigOK) IsServerError added in v0.15.7

func (o *GetConfigOK) IsServerError() bool

IsServerError returns true when this get config o k response has a 5xx status code

func (*GetConfigOK) IsSuccess added in v0.15.7

func (o *GetConfigOK) IsSuccess() bool

IsSuccess returns true when this get config o k response has a 2xx status code

func (*GetConfigOK) String added in v0.15.7

func (o *GetConfigOK) String() string

type GetConfigParams

type GetConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetConfigParams contains all the parameters to send to the API endpoint

for the get config operation.

Typically these are written to a http.Request.

func NewGetConfigParams

func NewGetConfigParams() *GetConfigParams

NewGetConfigParams creates a new GetConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetConfigParamsWithContext

func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams

NewGetConfigParamsWithContext creates a new GetConfigParams object with the ability to set a context for a request.

func NewGetConfigParamsWithHTTPClient

func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams

NewGetConfigParamsWithHTTPClient creates a new GetConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetConfigParamsWithTimeout

func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams

NewGetConfigParamsWithTimeout creates a new GetConfigParams object with the ability to set a timeout on a request.

func (*GetConfigParams) SetContext

func (o *GetConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the get config params

func (*GetConfigParams) SetDefaults added in v0.15.7

func (o *GetConfigParams) SetDefaults()

SetDefaults hydrates default values in the get config params (not the query body).

All values with no default are reset to their zero value.

func (*GetConfigParams) SetHTTPClient

func (o *GetConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) SetTimeout

func (o *GetConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get config params

func (*GetConfigParams) WithContext

func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams

WithContext adds the context to the get config params

func (*GetConfigParams) WithDefaults added in v0.15.7

func (o *GetConfigParams) WithDefaults() *GetConfigParams

WithDefaults hydrates default values in the get config params (not the query body).

All values with no default are reset to their zero value.

func (*GetConfigParams) WithHTTPClient

func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams

WithHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) WithTimeout

func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams

WithTimeout adds the timeout to the get config params

func (*GetConfigParams) WriteToRequest

func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetConfigReader

type GetConfigReader struct {
	// contains filtered or unexported fields
}

GetConfigReader is a Reader for the GetConfig structure.

func (*GetConfigReader) ReadResponse

func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDebuginfoFailure added in v0.15.7

type GetDebuginfoFailure struct {
	Payload models.Error
}

GetDebuginfoFailure describes a response with status code 500, with default header values.

DebugInfo get failed

func NewGetDebuginfoFailure added in v0.15.7

func NewGetDebuginfoFailure() *GetDebuginfoFailure

NewGetDebuginfoFailure creates a GetDebuginfoFailure with default headers values

func (*GetDebuginfoFailure) Error added in v0.15.7

func (o *GetDebuginfoFailure) Error() string

func (*GetDebuginfoFailure) GetPayload added in v0.15.7

func (o *GetDebuginfoFailure) GetPayload() models.Error

func (*GetDebuginfoFailure) IsClientError added in v0.15.7

func (o *GetDebuginfoFailure) IsClientError() bool

IsClientError returns true when this get debuginfo failure response has a 4xx status code

func (*GetDebuginfoFailure) IsCode added in v0.15.7

func (o *GetDebuginfoFailure) IsCode(code int) bool

IsCode returns true when this get debuginfo failure response a status code equal to that given

func (*GetDebuginfoFailure) IsRedirect added in v0.15.7

func (o *GetDebuginfoFailure) IsRedirect() bool

IsRedirect returns true when this get debuginfo failure response has a 3xx status code

func (*GetDebuginfoFailure) IsServerError added in v0.15.7

func (o *GetDebuginfoFailure) IsServerError() bool

IsServerError returns true when this get debuginfo failure response has a 5xx status code

func (*GetDebuginfoFailure) IsSuccess added in v0.15.7

func (o *GetDebuginfoFailure) IsSuccess() bool

IsSuccess returns true when this get debuginfo failure response has a 2xx status code

func (*GetDebuginfoFailure) String added in v0.15.7

func (o *GetDebuginfoFailure) String() string

type GetDebuginfoOK added in v0.15.7

type GetDebuginfoOK struct {
	Payload *models.DebugInfo
}

GetDebuginfoOK describes a response with status code 200, with default header values.

Success

func NewGetDebuginfoOK added in v0.15.7

func NewGetDebuginfoOK() *GetDebuginfoOK

NewGetDebuginfoOK creates a GetDebuginfoOK with default headers values

func (*GetDebuginfoOK) Error added in v0.15.7

func (o *GetDebuginfoOK) Error() string

func (*GetDebuginfoOK) GetPayload added in v0.15.7

func (o *GetDebuginfoOK) GetPayload() *models.DebugInfo

func (*GetDebuginfoOK) IsClientError added in v0.15.7

func (o *GetDebuginfoOK) IsClientError() bool

IsClientError returns true when this get debuginfo o k response has a 4xx status code

func (*GetDebuginfoOK) IsCode added in v0.15.7

func (o *GetDebuginfoOK) IsCode(code int) bool

IsCode returns true when this get debuginfo o k response a status code equal to that given

func (*GetDebuginfoOK) IsRedirect added in v0.15.7

func (o *GetDebuginfoOK) IsRedirect() bool

IsRedirect returns true when this get debuginfo o k response has a 3xx status code

func (*GetDebuginfoOK) IsServerError added in v0.15.7

func (o *GetDebuginfoOK) IsServerError() bool

IsServerError returns true when this get debuginfo o k response has a 5xx status code

func (*GetDebuginfoOK) IsSuccess added in v0.15.7

func (o *GetDebuginfoOK) IsSuccess() bool

IsSuccess returns true when this get debuginfo o k response has a 2xx status code

func (*GetDebuginfoOK) String added in v0.15.7

func (o *GetDebuginfoOK) String() string

type GetDebuginfoParams added in v0.15.7

type GetDebuginfoParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDebuginfoParams contains all the parameters to send to the API endpoint

for the get debuginfo operation.

Typically these are written to a http.Request.

func NewGetDebuginfoParams added in v0.15.7

func NewGetDebuginfoParams() *GetDebuginfoParams

NewGetDebuginfoParams creates a new GetDebuginfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDebuginfoParamsWithContext added in v0.15.7

func NewGetDebuginfoParamsWithContext(ctx context.Context) *GetDebuginfoParams

NewGetDebuginfoParamsWithContext creates a new GetDebuginfoParams object with the ability to set a context for a request.

func NewGetDebuginfoParamsWithHTTPClient added in v0.15.7

func NewGetDebuginfoParamsWithHTTPClient(client *http.Client) *GetDebuginfoParams

NewGetDebuginfoParamsWithHTTPClient creates a new GetDebuginfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetDebuginfoParamsWithTimeout added in v0.15.7

func NewGetDebuginfoParamsWithTimeout(timeout time.Duration) *GetDebuginfoParams

NewGetDebuginfoParamsWithTimeout creates a new GetDebuginfoParams object with the ability to set a timeout on a request.

func (*GetDebuginfoParams) SetContext added in v0.15.7

func (o *GetDebuginfoParams) SetContext(ctx context.Context)

SetContext adds the context to the get debuginfo params

func (*GetDebuginfoParams) SetDefaults added in v0.15.7

func (o *GetDebuginfoParams) SetDefaults()

SetDefaults hydrates default values in the get debuginfo params (not the query body).

All values with no default are reset to their zero value.

func (*GetDebuginfoParams) SetHTTPClient added in v0.15.7

func (o *GetDebuginfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get debuginfo params

func (*GetDebuginfoParams) SetTimeout added in v0.15.7

func (o *GetDebuginfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get debuginfo params

func (*GetDebuginfoParams) WithContext added in v0.15.7

WithContext adds the context to the get debuginfo params

func (*GetDebuginfoParams) WithDefaults added in v0.15.7

func (o *GetDebuginfoParams) WithDefaults() *GetDebuginfoParams

WithDefaults hydrates default values in the get debuginfo params (not the query body).

All values with no default are reset to their zero value.

func (*GetDebuginfoParams) WithHTTPClient added in v0.15.7

func (o *GetDebuginfoParams) WithHTTPClient(client *http.Client) *GetDebuginfoParams

WithHTTPClient adds the HTTPClient to the get debuginfo params

func (*GetDebuginfoParams) WithTimeout added in v0.15.7

func (o *GetDebuginfoParams) WithTimeout(timeout time.Duration) *GetDebuginfoParams

WithTimeout adds the timeout to the get debuginfo params

func (*GetDebuginfoParams) WriteToRequest added in v0.15.7

func (o *GetDebuginfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDebuginfoReader added in v0.15.7

type GetDebuginfoReader struct {
	// contains filtered or unexported fields
}

GetDebuginfoReader is a Reader for the GetDebuginfo structure.

func (*GetDebuginfoReader) ReadResponse added in v0.15.7

func (o *GetDebuginfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetHealthOK added in v0.15.7

type GetHealthOK struct {
	Payload *models.ModulesHealth
}

GetHealthOK describes a response with status code 200, with default header values.

Success

func NewGetHealthOK added in v0.15.7

func NewGetHealthOK() *GetHealthOK

NewGetHealthOK creates a GetHealthOK with default headers values

func (*GetHealthOK) Error added in v0.15.7

func (o *GetHealthOK) Error() string

func (*GetHealthOK) GetPayload added in v0.15.7

func (o *GetHealthOK) GetPayload() *models.ModulesHealth

func (*GetHealthOK) IsClientError added in v0.15.7

func (o *GetHealthOK) IsClientError() bool

IsClientError returns true when this get health o k response has a 4xx status code

func (*GetHealthOK) IsCode added in v0.15.7

func (o *GetHealthOK) IsCode(code int) bool

IsCode returns true when this get health o k response a status code equal to that given

func (*GetHealthOK) IsRedirect added in v0.15.7

func (o *GetHealthOK) IsRedirect() bool

IsRedirect returns true when this get health o k response has a 3xx status code

func (*GetHealthOK) IsServerError added in v0.15.7

func (o *GetHealthOK) IsServerError() bool

IsServerError returns true when this get health o k response has a 5xx status code

func (*GetHealthOK) IsSuccess added in v0.15.7

func (o *GetHealthOK) IsSuccess() bool

IsSuccess returns true when this get health o k response has a 2xx status code

func (*GetHealthOK) String added in v0.15.7

func (o *GetHealthOK) String() string

type GetHealthParams added in v0.15.7

type GetHealthParams struct {

	/* Brief.

	   Brief is a brief representation of the Cilium status.

	*/
	Brief *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetHealthParams contains all the parameters to send to the API endpoint

for the get health operation.

Typically these are written to a http.Request.

func NewGetHealthParams added in v0.15.7

func NewGetHealthParams() *GetHealthParams

NewGetHealthParams creates a new GetHealthParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHealthParamsWithContext added in v0.15.7

func NewGetHealthParamsWithContext(ctx context.Context) *GetHealthParams

NewGetHealthParamsWithContext creates a new GetHealthParams object with the ability to set a context for a request.

func NewGetHealthParamsWithHTTPClient added in v0.15.7

func NewGetHealthParamsWithHTTPClient(client *http.Client) *GetHealthParams

NewGetHealthParamsWithHTTPClient creates a new GetHealthParams object with the ability to set a custom HTTPClient for a request.

func NewGetHealthParamsWithTimeout added in v0.15.7

func NewGetHealthParamsWithTimeout(timeout time.Duration) *GetHealthParams

NewGetHealthParamsWithTimeout creates a new GetHealthParams object with the ability to set a timeout on a request.

func (*GetHealthParams) SetBrief added in v0.15.7

func (o *GetHealthParams) SetBrief(brief *bool)

SetBrief adds the brief to the get health params

func (*GetHealthParams) SetContext added in v0.15.7

func (o *GetHealthParams) SetContext(ctx context.Context)

SetContext adds the context to the get health params

func (*GetHealthParams) SetDefaults added in v0.15.7

func (o *GetHealthParams) SetDefaults()

SetDefaults hydrates default values in the get health params (not the query body).

All values with no default are reset to their zero value.

func (*GetHealthParams) SetHTTPClient added in v0.15.7

func (o *GetHealthParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get health params

func (*GetHealthParams) SetTimeout added in v0.15.7

func (o *GetHealthParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get health params

func (*GetHealthParams) WithBrief added in v0.15.7

func (o *GetHealthParams) WithBrief(brief *bool) *GetHealthParams

WithBrief adds the brief to the get health params

func (*GetHealthParams) WithContext added in v0.15.7

func (o *GetHealthParams) WithContext(ctx context.Context) *GetHealthParams

WithContext adds the context to the get health params

func (*GetHealthParams) WithDefaults added in v0.15.7

func (o *GetHealthParams) WithDefaults() *GetHealthParams

WithDefaults hydrates default values in the get health params (not the query body).

All values with no default are reset to their zero value.

func (*GetHealthParams) WithHTTPClient added in v0.15.7

func (o *GetHealthParams) WithHTTPClient(client *http.Client) *GetHealthParams

WithHTTPClient adds the HTTPClient to the get health params

func (*GetHealthParams) WithTimeout added in v0.15.7

func (o *GetHealthParams) WithTimeout(timeout time.Duration) *GetHealthParams

WithTimeout adds the timeout to the get health params

func (*GetHealthParams) WriteToRequest added in v0.15.7

func (o *GetHealthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetHealthReader added in v0.15.7

type GetHealthReader struct {
	// contains filtered or unexported fields
}

GetHealthReader is a Reader for the GetHealth structure.

func (*GetHealthReader) ReadResponse added in v0.15.7

func (o *GetHealthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetHealthzOK

type GetHealthzOK struct {
	Payload *models.StatusResponse
}

GetHealthzOK describes a response with status code 200, with default header values.

Success

func NewGetHealthzOK

func NewGetHealthzOK() *GetHealthzOK

NewGetHealthzOK creates a GetHealthzOK with default headers values

func (*GetHealthzOK) Error

func (o *GetHealthzOK) Error() string

func (*GetHealthzOK) GetPayload added in v0.15.7

func (o *GetHealthzOK) GetPayload() *models.StatusResponse

func (*GetHealthzOK) IsClientError added in v0.15.7

func (o *GetHealthzOK) IsClientError() bool

IsClientError returns true when this get healthz o k response has a 4xx status code

func (*GetHealthzOK) IsCode added in v0.15.7

func (o *GetHealthzOK) IsCode(code int) bool

IsCode returns true when this get healthz o k response a status code equal to that given

func (*GetHealthzOK) IsRedirect added in v0.15.7

func (o *GetHealthzOK) IsRedirect() bool

IsRedirect returns true when this get healthz o k response has a 3xx status code

func (*GetHealthzOK) IsServerError added in v0.15.7

func (o *GetHealthzOK) IsServerError() bool

IsServerError returns true when this get healthz o k response has a 5xx status code

func (*GetHealthzOK) IsSuccess added in v0.15.7

func (o *GetHealthzOK) IsSuccess() bool

IsSuccess returns true when this get healthz o k response has a 2xx status code

func (*GetHealthzOK) String added in v0.15.7

func (o *GetHealthzOK) String() string

type GetHealthzParams

type GetHealthzParams struct {

	/* Brief.

	   Brief will return a brief representation of the Cilium status.

	*/
	Brief *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetHealthzParams contains all the parameters to send to the API endpoint

for the get healthz operation.

Typically these are written to a http.Request.

func NewGetHealthzParams

func NewGetHealthzParams() *GetHealthzParams

NewGetHealthzParams creates a new GetHealthzParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHealthzParamsWithContext

func NewGetHealthzParamsWithContext(ctx context.Context) *GetHealthzParams

NewGetHealthzParamsWithContext creates a new GetHealthzParams object with the ability to set a context for a request.

func NewGetHealthzParamsWithHTTPClient

func NewGetHealthzParamsWithHTTPClient(client *http.Client) *GetHealthzParams

NewGetHealthzParamsWithHTTPClient creates a new GetHealthzParams object with the ability to set a custom HTTPClient for a request.

func NewGetHealthzParamsWithTimeout

func NewGetHealthzParamsWithTimeout(timeout time.Duration) *GetHealthzParams

NewGetHealthzParamsWithTimeout creates a new GetHealthzParams object with the ability to set a timeout on a request.

func (*GetHealthzParams) SetBrief added in v0.15.7

func (o *GetHealthzParams) SetBrief(brief *bool)

SetBrief adds the brief to the get healthz params

func (*GetHealthzParams) SetContext

func (o *GetHealthzParams) SetContext(ctx context.Context)

SetContext adds the context to the get healthz params

func (*GetHealthzParams) SetDefaults added in v0.15.7

func (o *GetHealthzParams) SetDefaults()

SetDefaults hydrates default values in the get healthz params (not the query body).

All values with no default are reset to their zero value.

func (*GetHealthzParams) SetHTTPClient

func (o *GetHealthzParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get healthz params

func (*GetHealthzParams) SetTimeout

func (o *GetHealthzParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get healthz params

func (*GetHealthzParams) WithBrief added in v0.15.7

func (o *GetHealthzParams) WithBrief(brief *bool) *GetHealthzParams

WithBrief adds the brief to the get healthz params

func (*GetHealthzParams) WithContext

func (o *GetHealthzParams) WithContext(ctx context.Context) *GetHealthzParams

WithContext adds the context to the get healthz params

func (*GetHealthzParams) WithDefaults added in v0.15.7

func (o *GetHealthzParams) WithDefaults() *GetHealthzParams

WithDefaults hydrates default values in the get healthz params (not the query body).

All values with no default are reset to their zero value.

func (*GetHealthzParams) WithHTTPClient

func (o *GetHealthzParams) WithHTTPClient(client *http.Client) *GetHealthzParams

WithHTTPClient adds the HTTPClient to the get healthz params

func (*GetHealthzParams) WithTimeout

func (o *GetHealthzParams) WithTimeout(timeout time.Duration) *GetHealthzParams

WithTimeout adds the timeout to the get healthz params

func (*GetHealthzParams) WriteToRequest

func (o *GetHealthzParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetHealthzReader

type GetHealthzReader struct {
	// contains filtered or unexported fields
}

GetHealthzReader is a Reader for the GetHealthz structure.

func (*GetHealthzReader) ReadResponse

func (o *GetHealthzReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMapNameEventsNotFound added in v0.15.7

type GetMapNameEventsNotFound struct {
}

GetMapNameEventsNotFound describes a response with status code 404, with default header values.

Map not found

func NewGetMapNameEventsNotFound added in v0.15.7

func NewGetMapNameEventsNotFound() *GetMapNameEventsNotFound

NewGetMapNameEventsNotFound creates a GetMapNameEventsNotFound with default headers values

func (*GetMapNameEventsNotFound) Error added in v0.15.7

func (o *GetMapNameEventsNotFound) Error() string

func (*GetMapNameEventsNotFound) IsClientError added in v0.15.7

func (o *GetMapNameEventsNotFound) IsClientError() bool

IsClientError returns true when this get map name events not found response has a 4xx status code

func (*GetMapNameEventsNotFound) IsCode added in v0.15.7

func (o *GetMapNameEventsNotFound) IsCode(code int) bool

IsCode returns true when this get map name events not found response a status code equal to that given

func (*GetMapNameEventsNotFound) IsRedirect added in v0.15.7

func (o *GetMapNameEventsNotFound) IsRedirect() bool

IsRedirect returns true when this get map name events not found response has a 3xx status code

func (*GetMapNameEventsNotFound) IsServerError added in v0.15.7

func (o *GetMapNameEventsNotFound) IsServerError() bool

IsServerError returns true when this get map name events not found response has a 5xx status code

func (*GetMapNameEventsNotFound) IsSuccess added in v0.15.7

func (o *GetMapNameEventsNotFound) IsSuccess() bool

IsSuccess returns true when this get map name events not found response has a 2xx status code

func (*GetMapNameEventsNotFound) String added in v0.15.7

func (o *GetMapNameEventsNotFound) String() string

type GetMapNameEventsOK added in v0.15.7

type GetMapNameEventsOK struct {
	Payload io.Writer
}

GetMapNameEventsOK describes a response with status code 200, with default header values.

Success

func NewGetMapNameEventsOK added in v0.15.7

func NewGetMapNameEventsOK(writer io.Writer) *GetMapNameEventsOK

NewGetMapNameEventsOK creates a GetMapNameEventsOK with default headers values

func (*GetMapNameEventsOK) Error added in v0.15.7

func (o *GetMapNameEventsOK) Error() string

func (*GetMapNameEventsOK) GetPayload added in v0.15.7

func (o *GetMapNameEventsOK) GetPayload() io.Writer

func (*GetMapNameEventsOK) IsClientError added in v0.15.7

func (o *GetMapNameEventsOK) IsClientError() bool

IsClientError returns true when this get map name events o k response has a 4xx status code

func (*GetMapNameEventsOK) IsCode added in v0.15.7

func (o *GetMapNameEventsOK) IsCode(code int) bool

IsCode returns true when this get map name events o k response a status code equal to that given

func (*GetMapNameEventsOK) IsRedirect added in v0.15.7

func (o *GetMapNameEventsOK) IsRedirect() bool

IsRedirect returns true when this get map name events o k response has a 3xx status code

func (*GetMapNameEventsOK) IsServerError added in v0.15.7

func (o *GetMapNameEventsOK) IsServerError() bool

IsServerError returns true when this get map name events o k response has a 5xx status code

func (*GetMapNameEventsOK) IsSuccess added in v0.15.7

func (o *GetMapNameEventsOK) IsSuccess() bool

IsSuccess returns true when this get map name events o k response has a 2xx status code

func (*GetMapNameEventsOK) String added in v0.15.7

func (o *GetMapNameEventsOK) String() string

type GetMapNameEventsParams added in v0.15.7

type GetMapNameEventsParams struct {

	/* Follow.

	   Whether to follow streamed requests
	*/
	Follow *bool

	/* Name.

	   Name of map
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMapNameEventsParams contains all the parameters to send to the API endpoint

for the get map name events operation.

Typically these are written to a http.Request.

func NewGetMapNameEventsParams added in v0.15.7

func NewGetMapNameEventsParams() *GetMapNameEventsParams

NewGetMapNameEventsParams creates a new GetMapNameEventsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMapNameEventsParamsWithContext added in v0.15.7

func NewGetMapNameEventsParamsWithContext(ctx context.Context) *GetMapNameEventsParams

NewGetMapNameEventsParamsWithContext creates a new GetMapNameEventsParams object with the ability to set a context for a request.

func NewGetMapNameEventsParamsWithHTTPClient added in v0.15.7

func NewGetMapNameEventsParamsWithHTTPClient(client *http.Client) *GetMapNameEventsParams

NewGetMapNameEventsParamsWithHTTPClient creates a new GetMapNameEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetMapNameEventsParamsWithTimeout added in v0.15.7

func NewGetMapNameEventsParamsWithTimeout(timeout time.Duration) *GetMapNameEventsParams

NewGetMapNameEventsParamsWithTimeout creates a new GetMapNameEventsParams object with the ability to set a timeout on a request.

func (*GetMapNameEventsParams) SetContext added in v0.15.7

func (o *GetMapNameEventsParams) SetContext(ctx context.Context)

SetContext adds the context to the get map name events params

func (*GetMapNameEventsParams) SetDefaults added in v0.15.7

func (o *GetMapNameEventsParams) SetDefaults()

SetDefaults hydrates default values in the get map name events params (not the query body).

All values with no default are reset to their zero value.

func (*GetMapNameEventsParams) SetFollow added in v0.15.7

func (o *GetMapNameEventsParams) SetFollow(follow *bool)

SetFollow adds the follow to the get map name events params

func (*GetMapNameEventsParams) SetHTTPClient added in v0.15.7

func (o *GetMapNameEventsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get map name events params

func (*GetMapNameEventsParams) SetName added in v0.15.7

func (o *GetMapNameEventsParams) SetName(name string)

SetName adds the name to the get map name events params

func (*GetMapNameEventsParams) SetTimeout added in v0.15.7

func (o *GetMapNameEventsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get map name events params

func (*GetMapNameEventsParams) WithContext added in v0.15.7

WithContext adds the context to the get map name events params

func (*GetMapNameEventsParams) WithDefaults added in v0.15.7

WithDefaults hydrates default values in the get map name events params (not the query body).

All values with no default are reset to their zero value.

func (*GetMapNameEventsParams) WithFollow added in v0.15.7

func (o *GetMapNameEventsParams) WithFollow(follow *bool) *GetMapNameEventsParams

WithFollow adds the follow to the get map name events params

func (*GetMapNameEventsParams) WithHTTPClient added in v0.15.7

func (o *GetMapNameEventsParams) WithHTTPClient(client *http.Client) *GetMapNameEventsParams

WithHTTPClient adds the HTTPClient to the get map name events params

func (*GetMapNameEventsParams) WithName added in v0.15.7

WithName adds the name to the get map name events params

func (*GetMapNameEventsParams) WithTimeout added in v0.15.7

WithTimeout adds the timeout to the get map name events params

func (*GetMapNameEventsParams) WriteToRequest added in v0.15.7

WriteToRequest writes these params to a swagger request

type GetMapNameEventsReader added in v0.15.7

type GetMapNameEventsReader struct {
	// contains filtered or unexported fields
}

GetMapNameEventsReader is a Reader for the GetMapNameEvents structure.

func (*GetMapNameEventsReader) ReadResponse added in v0.15.7

func (o *GetMapNameEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMapNameNotFound added in v0.15.7

type GetMapNameNotFound struct {
}

GetMapNameNotFound describes a response with status code 404, with default header values.

Map not found

func NewGetMapNameNotFound added in v0.15.7

func NewGetMapNameNotFound() *GetMapNameNotFound

NewGetMapNameNotFound creates a GetMapNameNotFound with default headers values

func (*GetMapNameNotFound) Error added in v0.15.7

func (o *GetMapNameNotFound) Error() string

func (*GetMapNameNotFound) IsClientError added in v0.15.7

func (o *GetMapNameNotFound) IsClientError() bool

IsClientError returns true when this get map name not found response has a 4xx status code

func (*GetMapNameNotFound) IsCode added in v0.15.7

func (o *GetMapNameNotFound) IsCode(code int) bool

IsCode returns true when this get map name not found response a status code equal to that given

func (*GetMapNameNotFound) IsRedirect added in v0.15.7

func (o *GetMapNameNotFound) IsRedirect() bool

IsRedirect returns true when this get map name not found response has a 3xx status code

func (*GetMapNameNotFound) IsServerError added in v0.15.7

func (o *GetMapNameNotFound) IsServerError() bool

IsServerError returns true when this get map name not found response has a 5xx status code

func (*GetMapNameNotFound) IsSuccess added in v0.15.7

func (o *GetMapNameNotFound) IsSuccess() bool

IsSuccess returns true when this get map name not found response has a 2xx status code

func (*GetMapNameNotFound) String added in v0.15.7

func (o *GetMapNameNotFound) String() string

type GetMapNameOK added in v0.15.7

type GetMapNameOK struct {
	Payload *models.BPFMap
}

GetMapNameOK describes a response with status code 200, with default header values.

Success

func NewGetMapNameOK added in v0.15.7

func NewGetMapNameOK() *GetMapNameOK

NewGetMapNameOK creates a GetMapNameOK with default headers values

func (*GetMapNameOK) Error added in v0.15.7

func (o *GetMapNameOK) Error() string

func (*GetMapNameOK) GetPayload added in v0.15.7

func (o *GetMapNameOK) GetPayload() *models.BPFMap

func (*GetMapNameOK) IsClientError added in v0.15.7

func (o *GetMapNameOK) IsClientError() bool

IsClientError returns true when this get map name o k response has a 4xx status code

func (*GetMapNameOK) IsCode added in v0.15.7

func (o *GetMapNameOK) IsCode(code int) bool

IsCode returns true when this get map name o k response a status code equal to that given

func (*GetMapNameOK) IsRedirect added in v0.15.7

func (o *GetMapNameOK) IsRedirect() bool

IsRedirect returns true when this get map name o k response has a 3xx status code

func (*GetMapNameOK) IsServerError added in v0.15.7

func (o *GetMapNameOK) IsServerError() bool

IsServerError returns true when this get map name o k response has a 5xx status code

func (*GetMapNameOK) IsSuccess added in v0.15.7

func (o *GetMapNameOK) IsSuccess() bool

IsSuccess returns true when this get map name o k response has a 2xx status code

func (*GetMapNameOK) String added in v0.15.7

func (o *GetMapNameOK) String() string

type GetMapNameParams added in v0.15.7

type GetMapNameParams struct {

	/* Name.

	   Name of map
	*/
	Name string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMapNameParams contains all the parameters to send to the API endpoint

for the get map name operation.

Typically these are written to a http.Request.

func NewGetMapNameParams added in v0.15.7

func NewGetMapNameParams() *GetMapNameParams

NewGetMapNameParams creates a new GetMapNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMapNameParamsWithContext added in v0.15.7

func NewGetMapNameParamsWithContext(ctx context.Context) *GetMapNameParams

NewGetMapNameParamsWithContext creates a new GetMapNameParams object with the ability to set a context for a request.

func NewGetMapNameParamsWithHTTPClient added in v0.15.7

func NewGetMapNameParamsWithHTTPClient(client *http.Client) *GetMapNameParams

NewGetMapNameParamsWithHTTPClient creates a new GetMapNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetMapNameParamsWithTimeout added in v0.15.7

func NewGetMapNameParamsWithTimeout(timeout time.Duration) *GetMapNameParams

NewGetMapNameParamsWithTimeout creates a new GetMapNameParams object with the ability to set a timeout on a request.

func (*GetMapNameParams) SetContext added in v0.15.7

func (o *GetMapNameParams) SetContext(ctx context.Context)

SetContext adds the context to the get map name params

func (*GetMapNameParams) SetDefaults added in v0.15.7

func (o *GetMapNameParams) SetDefaults()

SetDefaults hydrates default values in the get map name params (not the query body).

All values with no default are reset to their zero value.

func (*GetMapNameParams) SetHTTPClient added in v0.15.7

func (o *GetMapNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get map name params

func (*GetMapNameParams) SetName added in v0.15.7

func (o *GetMapNameParams) SetName(name string)

SetName adds the name to the get map name params

func (*GetMapNameParams) SetTimeout added in v0.15.7

func (o *GetMapNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get map name params

func (*GetMapNameParams) WithContext added in v0.15.7

func (o *GetMapNameParams) WithContext(ctx context.Context) *GetMapNameParams

WithContext adds the context to the get map name params

func (*GetMapNameParams) WithDefaults added in v0.15.7

func (o *GetMapNameParams) WithDefaults() *GetMapNameParams

WithDefaults hydrates default values in the get map name params (not the query body).

All values with no default are reset to their zero value.

func (*GetMapNameParams) WithHTTPClient added in v0.15.7

func (o *GetMapNameParams) WithHTTPClient(client *http.Client) *GetMapNameParams

WithHTTPClient adds the HTTPClient to the get map name params

func (*GetMapNameParams) WithName added in v0.15.7

func (o *GetMapNameParams) WithName(name string) *GetMapNameParams

WithName adds the name to the get map name params

func (*GetMapNameParams) WithTimeout added in v0.15.7

func (o *GetMapNameParams) WithTimeout(timeout time.Duration) *GetMapNameParams

WithTimeout adds the timeout to the get map name params

func (*GetMapNameParams) WriteToRequest added in v0.15.7

func (o *GetMapNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMapNameReader added in v0.15.7

type GetMapNameReader struct {
	// contains filtered or unexported fields
}

GetMapNameReader is a Reader for the GetMapName structure.

func (*GetMapNameReader) ReadResponse added in v0.15.7

func (o *GetMapNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMapOK added in v0.15.7

type GetMapOK struct {
	Payload *models.BPFMapList
}

GetMapOK describes a response with status code 200, with default header values.

Success

func NewGetMapOK added in v0.15.7

func NewGetMapOK() *GetMapOK

NewGetMapOK creates a GetMapOK with default headers values

func (*GetMapOK) Error added in v0.15.7

func (o *GetMapOK) Error() string

func (*GetMapOK) GetPayload added in v0.15.7

func (o *GetMapOK) GetPayload() *models.BPFMapList

func (*GetMapOK) IsClientError added in v0.15.7

func (o *GetMapOK) IsClientError() bool

IsClientError returns true when this get map o k response has a 4xx status code

func (*GetMapOK) IsCode added in v0.15.7

func (o *GetMapOK) IsCode(code int) bool

IsCode returns true when this get map o k response a status code equal to that given

func (*GetMapOK) IsRedirect added in v0.15.7

func (o *GetMapOK) IsRedirect() bool

IsRedirect returns true when this get map o k response has a 3xx status code

func (*GetMapOK) IsServerError added in v0.15.7

func (o *GetMapOK) IsServerError() bool

IsServerError returns true when this get map o k response has a 5xx status code

func (*GetMapOK) IsSuccess added in v0.15.7

func (o *GetMapOK) IsSuccess() bool

IsSuccess returns true when this get map o k response has a 2xx status code

func (*GetMapOK) String added in v0.15.7

func (o *GetMapOK) String() string

type GetMapParams added in v0.15.7

type GetMapParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMapParams contains all the parameters to send to the API endpoint

for the get map operation.

Typically these are written to a http.Request.

func NewGetMapParams added in v0.15.7

func NewGetMapParams() *GetMapParams

NewGetMapParams creates a new GetMapParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMapParamsWithContext added in v0.15.7

func NewGetMapParamsWithContext(ctx context.Context) *GetMapParams

NewGetMapParamsWithContext creates a new GetMapParams object with the ability to set a context for a request.

func NewGetMapParamsWithHTTPClient added in v0.15.7

func NewGetMapParamsWithHTTPClient(client *http.Client) *GetMapParams

NewGetMapParamsWithHTTPClient creates a new GetMapParams object with the ability to set a custom HTTPClient for a request.

func NewGetMapParamsWithTimeout added in v0.15.7

func NewGetMapParamsWithTimeout(timeout time.Duration) *GetMapParams

NewGetMapParamsWithTimeout creates a new GetMapParams object with the ability to set a timeout on a request.

func (*GetMapParams) SetContext added in v0.15.7

func (o *GetMapParams) SetContext(ctx context.Context)

SetContext adds the context to the get map params

func (*GetMapParams) SetDefaults added in v0.15.7

func (o *GetMapParams) SetDefaults()

SetDefaults hydrates default values in the get map params (not the query body).

All values with no default are reset to their zero value.

func (*GetMapParams) SetHTTPClient added in v0.15.7

func (o *GetMapParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get map params

func (*GetMapParams) SetTimeout added in v0.15.7

func (o *GetMapParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get map params

func (*GetMapParams) WithContext added in v0.15.7

func (o *GetMapParams) WithContext(ctx context.Context) *GetMapParams

WithContext adds the context to the get map params

func (*GetMapParams) WithDefaults added in v0.15.7

func (o *GetMapParams) WithDefaults() *GetMapParams

WithDefaults hydrates default values in the get map params (not the query body).

All values with no default are reset to their zero value.

func (*GetMapParams) WithHTTPClient added in v0.15.7

func (o *GetMapParams) WithHTTPClient(client *http.Client) *GetMapParams

WithHTTPClient adds the HTTPClient to the get map params

func (*GetMapParams) WithTimeout added in v0.15.7

func (o *GetMapParams) WithTimeout(timeout time.Duration) *GetMapParams

WithTimeout adds the timeout to the get map params

func (*GetMapParams) WriteToRequest added in v0.15.7

func (o *GetMapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMapReader added in v0.15.7

type GetMapReader struct {
	// contains filtered or unexported fields
}

GetMapReader is a Reader for the GetMap structure.

func (*GetMapReader) ReadResponse added in v0.15.7

func (o *GetMapReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNodeIdsOK added in v0.15.7

type GetNodeIdsOK struct {
	Payload []*models.NodeID
}

GetNodeIdsOK describes a response with status code 200, with default header values.

Success

func NewGetNodeIdsOK added in v0.15.7

func NewGetNodeIdsOK() *GetNodeIdsOK

NewGetNodeIdsOK creates a GetNodeIdsOK with default headers values

func (*GetNodeIdsOK) Error added in v0.15.7

func (o *GetNodeIdsOK) Error() string

func (*GetNodeIdsOK) GetPayload added in v0.15.7

func (o *GetNodeIdsOK) GetPayload() []*models.NodeID

func (*GetNodeIdsOK) IsClientError added in v0.15.7

func (o *GetNodeIdsOK) IsClientError() bool

IsClientError returns true when this get node ids o k response has a 4xx status code

func (*GetNodeIdsOK) IsCode added in v0.15.7

func (o *GetNodeIdsOK) IsCode(code int) bool

IsCode returns true when this get node ids o k response a status code equal to that given

func (*GetNodeIdsOK) IsRedirect added in v0.15.7

func (o *GetNodeIdsOK) IsRedirect() bool

IsRedirect returns true when this get node ids o k response has a 3xx status code

func (*GetNodeIdsOK) IsServerError added in v0.15.7

func (o *GetNodeIdsOK) IsServerError() bool

IsServerError returns true when this get node ids o k response has a 5xx status code

func (*GetNodeIdsOK) IsSuccess added in v0.15.7

func (o *GetNodeIdsOK) IsSuccess() bool

IsSuccess returns true when this get node ids o k response has a 2xx status code

func (*GetNodeIdsOK) String added in v0.15.7

func (o *GetNodeIdsOK) String() string

type GetNodeIdsParams added in v0.15.7

type GetNodeIdsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNodeIdsParams contains all the parameters to send to the API endpoint

for the get node ids operation.

Typically these are written to a http.Request.

func NewGetNodeIdsParams added in v0.15.7

func NewGetNodeIdsParams() *GetNodeIdsParams

NewGetNodeIdsParams creates a new GetNodeIdsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNodeIdsParamsWithContext added in v0.15.7

func NewGetNodeIdsParamsWithContext(ctx context.Context) *GetNodeIdsParams

NewGetNodeIdsParamsWithContext creates a new GetNodeIdsParams object with the ability to set a context for a request.

func NewGetNodeIdsParamsWithHTTPClient added in v0.15.7

func NewGetNodeIdsParamsWithHTTPClient(client *http.Client) *GetNodeIdsParams

NewGetNodeIdsParamsWithHTTPClient creates a new GetNodeIdsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNodeIdsParamsWithTimeout added in v0.15.7

func NewGetNodeIdsParamsWithTimeout(timeout time.Duration) *GetNodeIdsParams

NewGetNodeIdsParamsWithTimeout creates a new GetNodeIdsParams object with the ability to set a timeout on a request.

func (*GetNodeIdsParams) SetContext added in v0.15.7

func (o *GetNodeIdsParams) SetContext(ctx context.Context)

SetContext adds the context to the get node ids params

func (*GetNodeIdsParams) SetDefaults added in v0.15.7

func (o *GetNodeIdsParams) SetDefaults()

SetDefaults hydrates default values in the get node ids params (not the query body).

All values with no default are reset to their zero value.

func (*GetNodeIdsParams) SetHTTPClient added in v0.15.7

func (o *GetNodeIdsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get node ids params

func (*GetNodeIdsParams) SetTimeout added in v0.15.7

func (o *GetNodeIdsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get node ids params

func (*GetNodeIdsParams) WithContext added in v0.15.7

func (o *GetNodeIdsParams) WithContext(ctx context.Context) *GetNodeIdsParams

WithContext adds the context to the get node ids params

func (*GetNodeIdsParams) WithDefaults added in v0.15.7

func (o *GetNodeIdsParams) WithDefaults() *GetNodeIdsParams

WithDefaults hydrates default values in the get node ids params (not the query body).

All values with no default are reset to their zero value.

func (*GetNodeIdsParams) WithHTTPClient added in v0.15.7

func (o *GetNodeIdsParams) WithHTTPClient(client *http.Client) *GetNodeIdsParams

WithHTTPClient adds the HTTPClient to the get node ids params

func (*GetNodeIdsParams) WithTimeout added in v0.15.7

func (o *GetNodeIdsParams) WithTimeout(timeout time.Duration) *GetNodeIdsParams

WithTimeout adds the timeout to the get node ids params

func (*GetNodeIdsParams) WriteToRequest added in v0.15.7

func (o *GetNodeIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNodeIdsReader added in v0.15.7

type GetNodeIdsReader struct {
	// contains filtered or unexported fields
}

GetNodeIdsReader is a Reader for the GetNodeIds structure.

func (*GetNodeIdsReader) ReadResponse added in v0.15.7

func (o *GetNodeIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchConfigBadRequest

type PatchConfigBadRequest struct {
	Payload models.Error
}

PatchConfigBadRequest describes a response with status code 400, with default header values.

Bad configuration parameters

func NewPatchConfigBadRequest

func NewPatchConfigBadRequest() *PatchConfigBadRequest

NewPatchConfigBadRequest creates a PatchConfigBadRequest with default headers values

func (*PatchConfigBadRequest) Error

func (o *PatchConfigBadRequest) Error() string

func (*PatchConfigBadRequest) GetPayload added in v0.15.7

func (o *PatchConfigBadRequest) GetPayload() models.Error

func (*PatchConfigBadRequest) IsClientError added in v0.15.7

func (o *PatchConfigBadRequest) IsClientError() bool

IsClientError returns true when this patch config bad request response has a 4xx status code

func (*PatchConfigBadRequest) IsCode added in v0.15.7

func (o *PatchConfigBadRequest) IsCode(code int) bool

IsCode returns true when this patch config bad request response a status code equal to that given

func (*PatchConfigBadRequest) IsRedirect added in v0.15.7

func (o *PatchConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this patch config bad request response has a 3xx status code

func (*PatchConfigBadRequest) IsServerError added in v0.15.7

func (o *PatchConfigBadRequest) IsServerError() bool

IsServerError returns true when this patch config bad request response has a 5xx status code

func (*PatchConfigBadRequest) IsSuccess added in v0.15.7

func (o *PatchConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this patch config bad request response has a 2xx status code

func (*PatchConfigBadRequest) String added in v0.15.7

func (o *PatchConfigBadRequest) String() string

type PatchConfigFailure

type PatchConfigFailure struct {
	Payload models.Error
}

PatchConfigFailure describes a response with status code 500, with default header values.

Recompilation failed

func NewPatchConfigFailure

func NewPatchConfigFailure() *PatchConfigFailure

NewPatchConfigFailure creates a PatchConfigFailure with default headers values

func (*PatchConfigFailure) Error

func (o *PatchConfigFailure) Error() string

func (*PatchConfigFailure) GetPayload added in v0.15.7

func (o *PatchConfigFailure) GetPayload() models.Error

func (*PatchConfigFailure) IsClientError added in v0.15.7

func (o *PatchConfigFailure) IsClientError() bool

IsClientError returns true when this patch config failure response has a 4xx status code

func (*PatchConfigFailure) IsCode added in v0.15.7

func (o *PatchConfigFailure) IsCode(code int) bool

IsCode returns true when this patch config failure response a status code equal to that given

func (*PatchConfigFailure) IsRedirect added in v0.15.7

func (o *PatchConfigFailure) IsRedirect() bool

IsRedirect returns true when this patch config failure response has a 3xx status code

func (*PatchConfigFailure) IsServerError added in v0.15.7

func (o *PatchConfigFailure) IsServerError() bool

IsServerError returns true when this patch config failure response has a 5xx status code

func (*PatchConfigFailure) IsSuccess added in v0.15.7

func (o *PatchConfigFailure) IsSuccess() bool

IsSuccess returns true when this patch config failure response has a 2xx status code

func (*PatchConfigFailure) String added in v0.15.7

func (o *PatchConfigFailure) String() string

type PatchConfigForbidden added in v0.15.7

type PatchConfigForbidden struct {
}

PatchConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchConfigForbidden added in v0.15.7

func NewPatchConfigForbidden() *PatchConfigForbidden

NewPatchConfigForbidden creates a PatchConfigForbidden with default headers values

func (*PatchConfigForbidden) Error added in v0.15.7

func (o *PatchConfigForbidden) Error() string

func (*PatchConfigForbidden) IsClientError added in v0.15.7

func (o *PatchConfigForbidden) IsClientError() bool

IsClientError returns true when this patch config forbidden response has a 4xx status code

func (*PatchConfigForbidden) IsCode added in v0.15.7

func (o *PatchConfigForbidden) IsCode(code int) bool

IsCode returns true when this patch config forbidden response a status code equal to that given

func (*PatchConfigForbidden) IsRedirect added in v0.15.7

func (o *PatchConfigForbidden) IsRedirect() bool

IsRedirect returns true when this patch config forbidden response has a 3xx status code

func (*PatchConfigForbidden) IsServerError added in v0.15.7

func (o *PatchConfigForbidden) IsServerError() bool

IsServerError returns true when this patch config forbidden response has a 5xx status code

func (*PatchConfigForbidden) IsSuccess added in v0.15.7

func (o *PatchConfigForbidden) IsSuccess() bool

IsSuccess returns true when this patch config forbidden response has a 2xx status code

func (*PatchConfigForbidden) String added in v0.15.7

func (o *PatchConfigForbidden) String() string

type PatchConfigOK

type PatchConfigOK struct {
}

PatchConfigOK describes a response with status code 200, with default header values.

Success

func NewPatchConfigOK

func NewPatchConfigOK() *PatchConfigOK

NewPatchConfigOK creates a PatchConfigOK with default headers values

func (*PatchConfigOK) Error

func (o *PatchConfigOK) Error() string

func (*PatchConfigOK) IsClientError added in v0.15.7

func (o *PatchConfigOK) IsClientError() bool

IsClientError returns true when this patch config o k response has a 4xx status code

func (*PatchConfigOK) IsCode added in v0.15.7

func (o *PatchConfigOK) IsCode(code int) bool

IsCode returns true when this patch config o k response a status code equal to that given

func (*PatchConfigOK) IsRedirect added in v0.15.7

func (o *PatchConfigOK) IsRedirect() bool

IsRedirect returns true when this patch config o k response has a 3xx status code

func (*PatchConfigOK) IsServerError added in v0.15.7

func (o *PatchConfigOK) IsServerError() bool

IsServerError returns true when this patch config o k response has a 5xx status code

func (*PatchConfigOK) IsSuccess added in v0.15.7

func (o *PatchConfigOK) IsSuccess() bool

IsSuccess returns true when this patch config o k response has a 2xx status code

func (*PatchConfigOK) String added in v0.15.7

func (o *PatchConfigOK) String() string

type PatchConfigParams

type PatchConfigParams struct {

	// Configuration.
	Configuration *models.DaemonConfigurationSpec

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchConfigParams contains all the parameters to send to the API endpoint

for the patch config operation.

Typically these are written to a http.Request.

func NewPatchConfigParams

func NewPatchConfigParams() *PatchConfigParams

NewPatchConfigParams creates a new PatchConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchConfigParamsWithContext

func NewPatchConfigParamsWithContext(ctx context.Context) *PatchConfigParams

NewPatchConfigParamsWithContext creates a new PatchConfigParams object with the ability to set a context for a request.

func NewPatchConfigParamsWithHTTPClient

func NewPatchConfigParamsWithHTTPClient(client *http.Client) *PatchConfigParams

NewPatchConfigParamsWithHTTPClient creates a new PatchConfigParams object with the ability to set a custom HTTPClient for a request.

func NewPatchConfigParamsWithTimeout

func NewPatchConfigParamsWithTimeout(timeout time.Duration) *PatchConfigParams

NewPatchConfigParamsWithTimeout creates a new PatchConfigParams object with the ability to set a timeout on a request.

func (*PatchConfigParams) SetConfiguration

func (o *PatchConfigParams) SetConfiguration(configuration *models.DaemonConfigurationSpec)

SetConfiguration adds the configuration to the patch config params

func (*PatchConfigParams) SetContext

func (o *PatchConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the patch config params

func (*PatchConfigParams) SetDefaults added in v0.15.7

func (o *PatchConfigParams) SetDefaults()

SetDefaults hydrates default values in the patch config params (not the query body).

All values with no default are reset to their zero value.

func (*PatchConfigParams) SetHTTPClient

func (o *PatchConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch config params

func (*PatchConfigParams) SetTimeout

func (o *PatchConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch config params

func (*PatchConfigParams) WithConfiguration

func (o *PatchConfigParams) WithConfiguration(configuration *models.DaemonConfigurationSpec) *PatchConfigParams

WithConfiguration adds the configuration to the patch config params

func (*PatchConfigParams) WithContext

func (o *PatchConfigParams) WithContext(ctx context.Context) *PatchConfigParams

WithContext adds the context to the patch config params

func (*PatchConfigParams) WithDefaults added in v0.15.7

func (o *PatchConfigParams) WithDefaults() *PatchConfigParams

WithDefaults hydrates default values in the patch config params (not the query body).

All values with no default are reset to their zero value.

func (*PatchConfigParams) WithHTTPClient

func (o *PatchConfigParams) WithHTTPClient(client *http.Client) *PatchConfigParams

WithHTTPClient adds the HTTPClient to the patch config params

func (*PatchConfigParams) WithTimeout

func (o *PatchConfigParams) WithTimeout(timeout time.Duration) *PatchConfigParams

WithTimeout adds the timeout to the patch config params

func (*PatchConfigParams) WriteToRequest

func (o *PatchConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchConfigReader

type PatchConfigReader struct {
	// contains filtered or unexported fields
}

PatchConfigReader is a Reader for the PatchConfig structure.

func (*PatchConfigReader) ReadResponse

func (o *PatchConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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