docker

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ApplyTKGConfigForDockerBadRequestCode int = 400

ApplyTKGConfigForDockerBadRequestCode is the HTTP code returned for type ApplyTKGConfigForDockerBadRequest

View Source
const ApplyTKGConfigForDockerInternalServerErrorCode int = 500

ApplyTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type ApplyTKGConfigForDockerInternalServerError

View Source
const ApplyTKGConfigForDockerOKCode int = 200

ApplyTKGConfigForDockerOKCode is the HTTP code returned for type ApplyTKGConfigForDockerOK

View Source
const CheckIfDockerDaemonAvailableBadRequestCode int = 400

CheckIfDockerDaemonAvailableBadRequestCode is the HTTP code returned for type CheckIfDockerDaemonAvailableBadRequest

View Source
const CheckIfDockerDaemonAvailableInternalServerErrorCode int = 500

CheckIfDockerDaemonAvailableInternalServerErrorCode is the HTTP code returned for type CheckIfDockerDaemonAvailableInternalServerError

View Source
const CheckIfDockerDaemonAvailableOKCode int = 200

CheckIfDockerDaemonAvailableOKCode is the HTTP code returned for type CheckIfDockerDaemonAvailableOK

View Source
const CreateDockerRegionalClusterBadRequestCode int = 400

CreateDockerRegionalClusterBadRequestCode is the HTTP code returned for type CreateDockerRegionalClusterBadRequest

View Source
const CreateDockerRegionalClusterInternalServerErrorCode int = 500

CreateDockerRegionalClusterInternalServerErrorCode is the HTTP code returned for type CreateDockerRegionalClusterInternalServerError

View Source
const CreateDockerRegionalClusterOKCode int = 200

CreateDockerRegionalClusterOKCode is the HTTP code returned for type CreateDockerRegionalClusterOK

View Source
const GenerateTKGConfigForDockerBadRequestCode int = 400

GenerateTKGConfigForDockerBadRequestCode is the HTTP code returned for type GenerateTKGConfigForDockerBadRequest

View Source
const GenerateTKGConfigForDockerInternalServerErrorCode int = 500

GenerateTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type GenerateTKGConfigForDockerInternalServerError

View Source
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

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

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

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

SetPayload sets the payload to the apply t k g config for docker internal server error response

func (*ApplyTKGConfigForDockerInternalServerError) WithPayload

WithPayload adds the payload to the apply t k g config for docker internal server error response

func (*ApplyTKGConfigForDockerInternalServerError) WriteResponse

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

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

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

func (o *ApplyTKGConfigForDockerURL) Must(u *url.URL, err error) *url.URL

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

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

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

WithPayload adds the payload to the check if docker daemon available bad request response

func (*CheckIfDockerDaemonAvailableBadRequest) WriteResponse

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

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

SetPayload sets the payload to the check if docker daemon available internal server error response

func (*CheckIfDockerDaemonAvailableInternalServerError) WithPayload

WithPayload adds the payload to the check if docker daemon available internal server error response

func (*CheckIfDockerDaemonAvailableInternalServerError) WriteResponse

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

SetPayload sets the payload to the check if docker daemon available o k response

func (*CheckIfDockerDaemonAvailableOK) WithPayload

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

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

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

func (o *CheckIfDockerDaemonAvailableURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

WithPayload adds the payload to the create docker regional cluster bad request response

func (*CreateDockerRegionalClusterBadRequest) WriteResponse

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

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

SetPayload sets the payload to the create docker regional cluster internal server error response

func (*CreateDockerRegionalClusterInternalServerError) WithPayload

WithPayload adds the payload to the create docker regional cluster internal server error response

func (*CreateDockerRegionalClusterInternalServerError) WriteResponse

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

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

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

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

func (o *CreateDockerRegionalClusterURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

WithPayload adds the payload to the generate t k g config for docker bad request response

func (*GenerateTKGConfigForDockerBadRequest) WriteResponse

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

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

SetPayload sets the payload to the generate t k g config for docker internal server error response

func (*GenerateTKGConfigForDockerInternalServerError) WithPayload

WithPayload adds the payload to the generate t k g config for docker internal server error response

func (*GenerateTKGConfigForDockerInternalServerError) WriteResponse

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

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

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

func (o *GenerateTKGConfigForDockerURL) Must(u *url.URL, err error) *url.URL

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

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

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

Jump to

Keyboard shortcuts

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