daemon

package
v1.6.12 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

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 New

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

New creates a new daemon API client.

func (*Client) GetClusterNodes added in v1.6.0

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

GetClusterNodes gets nodes information stored in the cilium agent

func (*Client) GetConfig

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

GetConfig gets configuration of cilium daemon

Returns the configuration of the Cilium daemon.

func (*Client) GetDebuginfo added in v1.5.0

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

GetDebuginfo retrieves information about the agent and evironment for debugging

func (*Client) GetHealthz

func (a *Client) GetHealthz(params *GetHealthzParams) (*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.

func (*Client) GetMap added in v1.5.0

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

GetMap lists all open maps

func (*Client) GetMapName added in v1.5.0

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

GetMapName retrieves contents of b p f map

func (*Client) PatchConfig

func (a *Client) PatchConfig(params *PatchConfigParams) (*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 GetClusterNodesOK added in v1.6.0

type GetClusterNodesOK struct {
	Payload *models.ClusterNodeStatus
}

GetClusterNodesOK handles this case with default header values.

Success

func NewGetClusterNodesOK added in v1.6.0

func NewGetClusterNodesOK() *GetClusterNodesOK

NewGetClusterNodesOK creates a GetClusterNodesOK with default headers values

func (*GetClusterNodesOK) Error added in v1.6.0

func (o *GetClusterNodesOK) Error() string

type GetClusterNodesParams added in v1.6.0

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 v1.6.0

func NewGetClusterNodesParams() *GetClusterNodesParams

NewGetClusterNodesParams creates a new GetClusterNodesParams object with the default values initialized.

func NewGetClusterNodesParamsWithContext added in v1.6.0

func NewGetClusterNodesParamsWithContext(ctx context.Context) *GetClusterNodesParams

NewGetClusterNodesParamsWithContext creates a new GetClusterNodesParams object with the default values initialized, and the ability to set a context for a request

func NewGetClusterNodesParamsWithHTTPClient added in v1.6.0

func NewGetClusterNodesParamsWithHTTPClient(client *http.Client) *GetClusterNodesParams

NewGetClusterNodesParamsWithHTTPClient creates a new GetClusterNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetClusterNodesParamsWithTimeout added in v1.6.0

func NewGetClusterNodesParamsWithTimeout(timeout time.Duration) *GetClusterNodesParams

NewGetClusterNodesParamsWithTimeout creates a new GetClusterNodesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetClusterNodesParams) SetClientID added in v1.6.0

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

SetClientID adds the clientId to the get cluster nodes params

func (*GetClusterNodesParams) SetContext added in v1.6.0

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

SetContext adds the context to the get cluster nodes params

func (*GetClusterNodesParams) SetHTTPClient added in v1.6.0

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

SetHTTPClient adds the HTTPClient to the get cluster nodes params

func (*GetClusterNodesParams) SetTimeout added in v1.6.0

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

SetTimeout adds the timeout to the get cluster nodes params

func (*GetClusterNodesParams) WithClientID added in v1.6.0

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

WithClientID adds the clientID to the get cluster nodes params

func (*GetClusterNodesParams) WithContext added in v1.6.0

WithContext adds the context to the get cluster nodes params

func (*GetClusterNodesParams) WithHTTPClient added in v1.6.0

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

WithHTTPClient adds the HTTPClient to the get cluster nodes params

func (*GetClusterNodesParams) WithTimeout added in v1.6.0

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

WithTimeout adds the timeout to the get cluster nodes params

func (*GetClusterNodesParams) WriteToRequest added in v1.6.0

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

WriteToRequest writes these params to a swagger request

type GetClusterNodesReader added in v1.6.0

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

GetClusterNodesReader is a Reader for the GetClusterNodes structure.

func (*GetClusterNodesReader) ReadResponse added in v1.6.0

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 handles this case 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

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 values initialized.

func NewGetConfigParamsWithContext

func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams

NewGetConfigParamsWithContext creates a new GetConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 v1.5.0

type GetDebuginfoFailure struct {
	Payload models.Error
}

GetDebuginfoFailure handles this case with default header values.

DebugInfo get failed

func NewGetDebuginfoFailure added in v1.5.0

func NewGetDebuginfoFailure() *GetDebuginfoFailure

NewGetDebuginfoFailure creates a GetDebuginfoFailure with default headers values

func (*GetDebuginfoFailure) Error added in v1.5.0

func (o *GetDebuginfoFailure) Error() string

type GetDebuginfoOK added in v1.5.0

type GetDebuginfoOK struct {
	Payload *models.DebugInfo
}

GetDebuginfoOK handles this case with default header values.

Success

func NewGetDebuginfoOK added in v1.5.0

func NewGetDebuginfoOK() *GetDebuginfoOK

NewGetDebuginfoOK creates a GetDebuginfoOK with default headers values

func (*GetDebuginfoOK) Error added in v1.5.0

func (o *GetDebuginfoOK) Error() string

type GetDebuginfoParams added in v1.5.0

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 v1.5.0

func NewGetDebuginfoParams() *GetDebuginfoParams

NewGetDebuginfoParams creates a new GetDebuginfoParams object with the default values initialized.

func NewGetDebuginfoParamsWithContext added in v1.5.0

func NewGetDebuginfoParamsWithContext(ctx context.Context) *GetDebuginfoParams

NewGetDebuginfoParamsWithContext creates a new GetDebuginfoParams object with the default values initialized, and the ability to set a context for a request

func NewGetDebuginfoParamsWithHTTPClient added in v1.5.0

func NewGetDebuginfoParamsWithHTTPClient(client *http.Client) *GetDebuginfoParams

NewGetDebuginfoParamsWithHTTPClient creates a new GetDebuginfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDebuginfoParamsWithTimeout added in v1.5.0

func NewGetDebuginfoParamsWithTimeout(timeout time.Duration) *GetDebuginfoParams

NewGetDebuginfoParamsWithTimeout creates a new GetDebuginfoParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDebuginfoParams) SetContext added in v1.5.0

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

SetContext adds the context to the get debuginfo params

func (*GetDebuginfoParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get debuginfo params

func (*GetDebuginfoParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get debuginfo params

func (*GetDebuginfoParams) WithContext added in v1.5.0

WithContext adds the context to the get debuginfo params

func (*GetDebuginfoParams) WithHTTPClient added in v1.5.0

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

WithHTTPClient adds the HTTPClient to the get debuginfo params

func (*GetDebuginfoParams) WithTimeout added in v1.5.0

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

WithTimeout adds the timeout to the get debuginfo params

func (*GetDebuginfoParams) WriteToRequest added in v1.5.0

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

WriteToRequest writes these params to a swagger request

type GetDebuginfoReader added in v1.5.0

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

GetDebuginfoReader is a Reader for the GetDebuginfo structure.

func (*GetDebuginfoReader) ReadResponse added in v1.5.0

func (o *GetDebuginfoReader) 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 handles this case 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

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 values initialized.

func NewGetHealthzParamsWithContext

func NewGetHealthzParamsWithContext(ctx context.Context) *GetHealthzParams

NewGetHealthzParamsWithContext creates a new GetHealthzParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*GetHealthzParams) SetBrief added in v1.6.0

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) 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 v1.6.0

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) 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 GetMapNameNotFound added in v1.5.0

type GetMapNameNotFound struct {
}

GetMapNameNotFound handles this case with default header values.

Map not found

func NewGetMapNameNotFound added in v1.5.0

func NewGetMapNameNotFound() *GetMapNameNotFound

NewGetMapNameNotFound creates a GetMapNameNotFound with default headers values

func (*GetMapNameNotFound) Error added in v1.5.0

func (o *GetMapNameNotFound) Error() string

type GetMapNameOK added in v1.5.0

type GetMapNameOK struct {
	Payload *models.BPFMap
}

GetMapNameOK handles this case with default header values.

Success

func NewGetMapNameOK added in v1.5.0

func NewGetMapNameOK() *GetMapNameOK

NewGetMapNameOK creates a GetMapNameOK with default headers values

func (*GetMapNameOK) Error added in v1.5.0

func (o *GetMapNameOK) Error() string

type GetMapNameParams added in v1.5.0

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 v1.5.0

func NewGetMapNameParams() *GetMapNameParams

NewGetMapNameParams creates a new GetMapNameParams object with the default values initialized.

func NewGetMapNameParamsWithContext added in v1.5.0

func NewGetMapNameParamsWithContext(ctx context.Context) *GetMapNameParams

NewGetMapNameParamsWithContext creates a new GetMapNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetMapNameParamsWithHTTPClient added in v1.5.0

func NewGetMapNameParamsWithHTTPClient(client *http.Client) *GetMapNameParams

NewGetMapNameParamsWithHTTPClient creates a new GetMapNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMapNameParamsWithTimeout added in v1.5.0

func NewGetMapNameParamsWithTimeout(timeout time.Duration) *GetMapNameParams

NewGetMapNameParamsWithTimeout creates a new GetMapNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMapNameParams) SetContext added in v1.5.0

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

SetContext adds the context to the get map name params

func (*GetMapNameParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get map name params

func (*GetMapNameParams) SetName added in v1.5.0

func (o *GetMapNameParams) SetName(name string)

SetName adds the name to the get map name params

func (*GetMapNameParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get map name params

func (*GetMapNameParams) WithContext added in v1.5.0

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

WithContext adds the context to the get map name params

func (*GetMapNameParams) WithHTTPClient added in v1.5.0

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

WithHTTPClient adds the HTTPClient to the get map name params

func (*GetMapNameParams) WithName added in v1.5.0

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

WithName adds the name to the get map name params

func (*GetMapNameParams) WithTimeout added in v1.5.0

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

WithTimeout adds the timeout to the get map name params

func (*GetMapNameParams) WriteToRequest added in v1.5.0

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

WriteToRequest writes these params to a swagger request

type GetMapNameReader added in v1.5.0

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

GetMapNameReader is a Reader for the GetMapName structure.

func (*GetMapNameReader) ReadResponse added in v1.5.0

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 v1.5.0

type GetMapOK struct {
	Payload *models.BPFMapList
}

GetMapOK handles this case with default header values.

Success

func NewGetMapOK added in v1.5.0

func NewGetMapOK() *GetMapOK

NewGetMapOK creates a GetMapOK with default headers values

func (*GetMapOK) Error added in v1.5.0

func (o *GetMapOK) Error() string

type GetMapParams added in v1.5.0

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 v1.5.0

func NewGetMapParams() *GetMapParams

NewGetMapParams creates a new GetMapParams object with the default values initialized.

func NewGetMapParamsWithContext added in v1.5.0

func NewGetMapParamsWithContext(ctx context.Context) *GetMapParams

NewGetMapParamsWithContext creates a new GetMapParams object with the default values initialized, and the ability to set a context for a request

func NewGetMapParamsWithHTTPClient added in v1.5.0

func NewGetMapParamsWithHTTPClient(client *http.Client) *GetMapParams

NewGetMapParamsWithHTTPClient creates a new GetMapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMapParamsWithTimeout added in v1.5.0

func NewGetMapParamsWithTimeout(timeout time.Duration) *GetMapParams

NewGetMapParamsWithTimeout creates a new GetMapParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMapParams) SetContext added in v1.5.0

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

SetContext adds the context to the get map params

func (*GetMapParams) SetHTTPClient added in v1.5.0

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

SetHTTPClient adds the HTTPClient to the get map params

func (*GetMapParams) SetTimeout added in v1.5.0

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

SetTimeout adds the timeout to the get map params

func (*GetMapParams) WithContext added in v1.5.0

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

WithContext adds the context to the get map params

func (*GetMapParams) WithHTTPClient added in v1.5.0

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

WithHTTPClient adds the HTTPClient to the get map params

func (*GetMapParams) WithTimeout added in v1.5.0

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

WithTimeout adds the timeout to the get map params

func (*GetMapParams) WriteToRequest added in v1.5.0

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

WriteToRequest writes these params to a swagger request

type GetMapReader added in v1.5.0

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

GetMapReader is a Reader for the GetMap structure.

func (*GetMapReader) ReadResponse added in v1.5.0

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

ReadResponse reads a server response into the received o.

type GetNodesOK added in v1.6.0

type GetNodesOK struct {
	Payload *models.StatusResponse
}

GetNodesOK handles this case with default header values.

Success

func NewGetNodesOK added in v1.6.0

func NewGetNodesOK() *GetNodesOK

NewGetNodesOK creates a GetNodesOK with default headers values

func (*GetNodesOK) Error added in v1.6.0

func (o *GetNodesOK) Error() string

type GetNodesParams added in v1.6.0

type GetNodesParams struct {

	/*ClientID
	  Client UUID that should be used to request new


	*/
	ClientID *int64

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

GetNodesParams contains all the parameters to send to the API endpoint for the get nodes operation typically these are written to a http.Request

func NewGetNodesParams added in v1.6.0

func NewGetNodesParams() *GetNodesParams

NewGetNodesParams creates a new GetNodesParams object with the default values initialized.

func NewGetNodesParamsWithContext added in v1.6.0

func NewGetNodesParamsWithContext(ctx context.Context) *GetNodesParams

NewGetNodesParamsWithContext creates a new GetNodesParams object with the default values initialized, and the ability to set a context for a request

func NewGetNodesParamsWithHTTPClient added in v1.6.0

func NewGetNodesParamsWithHTTPClient(client *http.Client) *GetNodesParams

NewGetNodesParamsWithHTTPClient creates a new GetNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNodesParamsWithTimeout added in v1.6.0

func NewGetNodesParamsWithTimeout(timeout time.Duration) *GetNodesParams

NewGetNodesParamsWithTimeout creates a new GetNodesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNodesParams) SetClientID added in v1.6.0

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

SetClientID adds the clientId to the get nodes params

func (*GetNodesParams) SetContext added in v1.6.0

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

SetContext adds the context to the get nodes params

func (*GetNodesParams) SetHTTPClient added in v1.6.0

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

SetHTTPClient adds the HTTPClient to the get nodes params

func (*GetNodesParams) SetTimeout added in v1.6.0

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

SetTimeout adds the timeout to the get nodes params

func (*GetNodesParams) WithClientID added in v1.6.0

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

WithClientID adds the clientID to the get nodes params

func (*GetNodesParams) WithContext added in v1.6.0

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

WithContext adds the context to the get nodes params

func (*GetNodesParams) WithHTTPClient added in v1.6.0

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

WithHTTPClient adds the HTTPClient to the get nodes params

func (*GetNodesParams) WithTimeout added in v1.6.0

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

WithTimeout adds the timeout to the get nodes params

func (*GetNodesParams) WriteToRequest added in v1.6.0

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

WriteToRequest writes these params to a swagger request

type GetNodesReader added in v1.6.0

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

GetNodesReader is a Reader for the GetNodes structure.

func (*GetNodesReader) ReadResponse added in v1.6.0

func (o *GetNodesReader) 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 handles this case 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

type PatchConfigFailure

type PatchConfigFailure struct {
	Payload models.Error
}

PatchConfigFailure handles this case 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

type PatchConfigOK

type PatchConfigOK struct {
}

PatchConfigOK handles this case 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

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 values initialized.

func NewPatchConfigParamsWithContext

func NewPatchConfigParamsWithContext(ctx context.Context) *PatchConfigParams

NewPatchConfigParamsWithContext creates a new PatchConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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