Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SystemAuth(params *SystemAuthParams) (*SystemAuthOK, *SystemAuthNoContent, error)
- func (a *Client) SystemDataUsage(params *SystemDataUsageParams) (*SystemDataUsageOK, error)
- func (a *Client) SystemEvents(params *SystemEventsParams) (*SystemEventsOK, error)
- func (a *Client) SystemInfo(params *SystemInfoParams) (*SystemInfoOK, error)
- func (a *Client) SystemPing(params *SystemPingParams) (*SystemPingOK, error)
- func (a *Client) SystemPingHead(params *SystemPingHeadParams) (*SystemPingHeadOK, error)
- func (a *Client) SystemVersion(params *SystemVersionParams) (*SystemVersionOK, error)
- type ComponentVersion
- type SystemAuthInternalServerError
- type SystemAuthNoContent
- type SystemAuthOK
- type SystemAuthOKBody
- type SystemAuthParams
- func (o *SystemAuthParams) SetAuthConfig(authConfig *models.AuthConfig)
- func (o *SystemAuthParams) SetContext(ctx context.Context)
- func (o *SystemAuthParams) SetHTTPClient(client *http.Client)
- func (o *SystemAuthParams) SetTimeout(timeout time.Duration)
- func (o *SystemAuthParams) WithAuthConfig(authConfig *models.AuthConfig) *SystemAuthParams
- func (o *SystemAuthParams) WithContext(ctx context.Context) *SystemAuthParams
- func (o *SystemAuthParams) WithHTTPClient(client *http.Client) *SystemAuthParams
- func (o *SystemAuthParams) WithTimeout(timeout time.Duration) *SystemAuthParams
- func (o *SystemAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemAuthReader
- type SystemDataUsageInternalServerError
- type SystemDataUsageOK
- type SystemDataUsageOKBody
- type SystemDataUsageParams
- func NewSystemDataUsageParams() *SystemDataUsageParams
- func NewSystemDataUsageParamsWithContext(ctx context.Context) *SystemDataUsageParams
- func NewSystemDataUsageParamsWithHTTPClient(client *http.Client) *SystemDataUsageParams
- func NewSystemDataUsageParamsWithTimeout(timeout time.Duration) *SystemDataUsageParams
- func (o *SystemDataUsageParams) SetContext(ctx context.Context)
- func (o *SystemDataUsageParams) SetHTTPClient(client *http.Client)
- func (o *SystemDataUsageParams) SetTimeout(timeout time.Duration)
- func (o *SystemDataUsageParams) WithContext(ctx context.Context) *SystemDataUsageParams
- func (o *SystemDataUsageParams) WithHTTPClient(client *http.Client) *SystemDataUsageParams
- func (o *SystemDataUsageParams) WithTimeout(timeout time.Duration) *SystemDataUsageParams
- func (o *SystemDataUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemDataUsageReader
- type SystemEventsBadRequest
- type SystemEventsInternalServerError
- type SystemEventsOK
- type SystemEventsOKBody
- type SystemEventsOKBodyActor
- type SystemEventsParams
- func (o *SystemEventsParams) SetContext(ctx context.Context)
- func (o *SystemEventsParams) SetFilters(filters *string)
- func (o *SystemEventsParams) SetHTTPClient(client *http.Client)
- func (o *SystemEventsParams) SetSince(since *string)
- func (o *SystemEventsParams) SetTimeout(timeout time.Duration)
- func (o *SystemEventsParams) SetUntil(until *string)
- func (o *SystemEventsParams) WithContext(ctx context.Context) *SystemEventsParams
- func (o *SystemEventsParams) WithFilters(filters *string) *SystemEventsParams
- func (o *SystemEventsParams) WithHTTPClient(client *http.Client) *SystemEventsParams
- func (o *SystemEventsParams) WithSince(since *string) *SystemEventsParams
- func (o *SystemEventsParams) WithTimeout(timeout time.Duration) *SystemEventsParams
- func (o *SystemEventsParams) WithUntil(until *string) *SystemEventsParams
- func (o *SystemEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemEventsReader
- type SystemInfoInternalServerError
- type SystemInfoOK
- type SystemInfoParams
- func (o *SystemInfoParams) SetContext(ctx context.Context)
- func (o *SystemInfoParams) SetHTTPClient(client *http.Client)
- func (o *SystemInfoParams) SetTimeout(timeout time.Duration)
- func (o *SystemInfoParams) WithContext(ctx context.Context) *SystemInfoParams
- func (o *SystemInfoParams) WithHTTPClient(client *http.Client) *SystemInfoParams
- func (o *SystemInfoParams) WithTimeout(timeout time.Duration) *SystemInfoParams
- func (o *SystemInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemInfoReader
- type SystemPingHeadInternalServerError
- type SystemPingHeadOK
- type SystemPingHeadParams
- func NewSystemPingHeadParams() *SystemPingHeadParams
- func NewSystemPingHeadParamsWithContext(ctx context.Context) *SystemPingHeadParams
- func NewSystemPingHeadParamsWithHTTPClient(client *http.Client) *SystemPingHeadParams
- func NewSystemPingHeadParamsWithTimeout(timeout time.Duration) *SystemPingHeadParams
- func (o *SystemPingHeadParams) SetContext(ctx context.Context)
- func (o *SystemPingHeadParams) SetHTTPClient(client *http.Client)
- func (o *SystemPingHeadParams) SetTimeout(timeout time.Duration)
- func (o *SystemPingHeadParams) WithContext(ctx context.Context) *SystemPingHeadParams
- func (o *SystemPingHeadParams) WithHTTPClient(client *http.Client) *SystemPingHeadParams
- func (o *SystemPingHeadParams) WithTimeout(timeout time.Duration) *SystemPingHeadParams
- func (o *SystemPingHeadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemPingHeadReader
- type SystemPingInternalServerError
- type SystemPingOK
- type SystemPingParams
- func (o *SystemPingParams) SetContext(ctx context.Context)
- func (o *SystemPingParams) SetHTTPClient(client *http.Client)
- func (o *SystemPingParams) SetTimeout(timeout time.Duration)
- func (o *SystemPingParams) WithContext(ctx context.Context) *SystemPingParams
- func (o *SystemPingParams) WithHTTPClient(client *http.Client) *SystemPingParams
- func (o *SystemPingParams) WithTimeout(timeout time.Duration) *SystemPingParams
- func (o *SystemPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemPingReader
- type SystemVersionInternalServerError
- type SystemVersionOK
- type SystemVersionOKBody
- type SystemVersionOKBodyPlatform
- type SystemVersionParams
- func (o *SystemVersionParams) SetContext(ctx context.Context)
- func (o *SystemVersionParams) SetHTTPClient(client *http.Client)
- func (o *SystemVersionParams) SetTimeout(timeout time.Duration)
- func (o *SystemVersionParams) WithContext(ctx context.Context) *SystemVersionParams
- func (o *SystemVersionParams) WithHTTPClient(client *http.Client) *SystemVersionParams
- func (o *SystemVersionParams) WithTimeout(timeout time.Duration) *SystemVersionParams
- func (o *SystemVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SystemVersionReader
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) SystemPingHead ¶
func (a *Client) SystemPingHead(params *SystemPingHeadParams) (*SystemPingHeadOK, error)
SystemPingHead 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 ComponentVersion ¶
type ComponentVersion struct {
// details
Details interface{} `json:"Details,omitempty"`
// name
// Required: true
Name *string `json:"Name"`
// version
// Required: true
Version string `json:"Version"`
}
ComponentVersion component version swagger:model ComponentVersion
func (*ComponentVersion) MarshalBinary ¶
func (o *ComponentVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ComponentVersion) UnmarshalBinary ¶
func (o *ComponentVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *SystemAuthInternalServerError) Error() string
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 *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 SystemAuthOKBody ¶
type SystemAuthOKBody struct {
// An opaque token used to authenticate a user after a successful login
IdentityToken string `json:"IdentityToken,omitempty"`
// The status of the authentication
// Required: true
Status string `json:"Status"`
}
SystemAuthOKBody SystemAuthResponse swagger:model SystemAuthOKBody
func (*SystemAuthOKBody) MarshalBinary ¶
func (o *SystemAuthOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemAuthOKBody) UnmarshalBinary ¶
func (o *SystemAuthOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *SystemDataUsageInternalServerError) Error() string
type SystemDataUsageOK ¶
type SystemDataUsageOK struct {
Payload *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 SystemDataUsageOKBody ¶
type SystemDataUsageOKBody struct {
// build cache
BuildCache []*models.BuildCache `json:"BuildCache"`
// containers
Containers []models.ContainerSummary `json:"Containers"`
// images
Images []*models.ImageSummary `json:"Images"`
// layers size
LayersSize int64 `json:"LayersSize,omitempty"`
// volumes
Volumes []*models.Volume `json:"Volumes"`
}
SystemDataUsageOKBody SystemDataUsageResponse swagger:model SystemDataUsageOKBody
func (*SystemDataUsageOKBody) MarshalBinary ¶
func (o *SystemDataUsageOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemDataUsageOKBody) UnmarshalBinary ¶
func (o *SystemDataUsageOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *SystemDataUsageParams) WithContext(ctx context.Context) *SystemDataUsageParams
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 ¶
func (o *SystemEventsInternalServerError) Error() string
type SystemEventsOK ¶
type SystemEventsOK struct {
Payload *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 SystemEventsOKBody ¶
type SystemEventsOKBody struct {
// The type of event
Action string `json:"Action,omitempty"`
// actor
Actor *SystemEventsOKBodyActor `json:"Actor,omitempty"`
// The type of object emitting the event
Type string `json:"Type,omitempty"`
// Timestamp of event
Time int64 `json:"time,omitempty"`
// Timestamp of event, with nanosecond accuracy
TimeNano int64 `json:"timeNano,omitempty"`
}
SystemEventsOKBody SystemEventsResponse swagger:model SystemEventsOKBody
func (*SystemEventsOKBody) MarshalBinary ¶
func (o *SystemEventsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemEventsOKBody) UnmarshalBinary ¶
func (o *SystemEventsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemEventsOKBodyActor ¶
type SystemEventsOKBodyActor struct {
// Various key/value attributes of the object, depending on its type
Attributes map[string]string `json:"Attributes,omitempty"`
// The ID of the object emitting the event
ID string `json:"ID,omitempty"`
}
SystemEventsOKBodyActor system events o k body actor swagger:model SystemEventsOKBodyActor
func (*SystemEventsOKBodyActor) MarshalBinary ¶
func (o *SystemEventsOKBodyActor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemEventsOKBodyActor) UnmarshalBinary ¶
func (o *SystemEventsOKBodyActor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *SystemEventsParams) WithContext(ctx context.Context) *SystemEventsParams
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 ¶
func (o *SystemInfoInternalServerError) Error() string
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 SystemPingHeadInternalServerError ¶
type SystemPingHeadInternalServerError struct {
Payload *models.ErrorResponse
}
SystemPingHeadInternalServerError handles this case with default header values.
server error
func NewSystemPingHeadInternalServerError ¶
func NewSystemPingHeadInternalServerError() *SystemPingHeadInternalServerError
NewSystemPingHeadInternalServerError creates a SystemPingHeadInternalServerError with default headers values
func (*SystemPingHeadInternalServerError) Error ¶
func (o *SystemPingHeadInternalServerError) Error() string
type SystemPingHeadOK ¶
type SystemPingHeadOK struct {
/*Max API Version the server supports
*/
APIVersion string
/*Default version of docker image builder
*/
BuildKitVersion string
CacheControl string
/*If the server is running with experimental mode enabled
*/
DockerExperimental bool
Pragma string
Payload string
}
SystemPingHeadOK handles this case with default header values.
no error
func NewSystemPingHeadOK ¶
func NewSystemPingHeadOK() *SystemPingHeadOK
NewSystemPingHeadOK creates a SystemPingHeadOK with default headers values
func (*SystemPingHeadOK) Error ¶
func (o *SystemPingHeadOK) Error() string
type SystemPingHeadParams ¶
type SystemPingHeadParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SystemPingHeadParams contains all the parameters to send to the API endpoint for the system ping head operation typically these are written to a http.Request
func NewSystemPingHeadParams ¶
func NewSystemPingHeadParams() *SystemPingHeadParams
NewSystemPingHeadParams creates a new SystemPingHeadParams object with the default values initialized.
func NewSystemPingHeadParamsWithContext ¶
func NewSystemPingHeadParamsWithContext(ctx context.Context) *SystemPingHeadParams
NewSystemPingHeadParamsWithContext creates a new SystemPingHeadParams object with the default values initialized, and the ability to set a context for a request
func NewSystemPingHeadParamsWithHTTPClient ¶
func NewSystemPingHeadParamsWithHTTPClient(client *http.Client) *SystemPingHeadParams
NewSystemPingHeadParamsWithHTTPClient creates a new SystemPingHeadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSystemPingHeadParamsWithTimeout ¶
func NewSystemPingHeadParamsWithTimeout(timeout time.Duration) *SystemPingHeadParams
NewSystemPingHeadParamsWithTimeout creates a new SystemPingHeadParams object with the default values initialized, and the ability to set a timeout on a request
func (*SystemPingHeadParams) SetContext ¶
func (o *SystemPingHeadParams) SetContext(ctx context.Context)
SetContext adds the context to the system ping head params
func (*SystemPingHeadParams) SetHTTPClient ¶
func (o *SystemPingHeadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the system ping head params
func (*SystemPingHeadParams) SetTimeout ¶
func (o *SystemPingHeadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the system ping head params
func (*SystemPingHeadParams) WithContext ¶
func (o *SystemPingHeadParams) WithContext(ctx context.Context) *SystemPingHeadParams
WithContext adds the context to the system ping head params
func (*SystemPingHeadParams) WithHTTPClient ¶
func (o *SystemPingHeadParams) WithHTTPClient(client *http.Client) *SystemPingHeadParams
WithHTTPClient adds the HTTPClient to the system ping head params
func (*SystemPingHeadParams) WithTimeout ¶
func (o *SystemPingHeadParams) WithTimeout(timeout time.Duration) *SystemPingHeadParams
WithTimeout adds the timeout to the system ping head params
func (*SystemPingHeadParams) WriteToRequest ¶
func (o *SystemPingHeadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SystemPingHeadReader ¶
type SystemPingHeadReader struct {
// contains filtered or unexported fields
}
SystemPingHeadReader is a Reader for the SystemPingHead structure.
func (*SystemPingHeadReader) ReadResponse ¶
func (o *SystemPingHeadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SystemPingInternalServerError ¶
type SystemPingInternalServerError struct {
CacheControl string
Pragma string
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 ¶
func (o *SystemPingInternalServerError) Error() string
type SystemPingOK ¶
type SystemPingOK struct {
/*Max API Version the server supports
*/
APIVersion string
/*Default version of docker image builder
*/
BuildKitVersion string
CacheControl string
/*If the server is running with experimental mode enabled
*/
DockerExperimental bool
Pragma string
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 ¶
func (o *SystemVersionInternalServerError) Error() string
type SystemVersionOK ¶
type SystemVersionOK struct {
Payload *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 SystemVersionOKBody ¶
type SystemVersionOKBody struct {
// Api version
APIVersion string `json:"ApiVersion,omitempty"`
// arch
Arch string `json:"Arch,omitempty"`
// build time
BuildTime string `json:"BuildTime,omitempty"`
// components
Components []*ComponentVersion `json:"Components"`
// experimental
Experimental bool `json:"Experimental,omitempty"`
// git commit
GitCommit string `json:"GitCommit,omitempty"`
// go version
GoVersion string `json:"GoVersion,omitempty"`
// kernel version
KernelVersion string `json:"KernelVersion,omitempty"`
// min API version
MinAPIVersion string `json:"MinAPIVersion,omitempty"`
// os
Os string `json:"Os,omitempty"`
// platform
Platform *SystemVersionOKBodyPlatform `json:"Platform,omitempty"`
// version
Version string `json:"Version,omitempty"`
}
SystemVersionOKBody SystemVersionResponse swagger:model SystemVersionOKBody
func (*SystemVersionOKBody) MarshalBinary ¶
func (o *SystemVersionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemVersionOKBody) UnmarshalBinary ¶
func (o *SystemVersionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemVersionOKBodyPlatform ¶
type SystemVersionOKBodyPlatform struct {
// name
// Required: true
Name *string `json:"Name"`
}
SystemVersionOKBodyPlatform system version o k body platform swagger:model SystemVersionOKBodyPlatform
func (*SystemVersionOKBodyPlatform) MarshalBinary ¶
func (o *SystemVersionOKBodyPlatform) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemVersionOKBodyPlatform) UnmarshalBinary ¶
func (o *SystemVersionOKBodyPlatform) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *SystemVersionParams) WithContext(ctx context.Context) *SystemVersionParams
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.
Source Files
¶
- system_auth_parameters.go
- system_auth_responses.go
- system_client.go
- system_data_usage_parameters.go
- system_data_usage_responses.go
- system_events_parameters.go
- system_events_responses.go
- system_info_parameters.go
- system_info_responses.go
- system_ping_head_parameters.go
- system_ping_head_responses.go
- system_ping_parameters.go
- system_ping_responses.go
- system_version_parameters.go
- system_version_responses.go