system

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: 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 system API

func New

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

New creates a new system API client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SystemAuth

func (a *Client) SystemAuth(params *SystemAuthParams) (*SystemAuthOK, *SystemAuthNoContent, error)

SystemAuth checks auth configuration

Validate credentials for a registry and, if available, get an identity token for accessing the registry without password.

func (*Client) SystemDataUsage

func (a *Client) SystemDataUsage(params *SystemDataUsageParams) (*SystemDataUsageOK, error)

SystemDataUsage gets data usage information

func (*Client) SystemEvents

func (a *Client) SystemEvents(params *SystemEventsParams) (*SystemEventsOK, error)

SystemEvents monitors events

Stream real-time events from the server.

Various objects within Docker report events when something happens to them.

Containers report these events: `attach`, `commit`, `copy`, `create`, `destroy`, `detach`, `die`, `exec_create`, `exec_detach`, `exec_start`, `exec_die`, `export`, `health_status`, `kill`, `oom`, `pause`, `rename`, `resize`, `restart`, `start`, `stop`, `top`, `unpause`, and `update`

Images report these events: `delete`, `import`, `load`, `pull`, `push`, `save`, `tag`, and `untag`

Volumes report these events: `create`, `mount`, `unmount`, and `destroy`

Networks report these events: `create`, `connect`, `disconnect`, `destroy`, `update`, and `remove`

The Docker daemon reports these events: `reload`

Services report these events: `create`, `update`, and `remove`

Nodes report these events: `create`, `update`, and `remove`

Secrets report these events: `create`, `update`, and `remove`

Configs report these events: `create`, `update`, and `remove`

func (*Client) SystemInfo

func (a *Client) SystemInfo(params *SystemInfoParams) (*SystemInfoOK, error)

SystemInfo gets system information

func (*Client) SystemPing

func (a *Client) SystemPing(params *SystemPingParams) (*SystemPingOK, error)

SystemPing pings

This is a dummy endpoint you can use to test if the server is accessible.

func (*Client) SystemVersion

func (a *Client) SystemVersion(params *SystemVersionParams) (*SystemVersionOK, error)

SystemVersion gets version

Returns the version of Docker that is running and various information about the system that Docker is running on.

type SystemAuthInternalServerError

type SystemAuthInternalServerError struct {
	Payload *models.ErrorResponse
}

SystemAuthInternalServerError handles this case with default header values.

Server error

func NewSystemAuthInternalServerError

func NewSystemAuthInternalServerError() *SystemAuthInternalServerError

NewSystemAuthInternalServerError creates a SystemAuthInternalServerError with default headers values

func (*SystemAuthInternalServerError) Error

type SystemAuthNoContent

type SystemAuthNoContent struct {
}

SystemAuthNoContent handles this case with default header values.

No error

func NewSystemAuthNoContent

func NewSystemAuthNoContent() *SystemAuthNoContent

NewSystemAuthNoContent creates a SystemAuthNoContent with default headers values

func (*SystemAuthNoContent) Error

func (o *SystemAuthNoContent) Error() string

type SystemAuthOK

type SystemAuthOK struct {
	Payload *models.SystemAuthOKBody
}

SystemAuthOK handles this case with default header values.

An identity token was generated successfully.

func NewSystemAuthOK

func NewSystemAuthOK() *SystemAuthOK

NewSystemAuthOK creates a SystemAuthOK with default headers values

func (*SystemAuthOK) Error

func (o *SystemAuthOK) Error() string

type SystemAuthParams

type SystemAuthParams struct {

	/*AuthConfig
	  Authentication to check

	*/
	AuthConfig *models.AuthConfig

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

SystemAuthParams contains all the parameters to send to the API endpoint for the system auth operation typically these are written to a http.Request

func NewSystemAuthParams

func NewSystemAuthParams() *SystemAuthParams

NewSystemAuthParams creates a new SystemAuthParams object with the default values initialized.

func NewSystemAuthParamsWithContext

func NewSystemAuthParamsWithContext(ctx context.Context) *SystemAuthParams

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

func NewSystemAuthParamsWithHTTPClient

func NewSystemAuthParamsWithHTTPClient(client *http.Client) *SystemAuthParams

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

func NewSystemAuthParamsWithTimeout

func NewSystemAuthParamsWithTimeout(timeout time.Duration) *SystemAuthParams

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

func (*SystemAuthParams) SetAuthConfig

func (o *SystemAuthParams) SetAuthConfig(authConfig *models.AuthConfig)

SetAuthConfig adds the authConfig to the system auth params

func (*SystemAuthParams) SetContext

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

SetContext adds the context to the system auth params

func (*SystemAuthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the system auth params

func (*SystemAuthParams) SetTimeout

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

SetTimeout adds the timeout to the system auth params

func (*SystemAuthParams) WithAuthConfig

func (o *SystemAuthParams) WithAuthConfig(authConfig *models.AuthConfig) *SystemAuthParams

WithAuthConfig adds the authConfig to the system auth params

func (*SystemAuthParams) WithContext

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

WithContext adds the context to the system auth params

func (*SystemAuthParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the system auth params

func (*SystemAuthParams) WithTimeout

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

WithTimeout adds the timeout to the system auth params

func (*SystemAuthParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SystemAuthReader

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

SystemAuthReader is a Reader for the SystemAuth structure.

func (*SystemAuthReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SystemDataUsageInternalServerError

type SystemDataUsageInternalServerError struct {
	Payload *models.ErrorResponse
}

SystemDataUsageInternalServerError handles this case with default header values.

server error

func NewSystemDataUsageInternalServerError

func NewSystemDataUsageInternalServerError() *SystemDataUsageInternalServerError

NewSystemDataUsageInternalServerError creates a SystemDataUsageInternalServerError with default headers values

func (*SystemDataUsageInternalServerError) Error

type SystemDataUsageOK

type SystemDataUsageOK struct {
	Payload *models.SystemDataUsageOKBody
}

SystemDataUsageOK handles this case with default header values.

no error

func NewSystemDataUsageOK

func NewSystemDataUsageOK() *SystemDataUsageOK

NewSystemDataUsageOK creates a SystemDataUsageOK with default headers values

func (*SystemDataUsageOK) Error

func (o *SystemDataUsageOK) Error() string

type SystemDataUsageParams

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

SystemDataUsageParams contains all the parameters to send to the API endpoint for the system data usage operation typically these are written to a http.Request

func NewSystemDataUsageParams

func NewSystemDataUsageParams() *SystemDataUsageParams

NewSystemDataUsageParams creates a new SystemDataUsageParams object with the default values initialized.

func NewSystemDataUsageParamsWithContext

func NewSystemDataUsageParamsWithContext(ctx context.Context) *SystemDataUsageParams

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

func NewSystemDataUsageParamsWithHTTPClient

func NewSystemDataUsageParamsWithHTTPClient(client *http.Client) *SystemDataUsageParams

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

func NewSystemDataUsageParamsWithTimeout

func NewSystemDataUsageParamsWithTimeout(timeout time.Duration) *SystemDataUsageParams

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

func (*SystemDataUsageParams) SetContext

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

SetContext adds the context to the system data usage params

func (*SystemDataUsageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the system data usage params

func (*SystemDataUsageParams) SetTimeout

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

SetTimeout adds the timeout to the system data usage params

func (*SystemDataUsageParams) WithContext

WithContext adds the context to the system data usage params

func (*SystemDataUsageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the system data usage params

func (*SystemDataUsageParams) WithTimeout

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

WithTimeout adds the timeout to the system data usage params

func (*SystemDataUsageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SystemDataUsageReader

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

SystemDataUsageReader is a Reader for the SystemDataUsage structure.

func (*SystemDataUsageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SystemEventsBadRequest

type SystemEventsBadRequest struct {
	Payload *models.ErrorResponse
}

SystemEventsBadRequest handles this case with default header values.

bad parameter

func NewSystemEventsBadRequest

func NewSystemEventsBadRequest() *SystemEventsBadRequest

NewSystemEventsBadRequest creates a SystemEventsBadRequest with default headers values

func (*SystemEventsBadRequest) Error

func (o *SystemEventsBadRequest) Error() string

type SystemEventsInternalServerError

type SystemEventsInternalServerError struct {
	Payload *models.ErrorResponse
}

SystemEventsInternalServerError handles this case with default header values.

server error

func NewSystemEventsInternalServerError

func NewSystemEventsInternalServerError() *SystemEventsInternalServerError

NewSystemEventsInternalServerError creates a SystemEventsInternalServerError with default headers values

func (*SystemEventsInternalServerError) Error

type SystemEventsOK

type SystemEventsOK struct {
	Payload *models.SystemEventsOKBody
}

SystemEventsOK handles this case with default header values.

no error

func NewSystemEventsOK

func NewSystemEventsOK() *SystemEventsOK

NewSystemEventsOK creates a SystemEventsOK with default headers values

func (*SystemEventsOK) Error

func (o *SystemEventsOK) Error() string

type SystemEventsParams

type SystemEventsParams struct {

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

	- `config=<string>` config name or ID
	- `container=<string>` container name or ID
	- `daemon=<string>` daemon name or ID
	- `event=<string>` event type
	- `image=<string>` image name or ID
	- `label=<string>` image or container label
	- `network=<string>` network name or ID
	- `node=<string>` node ID
	- `plugin`=<string> plugin name or ID
	- `scope`=<string> local or swarm
	- `secret=<string>` secret name or ID
	- `service=<string>` service name or ID
	- `type=<string>` object to filter by, one of `container`, `image`, `volume`, `network`, `daemon`, `plugin`, `node`, `service`, `secret` or `config`
	- `volume=<string>` volume name


	*/
	Filters *string
	/*Since
	  Show events created since this timestamp then stream new events.

	*/
	Since *string
	/*Until
	  Show events created until this timestamp then stop streaming.

	*/
	Until *string

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

SystemEventsParams contains all the parameters to send to the API endpoint for the system events operation typically these are written to a http.Request

func NewSystemEventsParams

func NewSystemEventsParams() *SystemEventsParams

NewSystemEventsParams creates a new SystemEventsParams object with the default values initialized.

func NewSystemEventsParamsWithContext

func NewSystemEventsParamsWithContext(ctx context.Context) *SystemEventsParams

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

func NewSystemEventsParamsWithHTTPClient

func NewSystemEventsParamsWithHTTPClient(client *http.Client) *SystemEventsParams

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

func NewSystemEventsParamsWithTimeout

func NewSystemEventsParamsWithTimeout(timeout time.Duration) *SystemEventsParams

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

func (*SystemEventsParams) SetContext

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

SetContext adds the context to the system events params

func (*SystemEventsParams) SetFilters

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

SetFilters adds the filters to the system events params

func (*SystemEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the system events params

func (*SystemEventsParams) SetSince

func (o *SystemEventsParams) SetSince(since *string)

SetSince adds the since to the system events params

func (*SystemEventsParams) SetTimeout

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

SetTimeout adds the timeout to the system events params

func (*SystemEventsParams) SetUntil

func (o *SystemEventsParams) SetUntil(until *string)

SetUntil adds the until to the system events params

func (*SystemEventsParams) WithContext

WithContext adds the context to the system events params

func (*SystemEventsParams) WithFilters

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

WithFilters adds the filters to the system events params

func (*SystemEventsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the system events params

func (*SystemEventsParams) WithSince

func (o *SystemEventsParams) WithSince(since *string) *SystemEventsParams

WithSince adds the since to the system events params

func (*SystemEventsParams) WithTimeout

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

WithTimeout adds the timeout to the system events params

func (*SystemEventsParams) WithUntil

func (o *SystemEventsParams) WithUntil(until *string) *SystemEventsParams

WithUntil adds the until to the system events params

func (*SystemEventsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SystemEventsReader

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

SystemEventsReader is a Reader for the SystemEvents structure.

func (*SystemEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SystemInfoInternalServerError

type SystemInfoInternalServerError struct {
	Payload *models.ErrorResponse
}

SystemInfoInternalServerError handles this case with default header values.

Server error

func NewSystemInfoInternalServerError

func NewSystemInfoInternalServerError() *SystemInfoInternalServerError

NewSystemInfoInternalServerError creates a SystemInfoInternalServerError with default headers values

func (*SystemInfoInternalServerError) Error

type SystemInfoOK

type SystemInfoOK struct {
	Payload *models.SystemInfo
}

SystemInfoOK handles this case with default header values.

No error

func NewSystemInfoOK

func NewSystemInfoOK() *SystemInfoOK

NewSystemInfoOK creates a SystemInfoOK with default headers values

func (*SystemInfoOK) Error

func (o *SystemInfoOK) Error() string

type SystemInfoParams

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

SystemInfoParams contains all the parameters to send to the API endpoint for the system info operation typically these are written to a http.Request

func NewSystemInfoParams

func NewSystemInfoParams() *SystemInfoParams

NewSystemInfoParams creates a new SystemInfoParams object with the default values initialized.

func NewSystemInfoParamsWithContext

func NewSystemInfoParamsWithContext(ctx context.Context) *SystemInfoParams

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

func NewSystemInfoParamsWithHTTPClient

func NewSystemInfoParamsWithHTTPClient(client *http.Client) *SystemInfoParams

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

func NewSystemInfoParamsWithTimeout

func NewSystemInfoParamsWithTimeout(timeout time.Duration) *SystemInfoParams

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

func (*SystemInfoParams) SetContext

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

SetContext adds the context to the system info params

func (*SystemInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the system info params

func (*SystemInfoParams) SetTimeout

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

SetTimeout adds the timeout to the system info params

func (*SystemInfoParams) WithContext

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

WithContext adds the context to the system info params

func (*SystemInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the system info params

func (*SystemInfoParams) WithTimeout

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

WithTimeout adds the timeout to the system info params

func (*SystemInfoParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SystemInfoReader

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

SystemInfoReader is a Reader for the SystemInfo structure.

func (*SystemInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SystemPingInternalServerError

type SystemPingInternalServerError struct {
	Payload *models.ErrorResponse
}

SystemPingInternalServerError handles this case with default header values.

server error

func NewSystemPingInternalServerError

func NewSystemPingInternalServerError() *SystemPingInternalServerError

NewSystemPingInternalServerError creates a SystemPingInternalServerError with default headers values

func (*SystemPingInternalServerError) Error

type SystemPingOK

type SystemPingOK struct {
	/*Max API Version the server supports
	 */
	APIVersion string
	/*If the server is running with experimental mode enabled
	 */
	DockerExperimental bool

	Payload string
}

SystemPingOK handles this case with default header values.

no error

func NewSystemPingOK

func NewSystemPingOK() *SystemPingOK

NewSystemPingOK creates a SystemPingOK with default headers values

func (*SystemPingOK) Error

func (o *SystemPingOK) Error() string

type SystemPingParams

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

SystemPingParams contains all the parameters to send to the API endpoint for the system ping operation typically these are written to a http.Request

func NewSystemPingParams

func NewSystemPingParams() *SystemPingParams

NewSystemPingParams creates a new SystemPingParams object with the default values initialized.

func NewSystemPingParamsWithContext

func NewSystemPingParamsWithContext(ctx context.Context) *SystemPingParams

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

func NewSystemPingParamsWithHTTPClient

func NewSystemPingParamsWithHTTPClient(client *http.Client) *SystemPingParams

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

func NewSystemPingParamsWithTimeout

func NewSystemPingParamsWithTimeout(timeout time.Duration) *SystemPingParams

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

func (*SystemPingParams) SetContext

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

SetContext adds the context to the system ping params

func (*SystemPingParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the system ping params

func (*SystemPingParams) SetTimeout

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

SetTimeout adds the timeout to the system ping params

func (*SystemPingParams) WithContext

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

WithContext adds the context to the system ping params

func (*SystemPingParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the system ping params

func (*SystemPingParams) WithTimeout

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

WithTimeout adds the timeout to the system ping params

func (*SystemPingParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SystemPingReader

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

SystemPingReader is a Reader for the SystemPing structure.

func (*SystemPingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SystemVersionInternalServerError

type SystemVersionInternalServerError struct {
	Payload *models.ErrorResponse
}

SystemVersionInternalServerError handles this case with default header values.

server error

func NewSystemVersionInternalServerError

func NewSystemVersionInternalServerError() *SystemVersionInternalServerError

NewSystemVersionInternalServerError creates a SystemVersionInternalServerError with default headers values

func (*SystemVersionInternalServerError) Error

type SystemVersionOK

type SystemVersionOK struct {
	Payload *models.SystemVersionOKBody
}

SystemVersionOK handles this case with default header values.

no error

func NewSystemVersionOK

func NewSystemVersionOK() *SystemVersionOK

NewSystemVersionOK creates a SystemVersionOK with default headers values

func (*SystemVersionOK) Error

func (o *SystemVersionOK) Error() string

type SystemVersionParams

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

SystemVersionParams contains all the parameters to send to the API endpoint for the system version operation typically these are written to a http.Request

func NewSystemVersionParams

func NewSystemVersionParams() *SystemVersionParams

NewSystemVersionParams creates a new SystemVersionParams object with the default values initialized.

func NewSystemVersionParamsWithContext

func NewSystemVersionParamsWithContext(ctx context.Context) *SystemVersionParams

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

func NewSystemVersionParamsWithHTTPClient

func NewSystemVersionParamsWithHTTPClient(client *http.Client) *SystemVersionParams

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

func NewSystemVersionParamsWithTimeout

func NewSystemVersionParamsWithTimeout(timeout time.Duration) *SystemVersionParams

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

func (*SystemVersionParams) SetContext

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

SetContext adds the context to the system version params

func (*SystemVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the system version params

func (*SystemVersionParams) SetTimeout

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

SetTimeout adds the timeout to the system version params

func (*SystemVersionParams) WithContext

WithContext adds the context to the system version params

func (*SystemVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the system version params

func (*SystemVersionParams) WithTimeout

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

WithTimeout adds the timeout to the system version params

func (*SystemVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SystemVersionReader

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

SystemVersionReader is a Reader for the SystemVersion structure.

func (*SystemVersionReader) ReadResponse

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