docker

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 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) ExportTKGConfigForDocker

func (a *Client) ExportTKGConfigForDocker(params *ExportTKGConfigForDockerParams) (*ExportTKGConfigForDockerOK, error)

ExportTKGConfigForDocker generates t k g configuration file for docker

func (*Client) ImportTKGConfigForDocker

func (a *Client) ImportTKGConfigForDocker(params *ImportTKGConfigForDockerParams) (*ImportTKGConfigForDockerOK, error)

ImportTKGConfigForDocker generates t k g configuration object 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 ExportTKGConfigForDockerBadRequest

type ExportTKGConfigForDockerBadRequest struct {
	Payload *models.Error
}

ExportTKGConfigForDockerBadRequest handles this case with default header values.

Bad request

func NewExportTKGConfigForDockerBadRequest

func NewExportTKGConfigForDockerBadRequest() *ExportTKGConfigForDockerBadRequest

NewExportTKGConfigForDockerBadRequest creates a ExportTKGConfigForDockerBadRequest with default headers values

func (*ExportTKGConfigForDockerBadRequest) Error

func (*ExportTKGConfigForDockerBadRequest) GetPayload

type ExportTKGConfigForDockerInternalServerError

type ExportTKGConfigForDockerInternalServerError struct {
	Payload *models.Error
}

ExportTKGConfigForDockerInternalServerError handles this case with default header values.

Internal server error

func NewExportTKGConfigForDockerInternalServerError

func NewExportTKGConfigForDockerInternalServerError() *ExportTKGConfigForDockerInternalServerError

NewExportTKGConfigForDockerInternalServerError creates a ExportTKGConfigForDockerInternalServerError with default headers values

func (*ExportTKGConfigForDockerInternalServerError) Error

func (*ExportTKGConfigForDockerInternalServerError) GetPayload

type ExportTKGConfigForDockerOK

type ExportTKGConfigForDockerOK struct {
	Payload string
}

ExportTKGConfigForDockerOK handles this case with default header values.

Generated TKG configuration successfully

func NewExportTKGConfigForDockerOK

func NewExportTKGConfigForDockerOK() *ExportTKGConfigForDockerOK

NewExportTKGConfigForDockerOK creates a ExportTKGConfigForDockerOK with default headers values

func (*ExportTKGConfigForDockerOK) Error

func (*ExportTKGConfigForDockerOK) GetPayload

func (o *ExportTKGConfigForDockerOK) GetPayload() string

type ExportTKGConfigForDockerParams

type ExportTKGConfigForDockerParams struct {

	/*Params
	  parameters to generate TKG configuration file for Docker

	*/
	Params *models.DockerRegionalClusterParams

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

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

func NewExportTKGConfigForDockerParams

func NewExportTKGConfigForDockerParams() *ExportTKGConfigForDockerParams

NewExportTKGConfigForDockerParams creates a new ExportTKGConfigForDockerParams object with the default values initialized.

func NewExportTKGConfigForDockerParamsWithContext

func NewExportTKGConfigForDockerParamsWithContext(ctx context.Context) *ExportTKGConfigForDockerParams

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

func NewExportTKGConfigForDockerParamsWithHTTPClient

func NewExportTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *ExportTKGConfigForDockerParams

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

func NewExportTKGConfigForDockerParamsWithTimeout

func NewExportTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *ExportTKGConfigForDockerParams

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

func (*ExportTKGConfigForDockerParams) SetContext

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

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

func (*ExportTKGConfigForDockerParams) SetHTTPClient

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

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

func (*ExportTKGConfigForDockerParams) SetParams

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

func (*ExportTKGConfigForDockerParams) SetTimeout

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

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

func (*ExportTKGConfigForDockerParams) WithContext

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

func (*ExportTKGConfigForDockerParams) WithHTTPClient

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

func (*ExportTKGConfigForDockerParams) WithParams

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

func (*ExportTKGConfigForDockerParams) WithTimeout

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

func (*ExportTKGConfigForDockerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportTKGConfigForDockerReader

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

ExportTKGConfigForDockerReader is a Reader for the ExportTKGConfigForDocker structure.

func (*ExportTKGConfigForDockerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportTKGConfigForDockerBadRequest

type ImportTKGConfigForDockerBadRequest struct {
	Payload *models.Error
}

ImportTKGConfigForDockerBadRequest handles this case with default header values.

Bad request

func NewImportTKGConfigForDockerBadRequest

func NewImportTKGConfigForDockerBadRequest() *ImportTKGConfigForDockerBadRequest

NewImportTKGConfigForDockerBadRequest creates a ImportTKGConfigForDockerBadRequest with default headers values

func (*ImportTKGConfigForDockerBadRequest) Error

func (*ImportTKGConfigForDockerBadRequest) GetPayload

type ImportTKGConfigForDockerInternalServerError

type ImportTKGConfigForDockerInternalServerError struct {
	Payload *models.Error
}

ImportTKGConfigForDockerInternalServerError handles this case with default header values.

Internal server error

func NewImportTKGConfigForDockerInternalServerError

func NewImportTKGConfigForDockerInternalServerError() *ImportTKGConfigForDockerInternalServerError

NewImportTKGConfigForDockerInternalServerError creates a ImportTKGConfigForDockerInternalServerError with default headers values

func (*ImportTKGConfigForDockerInternalServerError) Error

func (*ImportTKGConfigForDockerInternalServerError) GetPayload

type ImportTKGConfigForDockerOK

type ImportTKGConfigForDockerOK struct {
	Payload *models.DockerRegionalClusterParams
}

ImportTKGConfigForDockerOK handles this case with default header values.

Generated TKG configuration successfully

func NewImportTKGConfigForDockerOK

func NewImportTKGConfigForDockerOK() *ImportTKGConfigForDockerOK

NewImportTKGConfigForDockerOK creates a ImportTKGConfigForDockerOK with default headers values

func (*ImportTKGConfigForDockerOK) Error

func (*ImportTKGConfigForDockerOK) GetPayload

type ImportTKGConfigForDockerParams

type ImportTKGConfigForDockerParams struct {

	/*Params
	  config file from which to generate tkg configuration for docker

	*/
	Params *models.ConfigFile

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

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

func NewImportTKGConfigForDockerParams

func NewImportTKGConfigForDockerParams() *ImportTKGConfigForDockerParams

NewImportTKGConfigForDockerParams creates a new ImportTKGConfigForDockerParams object with the default values initialized.

func NewImportTKGConfigForDockerParamsWithContext

func NewImportTKGConfigForDockerParamsWithContext(ctx context.Context) *ImportTKGConfigForDockerParams

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

func NewImportTKGConfigForDockerParamsWithHTTPClient

func NewImportTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *ImportTKGConfigForDockerParams

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

func NewImportTKGConfigForDockerParamsWithTimeout

func NewImportTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *ImportTKGConfigForDockerParams

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

func (*ImportTKGConfigForDockerParams) SetContext

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

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

func (*ImportTKGConfigForDockerParams) SetHTTPClient

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

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

func (*ImportTKGConfigForDockerParams) SetParams

func (o *ImportTKGConfigForDockerParams) SetParams(params *models.ConfigFile)

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

func (*ImportTKGConfigForDockerParams) SetTimeout

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

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

func (*ImportTKGConfigForDockerParams) WithContext

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

func (*ImportTKGConfigForDockerParams) WithHTTPClient

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

func (*ImportTKGConfigForDockerParams) WithParams

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

func (*ImportTKGConfigForDockerParams) WithTimeout

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

func (*ImportTKGConfigForDockerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportTKGConfigForDockerReader

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

ImportTKGConfigForDockerReader is a Reader for the ImportTKGConfigForDocker structure.

func (*ImportTKGConfigForDockerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportTKGConfigForDockerUnauthorized

type ImportTKGConfigForDockerUnauthorized struct {
	Payload *models.Error
}

ImportTKGConfigForDockerUnauthorized handles this case with default header values.

Incorrect credentials

func NewImportTKGConfigForDockerUnauthorized

func NewImportTKGConfigForDockerUnauthorized() *ImportTKGConfigForDockerUnauthorized

NewImportTKGConfigForDockerUnauthorized creates a ImportTKGConfigForDockerUnauthorized with default headers values

func (*ImportTKGConfigForDockerUnauthorized) Error

func (*ImportTKGConfigForDockerUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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