Documentation ¶
Index ¶
- type ApplyTKGConfigForDockerBadRequest
- type ApplyTKGConfigForDockerInternalServerError
- type ApplyTKGConfigForDockerOK
- type ApplyTKGConfigForDockerParams
- func NewApplyTKGConfigForDockerParams() *ApplyTKGConfigForDockerParams
- func NewApplyTKGConfigForDockerParamsWithContext(ctx context.Context) *ApplyTKGConfigForDockerParams
- func NewApplyTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *ApplyTKGConfigForDockerParams
- func NewApplyTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *ApplyTKGConfigForDockerParams
- func (o *ApplyTKGConfigForDockerParams) SetContext(ctx context.Context)
- func (o *ApplyTKGConfigForDockerParams) SetHTTPClient(client *http.Client)
- func (o *ApplyTKGConfigForDockerParams) SetParams(params *models.DockerRegionalClusterParams)
- func (o *ApplyTKGConfigForDockerParams) SetTimeout(timeout time.Duration)
- func (o *ApplyTKGConfigForDockerParams) WithContext(ctx context.Context) *ApplyTKGConfigForDockerParams
- func (o *ApplyTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *ApplyTKGConfigForDockerParams
- func (o *ApplyTKGConfigForDockerParams) WithParams(params *models.DockerRegionalClusterParams) *ApplyTKGConfigForDockerParams
- func (o *ApplyTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *ApplyTKGConfigForDockerParams
- func (o *ApplyTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApplyTKGConfigForDockerReader
- type CheckIfDockerDaemonAvailableBadRequest
- type CheckIfDockerDaemonAvailableInternalServerError
- type CheckIfDockerDaemonAvailableOK
- type CheckIfDockerDaemonAvailableParams
- func NewCheckIfDockerDaemonAvailableParams() *CheckIfDockerDaemonAvailableParams
- func NewCheckIfDockerDaemonAvailableParamsWithContext(ctx context.Context) *CheckIfDockerDaemonAvailableParams
- func NewCheckIfDockerDaemonAvailableParamsWithHTTPClient(client *http.Client) *CheckIfDockerDaemonAvailableParams
- func NewCheckIfDockerDaemonAvailableParamsWithTimeout(timeout time.Duration) *CheckIfDockerDaemonAvailableParams
- func (o *CheckIfDockerDaemonAvailableParams) SetContext(ctx context.Context)
- func (o *CheckIfDockerDaemonAvailableParams) SetHTTPClient(client *http.Client)
- func (o *CheckIfDockerDaemonAvailableParams) SetTimeout(timeout time.Duration)
- func (o *CheckIfDockerDaemonAvailableParams) WithContext(ctx context.Context) *CheckIfDockerDaemonAvailableParams
- func (o *CheckIfDockerDaemonAvailableParams) WithHTTPClient(client *http.Client) *CheckIfDockerDaemonAvailableParams
- func (o *CheckIfDockerDaemonAvailableParams) WithTimeout(timeout time.Duration) *CheckIfDockerDaemonAvailableParams
- func (o *CheckIfDockerDaemonAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckIfDockerDaemonAvailableReader
- type Client
- func (a *Client) ApplyTKGConfigForDocker(params *ApplyTKGConfigForDockerParams) (*ApplyTKGConfigForDockerOK, error)
- func (a *Client) CheckIfDockerDaemonAvailable(params *CheckIfDockerDaemonAvailableParams) (*CheckIfDockerDaemonAvailableOK, error)
- func (a *Client) CreateDockerRegionalCluster(params *CreateDockerRegionalClusterParams) (*CreateDockerRegionalClusterOK, error)
- func (a *Client) ExportTKGConfigForDocker(params *ExportTKGConfigForDockerParams) (*ExportTKGConfigForDockerOK, error)
- func (a *Client) ImportTKGConfigForDocker(params *ImportTKGConfigForDockerParams) (*ImportTKGConfigForDockerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateDockerRegionalClusterBadRequest
- type CreateDockerRegionalClusterInternalServerError
- type CreateDockerRegionalClusterOK
- type CreateDockerRegionalClusterParams
- func NewCreateDockerRegionalClusterParams() *CreateDockerRegionalClusterParams
- func NewCreateDockerRegionalClusterParamsWithContext(ctx context.Context) *CreateDockerRegionalClusterParams
- func NewCreateDockerRegionalClusterParamsWithHTTPClient(client *http.Client) *CreateDockerRegionalClusterParams
- func NewCreateDockerRegionalClusterParamsWithTimeout(timeout time.Duration) *CreateDockerRegionalClusterParams
- func (o *CreateDockerRegionalClusterParams) SetContext(ctx context.Context)
- func (o *CreateDockerRegionalClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateDockerRegionalClusterParams) SetParams(params *models.DockerRegionalClusterParams)
- func (o *CreateDockerRegionalClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateDockerRegionalClusterParams) WithContext(ctx context.Context) *CreateDockerRegionalClusterParams
- func (o *CreateDockerRegionalClusterParams) WithHTTPClient(client *http.Client) *CreateDockerRegionalClusterParams
- func (o *CreateDockerRegionalClusterParams) WithParams(params *models.DockerRegionalClusterParams) *CreateDockerRegionalClusterParams
- func (o *CreateDockerRegionalClusterParams) WithTimeout(timeout time.Duration) *CreateDockerRegionalClusterParams
- func (o *CreateDockerRegionalClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDockerRegionalClusterReader
- type ExportTKGConfigForDockerBadRequest
- type ExportTKGConfigForDockerInternalServerError
- type ExportTKGConfigForDockerOK
- type ExportTKGConfigForDockerParams
- func NewExportTKGConfigForDockerParams() *ExportTKGConfigForDockerParams
- func NewExportTKGConfigForDockerParamsWithContext(ctx context.Context) *ExportTKGConfigForDockerParams
- func NewExportTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *ExportTKGConfigForDockerParams
- func NewExportTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *ExportTKGConfigForDockerParams
- func (o *ExportTKGConfigForDockerParams) SetContext(ctx context.Context)
- func (o *ExportTKGConfigForDockerParams) SetHTTPClient(client *http.Client)
- func (o *ExportTKGConfigForDockerParams) SetParams(params *models.DockerRegionalClusterParams)
- func (o *ExportTKGConfigForDockerParams) SetTimeout(timeout time.Duration)
- func (o *ExportTKGConfigForDockerParams) WithContext(ctx context.Context) *ExportTKGConfigForDockerParams
- func (o *ExportTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *ExportTKGConfigForDockerParams
- func (o *ExportTKGConfigForDockerParams) WithParams(params *models.DockerRegionalClusterParams) *ExportTKGConfigForDockerParams
- func (o *ExportTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *ExportTKGConfigForDockerParams
- func (o *ExportTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportTKGConfigForDockerReader
- type ImportTKGConfigForDockerBadRequest
- type ImportTKGConfigForDockerInternalServerError
- type ImportTKGConfigForDockerOK
- type ImportTKGConfigForDockerParams
- func NewImportTKGConfigForDockerParams() *ImportTKGConfigForDockerParams
- func NewImportTKGConfigForDockerParamsWithContext(ctx context.Context) *ImportTKGConfigForDockerParams
- func NewImportTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *ImportTKGConfigForDockerParams
- func NewImportTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *ImportTKGConfigForDockerParams
- func (o *ImportTKGConfigForDockerParams) SetContext(ctx context.Context)
- func (o *ImportTKGConfigForDockerParams) SetHTTPClient(client *http.Client)
- func (o *ImportTKGConfigForDockerParams) SetParams(params *models.ConfigFile)
- func (o *ImportTKGConfigForDockerParams) SetTimeout(timeout time.Duration)
- func (o *ImportTKGConfigForDockerParams) WithContext(ctx context.Context) *ImportTKGConfigForDockerParams
- func (o *ImportTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *ImportTKGConfigForDockerParams
- func (o *ImportTKGConfigForDockerParams) WithParams(params *models.ConfigFile) *ImportTKGConfigForDockerParams
- func (o *ImportTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *ImportTKGConfigForDockerParams
- func (o *ImportTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportTKGConfigForDockerReader
- type ImportTKGConfigForDockerUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyTKGConfigForDockerBadRequest ¶
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 (o *ApplyTKGConfigForDockerBadRequest) Error() string
func (*ApplyTKGConfigForDockerBadRequest) GetPayload ¶
func (o *ApplyTKGConfigForDockerBadRequest) GetPayload() *models.Error
type ApplyTKGConfigForDockerInternalServerError ¶
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 (o *ApplyTKGConfigForDockerInternalServerError) Error() string
func (*ApplyTKGConfigForDockerInternalServerError) GetPayload ¶
func (o *ApplyTKGConfigForDockerInternalServerError) GetPayload() *models.Error
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 ¶
func (o *ApplyTKGConfigForDockerOK) GetPayload() *models.ConfigFileInfo
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 ¶
func (o *ApplyTKGConfigForDockerParams) SetParams(params *models.DockerRegionalClusterParams)
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 ¶
func (o *ApplyTKGConfigForDockerParams) WithContext(ctx context.Context) *ApplyTKGConfigForDockerParams
WithContext adds the context to the apply t k g config for docker params
func (*ApplyTKGConfigForDockerParams) WithHTTPClient ¶
func (o *ApplyTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *ApplyTKGConfigForDockerParams
WithHTTPClient adds the HTTPClient to the apply t k g config for docker params
func (*ApplyTKGConfigForDockerParams) WithParams ¶
func (o *ApplyTKGConfigForDockerParams) WithParams(params *models.DockerRegionalClusterParams) *ApplyTKGConfigForDockerParams
WithParams adds the params to the apply t k g config for docker params
func (*ApplyTKGConfigForDockerParams) WithTimeout ¶
func (o *ApplyTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *ApplyTKGConfigForDockerParams
WithTimeout adds the timeout to the apply t k g config for docker params
func (*ApplyTKGConfigForDockerParams) WriteToRequest ¶
func (o *ApplyTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *CheckIfDockerDaemonAvailableBadRequest) Error() string
func (*CheckIfDockerDaemonAvailableBadRequest) GetPayload ¶
func (o *CheckIfDockerDaemonAvailableBadRequest) GetPayload() *models.Error
type CheckIfDockerDaemonAvailableInternalServerError ¶
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 (o *CheckIfDockerDaemonAvailableInternalServerError) Error() string
func (*CheckIfDockerDaemonAvailableInternalServerError) GetPayload ¶
func (o *CheckIfDockerDaemonAvailableInternalServerError) GetPayload() *models.Error
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 (o *CheckIfDockerDaemonAvailableOK) Error() string
func (*CheckIfDockerDaemonAvailableOK) GetPayload ¶
func (o *CheckIfDockerDaemonAvailableOK) GetPayload() *models.DockerDaemonStatus
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 ¶
func (o *CheckIfDockerDaemonAvailableParams) SetContext(ctx context.Context)
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 ¶
func (o *CheckIfDockerDaemonAvailableParams) WithContext(ctx context.Context) *CheckIfDockerDaemonAvailableParams
WithContext adds the context to the check if docker daemon available params
func (*CheckIfDockerDaemonAvailableParams) WithHTTPClient ¶
func (o *CheckIfDockerDaemonAvailableParams) WithHTTPClient(client *http.Client) *CheckIfDockerDaemonAvailableParams
WithHTTPClient adds the HTTPClient to the check if docker daemon available params
func (*CheckIfDockerDaemonAvailableParams) WithTimeout ¶
func (o *CheckIfDockerDaemonAvailableParams) WithTimeout(timeout time.Duration) *CheckIfDockerDaemonAvailableParams
WithTimeout adds the timeout to the check if docker daemon available params
func (*CheckIfDockerDaemonAvailableParams) WriteToRequest ¶
func (o *CheckIfDockerDaemonAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶ added in v0.9.0
func (a *Client) ExportTKGConfigForDocker(params *ExportTKGConfigForDockerParams) (*ExportTKGConfigForDockerOK, error)
ExportTKGConfigForDocker generates t k g configuration file for docker
func (*Client) ImportTKGConfigForDocker ¶ added in v0.14.0
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 ¶
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 (o *CreateDockerRegionalClusterBadRequest) Error() string
func (*CreateDockerRegionalClusterBadRequest) GetPayload ¶
func (o *CreateDockerRegionalClusterBadRequest) GetPayload() *models.Error
type CreateDockerRegionalClusterInternalServerError ¶
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 (o *CreateDockerRegionalClusterInternalServerError) Error() string
func (*CreateDockerRegionalClusterInternalServerError) GetPayload ¶
func (o *CreateDockerRegionalClusterInternalServerError) GetPayload() *models.Error
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 (o *CreateDockerRegionalClusterOK) Error() string
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 ¶
func (o *CreateDockerRegionalClusterParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateDockerRegionalClusterParams) SetParams(params *models.DockerRegionalClusterParams)
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 ¶
func (o *CreateDockerRegionalClusterParams) WithContext(ctx context.Context) *CreateDockerRegionalClusterParams
WithContext adds the context to the create docker regional cluster params
func (*CreateDockerRegionalClusterParams) WithHTTPClient ¶
func (o *CreateDockerRegionalClusterParams) WithHTTPClient(client *http.Client) *CreateDockerRegionalClusterParams
WithHTTPClient adds the HTTPClient to the create docker regional cluster params
func (*CreateDockerRegionalClusterParams) WithParams ¶
func (o *CreateDockerRegionalClusterParams) WithParams(params *models.DockerRegionalClusterParams) *CreateDockerRegionalClusterParams
WithParams adds the params to the create docker regional cluster params
func (*CreateDockerRegionalClusterParams) WithTimeout ¶
func (o *CreateDockerRegionalClusterParams) WithTimeout(timeout time.Duration) *CreateDockerRegionalClusterParams
WithTimeout adds the timeout to the create docker regional cluster params
func (*CreateDockerRegionalClusterParams) WriteToRequest ¶
func (o *CreateDockerRegionalClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶ added in v0.9.0
ExportTKGConfigForDockerBadRequest handles this case with default header values.
Bad request
func NewExportTKGConfigForDockerBadRequest ¶ added in v0.9.0
func NewExportTKGConfigForDockerBadRequest() *ExportTKGConfigForDockerBadRequest
NewExportTKGConfigForDockerBadRequest creates a ExportTKGConfigForDockerBadRequest with default headers values
func (*ExportTKGConfigForDockerBadRequest) Error ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerBadRequest) Error() string
func (*ExportTKGConfigForDockerBadRequest) GetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerBadRequest) GetPayload() *models.Error
type ExportTKGConfigForDockerInternalServerError ¶ added in v0.9.0
ExportTKGConfigForDockerInternalServerError handles this case with default header values.
Internal server error
func NewExportTKGConfigForDockerInternalServerError ¶ added in v0.9.0
func NewExportTKGConfigForDockerInternalServerError() *ExportTKGConfigForDockerInternalServerError
NewExportTKGConfigForDockerInternalServerError creates a ExportTKGConfigForDockerInternalServerError with default headers values
func (*ExportTKGConfigForDockerInternalServerError) Error ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerInternalServerError) Error() string
func (*ExportTKGConfigForDockerInternalServerError) GetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerInternalServerError) GetPayload() *models.Error
type ExportTKGConfigForDockerOK ¶ added in v0.9.0
type ExportTKGConfigForDockerOK struct {
Payload string
}
ExportTKGConfigForDockerOK handles this case with default header values.
Generated TKG configuration successfully
func NewExportTKGConfigForDockerOK ¶ added in v0.9.0
func NewExportTKGConfigForDockerOK() *ExportTKGConfigForDockerOK
NewExportTKGConfigForDockerOK creates a ExportTKGConfigForDockerOK with default headers values
func (*ExportTKGConfigForDockerOK) Error ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerOK) Error() string
func (*ExportTKGConfigForDockerOK) GetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerOK) GetPayload() string
type ExportTKGConfigForDockerParams ¶ added in v0.9.0
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 ¶ added in v0.9.0
func NewExportTKGConfigForDockerParams() *ExportTKGConfigForDockerParams
NewExportTKGConfigForDockerParams creates a new ExportTKGConfigForDockerParams object with the default values initialized.
func NewExportTKGConfigForDockerParamsWithContext ¶ added in v0.9.0
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) SetContext(ctx context.Context)
SetContext adds the context to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) SetHTTPClient ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) SetParams ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) SetParams(params *models.DockerRegionalClusterParams)
SetParams adds the params to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) SetTimeout ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) WithContext ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) WithContext(ctx context.Context) *ExportTKGConfigForDockerParams
WithContext adds the context to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) WithHTTPClient ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *ExportTKGConfigForDockerParams
WithHTTPClient adds the HTTPClient to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) WithParams ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) WithParams(params *models.DockerRegionalClusterParams) *ExportTKGConfigForDockerParams
WithParams adds the params to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) WithTimeout ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *ExportTKGConfigForDockerParams
WithTimeout adds the timeout to the export t k g config for docker params
func (*ExportTKGConfigForDockerParams) WriteToRequest ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportTKGConfigForDockerReader ¶ added in v0.9.0
type ExportTKGConfigForDockerReader struct {
// contains filtered or unexported fields
}
ExportTKGConfigForDockerReader is a Reader for the ExportTKGConfigForDocker structure.
func (*ExportTKGConfigForDockerReader) ReadResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportTKGConfigForDockerBadRequest ¶ added in v0.14.0
ImportTKGConfigForDockerBadRequest handles this case with default header values.
Bad request
func NewImportTKGConfigForDockerBadRequest ¶ added in v0.14.0
func NewImportTKGConfigForDockerBadRequest() *ImportTKGConfigForDockerBadRequest
NewImportTKGConfigForDockerBadRequest creates a ImportTKGConfigForDockerBadRequest with default headers values
func (*ImportTKGConfigForDockerBadRequest) Error ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerBadRequest) Error() string
func (*ImportTKGConfigForDockerBadRequest) GetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerBadRequest) GetPayload() *models.Error
type ImportTKGConfigForDockerInternalServerError ¶ added in v0.14.0
ImportTKGConfigForDockerInternalServerError handles this case with default header values.
Internal server error
func NewImportTKGConfigForDockerInternalServerError ¶ added in v0.14.0
func NewImportTKGConfigForDockerInternalServerError() *ImportTKGConfigForDockerInternalServerError
NewImportTKGConfigForDockerInternalServerError creates a ImportTKGConfigForDockerInternalServerError with default headers values
func (*ImportTKGConfigForDockerInternalServerError) Error ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerInternalServerError) Error() string
func (*ImportTKGConfigForDockerInternalServerError) GetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerInternalServerError) GetPayload() *models.Error
type ImportTKGConfigForDockerOK ¶ added in v0.14.0
type ImportTKGConfigForDockerOK struct {
Payload *models.DockerRegionalClusterParams
}
ImportTKGConfigForDockerOK handles this case with default header values.
Generated TKG configuration successfully
func NewImportTKGConfigForDockerOK ¶ added in v0.14.0
func NewImportTKGConfigForDockerOK() *ImportTKGConfigForDockerOK
NewImportTKGConfigForDockerOK creates a ImportTKGConfigForDockerOK with default headers values
func (*ImportTKGConfigForDockerOK) Error ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerOK) Error() string
func (*ImportTKGConfigForDockerOK) GetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerOK) GetPayload() *models.DockerRegionalClusterParams
type ImportTKGConfigForDockerParams ¶ added in v0.14.0
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 ¶ added in v0.14.0
func NewImportTKGConfigForDockerParams() *ImportTKGConfigForDockerParams
NewImportTKGConfigForDockerParams creates a new ImportTKGConfigForDockerParams object with the default values initialized.
func NewImportTKGConfigForDockerParamsWithContext ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
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 ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) SetContext(ctx context.Context)
SetContext adds the context to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) SetHTTPClient ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) SetParams ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) SetParams(params *models.ConfigFile)
SetParams adds the params to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) SetTimeout ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) WithContext ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) WithContext(ctx context.Context) *ImportTKGConfigForDockerParams
WithContext adds the context to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) WithHTTPClient ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *ImportTKGConfigForDockerParams
WithHTTPClient adds the HTTPClient to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) WithParams ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) WithParams(params *models.ConfigFile) *ImportTKGConfigForDockerParams
WithParams adds the params to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) WithTimeout ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *ImportTKGConfigForDockerParams
WithTimeout adds the timeout to the import t k g config for docker params
func (*ImportTKGConfigForDockerParams) WriteToRequest ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportTKGConfigForDockerReader ¶ added in v0.14.0
type ImportTKGConfigForDockerReader struct {
// contains filtered or unexported fields
}
ImportTKGConfigForDockerReader is a Reader for the ImportTKGConfigForDocker structure.
func (*ImportTKGConfigForDockerReader) ReadResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportTKGConfigForDockerUnauthorized ¶ added in v0.14.0
type ImportTKGConfigForDockerUnauthorized struct {
}ImportTKGConfigForDockerUnauthorized handles this case with default header values.
Incorrect credentials
func NewImportTKGConfigForDockerUnauthorized ¶ added in v0.14.0
func NewImportTKGConfigForDockerUnauthorized() *ImportTKGConfigForDockerUnauthorized
NewImportTKGConfigForDockerUnauthorized creates a ImportTKGConfigForDockerUnauthorized with default headers values
func (*ImportTKGConfigForDockerUnauthorized) Error ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerUnauthorized) Error() string
func (*ImportTKGConfigForDockerUnauthorized) GetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerUnauthorized) GetPayload() *models.Error
Source Files ¶
- apply_t_k_g_config_for_docker_parameters.go
- apply_t_k_g_config_for_docker_responses.go
- check_if_docker_daemon_available_parameters.go
- check_if_docker_daemon_available_responses.go
- create_docker_regional_cluster_parameters.go
- create_docker_regional_cluster_responses.go
- docker_client.go
- export_t_k_g_config_for_docker_parameters.go
- export_t_k_g_config_for_docker_responses.go
- import_t_k_g_config_for_docker_parameters.go
- import_t_k_g_config_for_docker_responses.go