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) GenerateTKGConfigForDocker(params *GenerateTKGConfigForDockerParams) (*GenerateTKGConfigForDockerOK, 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 GenerateTKGConfigForDockerBadRequest
- type GenerateTKGConfigForDockerInternalServerError
- type GenerateTKGConfigForDockerOK
- type GenerateTKGConfigForDockerParams
- func NewGenerateTKGConfigForDockerParams() *GenerateTKGConfigForDockerParams
- func NewGenerateTKGConfigForDockerParamsWithContext(ctx context.Context) *GenerateTKGConfigForDockerParams
- func NewGenerateTKGConfigForDockerParamsWithHTTPClient(client *http.Client) *GenerateTKGConfigForDockerParams
- func NewGenerateTKGConfigForDockerParamsWithTimeout(timeout time.Duration) *GenerateTKGConfigForDockerParams
- func (o *GenerateTKGConfigForDockerParams) SetContext(ctx context.Context)
- func (o *GenerateTKGConfigForDockerParams) SetHTTPClient(client *http.Client)
- func (o *GenerateTKGConfigForDockerParams) SetParams(params *models.DockerRegionalClusterParams)
- func (o *GenerateTKGConfigForDockerParams) SetTimeout(timeout time.Duration)
- func (o *GenerateTKGConfigForDockerParams) WithContext(ctx context.Context) *GenerateTKGConfigForDockerParams
- func (o *GenerateTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *GenerateTKGConfigForDockerParams
- func (o *GenerateTKGConfigForDockerParams) WithParams(params *models.DockerRegionalClusterParams) *GenerateTKGConfigForDockerParams
- func (o *GenerateTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *GenerateTKGConfigForDockerParams
- func (o *GenerateTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateTKGConfigForDockerReader
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) 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 ¶
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 GenerateTKGConfigForDockerBadRequest ¶
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 (o *GenerateTKGConfigForDockerBadRequest) Error() string
func (*GenerateTKGConfigForDockerBadRequest) GetPayload ¶
func (o *GenerateTKGConfigForDockerBadRequest) GetPayload() *models.Error
type GenerateTKGConfigForDockerInternalServerError ¶
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 (o *GenerateTKGConfigForDockerInternalServerError) Error() string
func (*GenerateTKGConfigForDockerInternalServerError) GetPayload ¶
func (o *GenerateTKGConfigForDockerInternalServerError) GetPayload() *models.Error
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 (o *GenerateTKGConfigForDockerOK) Error() string
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 ¶
func (o *GenerateTKGConfigForDockerParams) SetContext(ctx context.Context)
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 ¶
func (o *GenerateTKGConfigForDockerParams) SetParams(params *models.DockerRegionalClusterParams)
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 ¶
func (o *GenerateTKGConfigForDockerParams) WithContext(ctx context.Context) *GenerateTKGConfigForDockerParams
WithContext adds the context to the generate t k g config for docker params
func (*GenerateTKGConfigForDockerParams) WithHTTPClient ¶
func (o *GenerateTKGConfigForDockerParams) WithHTTPClient(client *http.Client) *GenerateTKGConfigForDockerParams
WithHTTPClient adds the HTTPClient to the generate t k g config for docker params
func (*GenerateTKGConfigForDockerParams) WithParams ¶
func (o *GenerateTKGConfigForDockerParams) WithParams(params *models.DockerRegionalClusterParams) *GenerateTKGConfigForDockerParams
WithParams adds the params to the generate t k g config for docker params
func (*GenerateTKGConfigForDockerParams) WithTimeout ¶
func (o *GenerateTKGConfigForDockerParams) WithTimeout(timeout time.Duration) *GenerateTKGConfigForDockerParams
WithTimeout adds the timeout to the generate t k g config for docker params
func (*GenerateTKGConfigForDockerParams) WriteToRequest ¶
func (o *GenerateTKGConfigForDockerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
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
- generate_t_k_g_config_for_docker_parameters.go
- generate_t_k_g_config_for_docker_responses.go