config

package
v0.0.0-...-193a162 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: MIT Imports: 11 Imported by: 1

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 config API

func New

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

New creates a new config API client.

func (*Client) ConfigCreate

func (a *Client) ConfigCreate(params *ConfigCreateParams) (*ConfigCreateCreated, error)

ConfigCreate creates a config

func (*Client) ConfigDelete

func (a *Client) ConfigDelete(params *ConfigDeleteParams) (*ConfigDeleteNoContent, error)

ConfigDelete deletes a config

func (*Client) ConfigInspect

func (a *Client) ConfigInspect(params *ConfigInspectParams) (*ConfigInspectOK, error)

ConfigInspect inspects a config

func (*Client) ConfigList

func (a *Client) ConfigList(params *ConfigListParams) (*ConfigListOK, error)

ConfigList lists configs

func (*Client) ConfigUpdate

func (a *Client) ConfigUpdate(params *ConfigUpdateParams) (*ConfigUpdateOK, error)

ConfigUpdate updates a config

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ConfigCreateConflict

type ConfigCreateConflict struct {
	Payload *models.ErrorResponse
}

ConfigCreateConflict handles this case with default header values.

name conflicts with an existing object

func NewConfigCreateConflict

func NewConfigCreateConflict() *ConfigCreateConflict

NewConfigCreateConflict creates a ConfigCreateConflict with default headers values

func (*ConfigCreateConflict) Error

func (o *ConfigCreateConflict) Error() string

type ConfigCreateCreated

type ConfigCreateCreated struct {
	Payload *models.IDResponse
}

ConfigCreateCreated handles this case with default header values.

no error

func NewConfigCreateCreated

func NewConfigCreateCreated() *ConfigCreateCreated

NewConfigCreateCreated creates a ConfigCreateCreated with default headers values

func (*ConfigCreateCreated) Error

func (o *ConfigCreateCreated) Error() string

type ConfigCreateInternalServerError

type ConfigCreateInternalServerError struct {
	Payload *models.ErrorResponse
}

ConfigCreateInternalServerError handles this case with default header values.

server error

func NewConfigCreateInternalServerError

func NewConfigCreateInternalServerError() *ConfigCreateInternalServerError

NewConfigCreateInternalServerError creates a ConfigCreateInternalServerError with default headers values

func (*ConfigCreateInternalServerError) Error

type ConfigCreateParams

type ConfigCreateParams struct {

	/*Body*/
	Body *models.ConfigCreateParamsBody

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

ConfigCreateParams contains all the parameters to send to the API endpoint for the config create operation typically these are written to a http.Request

func NewConfigCreateParams

func NewConfigCreateParams() *ConfigCreateParams

NewConfigCreateParams creates a new ConfigCreateParams object with the default values initialized.

func NewConfigCreateParamsWithContext

func NewConfigCreateParamsWithContext(ctx context.Context) *ConfigCreateParams

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

func NewConfigCreateParamsWithHTTPClient

func NewConfigCreateParamsWithHTTPClient(client *http.Client) *ConfigCreateParams

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

func NewConfigCreateParamsWithTimeout

func NewConfigCreateParamsWithTimeout(timeout time.Duration) *ConfigCreateParams

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

func (*ConfigCreateParams) SetBody

SetBody adds the body to the config create params

func (*ConfigCreateParams) SetContext

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

SetContext adds the context to the config create params

func (*ConfigCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the config create params

func (*ConfigCreateParams) SetTimeout

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

SetTimeout adds the timeout to the config create params

func (*ConfigCreateParams) WithBody

WithBody adds the body to the config create params

func (*ConfigCreateParams) WithContext

WithContext adds the context to the config create params

func (*ConfigCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the config create params

func (*ConfigCreateParams) WithTimeout

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

WithTimeout adds the timeout to the config create params

func (*ConfigCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConfigCreateReader

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

ConfigCreateReader is a Reader for the ConfigCreate structure.

func (*ConfigCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigCreateServiceUnavailable

type ConfigCreateServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConfigCreateServiceUnavailable handles this case with default header values.

node is not part of a swarm

func NewConfigCreateServiceUnavailable

func NewConfigCreateServiceUnavailable() *ConfigCreateServiceUnavailable

NewConfigCreateServiceUnavailable creates a ConfigCreateServiceUnavailable with default headers values

func (*ConfigCreateServiceUnavailable) Error

type ConfigDeleteInternalServerError

type ConfigDeleteInternalServerError struct {
	Payload *models.ErrorResponse
}

ConfigDeleteInternalServerError handles this case with default header values.

server error

func NewConfigDeleteInternalServerError

func NewConfigDeleteInternalServerError() *ConfigDeleteInternalServerError

NewConfigDeleteInternalServerError creates a ConfigDeleteInternalServerError with default headers values

func (*ConfigDeleteInternalServerError) Error

type ConfigDeleteNoContent

type ConfigDeleteNoContent struct {
}

ConfigDeleteNoContent handles this case with default header values.

no error

func NewConfigDeleteNoContent

func NewConfigDeleteNoContent() *ConfigDeleteNoContent

NewConfigDeleteNoContent creates a ConfigDeleteNoContent with default headers values

func (*ConfigDeleteNoContent) Error

func (o *ConfigDeleteNoContent) Error() string

type ConfigDeleteNotFound

type ConfigDeleteNotFound struct {
	Payload *models.ErrorResponse
}

ConfigDeleteNotFound handles this case with default header values.

config not found

func NewConfigDeleteNotFound

func NewConfigDeleteNotFound() *ConfigDeleteNotFound

NewConfigDeleteNotFound creates a ConfigDeleteNotFound with default headers values

func (*ConfigDeleteNotFound) Error

func (o *ConfigDeleteNotFound) Error() string

type ConfigDeleteParams

type ConfigDeleteParams struct {

	/*ID
	  ID of the config

	*/
	ID string

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

ConfigDeleteParams contains all the parameters to send to the API endpoint for the config delete operation typically these are written to a http.Request

func NewConfigDeleteParams

func NewConfigDeleteParams() *ConfigDeleteParams

NewConfigDeleteParams creates a new ConfigDeleteParams object with the default values initialized.

func NewConfigDeleteParamsWithContext

func NewConfigDeleteParamsWithContext(ctx context.Context) *ConfigDeleteParams

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

func NewConfigDeleteParamsWithHTTPClient

func NewConfigDeleteParamsWithHTTPClient(client *http.Client) *ConfigDeleteParams

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

func NewConfigDeleteParamsWithTimeout

func NewConfigDeleteParamsWithTimeout(timeout time.Duration) *ConfigDeleteParams

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

func (*ConfigDeleteParams) SetContext

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

SetContext adds the context to the config delete params

func (*ConfigDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the config delete params

func (*ConfigDeleteParams) SetID

func (o *ConfigDeleteParams) SetID(id string)

SetID adds the id to the config delete params

func (*ConfigDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the config delete params

func (*ConfigDeleteParams) WithContext

WithContext adds the context to the config delete params

func (*ConfigDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the config delete params

func (*ConfigDeleteParams) WithID

WithID adds the id to the config delete params

func (*ConfigDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the config delete params

func (*ConfigDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConfigDeleteReader

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

ConfigDeleteReader is a Reader for the ConfigDelete structure.

func (*ConfigDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigDeleteServiceUnavailable

type ConfigDeleteServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConfigDeleteServiceUnavailable handles this case with default header values.

node is not part of a swarm

func NewConfigDeleteServiceUnavailable

func NewConfigDeleteServiceUnavailable() *ConfigDeleteServiceUnavailable

NewConfigDeleteServiceUnavailable creates a ConfigDeleteServiceUnavailable with default headers values

func (*ConfigDeleteServiceUnavailable) Error

type ConfigInspectInternalServerError

type ConfigInspectInternalServerError struct {
	Payload *models.ErrorResponse
}

ConfigInspectInternalServerError handles this case with default header values.

server error

func NewConfigInspectInternalServerError

func NewConfigInspectInternalServerError() *ConfigInspectInternalServerError

NewConfigInspectInternalServerError creates a ConfigInspectInternalServerError with default headers values

func (*ConfigInspectInternalServerError) Error

type ConfigInspectNotFound

type ConfigInspectNotFound struct {
	Payload *models.ErrorResponse
}

ConfigInspectNotFound handles this case with default header values.

config not found

func NewConfigInspectNotFound

func NewConfigInspectNotFound() *ConfigInspectNotFound

NewConfigInspectNotFound creates a ConfigInspectNotFound with default headers values

func (*ConfigInspectNotFound) Error

func (o *ConfigInspectNotFound) Error() string

type ConfigInspectOK

type ConfigInspectOK struct {
	Payload *models.Config
}

ConfigInspectOK handles this case with default header values.

no error

func NewConfigInspectOK

func NewConfigInspectOK() *ConfigInspectOK

NewConfigInspectOK creates a ConfigInspectOK with default headers values

func (*ConfigInspectOK) Error

func (o *ConfigInspectOK) Error() string

type ConfigInspectParams

type ConfigInspectParams struct {

	/*ID
	  ID of the config

	*/
	ID string

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

ConfigInspectParams contains all the parameters to send to the API endpoint for the config inspect operation typically these are written to a http.Request

func NewConfigInspectParams

func NewConfigInspectParams() *ConfigInspectParams

NewConfigInspectParams creates a new ConfigInspectParams object with the default values initialized.

func NewConfigInspectParamsWithContext

func NewConfigInspectParamsWithContext(ctx context.Context) *ConfigInspectParams

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

func NewConfigInspectParamsWithHTTPClient

func NewConfigInspectParamsWithHTTPClient(client *http.Client) *ConfigInspectParams

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

func NewConfigInspectParamsWithTimeout

func NewConfigInspectParamsWithTimeout(timeout time.Duration) *ConfigInspectParams

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

func (*ConfigInspectParams) SetContext

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

SetContext adds the context to the config inspect params

func (*ConfigInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the config inspect params

func (*ConfigInspectParams) SetID

func (o *ConfigInspectParams) SetID(id string)

SetID adds the id to the config inspect params

func (*ConfigInspectParams) SetTimeout

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

SetTimeout adds the timeout to the config inspect params

func (*ConfigInspectParams) WithContext

WithContext adds the context to the config inspect params

func (*ConfigInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the config inspect params

func (*ConfigInspectParams) WithID

WithID adds the id to the config inspect params

func (*ConfigInspectParams) WithTimeout

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

WithTimeout adds the timeout to the config inspect params

func (*ConfigInspectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConfigInspectReader

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

ConfigInspectReader is a Reader for the ConfigInspect structure.

func (*ConfigInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigInspectServiceUnavailable

type ConfigInspectServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConfigInspectServiceUnavailable handles this case with default header values.

node is not part of a swarm

func NewConfigInspectServiceUnavailable

func NewConfigInspectServiceUnavailable() *ConfigInspectServiceUnavailable

NewConfigInspectServiceUnavailable creates a ConfigInspectServiceUnavailable with default headers values

func (*ConfigInspectServiceUnavailable) Error

type ConfigListInternalServerError

type ConfigListInternalServerError struct {
	Payload *models.ErrorResponse
}

ConfigListInternalServerError handles this case with default header values.

server error

func NewConfigListInternalServerError

func NewConfigListInternalServerError() *ConfigListInternalServerError

NewConfigListInternalServerError creates a ConfigListInternalServerError with default headers values

func (*ConfigListInternalServerError) Error

type ConfigListOK

type ConfigListOK struct {
	Payload models.ConfigListOKBody
}

ConfigListOK handles this case with default header values.

no error

func NewConfigListOK

func NewConfigListOK() *ConfigListOK

NewConfigListOK creates a ConfigListOK with default headers values

func (*ConfigListOK) Error

func (o *ConfigListOK) Error() string

type ConfigListParams

type ConfigListParams struct {

	/*Filters
	  A JSON encoded value of the filters (a `map[string][]string`) to process on the configs list. Available filters:

	- `id=<config id>`
	- `label=<key> or label=<key>=value`
	- `name=<config name>`
	- `names=<config name>`


	*/
	Filters *string

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

ConfigListParams contains all the parameters to send to the API endpoint for the config list operation typically these are written to a http.Request

func NewConfigListParams

func NewConfigListParams() *ConfigListParams

NewConfigListParams creates a new ConfigListParams object with the default values initialized.

func NewConfigListParamsWithContext

func NewConfigListParamsWithContext(ctx context.Context) *ConfigListParams

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

func NewConfigListParamsWithHTTPClient

func NewConfigListParamsWithHTTPClient(client *http.Client) *ConfigListParams

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

func NewConfigListParamsWithTimeout

func NewConfigListParamsWithTimeout(timeout time.Duration) *ConfigListParams

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

func (*ConfigListParams) SetContext

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

SetContext adds the context to the config list params

func (*ConfigListParams) SetFilters

func (o *ConfigListParams) SetFilters(filters *string)

SetFilters adds the filters to the config list params

func (*ConfigListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the config list params

func (*ConfigListParams) SetTimeout

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

SetTimeout adds the timeout to the config list params

func (*ConfigListParams) WithContext

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

WithContext adds the context to the config list params

func (*ConfigListParams) WithFilters

func (o *ConfigListParams) WithFilters(filters *string) *ConfigListParams

WithFilters adds the filters to the config list params

func (*ConfigListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the config list params

func (*ConfigListParams) WithTimeout

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

WithTimeout adds the timeout to the config list params

func (*ConfigListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConfigListReader

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

ConfigListReader is a Reader for the ConfigList structure.

func (*ConfigListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigListServiceUnavailable

type ConfigListServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConfigListServiceUnavailable handles this case with default header values.

node is not part of a swarm

func NewConfigListServiceUnavailable

func NewConfigListServiceUnavailable() *ConfigListServiceUnavailable

NewConfigListServiceUnavailable creates a ConfigListServiceUnavailable with default headers values

func (*ConfigListServiceUnavailable) Error

type ConfigUpdateBadRequest

type ConfigUpdateBadRequest struct {
	Payload *models.ErrorResponse
}

ConfigUpdateBadRequest handles this case with default header values.

bad parameter

func NewConfigUpdateBadRequest

func NewConfigUpdateBadRequest() *ConfigUpdateBadRequest

NewConfigUpdateBadRequest creates a ConfigUpdateBadRequest with default headers values

func (*ConfigUpdateBadRequest) Error

func (o *ConfigUpdateBadRequest) Error() string

type ConfigUpdateInternalServerError

type ConfigUpdateInternalServerError struct {
	Payload *models.ErrorResponse
}

ConfigUpdateInternalServerError handles this case with default header values.

server error

func NewConfigUpdateInternalServerError

func NewConfigUpdateInternalServerError() *ConfigUpdateInternalServerError

NewConfigUpdateInternalServerError creates a ConfigUpdateInternalServerError with default headers values

func (*ConfigUpdateInternalServerError) Error

type ConfigUpdateNotFound

type ConfigUpdateNotFound struct {
	Payload *models.ErrorResponse
}

ConfigUpdateNotFound handles this case with default header values.

no such config

func NewConfigUpdateNotFound

func NewConfigUpdateNotFound() *ConfigUpdateNotFound

NewConfigUpdateNotFound creates a ConfigUpdateNotFound with default headers values

func (*ConfigUpdateNotFound) Error

func (o *ConfigUpdateNotFound) Error() string

type ConfigUpdateOK

type ConfigUpdateOK struct {
}

ConfigUpdateOK handles this case with default header values.

no error

func NewConfigUpdateOK

func NewConfigUpdateOK() *ConfigUpdateOK

NewConfigUpdateOK creates a ConfigUpdateOK with default headers values

func (*ConfigUpdateOK) Error

func (o *ConfigUpdateOK) Error() string

type ConfigUpdateParams

type ConfigUpdateParams struct {

	/*Body
	  The spec of the config to update. Currently, only the Labels field can be updated. All other fields must remain unchanged from the [ConfigInspect endpoint](#operation/ConfigInspect) response values.

	*/
	Body *models.ConfigSpec
	/*ID
	  The ID or name of the config

	*/
	ID string
	/*Version
	  The version number of the config object being updated. This is required to avoid conflicting writes.

	*/
	Version int64

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

ConfigUpdateParams contains all the parameters to send to the API endpoint for the config update operation typically these are written to a http.Request

func NewConfigUpdateParams

func NewConfigUpdateParams() *ConfigUpdateParams

NewConfigUpdateParams creates a new ConfigUpdateParams object with the default values initialized.

func NewConfigUpdateParamsWithContext

func NewConfigUpdateParamsWithContext(ctx context.Context) *ConfigUpdateParams

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

func NewConfigUpdateParamsWithHTTPClient

func NewConfigUpdateParamsWithHTTPClient(client *http.Client) *ConfigUpdateParams

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

func NewConfigUpdateParamsWithTimeout

func NewConfigUpdateParamsWithTimeout(timeout time.Duration) *ConfigUpdateParams

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

func (*ConfigUpdateParams) SetBody

func (o *ConfigUpdateParams) SetBody(body *models.ConfigSpec)

SetBody adds the body to the config update params

func (*ConfigUpdateParams) SetContext

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

SetContext adds the context to the config update params

func (*ConfigUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the config update params

func (*ConfigUpdateParams) SetID

func (o *ConfigUpdateParams) SetID(id string)

SetID adds the id to the config update params

func (*ConfigUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the config update params

func (*ConfigUpdateParams) SetVersion

func (o *ConfigUpdateParams) SetVersion(version int64)

SetVersion adds the version to the config update params

func (*ConfigUpdateParams) WithBody

WithBody adds the body to the config update params

func (*ConfigUpdateParams) WithContext

WithContext adds the context to the config update params

func (*ConfigUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the config update params

func (*ConfigUpdateParams) WithID

WithID adds the id to the config update params

func (*ConfigUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the config update params

func (*ConfigUpdateParams) WithVersion

func (o *ConfigUpdateParams) WithVersion(version int64) *ConfigUpdateParams

WithVersion adds the version to the config update params

func (*ConfigUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConfigUpdateReader

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

ConfigUpdateReader is a Reader for the ConfigUpdate structure.

func (*ConfigUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigUpdateServiceUnavailable

type ConfigUpdateServiceUnavailable struct {
	Payload *models.ErrorResponse
}

ConfigUpdateServiceUnavailable handles this case with default header values.

node is not part of a swarm

func NewConfigUpdateServiceUnavailable

func NewConfigUpdateServiceUnavailable() *ConfigUpdateServiceUnavailable

NewConfigUpdateServiceUnavailable creates a ConfigUpdateServiceUnavailable with default headers values

func (*ConfigUpdateServiceUnavailable) Error

Jump to

Keyboard shortcuts

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