cilium: github.com/cilium/cilium/api/v1/client/daemon Index | Files

package daemon

import "github.com/cilium/cilium/api/v1/client/daemon"

Index

Package Files

daemon_client.go get_cluster_nodes_parameters.go get_cluster_nodes_responses.go get_config_parameters.go get_config_responses.go get_debuginfo_parameters.go get_debuginfo_responses.go get_healthz_parameters.go get_healthz_responses.go get_map_name_parameters.go get_map_name_responses.go get_map_parameters.go get_map_responses.go patch_config_parameters.go patch_config_responses.go

type Client Uses

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

Client for daemon API

func New Uses

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

New creates a new daemon API client.

func (*Client) GetClusterNodes Uses

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

GetClusterNodes gets nodes information stored in the cilium agent

func (*Client) GetConfig Uses

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

GetConfig gets configuration of cilium daemon

Returns the configuration of the Cilium daemon.

func (*Client) GetDebuginfo Uses

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

GetDebuginfo retrieves information about the agent and evironment for debugging

func (*Client) GetHealthz Uses

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 Uses

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

GetMap lists all open maps

func (*Client) GetMapName Uses

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

GetMapName retrieves contents of b p f map

func (*Client) PatchConfig Uses

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 Uses

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

SetTransport changes the transport on the client

type GetClusterNodesOK Uses

type GetClusterNodesOK struct {
    Payload *models.ClusterNodeStatus
}

GetClusterNodesOK handles this case with default header values.

Success

func NewGetClusterNodesOK Uses

func NewGetClusterNodesOK() *GetClusterNodesOK

NewGetClusterNodesOK creates a GetClusterNodesOK with default headers values

func (*GetClusterNodesOK) Error Uses

func (o *GetClusterNodesOK) Error() string

func (*GetClusterNodesOK) GetPayload Uses

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

type GetClusterNodesParams Uses

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 Uses

func NewGetClusterNodesParams() *GetClusterNodesParams

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

func NewGetClusterNodesParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetClientID adds the clientId to the get cluster nodes params

func (*GetClusterNodesParams) SetContext Uses

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

SetContext adds the context to the get cluster nodes params

func (*GetClusterNodesParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get cluster nodes params

func (*GetClusterNodesParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get cluster nodes params

func (*GetClusterNodesParams) WithClientID Uses

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

WithClientID adds the clientID to the get cluster nodes params

func (*GetClusterNodesParams) WithContext Uses

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

WithContext adds the context to the get cluster nodes params

func (*GetClusterNodesParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get cluster nodes params

func (*GetClusterNodesParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get cluster nodes params

func (*GetClusterNodesParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetClusterNodesReader Uses

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

GetClusterNodesReader is a Reader for the GetClusterNodes structure.

func (*GetClusterNodesReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetConfigOK Uses

type GetConfigOK struct {
    Payload *models.DaemonConfiguration
}

GetConfigOK handles this case with default header values.

Success

func NewGetConfigOK Uses

func NewGetConfigOK() *GetConfigOK

NewGetConfigOK creates a GetConfigOK with default headers values

func (*GetConfigOK) Error Uses

func (o *GetConfigOK) Error() string

func (*GetConfigOK) GetPayload Uses

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

type GetConfigParams Uses

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 Uses

func NewGetConfigParams() *GetConfigParams

NewGetConfigParams creates a new GetConfigParams object with the default values initialized.

func NewGetConfigParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get config params

func (*GetConfigParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get config params

func (*GetConfigParams) WithContext Uses

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

WithContext adds the context to the get config params

func (*GetConfigParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get config params

func (*GetConfigParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetConfigReader Uses

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

GetConfigReader is a Reader for the GetConfig structure.

func (*GetConfigReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetDebuginfoFailure Uses

type GetDebuginfoFailure struct {
    Payload models.Error
}

GetDebuginfoFailure handles this case with default header values.

DebugInfo get failed

func NewGetDebuginfoFailure Uses

func NewGetDebuginfoFailure() *GetDebuginfoFailure

NewGetDebuginfoFailure creates a GetDebuginfoFailure with default headers values

func (*GetDebuginfoFailure) Error Uses

func (o *GetDebuginfoFailure) Error() string

func (*GetDebuginfoFailure) GetPayload Uses

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

type GetDebuginfoOK Uses

type GetDebuginfoOK struct {
    Payload *models.DebugInfo
}

GetDebuginfoOK handles this case with default header values.

Success

func NewGetDebuginfoOK Uses

func NewGetDebuginfoOK() *GetDebuginfoOK

NewGetDebuginfoOK creates a GetDebuginfoOK with default headers values

func (*GetDebuginfoOK) Error Uses

func (o *GetDebuginfoOK) Error() string

func (*GetDebuginfoOK) GetPayload Uses

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

type GetDebuginfoParams Uses

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 Uses

func NewGetDebuginfoParams() *GetDebuginfoParams

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

func NewGetDebuginfoParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get debuginfo params

func (*GetDebuginfoParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get debuginfo params

func (*GetDebuginfoParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get debuginfo params

func (*GetDebuginfoParams) WithContext Uses

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

WithContext adds the context to the get debuginfo params

func (*GetDebuginfoParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get debuginfo params

func (*GetDebuginfoParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get debuginfo params

func (*GetDebuginfoParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetDebuginfoReader Uses

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

GetDebuginfoReader is a Reader for the GetDebuginfo structure.

func (*GetDebuginfoReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetHealthzOK Uses

type GetHealthzOK struct {
    Payload *models.StatusResponse
}

GetHealthzOK handles this case with default header values.

Success

func NewGetHealthzOK Uses

func NewGetHealthzOK() *GetHealthzOK

NewGetHealthzOK creates a GetHealthzOK with default headers values

func (*GetHealthzOK) Error Uses

func (o *GetHealthzOK) Error() string

func (*GetHealthzOK) GetPayload Uses

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

type GetHealthzParams Uses

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 Uses

func NewGetHealthzParams() *GetHealthzParams

NewGetHealthzParams creates a new GetHealthzParams object with the default values initialized.

func NewGetHealthzParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetBrief adds the brief to the get healthz params

func (*GetHealthzParams) SetContext Uses

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

SetContext adds the context to the get healthz params

func (*GetHealthzParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get healthz params

func (*GetHealthzParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get healthz params

func (*GetHealthzParams) WithBrief Uses

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

WithBrief adds the brief to the get healthz params

func (*GetHealthzParams) WithContext Uses

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

WithContext adds the context to the get healthz params

func (*GetHealthzParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get healthz params

func (*GetHealthzParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get healthz params

func (*GetHealthzParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetHealthzReader Uses

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

GetHealthzReader is a Reader for the GetHealthz structure.

func (*GetHealthzReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetMapNameNotFound Uses

type GetMapNameNotFound struct {
}

GetMapNameNotFound handles this case with default header values.

Map not found

func NewGetMapNameNotFound Uses

func NewGetMapNameNotFound() *GetMapNameNotFound

NewGetMapNameNotFound creates a GetMapNameNotFound with default headers values

func (*GetMapNameNotFound) Error Uses

func (o *GetMapNameNotFound) Error() string

type GetMapNameOK Uses

type GetMapNameOK struct {
    Payload *models.BPFMap
}

GetMapNameOK handles this case with default header values.

Success

func NewGetMapNameOK Uses

func NewGetMapNameOK() *GetMapNameOK

NewGetMapNameOK creates a GetMapNameOK with default headers values

func (*GetMapNameOK) Error Uses

func (o *GetMapNameOK) Error() string

func (*GetMapNameOK) GetPayload Uses

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

type GetMapNameParams Uses

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 Uses

func NewGetMapNameParams() *GetMapNameParams

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

func NewGetMapNameParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get map name params

func (*GetMapNameParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get map name params

func (*GetMapNameParams) SetName Uses

func (o *GetMapNameParams) SetName(name string)

SetName adds the name to the get map name params

func (*GetMapNameParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get map name params

func (*GetMapNameParams) WithContext Uses

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

WithContext adds the context to the get map name params

func (*GetMapNameParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get map name params

func (*GetMapNameParams) WithName Uses

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

WithName adds the name to the get map name params

func (*GetMapNameParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get map name params

func (*GetMapNameParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetMapNameReader Uses

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

GetMapNameReader is a Reader for the GetMapName structure.

func (*GetMapNameReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetMapOK Uses

type GetMapOK struct {
    Payload *models.BPFMapList
}

GetMapOK handles this case with default header values.

Success

func NewGetMapOK Uses

func NewGetMapOK() *GetMapOK

NewGetMapOK creates a GetMapOK with default headers values

func (*GetMapOK) Error Uses

func (o *GetMapOK) Error() string

func (*GetMapOK) GetPayload Uses

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

type GetMapParams Uses

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 Uses

func NewGetMapParams() *GetMapParams

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

func NewGetMapParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetContext adds the context to the get map params

func (*GetMapParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get map params

func (*GetMapParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get map params

func (*GetMapParams) WithContext Uses

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

WithContext adds the context to the get map params

func (*GetMapParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get map params

func (*GetMapParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get map params

func (*GetMapParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetMapReader Uses

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

GetMapReader is a Reader for the GetMap structure.

func (*GetMapReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type PatchConfigBadRequest Uses

type PatchConfigBadRequest struct {
    Payload models.Error
}

PatchConfigBadRequest handles this case with default header values.

Bad configuration parameters

func NewPatchConfigBadRequest Uses

func NewPatchConfigBadRequest() *PatchConfigBadRequest

NewPatchConfigBadRequest creates a PatchConfigBadRequest with default headers values

func (*PatchConfigBadRequest) Error Uses

func (o *PatchConfigBadRequest) Error() string

func (*PatchConfigBadRequest) GetPayload Uses

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

type PatchConfigFailure Uses

type PatchConfigFailure struct {
    Payload models.Error
}

PatchConfigFailure handles this case with default header values.

Recompilation failed

func NewPatchConfigFailure Uses

func NewPatchConfigFailure() *PatchConfigFailure

NewPatchConfigFailure creates a PatchConfigFailure with default headers values

func (*PatchConfigFailure) Error Uses

func (o *PatchConfigFailure) Error() string

func (*PatchConfigFailure) GetPayload Uses

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

type PatchConfigOK Uses

type PatchConfigOK struct {
}

PatchConfigOK handles this case with default header values.

Success

func NewPatchConfigOK Uses

func NewPatchConfigOK() *PatchConfigOK

NewPatchConfigOK creates a PatchConfigOK with default headers values

func (*PatchConfigOK) Error Uses

func (o *PatchConfigOK) Error() string

type PatchConfigParams Uses

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 Uses

func NewPatchConfigParams() *PatchConfigParams

NewPatchConfigParams creates a new PatchConfigParams object with the default values initialized.

func NewPatchConfigParamsWithContext Uses

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 Uses

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 Uses

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 Uses

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

SetConfiguration adds the configuration to the patch config params

func (*PatchConfigParams) SetContext Uses

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

SetContext adds the context to the patch config params

func (*PatchConfigParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the patch config params

func (*PatchConfigParams) SetTimeout Uses

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

SetTimeout adds the timeout to the patch config params

func (*PatchConfigParams) WithConfiguration Uses

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

WithConfiguration adds the configuration to the patch config params

func (*PatchConfigParams) WithContext Uses

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

WithContext adds the context to the patch config params

func (*PatchConfigParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the patch config params

func (*PatchConfigParams) WithTimeout Uses

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

WithTimeout adds the timeout to the patch config params

func (*PatchConfigParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type PatchConfigReader Uses

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

PatchConfigReader is a Reader for the PatchConfig structure.

func (*PatchConfigReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

Package daemon imports 11 packages (graph) and is imported by 17 packages. Updated 2019-10-29. Refresh now. Tools for package owners.