system

package
v0.0.0-...-8251c7d Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 13 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 (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*SystemDataUsageOK, error)

SystemDataUsage gets data usage information

func (*Client) SystemEvents

func (a *Client) SystemEvents(params *SystemEventsParams, opts ...ClientOption) (*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, opts ...ClientOption) (*SystemInfoOK, error)

SystemInfo gets system information

func (*Client) SystemPing

func (a *Client) SystemPing(params *SystemPingParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SystemAuth(params *SystemAuthParams, opts ...ClientOption) (*SystemAuthOK, *SystemAuthNoContent, error)

	SystemDataUsage(params *SystemDataUsageParams, opts ...ClientOption) (*SystemDataUsageOK, error)

	SystemEvents(params *SystemEventsParams, opts ...ClientOption) (*SystemEventsOK, error)

	SystemInfo(params *SystemInfoParams, opts ...ClientOption) (*SystemInfoOK, error)

	SystemPing(params *SystemPingParams, opts ...ClientOption) (*SystemPingOK, error)

	SystemPingHead(params *SystemPingHeadParams, opts ...ClientOption) (*SystemPingHeadOK, error)

	SystemVersion(params *SystemVersionParams, opts ...ClientOption) (*SystemVersionOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new system API client.

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) ContextValidate

func (o *ComponentVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this component version based on context it is used

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

func (*ComponentVersion) Validate

func (o *ComponentVersion) Validate(formats strfmt.Registry) error

Validate validates this component version

type SystemAuthInternalServerError

type SystemAuthInternalServerError struct {
	Payload *models.ErrorResponse
}
SystemAuthInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSystemAuthInternalServerError

func NewSystemAuthInternalServerError() *SystemAuthInternalServerError

NewSystemAuthInternalServerError creates a SystemAuthInternalServerError with default headers values

func (*SystemAuthInternalServerError) Error

func (*SystemAuthInternalServerError) GetPayload

func (*SystemAuthInternalServerError) IsClientError

func (o *SystemAuthInternalServerError) IsClientError() bool

IsClientError returns true when this system auth internal server error response has a 4xx status code

func (*SystemAuthInternalServerError) IsCode

func (o *SystemAuthInternalServerError) IsCode(code int) bool

IsCode returns true when this system auth internal server error response a status code equal to that given

func (*SystemAuthInternalServerError) IsRedirect

func (o *SystemAuthInternalServerError) IsRedirect() bool

IsRedirect returns true when this system auth internal server error response has a 3xx status code

func (*SystemAuthInternalServerError) IsServerError

func (o *SystemAuthInternalServerError) IsServerError() bool

IsServerError returns true when this system auth internal server error response has a 5xx status code

func (*SystemAuthInternalServerError) IsSuccess

func (o *SystemAuthInternalServerError) IsSuccess() bool

IsSuccess returns true when this system auth internal server error response has a 2xx status code

func (*SystemAuthInternalServerError) String

type SystemAuthNoContent

type SystemAuthNoContent struct {
}
SystemAuthNoContent describes a response with status code 204, 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

func (*SystemAuthNoContent) IsClientError

func (o *SystemAuthNoContent) IsClientError() bool

IsClientError returns true when this system auth no content response has a 4xx status code

func (*SystemAuthNoContent) IsCode

func (o *SystemAuthNoContent) IsCode(code int) bool

IsCode returns true when this system auth no content response a status code equal to that given

func (*SystemAuthNoContent) IsRedirect

func (o *SystemAuthNoContent) IsRedirect() bool

IsRedirect returns true when this system auth no content response has a 3xx status code

func (*SystemAuthNoContent) IsServerError

func (o *SystemAuthNoContent) IsServerError() bool

IsServerError returns true when this system auth no content response has a 5xx status code

func (*SystemAuthNoContent) IsSuccess

func (o *SystemAuthNoContent) IsSuccess() bool

IsSuccess returns true when this system auth no content response has a 2xx status code

func (*SystemAuthNoContent) String

func (o *SystemAuthNoContent) String() string

type SystemAuthOK

type SystemAuthOK struct {
	Payload *SystemAuthOKBody
}
SystemAuthOK describes a response with status code 200, 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

func (*SystemAuthOK) GetPayload

func (o *SystemAuthOK) GetPayload() *SystemAuthOKBody

func (*SystemAuthOK) IsClientError

func (o *SystemAuthOK) IsClientError() bool

IsClientError returns true when this system auth o k response has a 4xx status code

func (*SystemAuthOK) IsCode

func (o *SystemAuthOK) IsCode(code int) bool

IsCode returns true when this system auth o k response a status code equal to that given

func (*SystemAuthOK) IsRedirect

func (o *SystemAuthOK) IsRedirect() bool

IsRedirect returns true when this system auth o k response has a 3xx status code

func (*SystemAuthOK) IsServerError

func (o *SystemAuthOK) IsServerError() bool

IsServerError returns true when this system auth o k response has a 5xx status code

func (*SystemAuthOK) IsSuccess

func (o *SystemAuthOK) IsSuccess() bool

IsSuccess returns true when this system auth o k response has a 2xx status code

func (*SystemAuthOK) String

func (o *SystemAuthOK) String() 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) ContextValidate

func (o *SystemAuthOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this system auth o k body based on context it is used

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

func (*SystemAuthOKBody) Validate

func (o *SystemAuthOKBody) Validate(formats strfmt.Registry) error

Validate validates this system auth o k body

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSystemAuthParamsWithContext

func NewSystemAuthParamsWithContext(ctx context.Context) *SystemAuthParams

NewSystemAuthParamsWithContext creates a new SystemAuthParams object with 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 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 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) SetDefaults

func (o *SystemAuthParams) SetDefaults()

SetDefaults hydrates default values in the system auth params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SystemAuthParams) WithDefaults() *SystemAuthParams

WithDefaults hydrates default values in the system auth params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 500, with default header values.

server error

func NewSystemDataUsageInternalServerError

func NewSystemDataUsageInternalServerError() *SystemDataUsageInternalServerError

NewSystemDataUsageInternalServerError creates a SystemDataUsageInternalServerError with default headers values

func (*SystemDataUsageInternalServerError) Error

func (*SystemDataUsageInternalServerError) GetPayload

func (*SystemDataUsageInternalServerError) IsClientError

func (o *SystemDataUsageInternalServerError) IsClientError() bool

IsClientError returns true when this system data usage internal server error response has a 4xx status code

func (*SystemDataUsageInternalServerError) IsCode

IsCode returns true when this system data usage internal server error response a status code equal to that given

func (*SystemDataUsageInternalServerError) IsRedirect

func (o *SystemDataUsageInternalServerError) IsRedirect() bool

IsRedirect returns true when this system data usage internal server error response has a 3xx status code

func (*SystemDataUsageInternalServerError) IsServerError

func (o *SystemDataUsageInternalServerError) IsServerError() bool

IsServerError returns true when this system data usage internal server error response has a 5xx status code

func (*SystemDataUsageInternalServerError) IsSuccess

IsSuccess returns true when this system data usage internal server error response has a 2xx status code

func (*SystemDataUsageInternalServerError) String

type SystemDataUsageOK

type SystemDataUsageOK struct {
	Payload *SystemDataUsageOKBody
}
SystemDataUsageOK describes a response with status code 200, 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

func (*SystemDataUsageOK) GetPayload

func (o *SystemDataUsageOK) GetPayload() *SystemDataUsageOKBody

func (*SystemDataUsageOK) IsClientError

func (o *SystemDataUsageOK) IsClientError() bool

IsClientError returns true when this system data usage o k response has a 4xx status code

func (*SystemDataUsageOK) IsCode

func (o *SystemDataUsageOK) IsCode(code int) bool

IsCode returns true when this system data usage o k response a status code equal to that given

func (*SystemDataUsageOK) IsRedirect

func (o *SystemDataUsageOK) IsRedirect() bool

IsRedirect returns true when this system data usage o k response has a 3xx status code

func (*SystemDataUsageOK) IsServerError

func (o *SystemDataUsageOK) IsServerError() bool

IsServerError returns true when this system data usage o k response has a 5xx status code

func (*SystemDataUsageOK) IsSuccess

func (o *SystemDataUsageOK) IsSuccess() bool

IsSuccess returns true when this system data usage o k response has a 2xx status code

func (*SystemDataUsageOK) String

func (o *SystemDataUsageOK) String() 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 // Example: {"Containers":[{"Command":"top","Created":1472592424,"HostConfig":{"NetworkMode":"default"},"Id":"e575172ed11dc01bfce087fb27bee502db149e1a0fad7c296ad300bbff178148","Image":"busybox","ImageID":"sha256:2b8fd9751c4c0f5dd266fcae00707e67a2545ef34f9a29354585f93dac906749","Labels":{},"Mounts":[],"Names":["/top"],"NetworkSettings":{"Networks":{"bridge":{"Aliases":null,"EndpointID":"8ed5115aeaad9abb174f68dcf135b49f11daf597678315231a32ca28441dec6a","Gateway":"172.18.0.1","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAMConfig":null,"IPAddress":"172.18.0.2","IPPrefixLen":16,"IPv6Gateway":"","Links":null,"MacAddress":"02:42:ac:12:00:02","NetworkID":"d687bc59335f0e5c9ee8193e5612e8aee000c8c62ea170cfb99c098f95899d92"}}},"Ports":[],"SizeRootFs":1092588,"State":"exited","Status":"Exited (0) 56 minutes ago"}],"Images":[{"Containers":1,"Created":1466724217,"Id":"sha256:2b8fd9751c4c0f5dd266fcae00707e67a2545ef34f9a29354585f93dac906749","Labels":{},"ParentId":"","RepoDigests":["busybox@sha256:a59906e33509d14c036c8678d687bd4eec81ed7c4b8ce907b888c607f6a1e0e6"],"RepoTags":["busybox:latest"],"SharedSize":0,"Size":1092588,"VirtualSize":1092588}],"LayersSize":1092588,"Volumes":[{"Driver":"local","Labels":null,"Mountpoint":"/var/lib/docker/volumes/my-volume/_data","Name":"my-volume","Options":null,"Scope":"local","UsageData":{"RefCount":2,"Size":10920104}}]} swagger:model SystemDataUsageOKBody

func (*SystemDataUsageOKBody) ContextValidate

func (o *SystemDataUsageOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system data usage o k body based on the context it is used

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

func (*SystemDataUsageOKBody) Validate

func (o *SystemDataUsageOKBody) Validate(formats strfmt.Registry) error

Validate validates this system data usage o k body

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSystemDataUsageParamsWithContext

func NewSystemDataUsageParamsWithContext(ctx context.Context) *SystemDataUsageParams

NewSystemDataUsageParamsWithContext creates a new SystemDataUsageParams object with 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 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 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) SetDefaults

func (o *SystemDataUsageParams) SetDefaults()

SetDefaults hydrates default values in the system data usage params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SystemDataUsageParams) WithDefaults() *SystemDataUsageParams

WithDefaults hydrates default values in the system data usage params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, 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

func (*SystemEventsBadRequest) GetPayload

func (o *SystemEventsBadRequest) GetPayload() *models.ErrorResponse

func (*SystemEventsBadRequest) IsClientError

func (o *SystemEventsBadRequest) IsClientError() bool

IsClientError returns true when this system events bad request response has a 4xx status code

func (*SystemEventsBadRequest) IsCode

func (o *SystemEventsBadRequest) IsCode(code int) bool

IsCode returns true when this system events bad request response a status code equal to that given

func (*SystemEventsBadRequest) IsRedirect

func (o *SystemEventsBadRequest) IsRedirect() bool

IsRedirect returns true when this system events bad request response has a 3xx status code

func (*SystemEventsBadRequest) IsServerError

func (o *SystemEventsBadRequest) IsServerError() bool

IsServerError returns true when this system events bad request response has a 5xx status code

func (*SystemEventsBadRequest) IsSuccess

func (o *SystemEventsBadRequest) IsSuccess() bool

IsSuccess returns true when this system events bad request response has a 2xx status code

func (*SystemEventsBadRequest) String

func (o *SystemEventsBadRequest) String() string

type SystemEventsInternalServerError

type SystemEventsInternalServerError struct {
	Payload *models.ErrorResponse
}
SystemEventsInternalServerError describes a response with status code 500, with default header values.

server error

func NewSystemEventsInternalServerError

func NewSystemEventsInternalServerError() *SystemEventsInternalServerError

NewSystemEventsInternalServerError creates a SystemEventsInternalServerError with default headers values

func (*SystemEventsInternalServerError) Error

func (*SystemEventsInternalServerError) GetPayload

func (*SystemEventsInternalServerError) IsClientError

func (o *SystemEventsInternalServerError) IsClientError() bool

IsClientError returns true when this system events internal server error response has a 4xx status code

func (*SystemEventsInternalServerError) IsCode

func (o *SystemEventsInternalServerError) IsCode(code int) bool

IsCode returns true when this system events internal server error response a status code equal to that given

func (*SystemEventsInternalServerError) IsRedirect

func (o *SystemEventsInternalServerError) IsRedirect() bool

IsRedirect returns true when this system events internal server error response has a 3xx status code

func (*SystemEventsInternalServerError) IsServerError

func (o *SystemEventsInternalServerError) IsServerError() bool

IsServerError returns true when this system events internal server error response has a 5xx status code

func (*SystemEventsInternalServerError) IsSuccess

func (o *SystemEventsInternalServerError) IsSuccess() bool

IsSuccess returns true when this system events internal server error response has a 2xx status code

func (*SystemEventsInternalServerError) String

type SystemEventsOK

type SystemEventsOK struct {
	Payload *SystemEventsOKBody
}
SystemEventsOK describes a response with status code 200, 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

func (*SystemEventsOK) GetPayload

func (o *SystemEventsOK) GetPayload() *SystemEventsOKBody

func (*SystemEventsOK) IsClientError

func (o *SystemEventsOK) IsClientError() bool

IsClientError returns true when this system events o k response has a 4xx status code

func (*SystemEventsOK) IsCode

func (o *SystemEventsOK) IsCode(code int) bool

IsCode returns true when this system events o k response a status code equal to that given

func (*SystemEventsOK) IsRedirect

func (o *SystemEventsOK) IsRedirect() bool

IsRedirect returns true when this system events o k response has a 3xx status code

func (*SystemEventsOK) IsServerError

func (o *SystemEventsOK) IsServerError() bool

IsServerError returns true when this system events o k response has a 5xx status code

func (*SystemEventsOK) IsSuccess

func (o *SystemEventsOK) IsSuccess() bool

IsSuccess returns true when this system events o k response has a 2xx status code

func (*SystemEventsOK) String

func (o *SystemEventsOK) String() 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) ContextValidate

func (o *SystemEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system events o k body based on the context it is used

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

func (*SystemEventsOKBody) Validate

func (o *SystemEventsOKBody) Validate(formats strfmt.Registry) error

Validate validates this system events o k body

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) ContextValidate

func (o *SystemEventsOKBodyActor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this system events o k body actor based on context it is used

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

func (*SystemEventsOKBodyActor) Validate

func (o *SystemEventsOKBodyActor) Validate(formats strfmt.Registry) error

Validate validates this system events o k body actor

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSystemEventsParamsWithContext

func NewSystemEventsParamsWithContext(ctx context.Context) *SystemEventsParams

NewSystemEventsParamsWithContext creates a new SystemEventsParams object with 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 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 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) SetDefaults

func (o *SystemEventsParams) SetDefaults()

SetDefaults hydrates default values in the system events params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SystemEventsParams) WithDefaults() *SystemEventsParams

WithDefaults hydrates default values in the system events params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 500, with default header values.

Server error

func NewSystemInfoInternalServerError

func NewSystemInfoInternalServerError() *SystemInfoInternalServerError

NewSystemInfoInternalServerError creates a SystemInfoInternalServerError with default headers values

func (*SystemInfoInternalServerError) Error

func (*SystemInfoInternalServerError) GetPayload

func (*SystemInfoInternalServerError) IsClientError

func (o *SystemInfoInternalServerError) IsClientError() bool

IsClientError returns true when this system info internal server error response has a 4xx status code

func (*SystemInfoInternalServerError) IsCode

func (o *SystemInfoInternalServerError) IsCode(code int) bool

IsCode returns true when this system info internal server error response a status code equal to that given

func (*SystemInfoInternalServerError) IsRedirect

func (o *SystemInfoInternalServerError) IsRedirect() bool

IsRedirect returns true when this system info internal server error response has a 3xx status code

func (*SystemInfoInternalServerError) IsServerError

func (o *SystemInfoInternalServerError) IsServerError() bool

IsServerError returns true when this system info internal server error response has a 5xx status code

func (*SystemInfoInternalServerError) IsSuccess

func (o *SystemInfoInternalServerError) IsSuccess() bool

IsSuccess returns true when this system info internal server error response has a 2xx status code

func (*SystemInfoInternalServerError) String

type SystemInfoOK

type SystemInfoOK struct {
	Payload *models.SystemInfo
}
SystemInfoOK describes a response with status code 200, 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

func (*SystemInfoOK) GetPayload

func (o *SystemInfoOK) GetPayload() *models.SystemInfo

func (*SystemInfoOK) IsClientError

func (o *SystemInfoOK) IsClientError() bool

IsClientError returns true when this system info o k response has a 4xx status code

func (*SystemInfoOK) IsCode

func (o *SystemInfoOK) IsCode(code int) bool

IsCode returns true when this system info o k response a status code equal to that given

func (*SystemInfoOK) IsRedirect

func (o *SystemInfoOK) IsRedirect() bool

IsRedirect returns true when this system info o k response has a 3xx status code

func (*SystemInfoOK) IsServerError

func (o *SystemInfoOK) IsServerError() bool

IsServerError returns true when this system info o k response has a 5xx status code

func (*SystemInfoOK) IsSuccess

func (o *SystemInfoOK) IsSuccess() bool

IsSuccess returns true when this system info o k response has a 2xx status code

func (*SystemInfoOK) String

func (o *SystemInfoOK) String() 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSystemInfoParamsWithContext

func NewSystemInfoParamsWithContext(ctx context.Context) *SystemInfoParams

NewSystemInfoParamsWithContext creates a new SystemInfoParams object with 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 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 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) SetDefaults

func (o *SystemInfoParams) SetDefaults()

SetDefaults hydrates default values in the system info params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SystemInfoParams) WithDefaults() *SystemInfoParams

WithDefaults hydrates default values in the system info params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 500, with default header values.

server error

func NewSystemPingHeadInternalServerError

func NewSystemPingHeadInternalServerError() *SystemPingHeadInternalServerError

NewSystemPingHeadInternalServerError creates a SystemPingHeadInternalServerError with default headers values

func (*SystemPingHeadInternalServerError) Error

func (*SystemPingHeadInternalServerError) GetPayload

func (*SystemPingHeadInternalServerError) IsClientError

func (o *SystemPingHeadInternalServerError) IsClientError() bool

IsClientError returns true when this system ping head internal server error response has a 4xx status code

func (*SystemPingHeadInternalServerError) IsCode

func (o *SystemPingHeadInternalServerError) IsCode(code int) bool

IsCode returns true when this system ping head internal server error response a status code equal to that given

func (*SystemPingHeadInternalServerError) IsRedirect

func (o *SystemPingHeadInternalServerError) IsRedirect() bool

IsRedirect returns true when this system ping head internal server error response has a 3xx status code

func (*SystemPingHeadInternalServerError) IsServerError

func (o *SystemPingHeadInternalServerError) IsServerError() bool

IsServerError returns true when this system ping head internal server error response has a 5xx status code

func (*SystemPingHeadInternalServerError) IsSuccess

func (o *SystemPingHeadInternalServerError) IsSuccess() bool

IsSuccess returns true when this system ping head internal server error response has a 2xx status code

func (*SystemPingHeadInternalServerError) 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 describes a response with status code 200, 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

func (*SystemPingHeadOK) GetPayload

func (o *SystemPingHeadOK) GetPayload() string

func (*SystemPingHeadOK) IsClientError

func (o *SystemPingHeadOK) IsClientError() bool

IsClientError returns true when this system ping head o k response has a 4xx status code

func (*SystemPingHeadOK) IsCode

func (o *SystemPingHeadOK) IsCode(code int) bool

IsCode returns true when this system ping head o k response a status code equal to that given

func (*SystemPingHeadOK) IsRedirect

func (o *SystemPingHeadOK) IsRedirect() bool

IsRedirect returns true when this system ping head o k response has a 3xx status code

func (*SystemPingHeadOK) IsServerError

func (o *SystemPingHeadOK) IsServerError() bool

IsServerError returns true when this system ping head o k response has a 5xx status code

func (*SystemPingHeadOK) IsSuccess

func (o *SystemPingHeadOK) IsSuccess() bool

IsSuccess returns true when this system ping head o k response has a 2xx status code

func (*SystemPingHeadOK) String

func (o *SystemPingHeadOK) String() 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSystemPingHeadParamsWithContext

func NewSystemPingHeadParamsWithContext(ctx context.Context) *SystemPingHeadParams

NewSystemPingHeadParamsWithContext creates a new SystemPingHeadParams object with 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 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 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) SetDefaults

func (o *SystemPingHeadParams) SetDefaults()

SetDefaults hydrates default values in the system ping head params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the system ping head params

func (*SystemPingHeadParams) WithDefaults

func (o *SystemPingHeadParams) WithDefaults() *SystemPingHeadParams

WithDefaults hydrates default values in the system ping head params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 500, with default header values.

server error

func NewSystemPingInternalServerError

func NewSystemPingInternalServerError() *SystemPingInternalServerError

NewSystemPingInternalServerError creates a SystemPingInternalServerError with default headers values

func (*SystemPingInternalServerError) Error

func (*SystemPingInternalServerError) GetPayload

func (*SystemPingInternalServerError) IsClientError

func (o *SystemPingInternalServerError) IsClientError() bool

IsClientError returns true when this system ping internal server error response has a 4xx status code

func (*SystemPingInternalServerError) IsCode

func (o *SystemPingInternalServerError) IsCode(code int) bool

IsCode returns true when this system ping internal server error response a status code equal to that given

func (*SystemPingInternalServerError) IsRedirect

func (o *SystemPingInternalServerError) IsRedirect() bool

IsRedirect returns true when this system ping internal server error response has a 3xx status code

func (*SystemPingInternalServerError) IsServerError

func (o *SystemPingInternalServerError) IsServerError() bool

IsServerError returns true when this system ping internal server error response has a 5xx status code

func (*SystemPingInternalServerError) IsSuccess

func (o *SystemPingInternalServerError) IsSuccess() bool

IsSuccess returns true when this system ping internal server error response has a 2xx status code

func (*SystemPingInternalServerError) 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 describes a response with status code 200, 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

func (*SystemPingOK) GetPayload

func (o *SystemPingOK) GetPayload() string

func (*SystemPingOK) IsClientError

func (o *SystemPingOK) IsClientError() bool

IsClientError returns true when this system ping o k response has a 4xx status code

func (*SystemPingOK) IsCode

func (o *SystemPingOK) IsCode(code int) bool

IsCode returns true when this system ping o k response a status code equal to that given

func (*SystemPingOK) IsRedirect

func (o *SystemPingOK) IsRedirect() bool

IsRedirect returns true when this system ping o k response has a 3xx status code

func (*SystemPingOK) IsServerError

func (o *SystemPingOK) IsServerError() bool

IsServerError returns true when this system ping o k response has a 5xx status code

func (*SystemPingOK) IsSuccess

func (o *SystemPingOK) IsSuccess() bool

IsSuccess returns true when this system ping o k response has a 2xx status code

func (*SystemPingOK) String

func (o *SystemPingOK) String() 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSystemPingParamsWithContext

func NewSystemPingParamsWithContext(ctx context.Context) *SystemPingParams

NewSystemPingParamsWithContext creates a new SystemPingParams object with 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 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 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) SetDefaults

func (o *SystemPingParams) SetDefaults()

SetDefaults hydrates default values in the system ping params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SystemPingParams) WithDefaults() *SystemPingParams

WithDefaults hydrates default values in the system ping params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 500, with default header values.

server error

func NewSystemVersionInternalServerError

func NewSystemVersionInternalServerError() *SystemVersionInternalServerError

NewSystemVersionInternalServerError creates a SystemVersionInternalServerError with default headers values

func (*SystemVersionInternalServerError) Error

func (*SystemVersionInternalServerError) GetPayload

func (*SystemVersionInternalServerError) IsClientError

func (o *SystemVersionInternalServerError) IsClientError() bool

IsClientError returns true when this system version internal server error response has a 4xx status code

func (*SystemVersionInternalServerError) IsCode

func (o *SystemVersionInternalServerError) IsCode(code int) bool

IsCode returns true when this system version internal server error response a status code equal to that given

func (*SystemVersionInternalServerError) IsRedirect

func (o *SystemVersionInternalServerError) IsRedirect() bool

IsRedirect returns true when this system version internal server error response has a 3xx status code

func (*SystemVersionInternalServerError) IsServerError

func (o *SystemVersionInternalServerError) IsServerError() bool

IsServerError returns true when this system version internal server error response has a 5xx status code

func (*SystemVersionInternalServerError) IsSuccess

func (o *SystemVersionInternalServerError) IsSuccess() bool

IsSuccess returns true when this system version internal server error response has a 2xx status code

func (*SystemVersionInternalServerError) String

type SystemVersionOK

type SystemVersionOK struct {
	Payload *SystemVersionOKBody
}
SystemVersionOK describes a response with status code 200, 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

func (*SystemVersionOK) GetPayload

func (o *SystemVersionOK) GetPayload() *SystemVersionOKBody

func (*SystemVersionOK) IsClientError

func (o *SystemVersionOK) IsClientError() bool

IsClientError returns true when this system version o k response has a 4xx status code

func (*SystemVersionOK) IsCode

func (o *SystemVersionOK) IsCode(code int) bool

IsCode returns true when this system version o k response a status code equal to that given

func (*SystemVersionOK) IsRedirect

func (o *SystemVersionOK) IsRedirect() bool

IsRedirect returns true when this system version o k response has a 3xx status code

func (*SystemVersionOK) IsServerError

func (o *SystemVersionOK) IsServerError() bool

IsServerError returns true when this system version o k response has a 5xx status code

func (*SystemVersionOK) IsSuccess

func (o *SystemVersionOK) IsSuccess() bool

IsSuccess returns true when this system version o k response has a 2xx status code

func (*SystemVersionOK) String

func (o *SystemVersionOK) String() 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) ContextValidate

func (o *SystemVersionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this system version o k body based on the context it is used

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

func (*SystemVersionOKBody) Validate

func (o *SystemVersionOKBody) Validate(formats strfmt.Registry) error

Validate validates this system version o k body

type SystemVersionOKBodyPlatform

type SystemVersionOKBodyPlatform struct {

	// name
	// Required: true
	Name *string `json:"Name"`
}

SystemVersionOKBodyPlatform system version o k body platform swagger:model SystemVersionOKBodyPlatform

func (*SystemVersionOKBodyPlatform) ContextValidate

func (o *SystemVersionOKBodyPlatform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this system version o k body platform based on context it is used

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

func (*SystemVersionOKBodyPlatform) Validate

func (o *SystemVersionOKBodyPlatform) Validate(formats strfmt.Registry) error

Validate validates this system version o k body platform

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSystemVersionParamsWithContext

func NewSystemVersionParamsWithContext(ctx context.Context) *SystemVersionParams

NewSystemVersionParamsWithContext creates a new SystemVersionParams object with 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 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 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) SetDefaults

func (o *SystemVersionParams) SetDefaults()

SetDefaults hydrates default values in the system version params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SystemVersionParams) WithDefaults() *SystemVersionParams

WithDefaults hydrates default values in the system version params (not the query body).

All values with no default are reset to their zero value.

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