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 GenerateTKGConfigForDocker
- type GenerateTKGConfigForDockerBadRequest
- func (o *GenerateTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
- func (o *GenerateTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *GenerateTKGConfigForDockerBadRequest
- func (o *GenerateTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GenerateTKGConfigForDockerHandler
- type GenerateTKGConfigForDockerHandlerFunc
- type GenerateTKGConfigForDockerInternalServerError
- func (o *GenerateTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
- func (o *GenerateTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *GenerateTKGConfigForDockerInternalServerError
- func (o *GenerateTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GenerateTKGConfigForDockerOK
- type GenerateTKGConfigForDockerParams
- type GenerateTKGConfigForDockerURL
- func (o *GenerateTKGConfigForDockerURL) Build() (*url.URL, error)
- func (o *GenerateTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GenerateTKGConfigForDockerURL) Must(u *url.URL, err error) *url.URL
- func (o *GenerateTKGConfigForDockerURL) SetBasePath(bp string)
- func (o *GenerateTKGConfigForDockerURL) String() string
- func (o *GenerateTKGConfigForDockerURL) StringFull(scheme, host string) string
- func (o *GenerateTKGConfigForDockerURL) WithBasePath(bp string) *GenerateTKGConfigForDockerURL
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 GenerateTKGConfigForDockerBadRequestCode int = 400
GenerateTKGConfigForDockerBadRequestCode is the HTTP code returned for type GenerateTKGConfigForDockerBadRequest
const GenerateTKGConfigForDockerInternalServerErrorCode int = 500
GenerateTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type GenerateTKGConfigForDockerInternalServerError
const GenerateTKGConfigForDockerOKCode int = 200
GenerateTKGConfigForDockerOKCode is the HTTP code returned for type GenerateTKGConfigForDockerOK
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 GenerateTKGConfigForDocker ¶
type GenerateTKGConfigForDocker struct { Context *middleware.Context Handler GenerateTKGConfigForDockerHandler }
GenerateTKGConfigForDocker swagger:route POST /api/providers/docker/generate docker generateTKGConfigForDocker
Generate TKG configuration file for Docker"
func NewGenerateTKGConfigForDocker ¶
func NewGenerateTKGConfigForDocker(ctx *middleware.Context, handler GenerateTKGConfigForDockerHandler) *GenerateTKGConfigForDocker
NewGenerateTKGConfigForDocker creates a new http.Handler for the generate t k g config for docker operation
func (*GenerateTKGConfigForDocker) ServeHTTP ¶
func (o *GenerateTKGConfigForDocker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GenerateTKGConfigForDockerBadRequest ¶
type GenerateTKGConfigForDockerBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GenerateTKGConfigForDockerBadRequest Bad request
swagger:response generateTKGConfigForDockerBadRequest
func NewGenerateTKGConfigForDockerBadRequest ¶
func NewGenerateTKGConfigForDockerBadRequest() *GenerateTKGConfigForDockerBadRequest
NewGenerateTKGConfigForDockerBadRequest creates GenerateTKGConfigForDockerBadRequest with default headers values
func (*GenerateTKGConfigForDockerBadRequest) SetPayload ¶
func (o *GenerateTKGConfigForDockerBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the generate t k g config for docker bad request response
func (*GenerateTKGConfigForDockerBadRequest) WithPayload ¶
func (o *GenerateTKGConfigForDockerBadRequest) WithPayload(payload *models.Error) *GenerateTKGConfigForDockerBadRequest
WithPayload adds the payload to the generate t k g config for docker bad request response
func (*GenerateTKGConfigForDockerBadRequest) WriteResponse ¶
func (o *GenerateTKGConfigForDockerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateTKGConfigForDockerHandler ¶
type GenerateTKGConfigForDockerHandler interface {
Handle(GenerateTKGConfigForDockerParams) middleware.Responder
}
GenerateTKGConfigForDockerHandler interface for that can handle valid generate t k g config for docker params
type GenerateTKGConfigForDockerHandlerFunc ¶
type GenerateTKGConfigForDockerHandlerFunc func(GenerateTKGConfigForDockerParams) middleware.Responder
GenerateTKGConfigForDockerHandlerFunc turns a function with the right signature into a generate t k g config for docker handler
func (GenerateTKGConfigForDockerHandlerFunc) Handle ¶
func (fn GenerateTKGConfigForDockerHandlerFunc) Handle(params GenerateTKGConfigForDockerParams) middleware.Responder
Handle executing the request and returning a response
type GenerateTKGConfigForDockerInternalServerError ¶
type GenerateTKGConfigForDockerInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GenerateTKGConfigForDockerInternalServerError Internal server error
swagger:response generateTKGConfigForDockerInternalServerError
func NewGenerateTKGConfigForDockerInternalServerError ¶
func NewGenerateTKGConfigForDockerInternalServerError() *GenerateTKGConfigForDockerInternalServerError
NewGenerateTKGConfigForDockerInternalServerError creates GenerateTKGConfigForDockerInternalServerError with default headers values
func (*GenerateTKGConfigForDockerInternalServerError) SetPayload ¶
func (o *GenerateTKGConfigForDockerInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the generate t k g config for docker internal server error response
func (*GenerateTKGConfigForDockerInternalServerError) WithPayload ¶
func (o *GenerateTKGConfigForDockerInternalServerError) WithPayload(payload *models.Error) *GenerateTKGConfigForDockerInternalServerError
WithPayload adds the payload to the generate t k g config for docker internal server error response
func (*GenerateTKGConfigForDockerInternalServerError) WriteResponse ¶
func (o *GenerateTKGConfigForDockerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateTKGConfigForDockerOK ¶
type GenerateTKGConfigForDockerOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GenerateTKGConfigForDockerOK Generated TKG configuration successfully
swagger:response generateTKGConfigForDockerOK
func NewGenerateTKGConfigForDockerOK ¶
func NewGenerateTKGConfigForDockerOK() *GenerateTKGConfigForDockerOK
NewGenerateTKGConfigForDockerOK creates GenerateTKGConfigForDockerOK with default headers values
func (*GenerateTKGConfigForDockerOK) SetPayload ¶
func (o *GenerateTKGConfigForDockerOK) SetPayload(payload string)
SetPayload sets the payload to the generate t k g config for docker o k response
func (*GenerateTKGConfigForDockerOK) WithPayload ¶
func (o *GenerateTKGConfigForDockerOK) WithPayload(payload string) *GenerateTKGConfigForDockerOK
WithPayload adds the payload to the generate t k g config for docker o k response
func (*GenerateTKGConfigForDockerOK) WriteResponse ¶
func (o *GenerateTKGConfigForDockerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateTKGConfigForDockerParams ¶
type GenerateTKGConfigForDockerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to generate TKG configuration file for Docker Required: true In: body */ Params *models.DockerRegionalClusterParams }
GenerateTKGConfigForDockerParams contains all the bound params for the generate t k g config for docker operation typically these are obtained from a http.Request
swagger:parameters generateTKGConfigForDocker
func NewGenerateTKGConfigForDockerParams ¶
func NewGenerateTKGConfigForDockerParams() GenerateTKGConfigForDockerParams
NewGenerateTKGConfigForDockerParams creates a new GenerateTKGConfigForDockerParams object no default values defined in spec.
func (*GenerateTKGConfigForDockerParams) BindRequest ¶
func (o *GenerateTKGConfigForDockerParams) 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 NewGenerateTKGConfigForDockerParams() beforehand.
type GenerateTKGConfigForDockerURL ¶
type GenerateTKGConfigForDockerURL struct {
// contains filtered or unexported fields
}
GenerateTKGConfigForDockerURL generates an URL for the generate t k g config for docker operation
func (*GenerateTKGConfigForDockerURL) Build ¶
func (o *GenerateTKGConfigForDockerURL) Build() (*url.URL, error)
Build a url path and query string
func (*GenerateTKGConfigForDockerURL) BuildFull ¶
func (o *GenerateTKGConfigForDockerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GenerateTKGConfigForDockerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GenerateTKGConfigForDockerURL) SetBasePath ¶
func (o *GenerateTKGConfigForDockerURL) 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 (*GenerateTKGConfigForDockerURL) String ¶
func (o *GenerateTKGConfigForDockerURL) String() string
String returns the string representation of the path with query string
func (*GenerateTKGConfigForDockerURL) StringFull ¶
func (o *GenerateTKGConfigForDockerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GenerateTKGConfigForDockerURL) WithBasePath ¶
func (o *GenerateTKGConfigForDockerURL) WithBasePath(bp string) *GenerateTKGConfigForDockerURL
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
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
- generate_t_k_g_config_for_docker.go
- generate_t_k_g_config_for_docker_parameters.go
- generate_t_k_g_config_for_docker_responses.go
- generate_t_k_g_config_for_docker_urlbuilder.go