docker

package
v0.9.0-dev Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyTKGConfigForDockerBadRequest

type ApplyTKGConfigForDockerBadRequest struct {
	Payload *models.Error
}

ApplyTKGConfigForDockerBadRequest handles this case with default header values.

Bad request

func NewApplyTKGConfigForDockerBadRequest

func NewApplyTKGConfigForDockerBadRequest() *ApplyTKGConfigForDockerBadRequest

NewApplyTKGConfigForDockerBadRequest creates a ApplyTKGConfigForDockerBadRequest with default headers values

func (*ApplyTKGConfigForDockerBadRequest) Error

func (*ApplyTKGConfigForDockerBadRequest) GetPayload

type ApplyTKGConfigForDockerInternalServerError

type ApplyTKGConfigForDockerInternalServerError struct {
	Payload *models.Error
}

ApplyTKGConfigForDockerInternalServerError handles this case with default header values.

Internal server error

func NewApplyTKGConfigForDockerInternalServerError

func NewApplyTKGConfigForDockerInternalServerError() *ApplyTKGConfigForDockerInternalServerError

NewApplyTKGConfigForDockerInternalServerError creates a ApplyTKGConfigForDockerInternalServerError with default headers values

func (*ApplyTKGConfigForDockerInternalServerError) Error

func (*ApplyTKGConfigForDockerInternalServerError) GetPayload

type ApplyTKGConfigForDockerOK

type ApplyTKGConfigForDockerOK struct {
	Payload *models.ConfigFileInfo
}

ApplyTKGConfigForDockerOK handles this case with default header values.

Apply change to TKG configuration successfully

func NewApplyTKGConfigForDockerOK

func NewApplyTKGConfigForDockerOK() *ApplyTKGConfigForDockerOK

NewApplyTKGConfigForDockerOK creates a ApplyTKGConfigForDockerOK with default headers values

func (*ApplyTKGConfigForDockerOK) Error

func (o *ApplyTKGConfigForDockerOK) Error() string

func (*ApplyTKGConfigForDockerOK) GetPayload

type ApplyTKGConfigForDockerParams

type ApplyTKGConfigForDockerParams struct {

	/*Params
	  parameters to apply changes to TKG configuration file for Docker

	*/
	Params *models.DockerRegionalClusterParams

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

ApplyTKGConfigForDockerParams contains all the parameters to send to the API endpoint for the apply t k g config for docker operation typically these are written to a http.Request

func NewApplyTKGConfigForDockerParams

func NewApplyTKGConfigForDockerParams() *ApplyTKGConfigForDockerParams

NewApplyTKGConfigForDockerParams creates a new ApplyTKGConfigForDockerParams object with the default values initialized.

func NewApplyTKGConfigForDockerParamsWithContext

func NewApplyTKGConfigForDockerParamsWithContext(ctx context.Context) *ApplyTKGConfigForDockerParams

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

func NewApplyTKGConfigForDockerParamsWithHTTPClient

func NewApplyTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *ApplyTKGConfigForDockerParams

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

func NewApplyTKGConfigForDockerParamsWithTimeout

func NewApplyTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *ApplyTKGConfigForDockerParams

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

func (*ApplyTKGConfigForDockerParams) SetContext

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

SetContext adds the context to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) SetParams

SetParams adds the params to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) SetTimeout

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

SetTimeout adds the timeout to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) WithContext

WithContext adds the context to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) WithParams

WithParams adds the params to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) WithTimeout

WithTimeout adds the timeout to the apply t k g config for docker params

func (*ApplyTKGConfigForDockerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ApplyTKGConfigForDockerReader

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

ApplyTKGConfigForDockerReader is a Reader for the ApplyTKGConfigForDocker structure.

func (*ApplyTKGConfigForDockerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckIfDockerDaemonAvailableBadRequest

type CheckIfDockerDaemonAvailableBadRequest struct {
	Payload *models.Error
}

CheckIfDockerDaemonAvailableBadRequest handles this case with default header values.

Bad request

func NewCheckIfDockerDaemonAvailableBadRequest

func NewCheckIfDockerDaemonAvailableBadRequest() *CheckIfDockerDaemonAvailableBadRequest

NewCheckIfDockerDaemonAvailableBadRequest creates a CheckIfDockerDaemonAvailableBadRequest with default headers values

func (*CheckIfDockerDaemonAvailableBadRequest) Error

func (*CheckIfDockerDaemonAvailableBadRequest) GetPayload

type CheckIfDockerDaemonAvailableInternalServerError

type CheckIfDockerDaemonAvailableInternalServerError struct {
	Payload *models.Error
}

CheckIfDockerDaemonAvailableInternalServerError handles this case with default header values.

Internal server error

func NewCheckIfDockerDaemonAvailableInternalServerError

func NewCheckIfDockerDaemonAvailableInternalServerError() *CheckIfDockerDaemonAvailableInternalServerError

NewCheckIfDockerDaemonAvailableInternalServerError creates a CheckIfDockerDaemonAvailableInternalServerError with default headers values

func (*CheckIfDockerDaemonAvailableInternalServerError) Error

func (*CheckIfDockerDaemonAvailableInternalServerError) GetPayload

type CheckIfDockerDaemonAvailableOK

type CheckIfDockerDaemonAvailableOK struct {
	Payload *models.DockerDaemonStatus
}

CheckIfDockerDaemonAvailableOK handles this case with default header values.

Checked the docker daemon status successfully.

func NewCheckIfDockerDaemonAvailableOK

func NewCheckIfDockerDaemonAvailableOK() *CheckIfDockerDaemonAvailableOK

NewCheckIfDockerDaemonAvailableOK creates a CheckIfDockerDaemonAvailableOK with default headers values

func (*CheckIfDockerDaemonAvailableOK) Error

func (*CheckIfDockerDaemonAvailableOK) GetPayload

type CheckIfDockerDaemonAvailableParams

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

CheckIfDockerDaemonAvailableParams contains all the parameters to send to the API endpoint for the check if docker daemon available operation typically these are written to a http.Request

func NewCheckIfDockerDaemonAvailableParams

func NewCheckIfDockerDaemonAvailableParams() *CheckIfDockerDaemonAvailableParams

NewCheckIfDockerDaemonAvailableParams creates a new CheckIfDockerDaemonAvailableParams object with the default values initialized.

func NewCheckIfDockerDaemonAvailableParamsWithContext

func NewCheckIfDockerDaemonAvailableParamsWithContext(ctx context.Context) *CheckIfDockerDaemonAvailableParams

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

func NewCheckIfDockerDaemonAvailableParamsWithHTTPClient

func NewCheckIfDockerDaemonAvailableParamsWithHTTPClient(client *http.Client) *CheckIfDockerDaemonAvailableParams

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

func NewCheckIfDockerDaemonAvailableParamsWithTimeout

func NewCheckIfDockerDaemonAvailableParamsWithTimeout(timeout time.Duration) *CheckIfDockerDaemonAvailableParams

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

func (*CheckIfDockerDaemonAvailableParams) SetContext

SetContext adds the context to the check if docker daemon available params

func (*CheckIfDockerDaemonAvailableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check if docker daemon available params

func (*CheckIfDockerDaemonAvailableParams) SetTimeout

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

SetTimeout adds the timeout to the check if docker daemon available params

func (*CheckIfDockerDaemonAvailableParams) WithContext

WithContext adds the context to the check if docker daemon available params

func (*CheckIfDockerDaemonAvailableParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check if docker daemon available params

func (*CheckIfDockerDaemonAvailableParams) WithTimeout

WithTimeout adds the timeout to the check if docker daemon available params

func (*CheckIfDockerDaemonAvailableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckIfDockerDaemonAvailableReader

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

CheckIfDockerDaemonAvailableReader is a Reader for the CheckIfDockerDaemonAvailable structure.

func (*CheckIfDockerDaemonAvailableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for docker API

func New

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

New creates a new docker API client.

func (*Client) ApplyTKGConfigForDocker

func (a *Client) ApplyTKGConfigForDocker(params *ApplyTKGConfigForDockerParams) (*ApplyTKGConfigForDockerOK, error)

ApplyTKGConfigForDocker applies the changes to t k g configuration file for docker

func (*Client) CheckIfDockerDaemonAvailable

func (a *Client) CheckIfDockerDaemonAvailable(params *CheckIfDockerDaemonAvailableParams) (*CheckIfDockerDaemonAvailableOK, error)

CheckIfDockerDaemonAvailable checks if docker deamon is available

func (*Client) CreateDockerRegionalCluster

func (a *Client) CreateDockerRegionalCluster(params *CreateDockerRegionalClusterParams) (*CreateDockerRegionalClusterOK, error)

CreateDockerRegionalCluster creates docker regional cluster

func (*Client) GenerateTKGConfigForDocker

func (a *Client) GenerateTKGConfigForDocker(params *GenerateTKGConfigForDockerParams) (*GenerateTKGConfigForDockerOK, error)

GenerateTKGConfigForDocker generates t k g configuration file for docker

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateDockerRegionalClusterBadRequest

type CreateDockerRegionalClusterBadRequest struct {
	Payload *models.Error
}

CreateDockerRegionalClusterBadRequest handles this case with default header values.

Bad request

func NewCreateDockerRegionalClusterBadRequest

func NewCreateDockerRegionalClusterBadRequest() *CreateDockerRegionalClusterBadRequest

NewCreateDockerRegionalClusterBadRequest creates a CreateDockerRegionalClusterBadRequest with default headers values

func (*CreateDockerRegionalClusterBadRequest) Error

func (*CreateDockerRegionalClusterBadRequest) GetPayload

type CreateDockerRegionalClusterInternalServerError

type CreateDockerRegionalClusterInternalServerError struct {
	Payload *models.Error
}

CreateDockerRegionalClusterInternalServerError handles this case with default header values.

Internal server error

func NewCreateDockerRegionalClusterInternalServerError

func NewCreateDockerRegionalClusterInternalServerError() *CreateDockerRegionalClusterInternalServerError

NewCreateDockerRegionalClusterInternalServerError creates a CreateDockerRegionalClusterInternalServerError with default headers values

func (*CreateDockerRegionalClusterInternalServerError) Error

func (*CreateDockerRegionalClusterInternalServerError) GetPayload

type CreateDockerRegionalClusterOK

type CreateDockerRegionalClusterOK struct {
	Payload string
}

CreateDockerRegionalClusterOK handles this case with default header values.

Creating regional cluster started successfully

func NewCreateDockerRegionalClusterOK

func NewCreateDockerRegionalClusterOK() *CreateDockerRegionalClusterOK

NewCreateDockerRegionalClusterOK creates a CreateDockerRegionalClusterOK with default headers values

func (*CreateDockerRegionalClusterOK) Error

func (*CreateDockerRegionalClusterOK) GetPayload

func (o *CreateDockerRegionalClusterOK) GetPayload() string

type CreateDockerRegionalClusterParams

type CreateDockerRegionalClusterParams struct {

	/*Params
	  parameters to create a regional cluster

	*/
	Params *models.DockerRegionalClusterParams

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

CreateDockerRegionalClusterParams contains all the parameters to send to the API endpoint for the create docker regional cluster operation typically these are written to a http.Request

func NewCreateDockerRegionalClusterParams

func NewCreateDockerRegionalClusterParams() *CreateDockerRegionalClusterParams

NewCreateDockerRegionalClusterParams creates a new CreateDockerRegionalClusterParams object with the default values initialized.

func NewCreateDockerRegionalClusterParamsWithContext

func NewCreateDockerRegionalClusterParamsWithContext(ctx context.Context) *CreateDockerRegionalClusterParams

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

func NewCreateDockerRegionalClusterParamsWithHTTPClient

func NewCreateDockerRegionalClusterParamsWithHTTPClient(client *http.Client) *CreateDockerRegionalClusterParams

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

func NewCreateDockerRegionalClusterParamsWithTimeout

func NewCreateDockerRegionalClusterParamsWithTimeout(timeout time.Duration) *CreateDockerRegionalClusterParams

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

func (*CreateDockerRegionalClusterParams) SetContext

SetContext adds the context to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) SetParams

SetParams adds the params to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) SetTimeout

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

SetTimeout adds the timeout to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) WithContext

WithContext adds the context to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) WithParams

WithParams adds the params to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) WithTimeout

WithTimeout adds the timeout to the create docker regional cluster params

func (*CreateDockerRegionalClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDockerRegionalClusterReader

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

CreateDockerRegionalClusterReader is a Reader for the CreateDockerRegionalCluster structure.

func (*CreateDockerRegionalClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GenerateTKGConfigForDockerBadRequest

type GenerateTKGConfigForDockerBadRequest struct {
	Payload *models.Error
}

GenerateTKGConfigForDockerBadRequest handles this case with default header values.

Bad request

func NewGenerateTKGConfigForDockerBadRequest

func NewGenerateTKGConfigForDockerBadRequest() *GenerateTKGConfigForDockerBadRequest

NewGenerateTKGConfigForDockerBadRequest creates a GenerateTKGConfigForDockerBadRequest with default headers values

func (*GenerateTKGConfigForDockerBadRequest) Error

func (*GenerateTKGConfigForDockerBadRequest) GetPayload

type GenerateTKGConfigForDockerInternalServerError

type GenerateTKGConfigForDockerInternalServerError struct {
	Payload *models.Error
}

GenerateTKGConfigForDockerInternalServerError handles this case with default header values.

Internal server error

func NewGenerateTKGConfigForDockerInternalServerError

func NewGenerateTKGConfigForDockerInternalServerError() *GenerateTKGConfigForDockerInternalServerError

NewGenerateTKGConfigForDockerInternalServerError creates a GenerateTKGConfigForDockerInternalServerError with default headers values

func (*GenerateTKGConfigForDockerInternalServerError) Error

func (*GenerateTKGConfigForDockerInternalServerError) GetPayload

type GenerateTKGConfigForDockerOK

type GenerateTKGConfigForDockerOK struct {
	Payload string
}

GenerateTKGConfigForDockerOK handles this case with default header values.

Generated TKG configuration successfully

func NewGenerateTKGConfigForDockerOK

func NewGenerateTKGConfigForDockerOK() *GenerateTKGConfigForDockerOK

NewGenerateTKGConfigForDockerOK creates a GenerateTKGConfigForDockerOK with default headers values

func (*GenerateTKGConfigForDockerOK) Error

func (*GenerateTKGConfigForDockerOK) GetPayload

func (o *GenerateTKGConfigForDockerOK) GetPayload() string

type GenerateTKGConfigForDockerParams

type GenerateTKGConfigForDockerParams struct {

	/*Params
	  parameters to generate TKG configuration file for Docker

	*/
	Params *models.DockerRegionalClusterParams

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

GenerateTKGConfigForDockerParams contains all the parameters to send to the API endpoint for the generate t k g config for docker operation typically these are written to a http.Request

func NewGenerateTKGConfigForDockerParams

func NewGenerateTKGConfigForDockerParams() *GenerateTKGConfigForDockerParams

NewGenerateTKGConfigForDockerParams creates a new GenerateTKGConfigForDockerParams object with the default values initialized.

func NewGenerateTKGConfigForDockerParamsWithContext

func NewGenerateTKGConfigForDockerParamsWithContext(ctx context.Context) *GenerateTKGConfigForDockerParams

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

func NewGenerateTKGConfigForDockerParamsWithHTTPClient

func NewGenerateTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *GenerateTKGConfigForDockerParams

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

func NewGenerateTKGConfigForDockerParamsWithTimeout

func NewGenerateTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *GenerateTKGConfigForDockerParams

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

func (*GenerateTKGConfigForDockerParams) SetContext

SetContext adds the context to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) SetParams

SetParams adds the params to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) SetTimeout

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

SetTimeout adds the timeout to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) WithContext

WithContext adds the context to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) WithParams

WithParams adds the params to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) WithTimeout

WithTimeout adds the timeout to the generate t k g config for docker params

func (*GenerateTKGConfigForDockerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateTKGConfigForDockerReader

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

GenerateTKGConfigForDockerReader is a Reader for the GenerateTKGConfigForDocker structure.

func (*GenerateTKGConfigForDockerReader) ReadResponse

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