docker

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 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 ExportTKGConfigForDockerBadRequestCode int = 400

ExportTKGConfigForDockerBadRequestCode is the HTTP code returned for type ExportTKGConfigForDockerBadRequest

View Source
const ExportTKGConfigForDockerInternalServerErrorCode int = 500

ExportTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type ExportTKGConfigForDockerInternalServerError

View Source
const ExportTKGConfigForDockerOKCode int = 200

ExportTKGConfigForDockerOKCode is the HTTP code returned for type ExportTKGConfigForDockerOK

View Source
const ImportTKGConfigForDockerBadRequestCode int = 400

ImportTKGConfigForDockerBadRequestCode is the HTTP code returned for type ImportTKGConfigForDockerBadRequest

View Source
const ImportTKGConfigForDockerInternalServerErrorCode int = 500

ImportTKGConfigForDockerInternalServerErrorCode is the HTTP code returned for type ImportTKGConfigForDockerInternalServerError

View Source
const ImportTKGConfigForDockerOKCode int = 200

ImportTKGConfigForDockerOKCode is the HTTP code returned for type ImportTKGConfigForDockerOK

View Source
const ImportTKGConfigForDockerUnauthorizedCode int = 401

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

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 ExportTKGConfigForDocker

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

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

type ExportTKGConfigForDockerBadRequest

type ExportTKGConfigForDockerBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ExportTKGConfigForDockerBadRequest Bad request

swagger:response exportTKGConfigForDockerBadRequest

func NewExportTKGConfigForDockerBadRequest

func NewExportTKGConfigForDockerBadRequest() *ExportTKGConfigForDockerBadRequest

NewExportTKGConfigForDockerBadRequest creates ExportTKGConfigForDockerBadRequest with default headers values

func (*ExportTKGConfigForDockerBadRequest) SetPayload

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

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

func (*ExportTKGConfigForDockerBadRequest) WriteResponse

WriteResponse to the client

type ExportTKGConfigForDockerHandler

type ExportTKGConfigForDockerHandler interface {
	Handle(ExportTKGConfigForDockerParams) middleware.Responder
}

ExportTKGConfigForDockerHandler interface for that can handle valid export t k g config for docker params

type ExportTKGConfigForDockerHandlerFunc

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

Handle executing the request and returning a response

type ExportTKGConfigForDockerInternalServerError

type ExportTKGConfigForDockerInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ExportTKGConfigForDockerInternalServerError Internal server error

swagger:response exportTKGConfigForDockerInternalServerError

func NewExportTKGConfigForDockerInternalServerError

func NewExportTKGConfigForDockerInternalServerError() *ExportTKGConfigForDockerInternalServerError

NewExportTKGConfigForDockerInternalServerError creates ExportTKGConfigForDockerInternalServerError with default headers values

func (*ExportTKGConfigForDockerInternalServerError) SetPayload

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

func (*ExportTKGConfigForDockerInternalServerError) WithPayload

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

func (*ExportTKGConfigForDockerInternalServerError) WriteResponse

WriteResponse to the client

type ExportTKGConfigForDockerOK

type ExportTKGConfigForDockerOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

ExportTKGConfigForDockerOK Generated TKG configuration successfully

swagger:response exportTKGConfigForDockerOK

func NewExportTKGConfigForDockerOK

func NewExportTKGConfigForDockerOK() *ExportTKGConfigForDockerOK

NewExportTKGConfigForDockerOK creates ExportTKGConfigForDockerOK with default headers values

func (*ExportTKGConfigForDockerOK) SetPayload

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

WithPayload adds the payload to the export t k g config for docker o k response

func (*ExportTKGConfigForDockerOK) WriteResponse

func (o *ExportTKGConfigForDockerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ExportTKGConfigForDockerParams

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

func NewExportTKGConfigForDockerParams() ExportTKGConfigForDockerParams

NewExportTKGConfigForDockerParams creates a new ExportTKGConfigForDockerParams object no default values defined in spec.

func (*ExportTKGConfigForDockerParams) 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 NewExportTKGConfigForDockerParams() beforehand.

type ExportTKGConfigForDockerURL

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

func (o *ExportTKGConfigForDockerURL) Build() (*url.URL, error)

Build a url path and query string

func (*ExportTKGConfigForDockerURL) BuildFull

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

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

Must is a helper function to panic when the url builder returns an error

func (*ExportTKGConfigForDockerURL) SetBasePath

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

func (o *ExportTKGConfigForDockerURL) String() string

String returns the string representation of the path with query string

func (*ExportTKGConfigForDockerURL) StringFull

func (o *ExportTKGConfigForDockerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ExportTKGConfigForDockerURL) 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 ImportTKGConfigForDocker

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

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

type ImportTKGConfigForDockerBadRequest

type ImportTKGConfigForDockerBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ImportTKGConfigForDockerBadRequest Bad request

swagger:response importTKGConfigForDockerBadRequest

func NewImportTKGConfigForDockerBadRequest

func NewImportTKGConfigForDockerBadRequest() *ImportTKGConfigForDockerBadRequest

NewImportTKGConfigForDockerBadRequest creates ImportTKGConfigForDockerBadRequest with default headers values

func (*ImportTKGConfigForDockerBadRequest) SetPayload

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

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

func (*ImportTKGConfigForDockerBadRequest) WriteResponse

WriteResponse to the client

type ImportTKGConfigForDockerHandler

type ImportTKGConfigForDockerHandler interface {
	Handle(ImportTKGConfigForDockerParams) middleware.Responder
}

ImportTKGConfigForDockerHandler interface for that can handle valid import t k g config for docker params

type ImportTKGConfigForDockerHandlerFunc

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

Handle executing the request and returning a response

type ImportTKGConfigForDockerInternalServerError

type ImportTKGConfigForDockerInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ImportTKGConfigForDockerInternalServerError Internal server error

swagger:response importTKGConfigForDockerInternalServerError

func NewImportTKGConfigForDockerInternalServerError

func NewImportTKGConfigForDockerInternalServerError() *ImportTKGConfigForDockerInternalServerError

NewImportTKGConfigForDockerInternalServerError creates ImportTKGConfigForDockerInternalServerError with default headers values

func (*ImportTKGConfigForDockerInternalServerError) SetPayload

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

func (*ImportTKGConfigForDockerInternalServerError) WithPayload

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

func (*ImportTKGConfigForDockerInternalServerError) WriteResponse

WriteResponse to the client

type ImportTKGConfigForDockerOK

type ImportTKGConfigForDockerOK struct {

	/*
	  In: Body
	*/
	Payload *models.DockerRegionalClusterParams `json:"body,omitempty"`
}

ImportTKGConfigForDockerOK Generated TKG configuration successfully

swagger:response importTKGConfigForDockerOK

func NewImportTKGConfigForDockerOK

func NewImportTKGConfigForDockerOK() *ImportTKGConfigForDockerOK

NewImportTKGConfigForDockerOK creates ImportTKGConfigForDockerOK with default headers values

func (*ImportTKGConfigForDockerOK) SetPayload

SetPayload sets the payload to the import t k g config for docker o k response

func (*ImportTKGConfigForDockerOK) WithPayload

WithPayload adds the payload to the import t k g config for docker o k response

func (*ImportTKGConfigForDockerOK) WriteResponse

func (o *ImportTKGConfigForDockerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ImportTKGConfigForDockerParams

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

func NewImportTKGConfigForDockerParams() ImportTKGConfigForDockerParams

NewImportTKGConfigForDockerParams creates a new ImportTKGConfigForDockerParams object no default values defined in spec.

func (*ImportTKGConfigForDockerParams) 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 NewImportTKGConfigForDockerParams() beforehand.

type ImportTKGConfigForDockerURL

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

func (o *ImportTKGConfigForDockerURL) Build() (*url.URL, error)

Build a url path and query string

func (*ImportTKGConfigForDockerURL) BuildFull

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

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

Must is a helper function to panic when the url builder returns an error

func (*ImportTKGConfigForDockerURL) SetBasePath

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

func (o *ImportTKGConfigForDockerURL) String() string

String returns the string representation of the path with query string

func (*ImportTKGConfigForDockerURL) StringFull

func (o *ImportTKGConfigForDockerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ImportTKGConfigForDockerURL) 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 ImportTKGConfigForDockerUnauthorized

type ImportTKGConfigForDockerUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ImportTKGConfigForDockerUnauthorized Incorrect credentials

swagger:response importTKGConfigForDockerUnauthorized

func NewImportTKGConfigForDockerUnauthorized

func NewImportTKGConfigForDockerUnauthorized() *ImportTKGConfigForDockerUnauthorized

NewImportTKGConfigForDockerUnauthorized creates ImportTKGConfigForDockerUnauthorized with default headers values

func (*ImportTKGConfigForDockerUnauthorized) SetPayload

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

WithPayload adds the payload to the import t k g config for docker unauthorized response

func (*ImportTKGConfigForDockerUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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