Documentation ¶
Index ¶
- Constants
- type ApplyTKGConfigForDocker
- type ApplyTKGConfigForDockerBadRequest
- func (o *ApplyTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *ApplyTKGConfigForDockerBadRequest
- func (o *ApplyTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyTKGConfigForDockerHandler
- type ApplyTKGConfigForDockerHandlerFunc
- type ApplyTKGConfigForDockerInternalServerError
- func (o *ApplyTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForDockerInternalServerError
- func (o *ApplyTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyTKGConfigForDockerOK
- type ApplyTKGConfigForDockerParams
- type ApplyTKGConfigForDockerURL
- func (o *ApplyTKGConfigForDockerURL) Build() (*url.URL, error)
- func (o *ApplyTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApplyTKGConfigForDockerURL) Must(u *url.URL, err error) *url.URL
- func (o *ApplyTKGConfigForDockerURL) SetBasePath(bp string)
- func (o *ApplyTKGConfigForDockerURL) String() string
- func (o *ApplyTKGConfigForDockerURL) StringFull(scheme, host string) string
- func (o *ApplyTKGConfigForDockerURL) WithBasePath(bp string) *ApplyTKGConfigForDockerURL
- type CheckIfDockerDaemonAvailable
- type CheckIfDockerDaemonAvailableBadRequest
- func (o *CheckIfDockerDaemonAvailableBadRequest) SetPayload(payload *models.Error)
- func (o *CheckIfDockerDaemonAvailableBadRequest) WithPayload(payload *models.Error) *CheckIfDockerDaemonAvailableBadRequest
- func (o *CheckIfDockerDaemonAvailableBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckIfDockerDaemonAvailableHandler
- type CheckIfDockerDaemonAvailableHandlerFunc
- type CheckIfDockerDaemonAvailableInternalServerError
- func (o *CheckIfDockerDaemonAvailableInternalServerError) SetPayload(payload *models.Error)
- func (o *CheckIfDockerDaemonAvailableInternalServerError) WithPayload(payload *models.Error) *CheckIfDockerDaemonAvailableInternalServerError
- func (o *CheckIfDockerDaemonAvailableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckIfDockerDaemonAvailableOK
- func (o *CheckIfDockerDaemonAvailableOK) SetPayload(payload *models.DockerDaemonStatus)
- func (o *CheckIfDockerDaemonAvailableOK) WithPayload(payload *models.DockerDaemonStatus) *CheckIfDockerDaemonAvailableOK
- func (o *CheckIfDockerDaemonAvailableOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckIfDockerDaemonAvailableParams
- type CheckIfDockerDaemonAvailableURL
- func (o *CheckIfDockerDaemonAvailableURL) Build() (*url.URL, error)
- func (o *CheckIfDockerDaemonAvailableURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CheckIfDockerDaemonAvailableURL) Must(u *url.URL, err error) *url.URL
- func (o *CheckIfDockerDaemonAvailableURL) SetBasePath(bp string)
- func (o *CheckIfDockerDaemonAvailableURL) String() string
- func (o *CheckIfDockerDaemonAvailableURL) StringFull(scheme, host string) string
- func (o *CheckIfDockerDaemonAvailableURL) WithBasePath(bp string) *CheckIfDockerDaemonAvailableURL
- type CreateDockerRegionalCluster
- type CreateDockerRegionalClusterBadRequest
- func (o *CreateDockerRegionalClusterBadRequest) SetPayload(payload *models.Error)
- func (o *CreateDockerRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateDockerRegionalClusterBadRequest
- func (o *CreateDockerRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateDockerRegionalClusterHandler
- type CreateDockerRegionalClusterHandlerFunc
- type CreateDockerRegionalClusterInternalServerError
- func (o *CreateDockerRegionalClusterInternalServerError) SetPayload(payload *models.Error)
- func (o *CreateDockerRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateDockerRegionalClusterInternalServerError
- func (o *CreateDockerRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateDockerRegionalClusterOK
- type CreateDockerRegionalClusterParams
- type CreateDockerRegionalClusterURL
- func (o *CreateDockerRegionalClusterURL) Build() (*url.URL, error)
- func (o *CreateDockerRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateDockerRegionalClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateDockerRegionalClusterURL) SetBasePath(bp string)
- func (o *CreateDockerRegionalClusterURL) String() string
- func (o *CreateDockerRegionalClusterURL) StringFull(scheme, host string) string
- func (o *CreateDockerRegionalClusterURL) WithBasePath(bp string) *CreateDockerRegionalClusterURL
- type ExportTKGConfigForDocker
- type ExportTKGConfigForDockerBadRequest
- func (o *ExportTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
- func (o *ExportTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *ExportTKGConfigForDockerBadRequest
- func (o *ExportTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportTKGConfigForDockerHandler
- type ExportTKGConfigForDockerHandlerFunc
- type ExportTKGConfigForDockerInternalServerError
- func (o *ExportTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
- func (o *ExportTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *ExportTKGConfigForDockerInternalServerError
- func (o *ExportTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportTKGConfigForDockerOK
- type ExportTKGConfigForDockerParams
- type ExportTKGConfigForDockerURL
- func (o *ExportTKGConfigForDockerURL) Build() (*url.URL, error)
- func (o *ExportTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportTKGConfigForDockerURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportTKGConfigForDockerURL) SetBasePath(bp string)
- func (o *ExportTKGConfigForDockerURL) String() string
- func (o *ExportTKGConfigForDockerURL) StringFull(scheme, host string) string
- func (o *ExportTKGConfigForDockerURL) WithBasePath(bp string) *ExportTKGConfigForDockerURL
- type ImportTKGConfigForDocker
- type ImportTKGConfigForDockerBadRequest
- func (o *ImportTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *ImportTKGConfigForDockerBadRequest
- func (o *ImportTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportTKGConfigForDockerHandler
- type ImportTKGConfigForDockerHandlerFunc
- type ImportTKGConfigForDockerInternalServerError
- func (o *ImportTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *ImportTKGConfigForDockerInternalServerError
- func (o *ImportTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportTKGConfigForDockerOK
- func (o *ImportTKGConfigForDockerOK) SetPayload(payload *models.DockerRegionalClusterParams)
- func (o *ImportTKGConfigForDockerOK) WithPayload(payload *models.DockerRegionalClusterParams) *ImportTKGConfigForDockerOK
- func (o *ImportTKGConfigForDockerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportTKGConfigForDockerParams
- type ImportTKGConfigForDockerURL
- func (o *ImportTKGConfigForDockerURL) Build() (*url.URL, error)
- func (o *ImportTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ImportTKGConfigForDockerURL) Must(u *url.URL, err error) *url.URL
- func (o *ImportTKGConfigForDockerURL) SetBasePath(bp string)
- func (o *ImportTKGConfigForDockerURL) String() string
- func (o *ImportTKGConfigForDockerURL) StringFull(scheme, host string) string
- func (o *ImportTKGConfigForDockerURL) WithBasePath(bp string) *ImportTKGConfigForDockerURL
- type ImportTKGConfigForDockerUnauthorized
- func (o *ImportTKGConfigForDockerUnauthorized) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForDockerUnauthorized) WithPayload(payload *models.Error) *ImportTKGConfigForDockerUnauthorized
- func (o *ImportTKGConfigForDockerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const ApplyTKGConfigForDockerBadRequestCode int = 400
ApplyTKGConfigForDockerBadRequestCode is the HTTP code returned for type ApplyTKGConfigForDockerBadRequest
const ApplyTKGConfigForDockerInternalServerErrorCode int = 500
ApplyTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type ApplyTKGConfigForDockerInternalServerError
const ApplyTKGConfigForDockerOKCode int = 200
ApplyTKGConfigForDockerOKCode is the HTTP code returned for type ApplyTKGConfigForDockerOK
const CheckIfDockerDaemonAvailableBadRequestCode int = 400
CheckIfDockerDaemonAvailableBadRequestCode is the HTTP code returned for type CheckIfDockerDaemonAvailableBadRequest
const CheckIfDockerDaemonAvailableInternalServerErrorCode int = 500
CheckIfDockerDaemonAvailableInternalServerErrorCode is the HTTP code returned for type CheckIfDockerDaemonAvailableInternalServerError
const CheckIfDockerDaemonAvailableOKCode int = 200
CheckIfDockerDaemonAvailableOKCode is the HTTP code returned for type CheckIfDockerDaemonAvailableOK
const CreateDockerRegionalClusterBadRequestCode int = 400
CreateDockerRegionalClusterBadRequestCode is the HTTP code returned for type CreateDockerRegionalClusterBadRequest
const CreateDockerRegionalClusterInternalServerErrorCode int = 500
CreateDockerRegionalClusterInternalServerErrorCode is the HTTP code returned for type CreateDockerRegionalClusterInternalServerError
const CreateDockerRegionalClusterOKCode int = 200
CreateDockerRegionalClusterOKCode is the HTTP code returned for type CreateDockerRegionalClusterOK
const ExportTKGConfigForDockerBadRequestCode int = 400
ExportTKGConfigForDockerBadRequestCode is the HTTP code returned for type ExportTKGConfigForDockerBadRequest
const ExportTKGConfigForDockerInternalServerErrorCode int = 500
ExportTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type ExportTKGConfigForDockerInternalServerError
const ExportTKGConfigForDockerOKCode int = 200
ExportTKGConfigForDockerOKCode is the HTTP code returned for type ExportTKGConfigForDockerOK
const ImportTKGConfigForDockerBadRequestCode int = 400
ImportTKGConfigForDockerBadRequestCode is the HTTP code returned for type ImportTKGConfigForDockerBadRequest
const ImportTKGConfigForDockerInternalServerErrorCode int = 500
ImportTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type ImportTKGConfigForDockerInternalServerError
const ImportTKGConfigForDockerOKCode int = 200
ImportTKGConfigForDockerOKCode is the HTTP code returned for type ImportTKGConfigForDockerOK
ImportTKGConfigForDockerUnauthorizedCode is the HTTP code returned for type ImportTKGConfigForDockerUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyTKGConfigForDocker ¶
type ApplyTKGConfigForDocker struct { Context *middleware.Context Handler ApplyTKGConfigForDockerHandler }
ApplyTKGConfigForDocker swagger:route POST /api/providers/docker/tkgconfig docker applyTKGConfigForDocker
Apply the changes to TKG configuration file for docker"
func NewApplyTKGConfigForDocker ¶
func NewApplyTKGConfigForDocker(ctx *middleware.Context, handler ApplyTKGConfigForDockerHandler) *ApplyTKGConfigForDocker
NewApplyTKGConfigForDocker creates a new http.Handler for the apply t k g config for docker operation
func (*ApplyTKGConfigForDocker) ServeHTTP ¶
func (o *ApplyTKGConfigForDocker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ApplyTKGConfigForDockerBadRequest ¶
type ApplyTKGConfigForDockerBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForDockerBadRequest Bad request
swagger:response applyTKGConfigForDockerBadRequest
func NewApplyTKGConfigForDockerBadRequest ¶
func NewApplyTKGConfigForDockerBadRequest() *ApplyTKGConfigForDockerBadRequest
NewApplyTKGConfigForDockerBadRequest creates ApplyTKGConfigForDockerBadRequest with default headers values
func (*ApplyTKGConfigForDockerBadRequest) SetPayload ¶
func (o *ApplyTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for docker bad request response
func (*ApplyTKGConfigForDockerBadRequest) WithPayload ¶
func (o *ApplyTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *ApplyTKGConfigForDockerBadRequest
WithPayload adds the payload to the apply t k g config for docker bad request response
func (*ApplyTKGConfigForDockerBadRequest) WriteResponse ¶
func (o *ApplyTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForDockerHandler ¶
type ApplyTKGConfigForDockerHandler interface {
Handle(ApplyTKGConfigForDockerParams) middleware.Responder
}
ApplyTKGConfigForDockerHandler interface for that can handle valid apply t k g config for docker params
type ApplyTKGConfigForDockerHandlerFunc ¶
type ApplyTKGConfigForDockerHandlerFunc func(ApplyTKGConfigForDockerParams) middleware.Responder
ApplyTKGConfigForDockerHandlerFunc turns a function with the right signature into a apply t k g config for docker handler
func (ApplyTKGConfigForDockerHandlerFunc) Handle ¶
func (fn ApplyTKGConfigForDockerHandlerFunc) Handle(params ApplyTKGConfigForDockerParams) middleware.Responder
Handle executing the request and returning a response
type ApplyTKGConfigForDockerInternalServerError ¶
type ApplyTKGConfigForDockerInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForDockerInternalServerError Internal server error
swagger:response applyTKGConfigForDockerInternalServerError
func NewApplyTKGConfigForDockerInternalServerError ¶
func NewApplyTKGConfigForDockerInternalServerError() *ApplyTKGConfigForDockerInternalServerError
NewApplyTKGConfigForDockerInternalServerError creates ApplyTKGConfigForDockerInternalServerError with default headers values
func (*ApplyTKGConfigForDockerInternalServerError) SetPayload ¶
func (o *ApplyTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for docker internal server error response
func (*ApplyTKGConfigForDockerInternalServerError) WithPayload ¶
func (o *ApplyTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForDockerInternalServerError
WithPayload adds the payload to the apply t k g config for docker internal server error response
func (*ApplyTKGConfigForDockerInternalServerError) WriteResponse ¶
func (o *ApplyTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForDockerOK ¶
type ApplyTKGConfigForDockerOK struct { /* In: Body */ Payload *models.ConfigFileInfo `json:"body,omitempty"` }
ApplyTKGConfigForDockerOK Apply change to TKG configuration successfully
swagger:response applyTKGConfigForDockerOK
func NewApplyTKGConfigForDockerOK ¶
func NewApplyTKGConfigForDockerOK() *ApplyTKGConfigForDockerOK
NewApplyTKGConfigForDockerOK creates ApplyTKGConfigForDockerOK with default headers values
func (*ApplyTKGConfigForDockerOK) SetPayload ¶
func (o *ApplyTKGConfigForDockerOK) SetPayload(payload *models.ConfigFileInfo)
SetPayload sets the payload to the apply t k g config for docker o k response
func (*ApplyTKGConfigForDockerOK) WithPayload ¶
func (o *ApplyTKGConfigForDockerOK) WithPayload(payload *models.ConfigFileInfo) *ApplyTKGConfigForDockerOK
WithPayload adds the payload to the apply t k g config for docker o k response
func (*ApplyTKGConfigForDockerOK) WriteResponse ¶
func (o *ApplyTKGConfigForDockerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForDockerParams ¶
type ApplyTKGConfigForDockerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to apply changes to TKG configuration file for Docker Required: true In: body */ Params *models.DockerRegionalClusterParams }
ApplyTKGConfigForDockerParams contains all the bound params for the apply t k g config for docker operation typically these are obtained from a http.Request
swagger:parameters applyTKGConfigForDocker
func NewApplyTKGConfigForDockerParams ¶
func NewApplyTKGConfigForDockerParams() ApplyTKGConfigForDockerParams
NewApplyTKGConfigForDockerParams creates a new ApplyTKGConfigForDockerParams object no default values defined in spec.
func (*ApplyTKGConfigForDockerParams) BindRequest ¶
func (o *ApplyTKGConfigForDockerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewApplyTKGConfigForDockerParams() beforehand.
type ApplyTKGConfigForDockerURL ¶
type ApplyTKGConfigForDockerURL struct {
// contains filtered or unexported fields
}
ApplyTKGConfigForDockerURL generates an URL for the apply t k g config for docker operation
func (*ApplyTKGConfigForDockerURL) Build ¶
func (o *ApplyTKGConfigForDockerURL) Build() (*url.URL, error)
Build a url path and query string
func (*ApplyTKGConfigForDockerURL) BuildFull ¶
func (o *ApplyTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ApplyTKGConfigForDockerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ApplyTKGConfigForDockerURL) SetBasePath ¶
func (o *ApplyTKGConfigForDockerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ApplyTKGConfigForDockerURL) String ¶
func (o *ApplyTKGConfigForDockerURL) String() string
String returns the string representation of the path with query string
func (*ApplyTKGConfigForDockerURL) StringFull ¶
func (o *ApplyTKGConfigForDockerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ApplyTKGConfigForDockerURL) WithBasePath ¶
func (o *ApplyTKGConfigForDockerURL) WithBasePath(bp string) *ApplyTKGConfigForDockerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CheckIfDockerDaemonAvailable ¶
type CheckIfDockerDaemonAvailable struct { Context *middleware.Context Handler CheckIfDockerDaemonAvailableHandler }
CheckIfDockerDaemonAvailable swagger:route GET /api/providers/docker/daemon docker checkIfDockerDaemonAvailable
Check if docker deamon is available
func NewCheckIfDockerDaemonAvailable ¶
func NewCheckIfDockerDaemonAvailable(ctx *middleware.Context, handler CheckIfDockerDaemonAvailableHandler) *CheckIfDockerDaemonAvailable
NewCheckIfDockerDaemonAvailable creates a new http.Handler for the check if docker daemon available operation
func (*CheckIfDockerDaemonAvailable) ServeHTTP ¶
func (o *CheckIfDockerDaemonAvailable) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CheckIfDockerDaemonAvailableBadRequest ¶
type CheckIfDockerDaemonAvailableBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CheckIfDockerDaemonAvailableBadRequest Bad request
swagger:response checkIfDockerDaemonAvailableBadRequest
func NewCheckIfDockerDaemonAvailableBadRequest ¶
func NewCheckIfDockerDaemonAvailableBadRequest() *CheckIfDockerDaemonAvailableBadRequest
NewCheckIfDockerDaemonAvailableBadRequest creates CheckIfDockerDaemonAvailableBadRequest with default headers values
func (*CheckIfDockerDaemonAvailableBadRequest) SetPayload ¶
func (o *CheckIfDockerDaemonAvailableBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the check if docker daemon available bad request response
func (*CheckIfDockerDaemonAvailableBadRequest) WithPayload ¶
func (o *CheckIfDockerDaemonAvailableBadRequest) WithPayload(payload *models.Error) *CheckIfDockerDaemonAvailableBadRequest
WithPayload adds the payload to the check if docker daemon available bad request response
func (*CheckIfDockerDaemonAvailableBadRequest) WriteResponse ¶
func (o *CheckIfDockerDaemonAvailableBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckIfDockerDaemonAvailableHandler ¶
type CheckIfDockerDaemonAvailableHandler interface {
Handle(CheckIfDockerDaemonAvailableParams) middleware.Responder
}
CheckIfDockerDaemonAvailableHandler interface for that can handle valid check if docker daemon available params
type CheckIfDockerDaemonAvailableHandlerFunc ¶
type CheckIfDockerDaemonAvailableHandlerFunc func(CheckIfDockerDaemonAvailableParams) middleware.Responder
CheckIfDockerDaemonAvailableHandlerFunc turns a function with the right signature into a check if docker daemon available handler
func (CheckIfDockerDaemonAvailableHandlerFunc) Handle ¶
func (fn CheckIfDockerDaemonAvailableHandlerFunc) Handle(params CheckIfDockerDaemonAvailableParams) middleware.Responder
Handle executing the request and returning a response
type CheckIfDockerDaemonAvailableInternalServerError ¶
type CheckIfDockerDaemonAvailableInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CheckIfDockerDaemonAvailableInternalServerError Internal server error
swagger:response checkIfDockerDaemonAvailableInternalServerError
func NewCheckIfDockerDaemonAvailableInternalServerError ¶
func NewCheckIfDockerDaemonAvailableInternalServerError() *CheckIfDockerDaemonAvailableInternalServerError
NewCheckIfDockerDaemonAvailableInternalServerError creates CheckIfDockerDaemonAvailableInternalServerError with default headers values
func (*CheckIfDockerDaemonAvailableInternalServerError) SetPayload ¶
func (o *CheckIfDockerDaemonAvailableInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the check if docker daemon available internal server error response
func (*CheckIfDockerDaemonAvailableInternalServerError) WithPayload ¶
func (o *CheckIfDockerDaemonAvailableInternalServerError) WithPayload(payload *models.Error) *CheckIfDockerDaemonAvailableInternalServerError
WithPayload adds the payload to the check if docker daemon available internal server error response
func (*CheckIfDockerDaemonAvailableInternalServerError) WriteResponse ¶
func (o *CheckIfDockerDaemonAvailableInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckIfDockerDaemonAvailableOK ¶
type CheckIfDockerDaemonAvailableOK struct { /* In: Body */ Payload *models.DockerDaemonStatus `json:"body,omitempty"` }
CheckIfDockerDaemonAvailableOK Checked the docker daemon status successfully.
swagger:response checkIfDockerDaemonAvailableOK
func NewCheckIfDockerDaemonAvailableOK ¶
func NewCheckIfDockerDaemonAvailableOK() *CheckIfDockerDaemonAvailableOK
NewCheckIfDockerDaemonAvailableOK creates CheckIfDockerDaemonAvailableOK with default headers values
func (*CheckIfDockerDaemonAvailableOK) SetPayload ¶
func (o *CheckIfDockerDaemonAvailableOK) SetPayload(payload *models.DockerDaemonStatus)
SetPayload sets the payload to the check if docker daemon available o k response
func (*CheckIfDockerDaemonAvailableOK) WithPayload ¶
func (o *CheckIfDockerDaemonAvailableOK) WithPayload(payload *models.DockerDaemonStatus) *CheckIfDockerDaemonAvailableOK
WithPayload adds the payload to the check if docker daemon available o k response
func (*CheckIfDockerDaemonAvailableOK) WriteResponse ¶
func (o *CheckIfDockerDaemonAvailableOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckIfDockerDaemonAvailableParams ¶
type CheckIfDockerDaemonAvailableParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
CheckIfDockerDaemonAvailableParams contains all the bound params for the check if docker daemon available operation typically these are obtained from a http.Request
swagger:parameters checkIfDockerDaemonAvailable
func NewCheckIfDockerDaemonAvailableParams ¶
func NewCheckIfDockerDaemonAvailableParams() CheckIfDockerDaemonAvailableParams
NewCheckIfDockerDaemonAvailableParams creates a new CheckIfDockerDaemonAvailableParams object no default values defined in spec.
func (*CheckIfDockerDaemonAvailableParams) BindRequest ¶
func (o *CheckIfDockerDaemonAvailableParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCheckIfDockerDaemonAvailableParams() beforehand.
type CheckIfDockerDaemonAvailableURL ¶
type CheckIfDockerDaemonAvailableURL struct {
// contains filtered or unexported fields
}
CheckIfDockerDaemonAvailableURL generates an URL for the check if docker daemon available operation
func (*CheckIfDockerDaemonAvailableURL) Build ¶
func (o *CheckIfDockerDaemonAvailableURL) Build() (*url.URL, error)
Build a url path and query string
func (*CheckIfDockerDaemonAvailableURL) BuildFull ¶
func (o *CheckIfDockerDaemonAvailableURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CheckIfDockerDaemonAvailableURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CheckIfDockerDaemonAvailableURL) SetBasePath ¶
func (o *CheckIfDockerDaemonAvailableURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CheckIfDockerDaemonAvailableURL) String ¶
func (o *CheckIfDockerDaemonAvailableURL) String() string
String returns the string representation of the path with query string
func (*CheckIfDockerDaemonAvailableURL) StringFull ¶
func (o *CheckIfDockerDaemonAvailableURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CheckIfDockerDaemonAvailableURL) WithBasePath ¶
func (o *CheckIfDockerDaemonAvailableURL) WithBasePath(bp string) *CheckIfDockerDaemonAvailableURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateDockerRegionalCluster ¶
type CreateDockerRegionalCluster struct { Context *middleware.Context Handler CreateDockerRegionalClusterHandler }
CreateDockerRegionalCluster swagger:route POST /api/providers/docker/create docker createDockerRegionalCluster
Create Docker regional cluster
func NewCreateDockerRegionalCluster ¶
func NewCreateDockerRegionalCluster(ctx *middleware.Context, handler CreateDockerRegionalClusterHandler) *CreateDockerRegionalCluster
NewCreateDockerRegionalCluster creates a new http.Handler for the create docker regional cluster operation
func (*CreateDockerRegionalCluster) ServeHTTP ¶
func (o *CreateDockerRegionalCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateDockerRegionalClusterBadRequest ¶
type CreateDockerRegionalClusterBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateDockerRegionalClusterBadRequest Bad request
swagger:response createDockerRegionalClusterBadRequest
func NewCreateDockerRegionalClusterBadRequest ¶
func NewCreateDockerRegionalClusterBadRequest() *CreateDockerRegionalClusterBadRequest
NewCreateDockerRegionalClusterBadRequest creates CreateDockerRegionalClusterBadRequest with default headers values
func (*CreateDockerRegionalClusterBadRequest) SetPayload ¶
func (o *CreateDockerRegionalClusterBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the create docker regional cluster bad request response
func (*CreateDockerRegionalClusterBadRequest) WithPayload ¶
func (o *CreateDockerRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateDockerRegionalClusterBadRequest
WithPayload adds the payload to the create docker regional cluster bad request response
func (*CreateDockerRegionalClusterBadRequest) WriteResponse ¶
func (o *CreateDockerRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDockerRegionalClusterHandler ¶
type CreateDockerRegionalClusterHandler interface {
Handle(CreateDockerRegionalClusterParams) middleware.Responder
}
CreateDockerRegionalClusterHandler interface for that can handle valid create docker regional cluster params
type CreateDockerRegionalClusterHandlerFunc ¶
type CreateDockerRegionalClusterHandlerFunc func(CreateDockerRegionalClusterParams) middleware.Responder
CreateDockerRegionalClusterHandlerFunc turns a function with the right signature into a create docker regional cluster handler
func (CreateDockerRegionalClusterHandlerFunc) Handle ¶
func (fn CreateDockerRegionalClusterHandlerFunc) Handle(params CreateDockerRegionalClusterParams) middleware.Responder
Handle executing the request and returning a response
type CreateDockerRegionalClusterInternalServerError ¶
type CreateDockerRegionalClusterInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateDockerRegionalClusterInternalServerError Internal server error
swagger:response createDockerRegionalClusterInternalServerError
func NewCreateDockerRegionalClusterInternalServerError ¶
func NewCreateDockerRegionalClusterInternalServerError() *CreateDockerRegionalClusterInternalServerError
NewCreateDockerRegionalClusterInternalServerError creates CreateDockerRegionalClusterInternalServerError with default headers values
func (*CreateDockerRegionalClusterInternalServerError) SetPayload ¶
func (o *CreateDockerRegionalClusterInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create docker regional cluster internal server error response
func (*CreateDockerRegionalClusterInternalServerError) WithPayload ¶
func (o *CreateDockerRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateDockerRegionalClusterInternalServerError
WithPayload adds the payload to the create docker regional cluster internal server error response
func (*CreateDockerRegionalClusterInternalServerError) WriteResponse ¶
func (o *CreateDockerRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDockerRegionalClusterOK ¶
type CreateDockerRegionalClusterOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
CreateDockerRegionalClusterOK Creating regional cluster started successfully
swagger:response createDockerRegionalClusterOK
func NewCreateDockerRegionalClusterOK ¶
func NewCreateDockerRegionalClusterOK() *CreateDockerRegionalClusterOK
NewCreateDockerRegionalClusterOK creates CreateDockerRegionalClusterOK with default headers values
func (*CreateDockerRegionalClusterOK) SetPayload ¶
func (o *CreateDockerRegionalClusterOK) SetPayload(payload string)
SetPayload sets the payload to the create docker regional cluster o k response
func (*CreateDockerRegionalClusterOK) WithPayload ¶
func (o *CreateDockerRegionalClusterOK) WithPayload(payload string) *CreateDockerRegionalClusterOK
WithPayload adds the payload to the create docker regional cluster o k response
func (*CreateDockerRegionalClusterOK) WriteResponse ¶
func (o *CreateDockerRegionalClusterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateDockerRegionalClusterParams ¶
type CreateDockerRegionalClusterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to create a regional cluster Required: true In: body */ Params *models.DockerRegionalClusterParams }
CreateDockerRegionalClusterParams contains all the bound params for the create docker regional cluster operation typically these are obtained from a http.Request
swagger:parameters createDockerRegionalCluster
func NewCreateDockerRegionalClusterParams ¶
func NewCreateDockerRegionalClusterParams() CreateDockerRegionalClusterParams
NewCreateDockerRegionalClusterParams creates a new CreateDockerRegionalClusterParams object no default values defined in spec.
func (*CreateDockerRegionalClusterParams) BindRequest ¶
func (o *CreateDockerRegionalClusterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateDockerRegionalClusterParams() beforehand.
type CreateDockerRegionalClusterURL ¶
type CreateDockerRegionalClusterURL struct {
// contains filtered or unexported fields
}
CreateDockerRegionalClusterURL generates an URL for the create docker regional cluster operation
func (*CreateDockerRegionalClusterURL) Build ¶
func (o *CreateDockerRegionalClusterURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateDockerRegionalClusterURL) BuildFull ¶
func (o *CreateDockerRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateDockerRegionalClusterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateDockerRegionalClusterURL) SetBasePath ¶
func (o *CreateDockerRegionalClusterURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateDockerRegionalClusterURL) String ¶
func (o *CreateDockerRegionalClusterURL) String() string
String returns the string representation of the path with query string
func (*CreateDockerRegionalClusterURL) StringFull ¶
func (o *CreateDockerRegionalClusterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateDockerRegionalClusterURL) WithBasePath ¶
func (o *CreateDockerRegionalClusterURL) WithBasePath(bp string) *CreateDockerRegionalClusterURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ExportTKGConfigForDocker ¶ added in v0.9.0
type ExportTKGConfigForDocker struct { Context *middleware.Context Handler ExportTKGConfigForDockerHandler }
ExportTKGConfigForDocker swagger:route POST /api/providers/docker/config/export docker exportTKGConfigForDocker
Generate TKG configuration file for Docker"
func NewExportTKGConfigForDocker ¶ added in v0.9.0
func NewExportTKGConfigForDocker(ctx *middleware.Context, handler ExportTKGConfigForDockerHandler) *ExportTKGConfigForDocker
NewExportTKGConfigForDocker creates a new http.Handler for the export t k g config for docker operation
func (*ExportTKGConfigForDocker) ServeHTTP ¶ added in v0.9.0
func (o *ExportTKGConfigForDocker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportTKGConfigForDockerBadRequest ¶ added in v0.9.0
type ExportTKGConfigForDockerBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportTKGConfigForDockerBadRequest Bad request
swagger:response exportTKGConfigForDockerBadRequest
func NewExportTKGConfigForDockerBadRequest ¶ added in v0.9.0
func NewExportTKGConfigForDockerBadRequest() *ExportTKGConfigForDockerBadRequest
NewExportTKGConfigForDockerBadRequest creates ExportTKGConfigForDockerBadRequest with default headers values
func (*ExportTKGConfigForDockerBadRequest) SetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for docker bad request response
func (*ExportTKGConfigForDockerBadRequest) WithPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *ExportTKGConfigForDockerBadRequest
WithPayload adds the payload to the export t k g config for docker bad request response
func (*ExportTKGConfigForDockerBadRequest) WriteResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForDockerHandler ¶ added in v0.9.0
type ExportTKGConfigForDockerHandler interface {
Handle(ExportTKGConfigForDockerParams) middleware.Responder
}
ExportTKGConfigForDockerHandler interface for that can handle valid export t k g config for docker params
type ExportTKGConfigForDockerHandlerFunc ¶ added in v0.9.0
type ExportTKGConfigForDockerHandlerFunc func(ExportTKGConfigForDockerParams) middleware.Responder
ExportTKGConfigForDockerHandlerFunc turns a function with the right signature into a export t k g config for docker handler
func (ExportTKGConfigForDockerHandlerFunc) Handle ¶ added in v0.9.0
func (fn ExportTKGConfigForDockerHandlerFunc) Handle(params ExportTKGConfigForDockerParams) middleware.Responder
Handle executing the request and returning a response
type ExportTKGConfigForDockerInternalServerError ¶ added in v0.9.0
type ExportTKGConfigForDockerInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportTKGConfigForDockerInternalServerError Internal server error
swagger:response exportTKGConfigForDockerInternalServerError
func NewExportTKGConfigForDockerInternalServerError ¶ added in v0.9.0
func NewExportTKGConfigForDockerInternalServerError() *ExportTKGConfigForDockerInternalServerError
NewExportTKGConfigForDockerInternalServerError creates ExportTKGConfigForDockerInternalServerError with default headers values
func (*ExportTKGConfigForDockerInternalServerError) SetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for docker internal server error response
func (*ExportTKGConfigForDockerInternalServerError) WithPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *ExportTKGConfigForDockerInternalServerError
WithPayload adds the payload to the export t k g config for docker internal server error response
func (*ExportTKGConfigForDockerInternalServerError) WriteResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForDockerOK ¶ added in v0.9.0
type ExportTKGConfigForDockerOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
ExportTKGConfigForDockerOK Generated TKG configuration successfully
swagger:response exportTKGConfigForDockerOK
func NewExportTKGConfigForDockerOK ¶ added in v0.9.0
func NewExportTKGConfigForDockerOK() *ExportTKGConfigForDockerOK
NewExportTKGConfigForDockerOK creates ExportTKGConfigForDockerOK with default headers values
func (*ExportTKGConfigForDockerOK) SetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerOK) SetPayload(payload string)
SetPayload sets the payload to the export t k g config for docker o k response
func (*ExportTKGConfigForDockerOK) WithPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerOK) WithPayload(payload string) *ExportTKGConfigForDockerOK
WithPayload adds the payload to the export t k g config for docker o k response
func (*ExportTKGConfigForDockerOK) WriteResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForDockerParams ¶ added in v0.9.0
type ExportTKGConfigForDockerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to generate TKG configuration file for Docker Required: true In: body */ Params *models.DockerRegionalClusterParams }
ExportTKGConfigForDockerParams contains all the bound params for the export t k g config for docker operation typically these are obtained from a http.Request
swagger:parameters exportTKGConfigForDocker
func NewExportTKGConfigForDockerParams ¶ added in v0.9.0
func NewExportTKGConfigForDockerParams() ExportTKGConfigForDockerParams
NewExportTKGConfigForDockerParams creates a new ExportTKGConfigForDockerParams object no default values defined in spec.
func (*ExportTKGConfigForDockerParams) BindRequest ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewExportTKGConfigForDockerParams() beforehand.
type ExportTKGConfigForDockerURL ¶ added in v0.9.0
type ExportTKGConfigForDockerURL struct {
// contains filtered or unexported fields
}
ExportTKGConfigForDockerURL generates an URL for the export t k g config for docker operation
func (*ExportTKGConfigForDockerURL) Build ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportTKGConfigForDockerURL) BuildFull ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportTKGConfigForDockerURL) Must ¶ added in v0.9.0
Must is a helper function to panic when the url builder returns an error
func (*ExportTKGConfigForDockerURL) SetBasePath ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ExportTKGConfigForDockerURL) String ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerURL) String() string
String returns the string representation of the path with query string
func (*ExportTKGConfigForDockerURL) StringFull ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportTKGConfigForDockerURL) WithBasePath ¶ added in v0.9.0
func (o *ExportTKGConfigForDockerURL) WithBasePath(bp string) *ExportTKGConfigForDockerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ImportTKGConfigForDocker ¶ added in v0.14.0
type ImportTKGConfigForDocker struct { Context *middleware.Context Handler ImportTKGConfigForDockerHandler }
ImportTKGConfigForDocker swagger:route POST /api/providers/docker/config/import docker importTKGConfigForDocker
Generate TKG configuration object for docker
func NewImportTKGConfigForDocker ¶ added in v0.14.0
func NewImportTKGConfigForDocker(ctx *middleware.Context, handler ImportTKGConfigForDockerHandler) *ImportTKGConfigForDocker
NewImportTKGConfigForDocker creates a new http.Handler for the import t k g config for docker operation
func (*ImportTKGConfigForDocker) ServeHTTP ¶ added in v0.14.0
func (o *ImportTKGConfigForDocker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ImportTKGConfigForDockerBadRequest ¶ added in v0.14.0
type ImportTKGConfigForDockerBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ImportTKGConfigForDockerBadRequest Bad request
swagger:response importTKGConfigForDockerBadRequest
func NewImportTKGConfigForDockerBadRequest ¶ added in v0.14.0
func NewImportTKGConfigForDockerBadRequest() *ImportTKGConfigForDockerBadRequest
NewImportTKGConfigForDockerBadRequest creates ImportTKGConfigForDockerBadRequest with default headers values
func (*ImportTKGConfigForDockerBadRequest) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for docker bad request response
func (*ImportTKGConfigForDockerBadRequest) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *ImportTKGConfigForDockerBadRequest
WithPayload adds the payload to the import t k g config for docker bad request response
func (*ImportTKGConfigForDockerBadRequest) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForDockerHandler ¶ added in v0.14.0
type ImportTKGConfigForDockerHandler interface {
Handle(ImportTKGConfigForDockerParams) middleware.Responder
}
ImportTKGConfigForDockerHandler interface for that can handle valid import t k g config for docker params
type ImportTKGConfigForDockerHandlerFunc ¶ added in v0.14.0
type ImportTKGConfigForDockerHandlerFunc func(ImportTKGConfigForDockerParams) middleware.Responder
ImportTKGConfigForDockerHandlerFunc turns a function with the right signature into a import t k g config for docker handler
func (ImportTKGConfigForDockerHandlerFunc) Handle ¶ added in v0.14.0
func (fn ImportTKGConfigForDockerHandlerFunc) Handle(params ImportTKGConfigForDockerParams) middleware.Responder
Handle executing the request and returning a response
type ImportTKGConfigForDockerInternalServerError ¶ added in v0.14.0
type ImportTKGConfigForDockerInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ImportTKGConfigForDockerInternalServerError Internal server error
swagger:response importTKGConfigForDockerInternalServerError
func NewImportTKGConfigForDockerInternalServerError ¶ added in v0.14.0
func NewImportTKGConfigForDockerInternalServerError() *ImportTKGConfigForDockerInternalServerError
NewImportTKGConfigForDockerInternalServerError creates ImportTKGConfigForDockerInternalServerError with default headers values
func (*ImportTKGConfigForDockerInternalServerError) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for docker internal server error response
func (*ImportTKGConfigForDockerInternalServerError) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *ImportTKGConfigForDockerInternalServerError
WithPayload adds the payload to the import t k g config for docker internal server error response
func (*ImportTKGConfigForDockerInternalServerError) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForDockerOK ¶ added in v0.14.0
type ImportTKGConfigForDockerOK struct { /* In: Body */ Payload *models.DockerRegionalClusterParams `json:"body,omitempty"` }
ImportTKGConfigForDockerOK Generated TKG configuration successfully
swagger:response importTKGConfigForDockerOK
func NewImportTKGConfigForDockerOK ¶ added in v0.14.0
func NewImportTKGConfigForDockerOK() *ImportTKGConfigForDockerOK
NewImportTKGConfigForDockerOK creates ImportTKGConfigForDockerOK with default headers values
func (*ImportTKGConfigForDockerOK) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerOK) SetPayload(payload *models.DockerRegionalClusterParams)
SetPayload sets the payload to the import t k g config for docker o k response
func (*ImportTKGConfigForDockerOK) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerOK) WithPayload(payload *models.DockerRegionalClusterParams) *ImportTKGConfigForDockerOK
WithPayload adds the payload to the import t k g config for docker o k response
func (*ImportTKGConfigForDockerOK) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForDockerParams ¶ added in v0.14.0
type ImportTKGConfigForDockerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*config file from which to generate tkg configuration for docker Required: true In: body */ Params *models.ConfigFile }
ImportTKGConfigForDockerParams contains all the bound params for the import t k g config for docker operation typically these are obtained from a http.Request
swagger:parameters importTKGConfigForDocker
func NewImportTKGConfigForDockerParams ¶ added in v0.14.0
func NewImportTKGConfigForDockerParams() ImportTKGConfigForDockerParams
NewImportTKGConfigForDockerParams creates a new ImportTKGConfigForDockerParams object no default values defined in spec.
func (*ImportTKGConfigForDockerParams) BindRequest ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewImportTKGConfigForDockerParams() beforehand.
type ImportTKGConfigForDockerURL ¶ added in v0.14.0
type ImportTKGConfigForDockerURL struct {
// contains filtered or unexported fields
}
ImportTKGConfigForDockerURL generates an URL for the import t k g config for docker operation
func (*ImportTKGConfigForDockerURL) Build ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerURL) Build() (*url.URL, error)
Build a url path and query string
func (*ImportTKGConfigForDockerURL) BuildFull ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ImportTKGConfigForDockerURL) Must ¶ added in v0.14.0
Must is a helper function to panic when the url builder returns an error
func (*ImportTKGConfigForDockerURL) SetBasePath ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ImportTKGConfigForDockerURL) String ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerURL) String() string
String returns the string representation of the path with query string
func (*ImportTKGConfigForDockerURL) StringFull ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ImportTKGConfigForDockerURL) WithBasePath ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerURL) WithBasePath(bp string) *ImportTKGConfigForDockerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ImportTKGConfigForDockerUnauthorized ¶ added in v0.14.0
ImportTKGConfigForDockerUnauthorized Incorrect credentials
swagger:response importTKGConfigForDockerUnauthorized
func NewImportTKGConfigForDockerUnauthorized ¶ added in v0.14.0
func NewImportTKGConfigForDockerUnauthorized() *ImportTKGConfigForDockerUnauthorized
NewImportTKGConfigForDockerUnauthorized creates ImportTKGConfigForDockerUnauthorized with default headers values
func (*ImportTKGConfigForDockerUnauthorized) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for docker unauthorized response
func (*ImportTKGConfigForDockerUnauthorized) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerUnauthorized) WithPayload(payload *models.Error) *ImportTKGConfigForDockerUnauthorized
WithPayload adds the payload to the import t k g config for docker unauthorized response
func (*ImportTKGConfigForDockerUnauthorized) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForDockerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- apply_t_k_g_config_for_docker.go
- apply_t_k_g_config_for_docker_parameters.go
- apply_t_k_g_config_for_docker_responses.go
- apply_t_k_g_config_for_docker_urlbuilder.go
- check_if_docker_daemon_available.go
- check_if_docker_daemon_available_parameters.go
- check_if_docker_daemon_available_responses.go
- check_if_docker_daemon_available_urlbuilder.go
- create_docker_regional_cluster.go
- create_docker_regional_cluster_parameters.go
- create_docker_regional_cluster_responses.go
- create_docker_regional_cluster_urlbuilder.go
- export_t_k_g_config_for_docker.go
- export_t_k_g_config_for_docker_parameters.go
- export_t_k_g_config_for_docker_responses.go
- export_t_k_g_config_for_docker_urlbuilder.go
- import_t_k_g_config_for_docker.go
- import_t_k_g_config_for_docker_parameters.go
- import_t_k_g_config_for_docker_responses.go
- import_t_k_g_config_for_docker_urlbuilder.go