installer

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CancelInstallationAcceptedCode int = 202

CancelInstallationAcceptedCode is the HTTP code returned for type CancelInstallationAccepted

View Source
const CancelInstallationConflictCode int = 409

CancelInstallationConflictCode is the HTTP code returned for type CancelInstallationConflict

View Source
const CancelInstallationInternalServerErrorCode int = 500

CancelInstallationInternalServerErrorCode is the HTTP code returned for type CancelInstallationInternalServerError

View Source
const CancelInstallationNotFoundCode int = 404

CancelInstallationNotFoundCode is the HTTP code returned for type CancelInstallationNotFound

View Source
const CompleteInstallationAcceptedCode int = 202

CompleteInstallationAcceptedCode is the HTTP code returned for type CompleteInstallationAccepted

View Source
const CompleteInstallationConflictCode int = 409

CompleteInstallationConflictCode is the HTTP code returned for type CompleteInstallationConflict

View Source
const CompleteInstallationInternalServerErrorCode int = 500

CompleteInstallationInternalServerErrorCode is the HTTP code returned for type CompleteInstallationInternalServerError

View Source
const CompleteInstallationNotFoundCode int = 404

CompleteInstallationNotFoundCode is the HTTP code returned for type CompleteInstallationNotFound

View Source
const DeregisterClusterConflictCode int = 409

DeregisterClusterConflictCode is the HTTP code returned for type DeregisterClusterConflict

View Source
const DeregisterClusterInternalServerErrorCode int = 500

DeregisterClusterInternalServerErrorCode is the HTTP code returned for type DeregisterClusterInternalServerError

View Source
const DeregisterClusterNoContentCode int = 204

DeregisterClusterNoContentCode is the HTTP code returned for type DeregisterClusterNoContent

View Source
const DeregisterClusterNotFoundCode int = 404

DeregisterClusterNotFoundCode is the HTTP code returned for type DeregisterClusterNotFound

View Source
const DeregisterHostBadRequestCode int = 400

DeregisterHostBadRequestCode is the HTTP code returned for type DeregisterHostBadRequest

View Source
const DeregisterHostInternalServerErrorCode int = 500

DeregisterHostInternalServerErrorCode is the HTTP code returned for type DeregisterHostInternalServerError

View Source
const DeregisterHostNoContentCode int = 204

DeregisterHostNoContentCode is the HTTP code returned for type DeregisterHostNoContent

View Source
const DeregisterHostNotFoundCode int = 404

DeregisterHostNotFoundCode is the HTTP code returned for type DeregisterHostNotFound

View Source
const DisableHostConflictCode int = 409

DisableHostConflictCode is the HTTP code returned for type DisableHostConflict

View Source
const DisableHostInternalServerErrorCode int = 500

DisableHostInternalServerErrorCode is the HTTP code returned for type DisableHostInternalServerError

View Source
const DisableHostNotFoundCode int = 404

DisableHostNotFoundCode is the HTTP code returned for type DisableHostNotFound

View Source
const DisableHostOKCode int = 200

DisableHostOKCode is the HTTP code returned for type DisableHostOK

View Source
const DownloadClusterFilesConflictCode int = 409

DownloadClusterFilesConflictCode is the HTTP code returned for type DownloadClusterFilesConflict

View Source
const DownloadClusterFilesInternalServerErrorCode int = 500

DownloadClusterFilesInternalServerErrorCode is the HTTP code returned for type DownloadClusterFilesInternalServerError

View Source
const DownloadClusterFilesNotFoundCode int = 404

DownloadClusterFilesNotFoundCode is the HTTP code returned for type DownloadClusterFilesNotFound

View Source
const DownloadClusterFilesOKCode int = 200

DownloadClusterFilesOKCode is the HTTP code returned for type DownloadClusterFilesOK

View Source
const DownloadClusterISOBadRequestCode int = 400

DownloadClusterISOBadRequestCode is the HTTP code returned for type DownloadClusterISOBadRequest

View Source
const DownloadClusterISOInternalServerErrorCode int = 500

DownloadClusterISOInternalServerErrorCode is the HTTP code returned for type DownloadClusterISOInternalServerError

View Source
const DownloadClusterISONotFoundCode int = 404

DownloadClusterISONotFoundCode is the HTTP code returned for type DownloadClusterISONotFound

View Source
const DownloadClusterISOOKCode int = 200

DownloadClusterISOOKCode is the HTTP code returned for type DownloadClusterISOOK

View Source
const DownloadClusterKubeconfigConflictCode int = 409

DownloadClusterKubeconfigConflictCode is the HTTP code returned for type DownloadClusterKubeconfigConflict

View Source
const DownloadClusterKubeconfigInternalServerErrorCode int = 500

DownloadClusterKubeconfigInternalServerErrorCode is the HTTP code returned for type DownloadClusterKubeconfigInternalServerError

View Source
const DownloadClusterKubeconfigNotFoundCode int = 404

DownloadClusterKubeconfigNotFoundCode is the HTTP code returned for type DownloadClusterKubeconfigNotFound

View Source
const DownloadClusterKubeconfigOKCode int = 200

DownloadClusterKubeconfigOKCode is the HTTP code returned for type DownloadClusterKubeconfigOK

View Source
const EnableHostConflictCode int = 409

EnableHostConflictCode is the HTTP code returned for type EnableHostConflict

View Source
const EnableHostInternalServerErrorCode int = 500

EnableHostInternalServerErrorCode is the HTTP code returned for type EnableHostInternalServerError

View Source
const EnableHostNotFoundCode int = 404

EnableHostNotFoundCode is the HTTP code returned for type EnableHostNotFound

View Source
const EnableHostOKCode int = 200

EnableHostOKCode is the HTTP code returned for type EnableHostOK

View Source
const GenerateClusterISOBadRequestCode int = 400

GenerateClusterISOBadRequestCode is the HTTP code returned for type GenerateClusterISOBadRequest

View Source
const GenerateClusterISOConflictCode int = 409

GenerateClusterISOConflictCode is the HTTP code returned for type GenerateClusterISOConflict

View Source
const GenerateClusterISOCreatedCode int = 201

GenerateClusterISOCreatedCode is the HTTP code returned for type GenerateClusterISOCreated

View Source
const GenerateClusterISOInternalServerErrorCode int = 500

GenerateClusterISOInternalServerErrorCode is the HTTP code returned for type GenerateClusterISOInternalServerError

View Source
const GenerateClusterISONotFoundCode int = 404

GenerateClusterISONotFoundCode is the HTTP code returned for type GenerateClusterISONotFound

View Source
const GetClusterInternalServerErrorCode int = 500

GetClusterInternalServerErrorCode is the HTTP code returned for type GetClusterInternalServerError

View Source
const GetClusterNotFoundCode int = 404

GetClusterNotFoundCode is the HTTP code returned for type GetClusterNotFound

View Source
const GetClusterOKCode int = 200

GetClusterOKCode is the HTTP code returned for type GetClusterOK

View Source
const GetCredentialsConflictCode int = 409

GetCredentialsConflictCode is the HTTP code returned for type GetCredentialsConflict

View Source
const GetCredentialsInternalServerErrorCode int = 500

GetCredentialsInternalServerErrorCode is the HTTP code returned for type GetCredentialsInternalServerError

View Source
const GetCredentialsNotFoundCode int = 404

GetCredentialsNotFoundCode is the HTTP code returned for type GetCredentialsNotFound

View Source
const GetCredentialsOKCode int = 200

GetCredentialsOKCode is the HTTP code returned for type GetCredentialsOK

View Source
const GetFreeAddressesInternalServerErrorCode int = 500

GetFreeAddressesInternalServerErrorCode is the HTTP code returned for type GetFreeAddressesInternalServerError

View Source
const GetFreeAddressesNotFoundCode int = 404

GetFreeAddressesNotFoundCode is the HTTP code returned for type GetFreeAddressesNotFound

View Source
const GetFreeAddressesOKCode int = 200

GetFreeAddressesOKCode is the HTTP code returned for type GetFreeAddressesOK

View Source
const GetHostInternalServerErrorCode int = 500

GetHostInternalServerErrorCode is the HTTP code returned for type GetHostInternalServerError

View Source
const GetHostNotFoundCode int = 404

GetHostNotFoundCode is the HTTP code returned for type GetHostNotFound

View Source
const GetHostOKCode int = 200

GetHostOKCode is the HTTP code returned for type GetHostOK

View Source
const GetNextStepsInternalServerErrorCode int = 500

GetNextStepsInternalServerErrorCode is the HTTP code returned for type GetNextStepsInternalServerError

View Source
const GetNextStepsNotFoundCode int = 404

GetNextStepsNotFoundCode is the HTTP code returned for type GetNextStepsNotFound

View Source
const GetNextStepsOKCode int = 200

GetNextStepsOKCode is the HTTP code returned for type GetNextStepsOK

View Source
const InstallClusterAcceptedCode int = 202

InstallClusterAcceptedCode is the HTTP code returned for type InstallClusterAccepted

View Source
const InstallClusterBadRequestCode int = 400

InstallClusterBadRequestCode is the HTTP code returned for type InstallClusterBadRequest

View Source
const InstallClusterConflictCode int = 409

InstallClusterConflictCode is the HTTP code returned for type InstallClusterConflict

View Source
const InstallClusterInternalServerErrorCode int = 500

InstallClusterInternalServerErrorCode is the HTTP code returned for type InstallClusterInternalServerError

View Source
const InstallClusterNotFoundCode int = 404

InstallClusterNotFoundCode is the HTTP code returned for type InstallClusterNotFound

View Source
const ListClustersInternalServerErrorCode int = 500

ListClustersInternalServerErrorCode is the HTTP code returned for type ListClustersInternalServerError

View Source
const ListClustersOKCode int = 200

ListClustersOKCode is the HTTP code returned for type ListClustersOK

View Source
const ListHostsInternalServerErrorCode int = 500

ListHostsInternalServerErrorCode is the HTTP code returned for type ListHostsInternalServerError

View Source
const ListHostsOKCode int = 200

ListHostsOKCode is the HTTP code returned for type ListHostsOK

View Source
const PostStepReplyBadRequestCode int = 400

PostStepReplyBadRequestCode is the HTTP code returned for type PostStepReplyBadRequest

View Source
const PostStepReplyInternalServerErrorCode int = 500

PostStepReplyInternalServerErrorCode is the HTTP code returned for type PostStepReplyInternalServerError

View Source
const PostStepReplyNoContentCode int = 204

PostStepReplyNoContentCode is the HTTP code returned for type PostStepReplyNoContent

View Source
const PostStepReplyNotFoundCode int = 404

PostStepReplyNotFoundCode is the HTTP code returned for type PostStepReplyNotFound

View Source
const RegisterClusterBadRequestCode int = 400

RegisterClusterBadRequestCode is the HTTP code returned for type RegisterClusterBadRequest

View Source
const RegisterClusterCreatedCode int = 201

RegisterClusterCreatedCode is the HTTP code returned for type RegisterClusterCreated

View Source
const RegisterClusterInternalServerErrorCode int = 500

RegisterClusterInternalServerErrorCode is the HTTP code returned for type RegisterClusterInternalServerError

View Source
const RegisterHostBadRequestCode int = 400

RegisterHostBadRequestCode is the HTTP code returned for type RegisterHostBadRequest

View Source
const RegisterHostCreatedCode int = 201

RegisterHostCreatedCode is the HTTP code returned for type RegisterHostCreated

View Source
const RegisterHostForbiddenCode int = 403

RegisterHostForbiddenCode is the HTTP code returned for type RegisterHostForbidden

View Source
const RegisterHostInternalServerErrorCode int = 500

RegisterHostInternalServerErrorCode is the HTTP code returned for type RegisterHostInternalServerError

View Source
const RegisterHostNotFoundCode int = 404

RegisterHostNotFoundCode is the HTTP code returned for type RegisterHostNotFound

View Source
const ResetClusterAcceptedCode int = 202

ResetClusterAcceptedCode is the HTTP code returned for type ResetClusterAccepted

View Source
const ResetClusterConflictCode int = 409

ResetClusterConflictCode is the HTTP code returned for type ResetClusterConflict

View Source
const ResetClusterInternalServerErrorCode int = 500

ResetClusterInternalServerErrorCode is the HTTP code returned for type ResetClusterInternalServerError

View Source
const ResetClusterNotFoundCode int = 404

ResetClusterNotFoundCode is the HTTP code returned for type ResetClusterNotFound

View Source
const SetDebugStepInternalServerErrorCode int = 500

SetDebugStepInternalServerErrorCode is the HTTP code returned for type SetDebugStepInternalServerError

View Source
const SetDebugStepNoContentCode int = 204

SetDebugStepNoContentCode is the HTTP code returned for type SetDebugStepNoContent

View Source
const SetDebugStepNotFoundCode int = 404

SetDebugStepNotFoundCode is the HTTP code returned for type SetDebugStepNotFound

View Source
const UpdateClusterBadRequestCode int = 400

UpdateClusterBadRequestCode is the HTTP code returned for type UpdateClusterBadRequest

View Source
const UpdateClusterConflictCode int = 409

UpdateClusterConflictCode is the HTTP code returned for type UpdateClusterConflict

View Source
const UpdateClusterCreatedCode int = 201

UpdateClusterCreatedCode is the HTTP code returned for type UpdateClusterCreated

View Source
const UpdateClusterInternalServerErrorCode int = 500

UpdateClusterInternalServerErrorCode is the HTTP code returned for type UpdateClusterInternalServerError

View Source
const UpdateClusterNotFoundCode int = 404

UpdateClusterNotFoundCode is the HTTP code returned for type UpdateClusterNotFound

View Source
const UpdateHostInstallProgressInternalServerErrorCode int = 500

UpdateHostInstallProgressInternalServerErrorCode is the HTTP code returned for type UpdateHostInstallProgressInternalServerError

View Source
const UpdateHostInstallProgressNotFoundCode int = 404

UpdateHostInstallProgressNotFoundCode is the HTTP code returned for type UpdateHostInstallProgressNotFound

View Source
const UpdateHostInstallProgressOKCode int = 200

UpdateHostInstallProgressOKCode is the HTTP code returned for type UpdateHostInstallProgressOK

View Source
const UploadClusterIngressCertBadRequestCode int = 400

UploadClusterIngressCertBadRequestCode is the HTTP code returned for type UploadClusterIngressCertBadRequest

View Source
const UploadClusterIngressCertCreatedCode int = 201

UploadClusterIngressCertCreatedCode is the HTTP code returned for type UploadClusterIngressCertCreated

View Source
const UploadClusterIngressCertInternalServerErrorCode int = 500

UploadClusterIngressCertInternalServerErrorCode is the HTTP code returned for type UploadClusterIngressCertInternalServerError

View Source
const UploadClusterIngressCertNotFoundCode int = 404

UploadClusterIngressCertNotFoundCode is the HTTP code returned for type UploadClusterIngressCertNotFound

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelInstallation added in v1.0.4

type CancelInstallation struct {
	Context *middleware.Context
	Handler CancelInstallationHandler
}

CancelInstallation swagger:route POST /clusters/{cluster_id}/actions/cancel installer cancelInstallation

Cancels an ongoing installation.

func NewCancelInstallation added in v1.0.4

func NewCancelInstallation(ctx *middleware.Context, handler CancelInstallationHandler) *CancelInstallation

NewCancelInstallation creates a new http.Handler for the cancel installation operation

func (*CancelInstallation) ServeHTTP added in v1.0.4

func (o *CancelInstallation) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CancelInstallationAccepted added in v1.0.4

type CancelInstallationAccepted struct {

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

CancelInstallationAccepted Success.

swagger:response cancelInstallationAccepted

func NewCancelInstallationAccepted added in v1.0.4

func NewCancelInstallationAccepted() *CancelInstallationAccepted

NewCancelInstallationAccepted creates CancelInstallationAccepted with default headers values

func (*CancelInstallationAccepted) SetPayload added in v1.0.4

func (o *CancelInstallationAccepted) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the cancel installation accepted response

func (*CancelInstallationAccepted) WithPayload added in v1.0.4

WithPayload adds the payload to the cancel installation accepted response

func (*CancelInstallationAccepted) WriteResponse added in v1.0.4

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

WriteResponse to the client

type CancelInstallationConflict added in v1.0.4

type CancelInstallationConflict struct {

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

CancelInstallationConflict Error.

swagger:response cancelInstallationConflict

func NewCancelInstallationConflict added in v1.0.4

func NewCancelInstallationConflict() *CancelInstallationConflict

NewCancelInstallationConflict creates CancelInstallationConflict with default headers values

func (*CancelInstallationConflict) SetPayload added in v1.0.4

func (o *CancelInstallationConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the cancel installation conflict response

func (*CancelInstallationConflict) WithPayload added in v1.0.4

WithPayload adds the payload to the cancel installation conflict response

func (*CancelInstallationConflict) WriteResponse added in v1.0.4

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

WriteResponse to the client

type CancelInstallationHandler added in v1.0.4

type CancelInstallationHandler interface {
	Handle(CancelInstallationParams) middleware.Responder
}

CancelInstallationHandler interface for that can handle valid cancel installation params

type CancelInstallationHandlerFunc added in v1.0.4

type CancelInstallationHandlerFunc func(CancelInstallationParams) middleware.Responder

CancelInstallationHandlerFunc turns a function with the right signature into a cancel installation handler

func (CancelInstallationHandlerFunc) Handle added in v1.0.4

Handle executing the request and returning a response

type CancelInstallationInternalServerError added in v1.0.4

type CancelInstallationInternalServerError struct {

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

CancelInstallationInternalServerError Error.

swagger:response cancelInstallationInternalServerError

func NewCancelInstallationInternalServerError added in v1.0.4

func NewCancelInstallationInternalServerError() *CancelInstallationInternalServerError

NewCancelInstallationInternalServerError creates CancelInstallationInternalServerError with default headers values

func (*CancelInstallationInternalServerError) SetPayload added in v1.0.4

func (o *CancelInstallationInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the cancel installation internal server error response

func (*CancelInstallationInternalServerError) WithPayload added in v1.0.4

WithPayload adds the payload to the cancel installation internal server error response

func (*CancelInstallationInternalServerError) WriteResponse added in v1.0.4

WriteResponse to the client

type CancelInstallationNotFound added in v1.0.4

type CancelInstallationNotFound struct {

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

CancelInstallationNotFound Error.

swagger:response cancelInstallationNotFound

func NewCancelInstallationNotFound added in v1.0.4

func NewCancelInstallationNotFound() *CancelInstallationNotFound

NewCancelInstallationNotFound creates CancelInstallationNotFound with default headers values

func (*CancelInstallationNotFound) SetPayload added in v1.0.4

func (o *CancelInstallationNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the cancel installation not found response

func (*CancelInstallationNotFound) WithPayload added in v1.0.4

WithPayload adds the payload to the cancel installation not found response

func (*CancelInstallationNotFound) WriteResponse added in v1.0.4

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

WriteResponse to the client

type CancelInstallationParams added in v1.0.4

type CancelInstallationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

CancelInstallationParams contains all the bound params for the cancel installation operation typically these are obtained from a http.Request

swagger:parameters CancelInstallation

func NewCancelInstallationParams added in v1.0.4

func NewCancelInstallationParams() CancelInstallationParams

NewCancelInstallationParams creates a new CancelInstallationParams object no default values defined in spec.

func (*CancelInstallationParams) BindRequest added in v1.0.4

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 NewCancelInstallationParams() beforehand.

type CancelInstallationURL added in v1.0.4

type CancelInstallationURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

CancelInstallationURL generates an URL for the cancel installation operation

func (*CancelInstallationURL) Build added in v1.0.4

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

Build a url path and query string

func (*CancelInstallationURL) BuildFull added in v1.0.4

func (o *CancelInstallationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CancelInstallationURL) Must added in v1.0.4

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

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

func (*CancelInstallationURL) SetBasePath added in v1.0.4

func (o *CancelInstallationURL) 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 (*CancelInstallationURL) String added in v1.0.4

func (o *CancelInstallationURL) String() string

String returns the string representation of the path with query string

func (*CancelInstallationURL) StringFull added in v1.0.4

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

StringFull returns the string representation of a complete url

func (*CancelInstallationURL) WithBasePath added in v1.0.4

func (o *CancelInstallationURL) WithBasePath(bp string) *CancelInstallationURL

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 CompleteInstallation added in v1.0.6

type CompleteInstallation struct {
	Context *middleware.Context
	Handler CompleteInstallationHandler
}

CompleteInstallation swagger:route POST /clusters/{cluster_id}/actions/complete_installation installer completeInstallation

Agent API to mark a finalizing installation as complete.

func NewCompleteInstallation added in v1.0.6

func NewCompleteInstallation(ctx *middleware.Context, handler CompleteInstallationHandler) *CompleteInstallation

NewCompleteInstallation creates a new http.Handler for the complete installation operation

func (*CompleteInstallation) ServeHTTP added in v1.0.6

func (o *CompleteInstallation) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CompleteInstallationAccepted added in v1.0.6

type CompleteInstallationAccepted struct {

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

CompleteInstallationAccepted Success.

swagger:response completeInstallationAccepted

func NewCompleteInstallationAccepted added in v1.0.6

func NewCompleteInstallationAccepted() *CompleteInstallationAccepted

NewCompleteInstallationAccepted creates CompleteInstallationAccepted with default headers values

func (*CompleteInstallationAccepted) SetPayload added in v1.0.6

func (o *CompleteInstallationAccepted) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the complete installation accepted response

func (*CompleteInstallationAccepted) WithPayload added in v1.0.6

WithPayload adds the payload to the complete installation accepted response

func (*CompleteInstallationAccepted) WriteResponse added in v1.0.6

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

WriteResponse to the client

type CompleteInstallationConflict added in v1.0.6

type CompleteInstallationConflict struct {

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

CompleteInstallationConflict Error.

swagger:response completeInstallationConflict

func NewCompleteInstallationConflict added in v1.0.6

func NewCompleteInstallationConflict() *CompleteInstallationConflict

NewCompleteInstallationConflict creates CompleteInstallationConflict with default headers values

func (*CompleteInstallationConflict) SetPayload added in v1.0.6

func (o *CompleteInstallationConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the complete installation conflict response

func (*CompleteInstallationConflict) WithPayload added in v1.0.6

WithPayload adds the payload to the complete installation conflict response

func (*CompleteInstallationConflict) WriteResponse added in v1.0.6

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

WriteResponse to the client

type CompleteInstallationHandler added in v1.0.6

type CompleteInstallationHandler interface {
	Handle(CompleteInstallationParams) middleware.Responder
}

CompleteInstallationHandler interface for that can handle valid complete installation params

type CompleteInstallationHandlerFunc added in v1.0.6

type CompleteInstallationHandlerFunc func(CompleteInstallationParams) middleware.Responder

CompleteInstallationHandlerFunc turns a function with the right signature into a complete installation handler

func (CompleteInstallationHandlerFunc) Handle added in v1.0.6

Handle executing the request and returning a response

type CompleteInstallationInternalServerError added in v1.0.6

type CompleteInstallationInternalServerError struct {

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

CompleteInstallationInternalServerError Error.

swagger:response completeInstallationInternalServerError

func NewCompleteInstallationInternalServerError added in v1.0.6

func NewCompleteInstallationInternalServerError() *CompleteInstallationInternalServerError

NewCompleteInstallationInternalServerError creates CompleteInstallationInternalServerError with default headers values

func (*CompleteInstallationInternalServerError) SetPayload added in v1.0.6

func (o *CompleteInstallationInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the complete installation internal server error response

func (*CompleteInstallationInternalServerError) WithPayload added in v1.0.6

WithPayload adds the payload to the complete installation internal server error response

func (*CompleteInstallationInternalServerError) WriteResponse added in v1.0.6

WriteResponse to the client

type CompleteInstallationNotFound added in v1.0.6

type CompleteInstallationNotFound struct {

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

CompleteInstallationNotFound Error.

swagger:response completeInstallationNotFound

func NewCompleteInstallationNotFound added in v1.0.6

func NewCompleteInstallationNotFound() *CompleteInstallationNotFound

NewCompleteInstallationNotFound creates CompleteInstallationNotFound with default headers values

func (*CompleteInstallationNotFound) SetPayload added in v1.0.6

func (o *CompleteInstallationNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the complete installation not found response

func (*CompleteInstallationNotFound) WithPayload added in v1.0.6

WithPayload adds the payload to the complete installation not found response

func (*CompleteInstallationNotFound) WriteResponse added in v1.0.6

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

WriteResponse to the client

type CompleteInstallationParams added in v1.0.6

type CompleteInstallationParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	CompletionParams *models.CompletionParams
}

CompleteInstallationParams contains all the bound params for the complete installation operation typically these are obtained from a http.Request

swagger:parameters CompleteInstallation

func NewCompleteInstallationParams added in v1.0.6

func NewCompleteInstallationParams() CompleteInstallationParams

NewCompleteInstallationParams creates a new CompleteInstallationParams object no default values defined in spec.

func (*CompleteInstallationParams) BindRequest added in v1.0.6

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 NewCompleteInstallationParams() beforehand.

type CompleteInstallationURL added in v1.0.6

type CompleteInstallationURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

CompleteInstallationURL generates an URL for the complete installation operation

func (*CompleteInstallationURL) Build added in v1.0.6

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

Build a url path and query string

func (*CompleteInstallationURL) BuildFull added in v1.0.6

func (o *CompleteInstallationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CompleteInstallationURL) Must added in v1.0.6

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

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

func (*CompleteInstallationURL) SetBasePath added in v1.0.6

func (o *CompleteInstallationURL) 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 (*CompleteInstallationURL) String added in v1.0.6

func (o *CompleteInstallationURL) String() string

String returns the string representation of the path with query string

func (*CompleteInstallationURL) StringFull added in v1.0.6

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

StringFull returns the string representation of a complete url

func (*CompleteInstallationURL) WithBasePath added in v1.0.6

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 DeregisterCluster

type DeregisterCluster struct {
	Context *middleware.Context
	Handler DeregisterClusterHandler
}

DeregisterCluster swagger:route DELETE /clusters/{cluster_id} installer deregisterCluster

Deletes an OpenShift bare metal cluster definition.

func NewDeregisterCluster

func NewDeregisterCluster(ctx *middleware.Context, handler DeregisterClusterHandler) *DeregisterCluster

NewDeregisterCluster creates a new http.Handler for the deregister cluster operation

func (*DeregisterCluster) ServeHTTP

func (o *DeregisterCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeregisterClusterConflict

type DeregisterClusterConflict struct {

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

DeregisterClusterConflict Error.

swagger:response deregisterClusterConflict

func NewDeregisterClusterConflict

func NewDeregisterClusterConflict() *DeregisterClusterConflict

NewDeregisterClusterConflict creates DeregisterClusterConflict with default headers values

func (*DeregisterClusterConflict) SetPayload

func (o *DeregisterClusterConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the deregister cluster conflict response

func (*DeregisterClusterConflict) WithPayload

WithPayload adds the payload to the deregister cluster conflict response

func (*DeregisterClusterConflict) WriteResponse

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

WriteResponse to the client

type DeregisterClusterHandler

type DeregisterClusterHandler interface {
	Handle(DeregisterClusterParams) middleware.Responder
}

DeregisterClusterHandler interface for that can handle valid deregister cluster params

type DeregisterClusterHandlerFunc

type DeregisterClusterHandlerFunc func(DeregisterClusterParams) middleware.Responder

DeregisterClusterHandlerFunc turns a function with the right signature into a deregister cluster handler

func (DeregisterClusterHandlerFunc) Handle

Handle executing the request and returning a response

type DeregisterClusterInternalServerError

type DeregisterClusterInternalServerError struct {

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

DeregisterClusterInternalServerError Error.

swagger:response deregisterClusterInternalServerError

func NewDeregisterClusterInternalServerError

func NewDeregisterClusterInternalServerError() *DeregisterClusterInternalServerError

NewDeregisterClusterInternalServerError creates DeregisterClusterInternalServerError with default headers values

func (*DeregisterClusterInternalServerError) SetPayload

func (o *DeregisterClusterInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the deregister cluster internal server error response

func (*DeregisterClusterInternalServerError) WithPayload

WithPayload adds the payload to the deregister cluster internal server error response

func (*DeregisterClusterInternalServerError) WriteResponse

WriteResponse to the client

type DeregisterClusterNoContent

type DeregisterClusterNoContent struct {
}

DeregisterClusterNoContent Success.

swagger:response deregisterClusterNoContent

func NewDeregisterClusterNoContent

func NewDeregisterClusterNoContent() *DeregisterClusterNoContent

NewDeregisterClusterNoContent creates DeregisterClusterNoContent with default headers values

func (*DeregisterClusterNoContent) WriteResponse

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

WriteResponse to the client

type DeregisterClusterNotFound

type DeregisterClusterNotFound struct {

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

DeregisterClusterNotFound Error.

swagger:response deregisterClusterNotFound

func NewDeregisterClusterNotFound

func NewDeregisterClusterNotFound() *DeregisterClusterNotFound

NewDeregisterClusterNotFound creates DeregisterClusterNotFound with default headers values

func (*DeregisterClusterNotFound) SetPayload

func (o *DeregisterClusterNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the deregister cluster not found response

func (*DeregisterClusterNotFound) WithPayload

WithPayload adds the payload to the deregister cluster not found response

func (*DeregisterClusterNotFound) WriteResponse

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

WriteResponse to the client

type DeregisterClusterParams

type DeregisterClusterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

DeregisterClusterParams contains all the bound params for the deregister cluster operation typically these are obtained from a http.Request

swagger:parameters DeregisterCluster

func NewDeregisterClusterParams

func NewDeregisterClusterParams() DeregisterClusterParams

NewDeregisterClusterParams creates a new DeregisterClusterParams object no default values defined in spec.

func (*DeregisterClusterParams) BindRequest

func (o *DeregisterClusterParams) 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 NewDeregisterClusterParams() beforehand.

type DeregisterClusterURL

type DeregisterClusterURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

DeregisterClusterURL generates an URL for the deregister cluster operation

func (*DeregisterClusterURL) Build

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

Build a url path and query string

func (*DeregisterClusterURL) BuildFull

func (o *DeregisterClusterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeregisterClusterURL) Must

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

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

func (*DeregisterClusterURL) SetBasePath

func (o *DeregisterClusterURL) 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 (*DeregisterClusterURL) String

func (o *DeregisterClusterURL) String() string

String returns the string representation of the path with query string

func (*DeregisterClusterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeregisterClusterURL) WithBasePath

func (o *DeregisterClusterURL) WithBasePath(bp string) *DeregisterClusterURL

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 DeregisterHost

type DeregisterHost struct {
	Context *middleware.Context
	Handler DeregisterHostHandler
}

DeregisterHost swagger:route DELETE /clusters/{cluster_id}/hosts/{host_id} installer deregisterHost

Deregisters an OpenShift bare metal host.

func NewDeregisterHost

func NewDeregisterHost(ctx *middleware.Context, handler DeregisterHostHandler) *DeregisterHost

NewDeregisterHost creates a new http.Handler for the deregister host operation

func (*DeregisterHost) ServeHTTP

func (o *DeregisterHost) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeregisterHostBadRequest

type DeregisterHostBadRequest struct {

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

DeregisterHostBadRequest Error.

swagger:response deregisterHostBadRequest

func NewDeregisterHostBadRequest

func NewDeregisterHostBadRequest() *DeregisterHostBadRequest

NewDeregisterHostBadRequest creates DeregisterHostBadRequest with default headers values

func (*DeregisterHostBadRequest) SetPayload

func (o *DeregisterHostBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the deregister host bad request response

func (*DeregisterHostBadRequest) WithPayload

WithPayload adds the payload to the deregister host bad request response

func (*DeregisterHostBadRequest) WriteResponse

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

WriteResponse to the client

type DeregisterHostHandler

type DeregisterHostHandler interface {
	Handle(DeregisterHostParams) middleware.Responder
}

DeregisterHostHandler interface for that can handle valid deregister host params

type DeregisterHostHandlerFunc

type DeregisterHostHandlerFunc func(DeregisterHostParams) middleware.Responder

DeregisterHostHandlerFunc turns a function with the right signature into a deregister host handler

func (DeregisterHostHandlerFunc) Handle

Handle executing the request and returning a response

type DeregisterHostInternalServerError

type DeregisterHostInternalServerError struct {

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

DeregisterHostInternalServerError Error.

swagger:response deregisterHostInternalServerError

func NewDeregisterHostInternalServerError

func NewDeregisterHostInternalServerError() *DeregisterHostInternalServerError

NewDeregisterHostInternalServerError creates DeregisterHostInternalServerError with default headers values

func (*DeregisterHostInternalServerError) SetPayload

func (o *DeregisterHostInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the deregister host internal server error response

func (*DeregisterHostInternalServerError) WithPayload

WithPayload adds the payload to the deregister host internal server error response

func (*DeregisterHostInternalServerError) WriteResponse

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

WriteResponse to the client

type DeregisterHostNoContent

type DeregisterHostNoContent struct {
}

DeregisterHostNoContent Success.

swagger:response deregisterHostNoContent

func NewDeregisterHostNoContent

func NewDeregisterHostNoContent() *DeregisterHostNoContent

NewDeregisterHostNoContent creates DeregisterHostNoContent with default headers values

func (*DeregisterHostNoContent) WriteResponse

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

WriteResponse to the client

type DeregisterHostNotFound

type DeregisterHostNotFound struct {

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

DeregisterHostNotFound Error.

swagger:response deregisterHostNotFound

func NewDeregisterHostNotFound

func NewDeregisterHostNotFound() *DeregisterHostNotFound

NewDeregisterHostNotFound creates DeregisterHostNotFound with default headers values

func (*DeregisterHostNotFound) SetPayload

func (o *DeregisterHostNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the deregister host not found response

func (*DeregisterHostNotFound) WithPayload

func (o *DeregisterHostNotFound) WithPayload(payload *models.Error) *DeregisterHostNotFound

WithPayload adds the payload to the deregister host not found response

func (*DeregisterHostNotFound) WriteResponse

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

WriteResponse to the client

type DeregisterHostParams

type DeregisterHostParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
}

DeregisterHostParams contains all the bound params for the deregister host operation typically these are obtained from a http.Request

swagger:parameters DeregisterHost

func NewDeregisterHostParams

func NewDeregisterHostParams() DeregisterHostParams

NewDeregisterHostParams creates a new DeregisterHostParams object no default values defined in spec.

func (*DeregisterHostParams) BindRequest

func (o *DeregisterHostParams) 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 NewDeregisterHostParams() beforehand.

type DeregisterHostURL

type DeregisterHostURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

DeregisterHostURL generates an URL for the deregister host operation

func (*DeregisterHostURL) Build

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

Build a url path and query string

func (*DeregisterHostURL) BuildFull

func (o *DeregisterHostURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeregisterHostURL) Must

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

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

func (*DeregisterHostURL) SetBasePath

func (o *DeregisterHostURL) 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 (*DeregisterHostURL) String

func (o *DeregisterHostURL) String() string

String returns the string representation of the path with query string

func (*DeregisterHostURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeregisterHostURL) WithBasePath

func (o *DeregisterHostURL) WithBasePath(bp string) *DeregisterHostURL

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 DisableHost

type DisableHost struct {
	Context *middleware.Context
	Handler DisableHostHandler
}

DisableHost swagger:route DELETE /clusters/{cluster_id}/hosts/{host_id}/actions/enable installer disableHost

Disables a host for inclusion in the cluster.

func NewDisableHost

func NewDisableHost(ctx *middleware.Context, handler DisableHostHandler) *DisableHost

NewDisableHost creates a new http.Handler for the disable host operation

func (*DisableHost) ServeHTTP

func (o *DisableHost) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DisableHostConflict

type DisableHostConflict struct {

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

DisableHostConflict Error.

swagger:response disableHostConflict

func NewDisableHostConflict

func NewDisableHostConflict() *DisableHostConflict

NewDisableHostConflict creates DisableHostConflict with default headers values

func (*DisableHostConflict) SetPayload

func (o *DisableHostConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the disable host conflict response

func (*DisableHostConflict) WithPayload

func (o *DisableHostConflict) WithPayload(payload *models.Error) *DisableHostConflict

WithPayload adds the payload to the disable host conflict response

func (*DisableHostConflict) WriteResponse

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

WriteResponse to the client

type DisableHostHandler

type DisableHostHandler interface {
	Handle(DisableHostParams) middleware.Responder
}

DisableHostHandler interface for that can handle valid disable host params

type DisableHostHandlerFunc

type DisableHostHandlerFunc func(DisableHostParams) middleware.Responder

DisableHostHandlerFunc turns a function with the right signature into a disable host handler

func (DisableHostHandlerFunc) Handle

Handle executing the request and returning a response

type DisableHostInternalServerError

type DisableHostInternalServerError struct {

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

DisableHostInternalServerError Error.

swagger:response disableHostInternalServerError

func NewDisableHostInternalServerError

func NewDisableHostInternalServerError() *DisableHostInternalServerError

NewDisableHostInternalServerError creates DisableHostInternalServerError with default headers values

func (*DisableHostInternalServerError) SetPayload

func (o *DisableHostInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the disable host internal server error response

func (*DisableHostInternalServerError) WithPayload

WithPayload adds the payload to the disable host internal server error response

func (*DisableHostInternalServerError) WriteResponse

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

WriteResponse to the client

type DisableHostNotFound

type DisableHostNotFound struct {

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

DisableHostNotFound Error.

swagger:response disableHostNotFound

func NewDisableHostNotFound

func NewDisableHostNotFound() *DisableHostNotFound

NewDisableHostNotFound creates DisableHostNotFound with default headers values

func (*DisableHostNotFound) SetPayload

func (o *DisableHostNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the disable host not found response

func (*DisableHostNotFound) WithPayload

func (o *DisableHostNotFound) WithPayload(payload *models.Error) *DisableHostNotFound

WithPayload adds the payload to the disable host not found response

func (*DisableHostNotFound) WriteResponse

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

WriteResponse to the client

type DisableHostOK added in v1.0.5

type DisableHostOK struct {

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

DisableHostOK Success.

swagger:response disableHostOK

func NewDisableHostOK added in v1.0.5

func NewDisableHostOK() *DisableHostOK

NewDisableHostOK creates DisableHostOK with default headers values

func (*DisableHostOK) SetPayload added in v1.0.5

func (o *DisableHostOK) SetPayload(payload *models.Host)

SetPayload sets the payload to the disable host o k response

func (*DisableHostOK) WithPayload added in v1.0.5

func (o *DisableHostOK) WithPayload(payload *models.Host) *DisableHostOK

WithPayload adds the payload to the disable host o k response

func (*DisableHostOK) WriteResponse added in v1.0.5

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

WriteResponse to the client

type DisableHostParams

type DisableHostParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
}

DisableHostParams contains all the bound params for the disable host operation typically these are obtained from a http.Request

swagger:parameters DisableHost

func NewDisableHostParams

func NewDisableHostParams() DisableHostParams

NewDisableHostParams creates a new DisableHostParams object no default values defined in spec.

func (*DisableHostParams) BindRequest

func (o *DisableHostParams) 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 NewDisableHostParams() beforehand.

type DisableHostURL

type DisableHostURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

DisableHostURL generates an URL for the disable host operation

func (*DisableHostURL) Build

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

Build a url path and query string

func (*DisableHostURL) BuildFull

func (o *DisableHostURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DisableHostURL) Must

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

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

func (*DisableHostURL) SetBasePath

func (o *DisableHostURL) 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 (*DisableHostURL) String

func (o *DisableHostURL) String() string

String returns the string representation of the path with query string

func (*DisableHostURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DisableHostURL) WithBasePath

func (o *DisableHostURL) WithBasePath(bp string) *DisableHostURL

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 DownloadClusterFiles

type DownloadClusterFiles struct {
	Context *middleware.Context
	Handler DownloadClusterFilesHandler
}

DownloadClusterFiles swagger:route GET /clusters/{cluster_id}/downloads/files installer downloadClusterFiles

Downloads files relating to the installed/installing cluster.

func NewDownloadClusterFiles

func NewDownloadClusterFiles(ctx *middleware.Context, handler DownloadClusterFilesHandler) *DownloadClusterFiles

NewDownloadClusterFiles creates a new http.Handler for the download cluster files operation

func (*DownloadClusterFiles) ServeHTTP

func (o *DownloadClusterFiles) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DownloadClusterFilesConflict

type DownloadClusterFilesConflict struct {

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

DownloadClusterFilesConflict Error.

swagger:response downloadClusterFilesConflict

func NewDownloadClusterFilesConflict

func NewDownloadClusterFilesConflict() *DownloadClusterFilesConflict

NewDownloadClusterFilesConflict creates DownloadClusterFilesConflict with default headers values

func (*DownloadClusterFilesConflict) SetPayload

func (o *DownloadClusterFilesConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster files conflict response

func (*DownloadClusterFilesConflict) WithPayload

WithPayload adds the payload to the download cluster files conflict response

func (*DownloadClusterFilesConflict) WriteResponse

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

WriteResponse to the client

type DownloadClusterFilesHandler

type DownloadClusterFilesHandler interface {
	Handle(DownloadClusterFilesParams) middleware.Responder
}

DownloadClusterFilesHandler interface for that can handle valid download cluster files params

type DownloadClusterFilesHandlerFunc

type DownloadClusterFilesHandlerFunc func(DownloadClusterFilesParams) middleware.Responder

DownloadClusterFilesHandlerFunc turns a function with the right signature into a download cluster files handler

func (DownloadClusterFilesHandlerFunc) Handle

Handle executing the request and returning a response

type DownloadClusterFilesInternalServerError

type DownloadClusterFilesInternalServerError struct {

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

DownloadClusterFilesInternalServerError Error.

swagger:response downloadClusterFilesInternalServerError

func NewDownloadClusterFilesInternalServerError

func NewDownloadClusterFilesInternalServerError() *DownloadClusterFilesInternalServerError

NewDownloadClusterFilesInternalServerError creates DownloadClusterFilesInternalServerError with default headers values

func (*DownloadClusterFilesInternalServerError) SetPayload

func (o *DownloadClusterFilesInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster files internal server error response

func (*DownloadClusterFilesInternalServerError) WithPayload

WithPayload adds the payload to the download cluster files internal server error response

func (*DownloadClusterFilesInternalServerError) WriteResponse

WriteResponse to the client

type DownloadClusterFilesNotFound

type DownloadClusterFilesNotFound struct {

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

DownloadClusterFilesNotFound Error.

swagger:response downloadClusterFilesNotFound

func NewDownloadClusterFilesNotFound

func NewDownloadClusterFilesNotFound() *DownloadClusterFilesNotFound

NewDownloadClusterFilesNotFound creates DownloadClusterFilesNotFound with default headers values

func (*DownloadClusterFilesNotFound) SetPayload

func (o *DownloadClusterFilesNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster files not found response

func (*DownloadClusterFilesNotFound) WithPayload

WithPayload adds the payload to the download cluster files not found response

func (*DownloadClusterFilesNotFound) WriteResponse

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

WriteResponse to the client

type DownloadClusterFilesOK

type DownloadClusterFilesOK struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

DownloadClusterFilesOK Success.

swagger:response downloadClusterFilesOK

func NewDownloadClusterFilesOK

func NewDownloadClusterFilesOK() *DownloadClusterFilesOK

NewDownloadClusterFilesOK creates DownloadClusterFilesOK with default headers values

func (*DownloadClusterFilesOK) SetPayload

func (o *DownloadClusterFilesOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the download cluster files o k response

func (*DownloadClusterFilesOK) WithPayload

WithPayload adds the payload to the download cluster files o k response

func (*DownloadClusterFilesOK) WriteResponse

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

WriteResponse to the client

type DownloadClusterFilesParams

type DownloadClusterFilesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: query
	*/
	FileName string
}

DownloadClusterFilesParams contains all the bound params for the download cluster files operation typically these are obtained from a http.Request

swagger:parameters DownloadClusterFiles

func NewDownloadClusterFilesParams

func NewDownloadClusterFilesParams() DownloadClusterFilesParams

NewDownloadClusterFilesParams creates a new DownloadClusterFilesParams object no default values defined in spec.

func (*DownloadClusterFilesParams) 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 NewDownloadClusterFilesParams() beforehand.

type DownloadClusterFilesURL

type DownloadClusterFilesURL struct {
	ClusterID strfmt.UUID

	FileName string
	// contains filtered or unexported fields
}

DownloadClusterFilesURL generates an URL for the download cluster files operation

func (*DownloadClusterFilesURL) Build

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

Build a url path and query string

func (*DownloadClusterFilesURL) BuildFull

func (o *DownloadClusterFilesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DownloadClusterFilesURL) Must

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

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

func (*DownloadClusterFilesURL) SetBasePath

func (o *DownloadClusterFilesURL) 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 (*DownloadClusterFilesURL) String

func (o *DownloadClusterFilesURL) String() string

String returns the string representation of the path with query string

func (*DownloadClusterFilesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DownloadClusterFilesURL) 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 DownloadClusterISO

type DownloadClusterISO struct {
	Context *middleware.Context
	Handler DownloadClusterISOHandler
}

DownloadClusterISO swagger:route GET /clusters/{cluster_id}/downloads/image installer downloadClusterISO

Downloads the OpenShift per-cluster discovery ISO.

func NewDownloadClusterISO

func NewDownloadClusterISO(ctx *middleware.Context, handler DownloadClusterISOHandler) *DownloadClusterISO

NewDownloadClusterISO creates a new http.Handler for the download cluster i s o operation

func (*DownloadClusterISO) ServeHTTP

func (o *DownloadClusterISO) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DownloadClusterISOBadRequest

type DownloadClusterISOBadRequest struct {

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

DownloadClusterISOBadRequest Error.

swagger:response downloadClusterISOBadRequest

func NewDownloadClusterISOBadRequest

func NewDownloadClusterISOBadRequest() *DownloadClusterISOBadRequest

NewDownloadClusterISOBadRequest creates DownloadClusterISOBadRequest with default headers values

func (*DownloadClusterISOBadRequest) SetPayload

func (o *DownloadClusterISOBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster i s o bad request response

func (*DownloadClusterISOBadRequest) WithPayload

WithPayload adds the payload to the download cluster i s o bad request response

func (*DownloadClusterISOBadRequest) WriteResponse

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

WriteResponse to the client

type DownloadClusterISOHandler

type DownloadClusterISOHandler interface {
	Handle(DownloadClusterISOParams) middleware.Responder
}

DownloadClusterISOHandler interface for that can handle valid download cluster i s o params

type DownloadClusterISOHandlerFunc

type DownloadClusterISOHandlerFunc func(DownloadClusterISOParams) middleware.Responder

DownloadClusterISOHandlerFunc turns a function with the right signature into a download cluster i s o handler

func (DownloadClusterISOHandlerFunc) Handle

Handle executing the request and returning a response

type DownloadClusterISOInternalServerError

type DownloadClusterISOInternalServerError struct {

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

DownloadClusterISOInternalServerError Error.

swagger:response downloadClusterISOInternalServerError

func NewDownloadClusterISOInternalServerError

func NewDownloadClusterISOInternalServerError() *DownloadClusterISOInternalServerError

NewDownloadClusterISOInternalServerError creates DownloadClusterISOInternalServerError with default headers values

func (*DownloadClusterISOInternalServerError) SetPayload

func (o *DownloadClusterISOInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster i s o internal server error response

func (*DownloadClusterISOInternalServerError) WithPayload

WithPayload adds the payload to the download cluster i s o internal server error response

func (*DownloadClusterISOInternalServerError) WriteResponse

WriteResponse to the client

type DownloadClusterISONotFound

type DownloadClusterISONotFound struct {

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

DownloadClusterISONotFound Error.

swagger:response downloadClusterISONotFound

func NewDownloadClusterISONotFound

func NewDownloadClusterISONotFound() *DownloadClusterISONotFound

NewDownloadClusterISONotFound creates DownloadClusterISONotFound with default headers values

func (*DownloadClusterISONotFound) SetPayload

func (o *DownloadClusterISONotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster i s o not found response

func (*DownloadClusterISONotFound) WithPayload

WithPayload adds the payload to the download cluster i s o not found response

func (*DownloadClusterISONotFound) WriteResponse

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

WriteResponse to the client

type DownloadClusterISOOK

type DownloadClusterISOOK struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

DownloadClusterISOOK Success.

swagger:response downloadClusterISOOK

func NewDownloadClusterISOOK

func NewDownloadClusterISOOK() *DownloadClusterISOOK

NewDownloadClusterISOOK creates DownloadClusterISOOK with default headers values

func (*DownloadClusterISOOK) SetPayload

func (o *DownloadClusterISOOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the download cluster i s o o k response

func (*DownloadClusterISOOK) WithPayload

func (o *DownloadClusterISOOK) WithPayload(payload io.ReadCloser) *DownloadClusterISOOK

WithPayload adds the payload to the download cluster i s o o k response

func (*DownloadClusterISOOK) WriteResponse

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

WriteResponse to the client

type DownloadClusterISOParams

type DownloadClusterISOParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

DownloadClusterISOParams contains all the bound params for the download cluster i s o operation typically these are obtained from a http.Request

swagger:parameters DownloadClusterISO

func NewDownloadClusterISOParams

func NewDownloadClusterISOParams() DownloadClusterISOParams

NewDownloadClusterISOParams creates a new DownloadClusterISOParams object no default values defined in spec.

func (*DownloadClusterISOParams) 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 NewDownloadClusterISOParams() beforehand.

type DownloadClusterISOURL

type DownloadClusterISOURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

DownloadClusterISOURL generates an URL for the download cluster i s o operation

func (*DownloadClusterISOURL) Build

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

Build a url path and query string

func (*DownloadClusterISOURL) BuildFull

func (o *DownloadClusterISOURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DownloadClusterISOURL) Must

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

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

func (*DownloadClusterISOURL) SetBasePath

func (o *DownloadClusterISOURL) 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 (*DownloadClusterISOURL) String

func (o *DownloadClusterISOURL) String() string

String returns the string representation of the path with query string

func (*DownloadClusterISOURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DownloadClusterISOURL) WithBasePath

func (o *DownloadClusterISOURL) WithBasePath(bp string) *DownloadClusterISOURL

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 DownloadClusterKubeconfig

type DownloadClusterKubeconfig struct {
	Context *middleware.Context
	Handler DownloadClusterKubeconfigHandler
}

DownloadClusterKubeconfig swagger:route GET /clusters/{cluster_id}/downloads/kubeconfig installer downloadClusterKubeconfig

Downloads the kubeconfig file for this cluster.

func NewDownloadClusterKubeconfig

func NewDownloadClusterKubeconfig(ctx *middleware.Context, handler DownloadClusterKubeconfigHandler) *DownloadClusterKubeconfig

NewDownloadClusterKubeconfig creates a new http.Handler for the download cluster kubeconfig operation

func (*DownloadClusterKubeconfig) ServeHTTP

type DownloadClusterKubeconfigConflict

type DownloadClusterKubeconfigConflict struct {

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

DownloadClusterKubeconfigConflict Error.

swagger:response downloadClusterKubeconfigConflict

func NewDownloadClusterKubeconfigConflict

func NewDownloadClusterKubeconfigConflict() *DownloadClusterKubeconfigConflict

NewDownloadClusterKubeconfigConflict creates DownloadClusterKubeconfigConflict with default headers values

func (*DownloadClusterKubeconfigConflict) SetPayload

func (o *DownloadClusterKubeconfigConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster kubeconfig conflict response

func (*DownloadClusterKubeconfigConflict) WithPayload

WithPayload adds the payload to the download cluster kubeconfig conflict response

func (*DownloadClusterKubeconfigConflict) WriteResponse

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

WriteResponse to the client

type DownloadClusterKubeconfigHandler

type DownloadClusterKubeconfigHandler interface {
	Handle(DownloadClusterKubeconfigParams) middleware.Responder
}

DownloadClusterKubeconfigHandler interface for that can handle valid download cluster kubeconfig params

type DownloadClusterKubeconfigHandlerFunc

type DownloadClusterKubeconfigHandlerFunc func(DownloadClusterKubeconfigParams) middleware.Responder

DownloadClusterKubeconfigHandlerFunc turns a function with the right signature into a download cluster kubeconfig handler

func (DownloadClusterKubeconfigHandlerFunc) Handle

Handle executing the request and returning a response

type DownloadClusterKubeconfigInternalServerError

type DownloadClusterKubeconfigInternalServerError struct {

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

DownloadClusterKubeconfigInternalServerError Error.

swagger:response downloadClusterKubeconfigInternalServerError

func NewDownloadClusterKubeconfigInternalServerError

func NewDownloadClusterKubeconfigInternalServerError() *DownloadClusterKubeconfigInternalServerError

NewDownloadClusterKubeconfigInternalServerError creates DownloadClusterKubeconfigInternalServerError with default headers values

func (*DownloadClusterKubeconfigInternalServerError) SetPayload

SetPayload sets the payload to the download cluster kubeconfig internal server error response

func (*DownloadClusterKubeconfigInternalServerError) WithPayload

WithPayload adds the payload to the download cluster kubeconfig internal server error response

func (*DownloadClusterKubeconfigInternalServerError) WriteResponse

WriteResponse to the client

type DownloadClusterKubeconfigNotFound

type DownloadClusterKubeconfigNotFound struct {

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

DownloadClusterKubeconfigNotFound Error.

swagger:response downloadClusterKubeconfigNotFound

func NewDownloadClusterKubeconfigNotFound

func NewDownloadClusterKubeconfigNotFound() *DownloadClusterKubeconfigNotFound

NewDownloadClusterKubeconfigNotFound creates DownloadClusterKubeconfigNotFound with default headers values

func (*DownloadClusterKubeconfigNotFound) SetPayload

func (o *DownloadClusterKubeconfigNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the download cluster kubeconfig not found response

func (*DownloadClusterKubeconfigNotFound) WithPayload

WithPayload adds the payload to the download cluster kubeconfig not found response

func (*DownloadClusterKubeconfigNotFound) WriteResponse

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

WriteResponse to the client

type DownloadClusterKubeconfigOK

type DownloadClusterKubeconfigOK struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

DownloadClusterKubeconfigOK Success.

swagger:response downloadClusterKubeconfigOK

func NewDownloadClusterKubeconfigOK

func NewDownloadClusterKubeconfigOK() *DownloadClusterKubeconfigOK

NewDownloadClusterKubeconfigOK creates DownloadClusterKubeconfigOK with default headers values

func (*DownloadClusterKubeconfigOK) SetPayload

func (o *DownloadClusterKubeconfigOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the download cluster kubeconfig o k response

func (*DownloadClusterKubeconfigOK) WithPayload

WithPayload adds the payload to the download cluster kubeconfig o k response

func (*DownloadClusterKubeconfigOK) WriteResponse

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

WriteResponse to the client

type DownloadClusterKubeconfigParams

type DownloadClusterKubeconfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

DownloadClusterKubeconfigParams contains all the bound params for the download cluster kubeconfig operation typically these are obtained from a http.Request

swagger:parameters DownloadClusterKubeconfig

func NewDownloadClusterKubeconfigParams

func NewDownloadClusterKubeconfigParams() DownloadClusterKubeconfigParams

NewDownloadClusterKubeconfigParams creates a new DownloadClusterKubeconfigParams object no default values defined in spec.

func (*DownloadClusterKubeconfigParams) 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 NewDownloadClusterKubeconfigParams() beforehand.

type DownloadClusterKubeconfigURL

type DownloadClusterKubeconfigURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

DownloadClusterKubeconfigURL generates an URL for the download cluster kubeconfig operation

func (*DownloadClusterKubeconfigURL) Build

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

Build a url path and query string

func (*DownloadClusterKubeconfigURL) BuildFull

func (o *DownloadClusterKubeconfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DownloadClusterKubeconfigURL) Must

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

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

func (*DownloadClusterKubeconfigURL) SetBasePath

func (o *DownloadClusterKubeconfigURL) 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 (*DownloadClusterKubeconfigURL) String

String returns the string representation of the path with query string

func (*DownloadClusterKubeconfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DownloadClusterKubeconfigURL) 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 EnableHost

type EnableHost struct {
	Context *middleware.Context
	Handler EnableHostHandler
}

EnableHost swagger:route POST /clusters/{cluster_id}/hosts/{host_id}/actions/enable installer enableHost

Enables a host for inclusion in the cluster.

func NewEnableHost

func NewEnableHost(ctx *middleware.Context, handler EnableHostHandler) *EnableHost

NewEnableHost creates a new http.Handler for the enable host operation

func (*EnableHost) ServeHTTP

func (o *EnableHost) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnableHostConflict

type EnableHostConflict struct {

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

EnableHostConflict Error.

swagger:response enableHostConflict

func NewEnableHostConflict

func NewEnableHostConflict() *EnableHostConflict

NewEnableHostConflict creates EnableHostConflict with default headers values

func (*EnableHostConflict) SetPayload

func (o *EnableHostConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the enable host conflict response

func (*EnableHostConflict) WithPayload

func (o *EnableHostConflict) WithPayload(payload *models.Error) *EnableHostConflict

WithPayload adds the payload to the enable host conflict response

func (*EnableHostConflict) WriteResponse

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

WriteResponse to the client

type EnableHostHandler

type EnableHostHandler interface {
	Handle(EnableHostParams) middleware.Responder
}

EnableHostHandler interface for that can handle valid enable host params

type EnableHostHandlerFunc

type EnableHostHandlerFunc func(EnableHostParams) middleware.Responder

EnableHostHandlerFunc turns a function with the right signature into a enable host handler

func (EnableHostHandlerFunc) Handle

Handle executing the request and returning a response

type EnableHostInternalServerError

type EnableHostInternalServerError struct {

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

EnableHostInternalServerError Error.

swagger:response enableHostInternalServerError

func NewEnableHostInternalServerError

func NewEnableHostInternalServerError() *EnableHostInternalServerError

NewEnableHostInternalServerError creates EnableHostInternalServerError with default headers values

func (*EnableHostInternalServerError) SetPayload

func (o *EnableHostInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the enable host internal server error response

func (*EnableHostInternalServerError) WithPayload

WithPayload adds the payload to the enable host internal server error response

func (*EnableHostInternalServerError) WriteResponse

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

WriteResponse to the client

type EnableHostNotFound

type EnableHostNotFound struct {

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

EnableHostNotFound Error.

swagger:response enableHostNotFound

func NewEnableHostNotFound

func NewEnableHostNotFound() *EnableHostNotFound

NewEnableHostNotFound creates EnableHostNotFound with default headers values

func (*EnableHostNotFound) SetPayload

func (o *EnableHostNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the enable host not found response

func (*EnableHostNotFound) WithPayload

func (o *EnableHostNotFound) WithPayload(payload *models.Error) *EnableHostNotFound

WithPayload adds the payload to the enable host not found response

func (*EnableHostNotFound) WriteResponse

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

WriteResponse to the client

type EnableHostOK added in v1.0.5

type EnableHostOK struct {

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

EnableHostOK Success.

swagger:response enableHostOK

func NewEnableHostOK added in v1.0.5

func NewEnableHostOK() *EnableHostOK

NewEnableHostOK creates EnableHostOK with default headers values

func (*EnableHostOK) SetPayload added in v1.0.5

func (o *EnableHostOK) SetPayload(payload *models.Host)

SetPayload sets the payload to the enable host o k response

func (*EnableHostOK) WithPayload added in v1.0.5

func (o *EnableHostOK) WithPayload(payload *models.Host) *EnableHostOK

WithPayload adds the payload to the enable host o k response

func (*EnableHostOK) WriteResponse added in v1.0.5

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

WriteResponse to the client

type EnableHostParams

type EnableHostParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
}

EnableHostParams contains all the bound params for the enable host operation typically these are obtained from a http.Request

swagger:parameters EnableHost

func NewEnableHostParams

func NewEnableHostParams() EnableHostParams

NewEnableHostParams creates a new EnableHostParams object no default values defined in spec.

func (*EnableHostParams) BindRequest

func (o *EnableHostParams) 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 NewEnableHostParams() beforehand.

type EnableHostURL

type EnableHostURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

EnableHostURL generates an URL for the enable host operation

func (*EnableHostURL) Build

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

Build a url path and query string

func (*EnableHostURL) BuildFull

func (o *EnableHostURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnableHostURL) Must

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

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

func (*EnableHostURL) SetBasePath

func (o *EnableHostURL) 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 (*EnableHostURL) String

func (o *EnableHostURL) String() string

String returns the string representation of the path with query string

func (*EnableHostURL) StringFull

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

StringFull returns the string representation of a complete url

func (*EnableHostURL) WithBasePath

func (o *EnableHostURL) WithBasePath(bp string) *EnableHostURL

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 GenerateClusterISO

type GenerateClusterISO struct {
	Context *middleware.Context
	Handler GenerateClusterISOHandler
}

GenerateClusterISO swagger:route POST /clusters/{cluster_id}/downloads/image installer generateClusterISO

Creates a new OpenShift per-cluster discovery ISO.

func NewGenerateClusterISO

func NewGenerateClusterISO(ctx *middleware.Context, handler GenerateClusterISOHandler) *GenerateClusterISO

NewGenerateClusterISO creates a new http.Handler for the generate cluster i s o operation

func (*GenerateClusterISO) ServeHTTP

func (o *GenerateClusterISO) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GenerateClusterISOBadRequest

type GenerateClusterISOBadRequest struct {

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

GenerateClusterISOBadRequest Error.

swagger:response generateClusterISOBadRequest

func NewGenerateClusterISOBadRequest

func NewGenerateClusterISOBadRequest() *GenerateClusterISOBadRequest

NewGenerateClusterISOBadRequest creates GenerateClusterISOBadRequest with default headers values

func (*GenerateClusterISOBadRequest) SetPayload

func (o *GenerateClusterISOBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the generate cluster i s o bad request response

func (*GenerateClusterISOBadRequest) WithPayload

WithPayload adds the payload to the generate cluster i s o bad request response

func (*GenerateClusterISOBadRequest) WriteResponse

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

WriteResponse to the client

type GenerateClusterISOConflict

type GenerateClusterISOConflict struct {

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

GenerateClusterISOConflict Error.

swagger:response generateClusterISOConflict

func NewGenerateClusterISOConflict

func NewGenerateClusterISOConflict() *GenerateClusterISOConflict

NewGenerateClusterISOConflict creates GenerateClusterISOConflict with default headers values

func (*GenerateClusterISOConflict) SetPayload added in v1.0.6

func (o *GenerateClusterISOConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the generate cluster i s o conflict response

func (*GenerateClusterISOConflict) WithPayload added in v1.0.6

WithPayload adds the payload to the generate cluster i s o conflict response

func (*GenerateClusterISOConflict) WriteResponse

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

WriteResponse to the client

type GenerateClusterISOCreated

type GenerateClusterISOCreated struct {

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

GenerateClusterISOCreated Success.

swagger:response generateClusterISOCreated

func NewGenerateClusterISOCreated

func NewGenerateClusterISOCreated() *GenerateClusterISOCreated

NewGenerateClusterISOCreated creates GenerateClusterISOCreated with default headers values

func (*GenerateClusterISOCreated) SetPayload

func (o *GenerateClusterISOCreated) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the generate cluster i s o created response

func (*GenerateClusterISOCreated) WithPayload

WithPayload adds the payload to the generate cluster i s o created response

func (*GenerateClusterISOCreated) WriteResponse

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

WriteResponse to the client

type GenerateClusterISOHandler

type GenerateClusterISOHandler interface {
	Handle(GenerateClusterISOParams) middleware.Responder
}

GenerateClusterISOHandler interface for that can handle valid generate cluster i s o params

type GenerateClusterISOHandlerFunc

type GenerateClusterISOHandlerFunc func(GenerateClusterISOParams) middleware.Responder

GenerateClusterISOHandlerFunc turns a function with the right signature into a generate cluster i s o handler

func (GenerateClusterISOHandlerFunc) Handle

Handle executing the request and returning a response

type GenerateClusterISOInternalServerError

type GenerateClusterISOInternalServerError struct {

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

GenerateClusterISOInternalServerError Error.

swagger:response generateClusterISOInternalServerError

func NewGenerateClusterISOInternalServerError

func NewGenerateClusterISOInternalServerError() *GenerateClusterISOInternalServerError

NewGenerateClusterISOInternalServerError creates GenerateClusterISOInternalServerError with default headers values

func (*GenerateClusterISOInternalServerError) SetPayload

func (o *GenerateClusterISOInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the generate cluster i s o internal server error response

func (*GenerateClusterISOInternalServerError) WithPayload

WithPayload adds the payload to the generate cluster i s o internal server error response

func (*GenerateClusterISOInternalServerError) WriteResponse

WriteResponse to the client

type GenerateClusterISONotFound

type GenerateClusterISONotFound struct {

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

GenerateClusterISONotFound Error.

swagger:response generateClusterISONotFound

func NewGenerateClusterISONotFound

func NewGenerateClusterISONotFound() *GenerateClusterISONotFound

NewGenerateClusterISONotFound creates GenerateClusterISONotFound with default headers values

func (*GenerateClusterISONotFound) SetPayload

func (o *GenerateClusterISONotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the generate cluster i s o not found response

func (*GenerateClusterISONotFound) WithPayload

WithPayload adds the payload to the generate cluster i s o not found response

func (*GenerateClusterISONotFound) WriteResponse

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

WriteResponse to the client

type GenerateClusterISOParams

type GenerateClusterISOParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	ImageCreateParams *models.ImageCreateParams
}

GenerateClusterISOParams contains all the bound params for the generate cluster i s o operation typically these are obtained from a http.Request

swagger:parameters GenerateClusterISO

func NewGenerateClusterISOParams

func NewGenerateClusterISOParams() GenerateClusterISOParams

NewGenerateClusterISOParams creates a new GenerateClusterISOParams object no default values defined in spec.

func (*GenerateClusterISOParams) 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 NewGenerateClusterISOParams() beforehand.

type GenerateClusterISOURL

type GenerateClusterISOURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

GenerateClusterISOURL generates an URL for the generate cluster i s o operation

func (*GenerateClusterISOURL) Build

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

Build a url path and query string

func (*GenerateClusterISOURL) BuildFull

func (o *GenerateClusterISOURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GenerateClusterISOURL) Must

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

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

func (*GenerateClusterISOURL) SetBasePath

func (o *GenerateClusterISOURL) 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 (*GenerateClusterISOURL) String

func (o *GenerateClusterISOURL) String() string

String returns the string representation of the path with query string

func (*GenerateClusterISOURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GenerateClusterISOURL) WithBasePath

func (o *GenerateClusterISOURL) WithBasePath(bp string) *GenerateClusterISOURL

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 GetCluster

type GetCluster struct {
	Context *middleware.Context
	Handler GetClusterHandler
}

GetCluster swagger:route GET /clusters/{cluster_id} installer getCluster

Retrieves the details of the OpenShift bare metal cluster.

func NewGetCluster

func NewGetCluster(ctx *middleware.Context, handler GetClusterHandler) *GetCluster

NewGetCluster creates a new http.Handler for the get cluster operation

func (*GetCluster) ServeHTTP

func (o *GetCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetClusterHandler

type GetClusterHandler interface {
	Handle(GetClusterParams) middleware.Responder
}

GetClusterHandler interface for that can handle valid get cluster params

type GetClusterHandlerFunc

type GetClusterHandlerFunc func(GetClusterParams) middleware.Responder

GetClusterHandlerFunc turns a function with the right signature into a get cluster handler

func (GetClusterHandlerFunc) Handle

Handle executing the request and returning a response

type GetClusterInternalServerError

type GetClusterInternalServerError struct {

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

GetClusterInternalServerError Error.

swagger:response getClusterInternalServerError

func NewGetClusterInternalServerError

func NewGetClusterInternalServerError() *GetClusterInternalServerError

NewGetClusterInternalServerError creates GetClusterInternalServerError with default headers values

func (*GetClusterInternalServerError) SetPayload

func (o *GetClusterInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get cluster internal server error response

func (*GetClusterInternalServerError) WithPayload

WithPayload adds the payload to the get cluster internal server error response

func (*GetClusterInternalServerError) WriteResponse

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

WriteResponse to the client

type GetClusterNotFound

type GetClusterNotFound struct {

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

GetClusterNotFound Error.

swagger:response getClusterNotFound

func NewGetClusterNotFound

func NewGetClusterNotFound() *GetClusterNotFound

NewGetClusterNotFound creates GetClusterNotFound with default headers values

func (*GetClusterNotFound) SetPayload

func (o *GetClusterNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get cluster not found response

func (*GetClusterNotFound) WithPayload

func (o *GetClusterNotFound) WithPayload(payload *models.Error) *GetClusterNotFound

WithPayload adds the payload to the get cluster not found response

func (*GetClusterNotFound) WriteResponse

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

WriteResponse to the client

type GetClusterOK

type GetClusterOK struct {

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

GetClusterOK Success.

swagger:response getClusterOK

func NewGetClusterOK

func NewGetClusterOK() *GetClusterOK

NewGetClusterOK creates GetClusterOK with default headers values

func (*GetClusterOK) SetPayload

func (o *GetClusterOK) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the get cluster o k response

func (*GetClusterOK) WithPayload

func (o *GetClusterOK) WithPayload(payload *models.Cluster) *GetClusterOK

WithPayload adds the payload to the get cluster o k response

func (*GetClusterOK) WriteResponse

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

WriteResponse to the client

type GetClusterParams

type GetClusterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

GetClusterParams contains all the bound params for the get cluster operation typically these are obtained from a http.Request

swagger:parameters GetCluster

func NewGetClusterParams

func NewGetClusterParams() GetClusterParams

NewGetClusterParams creates a new GetClusterParams object no default values defined in spec.

func (*GetClusterParams) BindRequest

func (o *GetClusterParams) 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 NewGetClusterParams() beforehand.

type GetClusterURL

type GetClusterURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

GetClusterURL generates an URL for the get cluster operation

func (*GetClusterURL) Build

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

Build a url path and query string

func (*GetClusterURL) BuildFull

func (o *GetClusterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetClusterURL) Must

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

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

func (*GetClusterURL) SetBasePath

func (o *GetClusterURL) 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 (*GetClusterURL) String

func (o *GetClusterURL) String() string

String returns the string representation of the path with query string

func (*GetClusterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetClusterURL) WithBasePath

func (o *GetClusterURL) WithBasePath(bp string) *GetClusterURL

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 GetCredentials

type GetCredentials struct {
	Context *middleware.Context
	Handler GetCredentialsHandler
}

GetCredentials swagger:route GET /clusters/{cluster_id}/credentials installer getCredentials

Get the the cluster admin credentials.

func NewGetCredentials

func NewGetCredentials(ctx *middleware.Context, handler GetCredentialsHandler) *GetCredentials

NewGetCredentials creates a new http.Handler for the get credentials operation

func (*GetCredentials) ServeHTTP

func (o *GetCredentials) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetCredentialsConflict

type GetCredentialsConflict struct {

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

GetCredentialsConflict Error.

swagger:response getCredentialsConflict

func NewGetCredentialsConflict

func NewGetCredentialsConflict() *GetCredentialsConflict

NewGetCredentialsConflict creates GetCredentialsConflict with default headers values

func (*GetCredentialsConflict) SetPayload

func (o *GetCredentialsConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the get credentials conflict response

func (*GetCredentialsConflict) WithPayload

func (o *GetCredentialsConflict) WithPayload(payload *models.Error) *GetCredentialsConflict

WithPayload adds the payload to the get credentials conflict response

func (*GetCredentialsConflict) WriteResponse

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

WriteResponse to the client

type GetCredentialsHandler

type GetCredentialsHandler interface {
	Handle(GetCredentialsParams) middleware.Responder
}

GetCredentialsHandler interface for that can handle valid get credentials params

type GetCredentialsHandlerFunc

type GetCredentialsHandlerFunc func(GetCredentialsParams) middleware.Responder

GetCredentialsHandlerFunc turns a function with the right signature into a get credentials handler

func (GetCredentialsHandlerFunc) Handle

Handle executing the request and returning a response

type GetCredentialsInternalServerError

type GetCredentialsInternalServerError struct {

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

GetCredentialsInternalServerError Error.

swagger:response getCredentialsInternalServerError

func NewGetCredentialsInternalServerError

func NewGetCredentialsInternalServerError() *GetCredentialsInternalServerError

NewGetCredentialsInternalServerError creates GetCredentialsInternalServerError with default headers values

func (*GetCredentialsInternalServerError) SetPayload

func (o *GetCredentialsInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get credentials internal server error response

func (*GetCredentialsInternalServerError) WithPayload

WithPayload adds the payload to the get credentials internal server error response

func (*GetCredentialsInternalServerError) WriteResponse

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

WriteResponse to the client

type GetCredentialsNotFound

type GetCredentialsNotFound struct {

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

GetCredentialsNotFound Error.

swagger:response getCredentialsNotFound

func NewGetCredentialsNotFound

func NewGetCredentialsNotFound() *GetCredentialsNotFound

NewGetCredentialsNotFound creates GetCredentialsNotFound with default headers values

func (*GetCredentialsNotFound) SetPayload

func (o *GetCredentialsNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get credentials not found response

func (*GetCredentialsNotFound) WithPayload

func (o *GetCredentialsNotFound) WithPayload(payload *models.Error) *GetCredentialsNotFound

WithPayload adds the payload to the get credentials not found response

func (*GetCredentialsNotFound) WriteResponse

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

WriteResponse to the client

type GetCredentialsOK

type GetCredentialsOK struct {

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

GetCredentialsOK Success.

swagger:response getCredentialsOK

func NewGetCredentialsOK

func NewGetCredentialsOK() *GetCredentialsOK

NewGetCredentialsOK creates GetCredentialsOK with default headers values

func (*GetCredentialsOK) SetPayload

func (o *GetCredentialsOK) SetPayload(payload *models.Credentials)

SetPayload sets the payload to the get credentials o k response

func (*GetCredentialsOK) WithPayload

func (o *GetCredentialsOK) WithPayload(payload *models.Credentials) *GetCredentialsOK

WithPayload adds the payload to the get credentials o k response

func (*GetCredentialsOK) WriteResponse

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

WriteResponse to the client

type GetCredentialsParams

type GetCredentialsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

GetCredentialsParams contains all the bound params for the get credentials operation typically these are obtained from a http.Request

swagger:parameters GetCredentials

func NewGetCredentialsParams

func NewGetCredentialsParams() GetCredentialsParams

NewGetCredentialsParams creates a new GetCredentialsParams object no default values defined in spec.

func (*GetCredentialsParams) BindRequest

func (o *GetCredentialsParams) 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 NewGetCredentialsParams() beforehand.

type GetCredentialsURL

type GetCredentialsURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

GetCredentialsURL generates an URL for the get credentials operation

func (*GetCredentialsURL) Build

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

Build a url path and query string

func (*GetCredentialsURL) BuildFull

func (o *GetCredentialsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetCredentialsURL) Must

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

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

func (*GetCredentialsURL) SetBasePath

func (o *GetCredentialsURL) 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 (*GetCredentialsURL) String

func (o *GetCredentialsURL) String() string

String returns the string representation of the path with query string

func (*GetCredentialsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetCredentialsURL) WithBasePath

func (o *GetCredentialsURL) WithBasePath(bp string) *GetCredentialsURL

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 GetFreeAddresses added in v1.0.4

type GetFreeAddresses struct {
	Context *middleware.Context
	Handler GetFreeAddressesHandler
}

GetFreeAddresses swagger:route GET /clusters/{cluster_id}/free_addresses installer getFreeAddresses

Retrieves the free address list for a network.

func NewGetFreeAddresses added in v1.0.4

func NewGetFreeAddresses(ctx *middleware.Context, handler GetFreeAddressesHandler) *GetFreeAddresses

NewGetFreeAddresses creates a new http.Handler for the get free addresses operation

func (*GetFreeAddresses) ServeHTTP added in v1.0.4

func (o *GetFreeAddresses) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetFreeAddressesHandler added in v1.0.4

type GetFreeAddressesHandler interface {
	Handle(GetFreeAddressesParams) middleware.Responder
}

GetFreeAddressesHandler interface for that can handle valid get free addresses params

type GetFreeAddressesHandlerFunc added in v1.0.4

type GetFreeAddressesHandlerFunc func(GetFreeAddressesParams) middleware.Responder

GetFreeAddressesHandlerFunc turns a function with the right signature into a get free addresses handler

func (GetFreeAddressesHandlerFunc) Handle added in v1.0.4

Handle executing the request and returning a response

type GetFreeAddressesInternalServerError added in v1.0.4

type GetFreeAddressesInternalServerError struct {

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

GetFreeAddressesInternalServerError Error.

swagger:response getFreeAddressesInternalServerError

func NewGetFreeAddressesInternalServerError added in v1.0.4

func NewGetFreeAddressesInternalServerError() *GetFreeAddressesInternalServerError

NewGetFreeAddressesInternalServerError creates GetFreeAddressesInternalServerError with default headers values

func (*GetFreeAddressesInternalServerError) SetPayload added in v1.0.4

func (o *GetFreeAddressesInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get free addresses internal server error response

func (*GetFreeAddressesInternalServerError) WithPayload added in v1.0.4

WithPayload adds the payload to the get free addresses internal server error response

func (*GetFreeAddressesInternalServerError) WriteResponse added in v1.0.4

WriteResponse to the client

type GetFreeAddressesNotFound added in v1.0.4

type GetFreeAddressesNotFound struct {

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

GetFreeAddressesNotFound Error.

swagger:response getFreeAddressesNotFound

func NewGetFreeAddressesNotFound added in v1.0.4

func NewGetFreeAddressesNotFound() *GetFreeAddressesNotFound

NewGetFreeAddressesNotFound creates GetFreeAddressesNotFound with default headers values

func (*GetFreeAddressesNotFound) SetPayload added in v1.0.4

func (o *GetFreeAddressesNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get free addresses not found response

func (*GetFreeAddressesNotFound) WithPayload added in v1.0.4

WithPayload adds the payload to the get free addresses not found response

func (*GetFreeAddressesNotFound) WriteResponse added in v1.0.4

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

WriteResponse to the client

type GetFreeAddressesOK added in v1.0.4

type GetFreeAddressesOK struct {

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

GetFreeAddressesOK Success

swagger:response getFreeAddressesOK

func NewGetFreeAddressesOK added in v1.0.4

func NewGetFreeAddressesOK() *GetFreeAddressesOK

NewGetFreeAddressesOK creates GetFreeAddressesOK with default headers values

func (*GetFreeAddressesOK) SetPayload added in v1.0.4

func (o *GetFreeAddressesOK) SetPayload(payload models.FreeAddressesList)

SetPayload sets the payload to the get free addresses o k response

func (*GetFreeAddressesOK) WithPayload added in v1.0.4

WithPayload adds the payload to the get free addresses o k response

func (*GetFreeAddressesOK) WriteResponse added in v1.0.4

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

WriteResponse to the client

type GetFreeAddressesParams added in v1.0.4

type GetFreeAddressesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Maximum: 8000
	  Minimum: 1
	  In: query
	  Default: 8000
	*/
	Limit *int64
	/*
	  Required: true
	  Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
	  In: query
	*/
	Network string
	/*
	  In: query
	*/
	Prefix *string
}

GetFreeAddressesParams contains all the bound params for the get free addresses operation typically these are obtained from a http.Request

swagger:parameters GetFreeAddresses

func NewGetFreeAddressesParams added in v1.0.4

func NewGetFreeAddressesParams() GetFreeAddressesParams

NewGetFreeAddressesParams creates a new GetFreeAddressesParams object with the default values initialized.

func (*GetFreeAddressesParams) BindRequest added in v1.0.4

func (o *GetFreeAddressesParams) 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 NewGetFreeAddressesParams() beforehand.

type GetFreeAddressesURL added in v1.0.4

type GetFreeAddressesURL struct {
	ClusterID strfmt.UUID

	Limit   *int64
	Network string
	Prefix  *string
	// contains filtered or unexported fields
}

GetFreeAddressesURL generates an URL for the get free addresses operation

func (*GetFreeAddressesURL) Build added in v1.0.4

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

Build a url path and query string

func (*GetFreeAddressesURL) BuildFull added in v1.0.4

func (o *GetFreeAddressesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetFreeAddressesURL) Must added in v1.0.4

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

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

func (*GetFreeAddressesURL) SetBasePath added in v1.0.4

func (o *GetFreeAddressesURL) 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 (*GetFreeAddressesURL) String added in v1.0.4

func (o *GetFreeAddressesURL) String() string

String returns the string representation of the path with query string

func (*GetFreeAddressesURL) StringFull added in v1.0.4

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

StringFull returns the string representation of a complete url

func (*GetFreeAddressesURL) WithBasePath added in v1.0.4

func (o *GetFreeAddressesURL) WithBasePath(bp string) *GetFreeAddressesURL

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 GetHost

type GetHost struct {
	Context *middleware.Context
	Handler GetHostHandler
}

GetHost swagger:route GET /clusters/{cluster_id}/hosts/{host_id} installer getHost

Retrieves the details of the OpenShift bare metal host.

func NewGetHost

func NewGetHost(ctx *middleware.Context, handler GetHostHandler) *GetHost

NewGetHost creates a new http.Handler for the get host operation

func (*GetHost) ServeHTTP

func (o *GetHost) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetHostHandler

type GetHostHandler interface {
	Handle(GetHostParams) middleware.Responder
}

GetHostHandler interface for that can handle valid get host params

type GetHostHandlerFunc

type GetHostHandlerFunc func(GetHostParams) middleware.Responder

GetHostHandlerFunc turns a function with the right signature into a get host handler

func (GetHostHandlerFunc) Handle

Handle executing the request and returning a response

type GetHostInternalServerError

type GetHostInternalServerError struct {

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

GetHostInternalServerError Error.

swagger:response getHostInternalServerError

func NewGetHostInternalServerError

func NewGetHostInternalServerError() *GetHostInternalServerError

NewGetHostInternalServerError creates GetHostInternalServerError with default headers values

func (*GetHostInternalServerError) SetPayload

func (o *GetHostInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get host internal server error response

func (*GetHostInternalServerError) WithPayload

WithPayload adds the payload to the get host internal server error response

func (*GetHostInternalServerError) WriteResponse

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

WriteResponse to the client

type GetHostNotFound

type GetHostNotFound struct {

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

GetHostNotFound Error.

swagger:response getHostNotFound

func NewGetHostNotFound

func NewGetHostNotFound() *GetHostNotFound

NewGetHostNotFound creates GetHostNotFound with default headers values

func (*GetHostNotFound) SetPayload

func (o *GetHostNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get host not found response

func (*GetHostNotFound) WithPayload

func (o *GetHostNotFound) WithPayload(payload *models.Error) *GetHostNotFound

WithPayload adds the payload to the get host not found response

func (*GetHostNotFound) WriteResponse

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

WriteResponse to the client

type GetHostOK

type GetHostOK struct {

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

GetHostOK Success.

swagger:response getHostOK

func NewGetHostOK

func NewGetHostOK() *GetHostOK

NewGetHostOK creates GetHostOK with default headers values

func (*GetHostOK) SetPayload

func (o *GetHostOK) SetPayload(payload *models.Host)

SetPayload sets the payload to the get host o k response

func (*GetHostOK) WithPayload

func (o *GetHostOK) WithPayload(payload *models.Host) *GetHostOK

WithPayload adds the payload to the get host o k response

func (*GetHostOK) WriteResponse

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

WriteResponse to the client

type GetHostParams

type GetHostParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
}

GetHostParams contains all the bound params for the get host operation typically these are obtained from a http.Request

swagger:parameters GetHost

func NewGetHostParams

func NewGetHostParams() GetHostParams

NewGetHostParams creates a new GetHostParams object no default values defined in spec.

func (*GetHostParams) BindRequest

func (o *GetHostParams) 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 NewGetHostParams() beforehand.

type GetHostURL

type GetHostURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

GetHostURL generates an URL for the get host operation

func (*GetHostURL) Build

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

Build a url path and query string

func (*GetHostURL) BuildFull

func (o *GetHostURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetHostURL) Must

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

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

func (*GetHostURL) SetBasePath

func (o *GetHostURL) 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 (*GetHostURL) String

func (o *GetHostURL) String() string

String returns the string representation of the path with query string

func (*GetHostURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetHostURL) WithBasePath

func (o *GetHostURL) WithBasePath(bp string) *GetHostURL

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 GetNextSteps

type GetNextSteps struct {
	Context *middleware.Context
	Handler GetNextStepsHandler
}

GetNextSteps swagger:route GET /clusters/{cluster_id}/hosts/{host_id}/instructions installer getNextSteps

Retrieves the next operations that the host agent needs to perform.

func NewGetNextSteps

func NewGetNextSteps(ctx *middleware.Context, handler GetNextStepsHandler) *GetNextSteps

NewGetNextSteps creates a new http.Handler for the get next steps operation

func (*GetNextSteps) ServeHTTP

func (o *GetNextSteps) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetNextStepsHandler

type GetNextStepsHandler interface {
	Handle(GetNextStepsParams) middleware.Responder
}

GetNextStepsHandler interface for that can handle valid get next steps params

type GetNextStepsHandlerFunc

type GetNextStepsHandlerFunc func(GetNextStepsParams) middleware.Responder

GetNextStepsHandlerFunc turns a function with the right signature into a get next steps handler

func (GetNextStepsHandlerFunc) Handle

Handle executing the request and returning a response

type GetNextStepsInternalServerError

type GetNextStepsInternalServerError struct {

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

GetNextStepsInternalServerError Error.

swagger:response getNextStepsInternalServerError

func NewGetNextStepsInternalServerError

func NewGetNextStepsInternalServerError() *GetNextStepsInternalServerError

NewGetNextStepsInternalServerError creates GetNextStepsInternalServerError with default headers values

func (*GetNextStepsInternalServerError) SetPayload

func (o *GetNextStepsInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get next steps internal server error response

func (*GetNextStepsInternalServerError) WithPayload

WithPayload adds the payload to the get next steps internal server error response

func (*GetNextStepsInternalServerError) WriteResponse

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

WriteResponse to the client

type GetNextStepsNotFound

type GetNextStepsNotFound struct {

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

GetNextStepsNotFound Error.

swagger:response getNextStepsNotFound

func NewGetNextStepsNotFound

func NewGetNextStepsNotFound() *GetNextStepsNotFound

NewGetNextStepsNotFound creates GetNextStepsNotFound with default headers values

func (*GetNextStepsNotFound) SetPayload

func (o *GetNextStepsNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get next steps not found response

func (*GetNextStepsNotFound) WithPayload

func (o *GetNextStepsNotFound) WithPayload(payload *models.Error) *GetNextStepsNotFound

WithPayload adds the payload to the get next steps not found response

func (*GetNextStepsNotFound) WriteResponse

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

WriteResponse to the client

type GetNextStepsOK

type GetNextStepsOK struct {

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

GetNextStepsOK Success.

swagger:response getNextStepsOK

func NewGetNextStepsOK

func NewGetNextStepsOK() *GetNextStepsOK

NewGetNextStepsOK creates GetNextStepsOK with default headers values

func (*GetNextStepsOK) SetPayload

func (o *GetNextStepsOK) SetPayload(payload *models.Steps)

SetPayload sets the payload to the get next steps o k response

func (*GetNextStepsOK) WithPayload

func (o *GetNextStepsOK) WithPayload(payload *models.Steps) *GetNextStepsOK

WithPayload adds the payload to the get next steps o k response

func (*GetNextStepsOK) WriteResponse

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

WriteResponse to the client

type GetNextStepsParams

type GetNextStepsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
}

GetNextStepsParams contains all the bound params for the get next steps operation typically these are obtained from a http.Request

swagger:parameters GetNextSteps

func NewGetNextStepsParams

func NewGetNextStepsParams() GetNextStepsParams

NewGetNextStepsParams creates a new GetNextStepsParams object no default values defined in spec.

func (*GetNextStepsParams) BindRequest

func (o *GetNextStepsParams) 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 NewGetNextStepsParams() beforehand.

type GetNextStepsURL

type GetNextStepsURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

GetNextStepsURL generates an URL for the get next steps operation

func (*GetNextStepsURL) Build

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

Build a url path and query string

func (*GetNextStepsURL) BuildFull

func (o *GetNextStepsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetNextStepsURL) Must

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

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

func (*GetNextStepsURL) SetBasePath

func (o *GetNextStepsURL) 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 (*GetNextStepsURL) String

func (o *GetNextStepsURL) String() string

String returns the string representation of the path with query string

func (*GetNextStepsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetNextStepsURL) WithBasePath

func (o *GetNextStepsURL) WithBasePath(bp string) *GetNextStepsURL

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 InstallCluster

type InstallCluster struct {
	Context *middleware.Context
	Handler InstallClusterHandler
}

InstallCluster swagger:route POST /clusters/{cluster_id}/actions/install installer installCluster

Installs the OpenShift bare metal cluster.

func NewInstallCluster

func NewInstallCluster(ctx *middleware.Context, handler InstallClusterHandler) *InstallCluster

NewInstallCluster creates a new http.Handler for the install cluster operation

func (*InstallCluster) ServeHTTP

func (o *InstallCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type InstallClusterAccepted

type InstallClusterAccepted struct {

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

InstallClusterAccepted Success.

swagger:response installClusterAccepted

func NewInstallClusterAccepted

func NewInstallClusterAccepted() *InstallClusterAccepted

NewInstallClusterAccepted creates InstallClusterAccepted with default headers values

func (*InstallClusterAccepted) SetPayload

func (o *InstallClusterAccepted) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the install cluster accepted response

func (*InstallClusterAccepted) WithPayload

func (o *InstallClusterAccepted) WithPayload(payload *models.Cluster) *InstallClusterAccepted

WithPayload adds the payload to the install cluster accepted response

func (*InstallClusterAccepted) WriteResponse

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

WriteResponse to the client

type InstallClusterBadRequest

type InstallClusterBadRequest struct {

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

InstallClusterBadRequest Error.

swagger:response installClusterBadRequest

func NewInstallClusterBadRequest

func NewInstallClusterBadRequest() *InstallClusterBadRequest

NewInstallClusterBadRequest creates InstallClusterBadRequest with default headers values

func (*InstallClusterBadRequest) SetPayload

func (o *InstallClusterBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the install cluster bad request response

func (*InstallClusterBadRequest) WithPayload

WithPayload adds the payload to the install cluster bad request response

func (*InstallClusterBadRequest) WriteResponse

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

WriteResponse to the client

type InstallClusterConflict

type InstallClusterConflict struct {

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

InstallClusterConflict Error.

swagger:response installClusterConflict

func NewInstallClusterConflict

func NewInstallClusterConflict() *InstallClusterConflict

NewInstallClusterConflict creates InstallClusterConflict with default headers values

func (*InstallClusterConflict) SetPayload

func (o *InstallClusterConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the install cluster conflict response

func (*InstallClusterConflict) WithPayload

func (o *InstallClusterConflict) WithPayload(payload *models.Error) *InstallClusterConflict

WithPayload adds the payload to the install cluster conflict response

func (*InstallClusterConflict) WriteResponse

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

WriteResponse to the client

type InstallClusterHandler

type InstallClusterHandler interface {
	Handle(InstallClusterParams) middleware.Responder
}

InstallClusterHandler interface for that can handle valid install cluster params

type InstallClusterHandlerFunc

type InstallClusterHandlerFunc func(InstallClusterParams) middleware.Responder

InstallClusterHandlerFunc turns a function with the right signature into a install cluster handler

func (InstallClusterHandlerFunc) Handle

Handle executing the request and returning a response

type InstallClusterInternalServerError

type InstallClusterInternalServerError struct {

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

InstallClusterInternalServerError Error.

swagger:response installClusterInternalServerError

func NewInstallClusterInternalServerError

func NewInstallClusterInternalServerError() *InstallClusterInternalServerError

NewInstallClusterInternalServerError creates InstallClusterInternalServerError with default headers values

func (*InstallClusterInternalServerError) SetPayload

func (o *InstallClusterInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the install cluster internal server error response

func (*InstallClusterInternalServerError) WithPayload

WithPayload adds the payload to the install cluster internal server error response

func (*InstallClusterInternalServerError) WriteResponse

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

WriteResponse to the client

type InstallClusterNotFound

type InstallClusterNotFound struct {

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

InstallClusterNotFound Error.

swagger:response installClusterNotFound

func NewInstallClusterNotFound

func NewInstallClusterNotFound() *InstallClusterNotFound

NewInstallClusterNotFound creates InstallClusterNotFound with default headers values

func (*InstallClusterNotFound) SetPayload

func (o *InstallClusterNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the install cluster not found response

func (*InstallClusterNotFound) WithPayload

func (o *InstallClusterNotFound) WithPayload(payload *models.Error) *InstallClusterNotFound

WithPayload adds the payload to the install cluster not found response

func (*InstallClusterNotFound) WriteResponse

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

WriteResponse to the client

type InstallClusterParams

type InstallClusterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

InstallClusterParams contains all the bound params for the install cluster operation typically these are obtained from a http.Request

swagger:parameters InstallCluster

func NewInstallClusterParams

func NewInstallClusterParams() InstallClusterParams

NewInstallClusterParams creates a new InstallClusterParams object no default values defined in spec.

func (*InstallClusterParams) BindRequest

func (o *InstallClusterParams) 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 NewInstallClusterParams() beforehand.

type InstallClusterURL

type InstallClusterURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

InstallClusterURL generates an URL for the install cluster operation

func (*InstallClusterURL) Build

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

Build a url path and query string

func (*InstallClusterURL) BuildFull

func (o *InstallClusterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*InstallClusterURL) Must

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

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

func (*InstallClusterURL) SetBasePath

func (o *InstallClusterURL) 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 (*InstallClusterURL) String

func (o *InstallClusterURL) String() string

String returns the string representation of the path with query string

func (*InstallClusterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*InstallClusterURL) WithBasePath

func (o *InstallClusterURL) WithBasePath(bp string) *InstallClusterURL

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 ListClusters

type ListClusters struct {
	Context *middleware.Context
	Handler ListClustersHandler
}

ListClusters swagger:route GET /clusters installer listClusters

Retrieves the list of OpenShift bare metal clusters.

func NewListClusters

func NewListClusters(ctx *middleware.Context, handler ListClustersHandler) *ListClusters

NewListClusters creates a new http.Handler for the list clusters operation

func (*ListClusters) ServeHTTP

func (o *ListClusters) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListClustersHandler

type ListClustersHandler interface {
	Handle(ListClustersParams) middleware.Responder
}

ListClustersHandler interface for that can handle valid list clusters params

type ListClustersHandlerFunc

type ListClustersHandlerFunc func(ListClustersParams) middleware.Responder

ListClustersHandlerFunc turns a function with the right signature into a list clusters handler

func (ListClustersHandlerFunc) Handle

Handle executing the request and returning a response

type ListClustersInternalServerError

type ListClustersInternalServerError struct {

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

ListClustersInternalServerError Error.

swagger:response listClustersInternalServerError

func NewListClustersInternalServerError

func NewListClustersInternalServerError() *ListClustersInternalServerError

NewListClustersInternalServerError creates ListClustersInternalServerError with default headers values

func (*ListClustersInternalServerError) SetPayload

func (o *ListClustersInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the list clusters internal server error response

func (*ListClustersInternalServerError) WithPayload

WithPayload adds the payload to the list clusters internal server error response

func (*ListClustersInternalServerError) WriteResponse

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

WriteResponse to the client

type ListClustersOK

type ListClustersOK struct {

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

ListClustersOK Success.

swagger:response listClustersOK

func NewListClustersOK

func NewListClustersOK() *ListClustersOK

NewListClustersOK creates ListClustersOK with default headers values

func (*ListClustersOK) SetPayload

func (o *ListClustersOK) SetPayload(payload models.ClusterList)

SetPayload sets the payload to the list clusters o k response

func (*ListClustersOK) WithPayload

func (o *ListClustersOK) WithPayload(payload models.ClusterList) *ListClustersOK

WithPayload adds the payload to the list clusters o k response

func (*ListClustersOK) WriteResponse

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

WriteResponse to the client

type ListClustersParams

type ListClustersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListClustersParams contains all the bound params for the list clusters operation typically these are obtained from a http.Request

swagger:parameters ListClusters

func NewListClustersParams

func NewListClustersParams() ListClustersParams

NewListClustersParams creates a new ListClustersParams object no default values defined in spec.

func (*ListClustersParams) BindRequest

func (o *ListClustersParams) 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 NewListClustersParams() beforehand.

type ListClustersURL

type ListClustersURL struct {
	// contains filtered or unexported fields
}

ListClustersURL generates an URL for the list clusters operation

func (*ListClustersURL) Build

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

Build a url path and query string

func (*ListClustersURL) BuildFull

func (o *ListClustersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListClustersURL) Must

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

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

func (*ListClustersURL) SetBasePath

func (o *ListClustersURL) 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 (*ListClustersURL) String

func (o *ListClustersURL) String() string

String returns the string representation of the path with query string

func (*ListClustersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListClustersURL) WithBasePath

func (o *ListClustersURL) WithBasePath(bp string) *ListClustersURL

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 ListHosts

type ListHosts struct {
	Context *middleware.Context
	Handler ListHostsHandler
}

ListHosts swagger:route GET /clusters/{cluster_id}/hosts installer listHosts

Retrieves the list of OpenShift bare metal hosts.

func NewListHosts

func NewListHosts(ctx *middleware.Context, handler ListHostsHandler) *ListHosts

NewListHosts creates a new http.Handler for the list hosts operation

func (*ListHosts) ServeHTTP

func (o *ListHosts) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListHostsHandler

type ListHostsHandler interface {
	Handle(ListHostsParams) middleware.Responder
}

ListHostsHandler interface for that can handle valid list hosts params

type ListHostsHandlerFunc

type ListHostsHandlerFunc func(ListHostsParams) middleware.Responder

ListHostsHandlerFunc turns a function with the right signature into a list hosts handler

func (ListHostsHandlerFunc) Handle

Handle executing the request and returning a response

type ListHostsInternalServerError

type ListHostsInternalServerError struct {

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

ListHostsInternalServerError Error.

swagger:response listHostsInternalServerError

func NewListHostsInternalServerError

func NewListHostsInternalServerError() *ListHostsInternalServerError

NewListHostsInternalServerError creates ListHostsInternalServerError with default headers values

func (*ListHostsInternalServerError) SetPayload

func (o *ListHostsInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the list hosts internal server error response

func (*ListHostsInternalServerError) WithPayload

WithPayload adds the payload to the list hosts internal server error response

func (*ListHostsInternalServerError) WriteResponse

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

WriteResponse to the client

type ListHostsOK

type ListHostsOK struct {

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

ListHostsOK Success.

swagger:response listHostsOK

func NewListHostsOK

func NewListHostsOK() *ListHostsOK

NewListHostsOK creates ListHostsOK with default headers values

func (*ListHostsOK) SetPayload

func (o *ListHostsOK) SetPayload(payload models.HostList)

SetPayload sets the payload to the list hosts o k response

func (*ListHostsOK) WithPayload

func (o *ListHostsOK) WithPayload(payload models.HostList) *ListHostsOK

WithPayload adds the payload to the list hosts o k response

func (*ListHostsOK) WriteResponse

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

WriteResponse to the client

type ListHostsParams

type ListHostsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

ListHostsParams contains all the bound params for the list hosts operation typically these are obtained from a http.Request

swagger:parameters ListHosts

func NewListHostsParams

func NewListHostsParams() ListHostsParams

NewListHostsParams creates a new ListHostsParams object no default values defined in spec.

func (*ListHostsParams) BindRequest

func (o *ListHostsParams) 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 NewListHostsParams() beforehand.

type ListHostsURL

type ListHostsURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

ListHostsURL generates an URL for the list hosts operation

func (*ListHostsURL) Build

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

Build a url path and query string

func (*ListHostsURL) BuildFull

func (o *ListHostsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListHostsURL) Must

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

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

func (*ListHostsURL) SetBasePath

func (o *ListHostsURL) 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 (*ListHostsURL) String

func (o *ListHostsURL) String() string

String returns the string representation of the path with query string

func (*ListHostsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListHostsURL) WithBasePath

func (o *ListHostsURL) WithBasePath(bp string) *ListHostsURL

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 PostStepReply

type PostStepReply struct {
	Context *middleware.Context
	Handler PostStepReplyHandler
}

PostStepReply swagger:route POST /clusters/{cluster_id}/hosts/{host_id}/instructions installer postStepReply

Posts the result of the operations from the host agent.

func NewPostStepReply

func NewPostStepReply(ctx *middleware.Context, handler PostStepReplyHandler) *PostStepReply

NewPostStepReply creates a new http.Handler for the post step reply operation

func (*PostStepReply) ServeHTTP

func (o *PostStepReply) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostStepReplyBadRequest

type PostStepReplyBadRequest struct {

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

PostStepReplyBadRequest Error.

swagger:response postStepReplyBadRequest

func NewPostStepReplyBadRequest

func NewPostStepReplyBadRequest() *PostStepReplyBadRequest

NewPostStepReplyBadRequest creates PostStepReplyBadRequest with default headers values

func (*PostStepReplyBadRequest) SetPayload

func (o *PostStepReplyBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the post step reply bad request response

func (*PostStepReplyBadRequest) WithPayload

func (o *PostStepReplyBadRequest) WithPayload(payload *models.Error) *PostStepReplyBadRequest

WithPayload adds the payload to the post step reply bad request response

func (*PostStepReplyBadRequest) WriteResponse

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

WriteResponse to the client

type PostStepReplyHandler

type PostStepReplyHandler interface {
	Handle(PostStepReplyParams) middleware.Responder
}

PostStepReplyHandler interface for that can handle valid post step reply params

type PostStepReplyHandlerFunc

type PostStepReplyHandlerFunc func(PostStepReplyParams) middleware.Responder

PostStepReplyHandlerFunc turns a function with the right signature into a post step reply handler

func (PostStepReplyHandlerFunc) Handle

Handle executing the request and returning a response

type PostStepReplyInternalServerError

type PostStepReplyInternalServerError struct {

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

PostStepReplyInternalServerError Error.

swagger:response postStepReplyInternalServerError

func NewPostStepReplyInternalServerError

func NewPostStepReplyInternalServerError() *PostStepReplyInternalServerError

NewPostStepReplyInternalServerError creates PostStepReplyInternalServerError with default headers values

func (*PostStepReplyInternalServerError) SetPayload

func (o *PostStepReplyInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the post step reply internal server error response

func (*PostStepReplyInternalServerError) WithPayload

WithPayload adds the payload to the post step reply internal server error response

func (*PostStepReplyInternalServerError) WriteResponse

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

WriteResponse to the client

type PostStepReplyNoContent

type PostStepReplyNoContent struct {
}

PostStepReplyNoContent Success.

swagger:response postStepReplyNoContent

func NewPostStepReplyNoContent

func NewPostStepReplyNoContent() *PostStepReplyNoContent

NewPostStepReplyNoContent creates PostStepReplyNoContent with default headers values

func (*PostStepReplyNoContent) WriteResponse

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

WriteResponse to the client

type PostStepReplyNotFound

type PostStepReplyNotFound struct {

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

PostStepReplyNotFound Error.

swagger:response postStepReplyNotFound

func NewPostStepReplyNotFound

func NewPostStepReplyNotFound() *PostStepReplyNotFound

NewPostStepReplyNotFound creates PostStepReplyNotFound with default headers values

func (*PostStepReplyNotFound) SetPayload

func (o *PostStepReplyNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the post step reply not found response

func (*PostStepReplyNotFound) WithPayload

func (o *PostStepReplyNotFound) WithPayload(payload *models.Error) *PostStepReplyNotFound

WithPayload adds the payload to the post step reply not found response

func (*PostStepReplyNotFound) WriteResponse

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

WriteResponse to the client

type PostStepReplyParams

type PostStepReplyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
	/*
	  In: body
	*/
	Reply *models.StepReply
}

PostStepReplyParams contains all the bound params for the post step reply operation typically these are obtained from a http.Request

swagger:parameters PostStepReply

func NewPostStepReplyParams

func NewPostStepReplyParams() PostStepReplyParams

NewPostStepReplyParams creates a new PostStepReplyParams object no default values defined in spec.

func (*PostStepReplyParams) BindRequest

func (o *PostStepReplyParams) 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 NewPostStepReplyParams() beforehand.

type PostStepReplyURL

type PostStepReplyURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

PostStepReplyURL generates an URL for the post step reply operation

func (*PostStepReplyURL) Build

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

Build a url path and query string

func (*PostStepReplyURL) BuildFull

func (o *PostStepReplyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostStepReplyURL) Must

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

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

func (*PostStepReplyURL) SetBasePath

func (o *PostStepReplyURL) 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 (*PostStepReplyURL) String

func (o *PostStepReplyURL) String() string

String returns the string representation of the path with query string

func (*PostStepReplyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostStepReplyURL) WithBasePath

func (o *PostStepReplyURL) WithBasePath(bp string) *PostStepReplyURL

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 RegisterCluster

type RegisterCluster struct {
	Context *middleware.Context
	Handler RegisterClusterHandler
}

RegisterCluster swagger:route POST /clusters installer registerCluster

Creates a new OpenShift bare metal cluster definition.

func NewRegisterCluster

func NewRegisterCluster(ctx *middleware.Context, handler RegisterClusterHandler) *RegisterCluster

NewRegisterCluster creates a new http.Handler for the register cluster operation

func (*RegisterCluster) ServeHTTP

func (o *RegisterCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RegisterClusterBadRequest

type RegisterClusterBadRequest struct {

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

RegisterClusterBadRequest Error.

swagger:response registerClusterBadRequest

func NewRegisterClusterBadRequest

func NewRegisterClusterBadRequest() *RegisterClusterBadRequest

NewRegisterClusterBadRequest creates RegisterClusterBadRequest with default headers values

func (*RegisterClusterBadRequest) SetPayload

func (o *RegisterClusterBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the register cluster bad request response

func (*RegisterClusterBadRequest) WithPayload

WithPayload adds the payload to the register cluster bad request response

func (*RegisterClusterBadRequest) WriteResponse

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

WriteResponse to the client

type RegisterClusterCreated

type RegisterClusterCreated struct {

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

RegisterClusterCreated Success.

swagger:response registerClusterCreated

func NewRegisterClusterCreated

func NewRegisterClusterCreated() *RegisterClusterCreated

NewRegisterClusterCreated creates RegisterClusterCreated with default headers values

func (*RegisterClusterCreated) SetPayload

func (o *RegisterClusterCreated) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the register cluster created response

func (*RegisterClusterCreated) WithPayload

func (o *RegisterClusterCreated) WithPayload(payload *models.Cluster) *RegisterClusterCreated

WithPayload adds the payload to the register cluster created response

func (*RegisterClusterCreated) WriteResponse

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

WriteResponse to the client

type RegisterClusterHandler

type RegisterClusterHandler interface {
	Handle(RegisterClusterParams) middleware.Responder
}

RegisterClusterHandler interface for that can handle valid register cluster params

type RegisterClusterHandlerFunc

type RegisterClusterHandlerFunc func(RegisterClusterParams) middleware.Responder

RegisterClusterHandlerFunc turns a function with the right signature into a register cluster handler

func (RegisterClusterHandlerFunc) Handle

Handle executing the request and returning a response

type RegisterClusterInternalServerError

type RegisterClusterInternalServerError struct {

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

RegisterClusterInternalServerError Error.

swagger:response registerClusterInternalServerError

func NewRegisterClusterInternalServerError

func NewRegisterClusterInternalServerError() *RegisterClusterInternalServerError

NewRegisterClusterInternalServerError creates RegisterClusterInternalServerError with default headers values

func (*RegisterClusterInternalServerError) SetPayload

func (o *RegisterClusterInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the register cluster internal server error response

func (*RegisterClusterInternalServerError) WithPayload

WithPayload adds the payload to the register cluster internal server error response

func (*RegisterClusterInternalServerError) WriteResponse

WriteResponse to the client

type RegisterClusterParams

type RegisterClusterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	NewClusterParams *models.ClusterCreateParams
}

RegisterClusterParams contains all the bound params for the register cluster operation typically these are obtained from a http.Request

swagger:parameters RegisterCluster

func NewRegisterClusterParams

func NewRegisterClusterParams() RegisterClusterParams

NewRegisterClusterParams creates a new RegisterClusterParams object no default values defined in spec.

func (*RegisterClusterParams) BindRequest

func (o *RegisterClusterParams) 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 NewRegisterClusterParams() beforehand.

type RegisterClusterURL

type RegisterClusterURL struct {
	// contains filtered or unexported fields
}

RegisterClusterURL generates an URL for the register cluster operation

func (*RegisterClusterURL) Build

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

Build a url path and query string

func (*RegisterClusterURL) BuildFull

func (o *RegisterClusterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RegisterClusterURL) Must

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

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

func (*RegisterClusterURL) SetBasePath

func (o *RegisterClusterURL) 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 (*RegisterClusterURL) String

func (o *RegisterClusterURL) String() string

String returns the string representation of the path with query string

func (*RegisterClusterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RegisterClusterURL) WithBasePath

func (o *RegisterClusterURL) WithBasePath(bp string) *RegisterClusterURL

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 RegisterHost

type RegisterHost struct {
	Context *middleware.Context
	Handler RegisterHostHandler
}

RegisterHost swagger:route POST /clusters/{cluster_id}/hosts installer registerHost

Registers a new OpenShift bare metal host.

func NewRegisterHost

func NewRegisterHost(ctx *middleware.Context, handler RegisterHostHandler) *RegisterHost

NewRegisterHost creates a new http.Handler for the register host operation

func (*RegisterHost) ServeHTTP

func (o *RegisterHost) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RegisterHostBadRequest

type RegisterHostBadRequest struct {

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

RegisterHostBadRequest Error.

swagger:response registerHostBadRequest

func NewRegisterHostBadRequest

func NewRegisterHostBadRequest() *RegisterHostBadRequest

NewRegisterHostBadRequest creates RegisterHostBadRequest with default headers values

func (*RegisterHostBadRequest) SetPayload

func (o *RegisterHostBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the register host bad request response

func (*RegisterHostBadRequest) WithPayload

func (o *RegisterHostBadRequest) WithPayload(payload *models.Error) *RegisterHostBadRequest

WithPayload adds the payload to the register host bad request response

func (*RegisterHostBadRequest) WriteResponse

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

WriteResponse to the client

type RegisterHostCreated

type RegisterHostCreated struct {

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

RegisterHostCreated Success.

swagger:response registerHostCreated

func NewRegisterHostCreated

func NewRegisterHostCreated() *RegisterHostCreated

NewRegisterHostCreated creates RegisterHostCreated with default headers values

func (*RegisterHostCreated) SetPayload

func (o *RegisterHostCreated) SetPayload(payload *models.Host)

SetPayload sets the payload to the register host created response

func (*RegisterHostCreated) WithPayload

func (o *RegisterHostCreated) WithPayload(payload *models.Host) *RegisterHostCreated

WithPayload adds the payload to the register host created response

func (*RegisterHostCreated) WriteResponse

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

WriteResponse to the client

type RegisterHostForbidden

type RegisterHostForbidden struct {

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

RegisterHostForbidden Error.

swagger:response registerHostForbidden

func NewRegisterHostForbidden

func NewRegisterHostForbidden() *RegisterHostForbidden

NewRegisterHostForbidden creates RegisterHostForbidden with default headers values

func (*RegisterHostForbidden) SetPayload

func (o *RegisterHostForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the register host forbidden response

func (*RegisterHostForbidden) WithPayload

func (o *RegisterHostForbidden) WithPayload(payload *models.Error) *RegisterHostForbidden

WithPayload adds the payload to the register host forbidden response

func (*RegisterHostForbidden) WriteResponse

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

WriteResponse to the client

type RegisterHostHandler

type RegisterHostHandler interface {
	Handle(RegisterHostParams) middleware.Responder
}

RegisterHostHandler interface for that can handle valid register host params

type RegisterHostHandlerFunc

type RegisterHostHandlerFunc func(RegisterHostParams) middleware.Responder

RegisterHostHandlerFunc turns a function with the right signature into a register host handler

func (RegisterHostHandlerFunc) Handle

Handle executing the request and returning a response

type RegisterHostInternalServerError

type RegisterHostInternalServerError struct {

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

RegisterHostInternalServerError Error.

swagger:response registerHostInternalServerError

func NewRegisterHostInternalServerError

func NewRegisterHostInternalServerError() *RegisterHostInternalServerError

NewRegisterHostInternalServerError creates RegisterHostInternalServerError with default headers values

func (*RegisterHostInternalServerError) SetPayload

func (o *RegisterHostInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the register host internal server error response

func (*RegisterHostInternalServerError) WithPayload

WithPayload adds the payload to the register host internal server error response

func (*RegisterHostInternalServerError) WriteResponse

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

WriteResponse to the client

type RegisterHostNotFound added in v1.0.7

type RegisterHostNotFound struct {

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

RegisterHostNotFound Error.

swagger:response registerHostNotFound

func NewRegisterHostNotFound added in v1.0.7

func NewRegisterHostNotFound() *RegisterHostNotFound

NewRegisterHostNotFound creates RegisterHostNotFound with default headers values

func (*RegisterHostNotFound) SetPayload added in v1.0.7

func (o *RegisterHostNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the register host not found response

func (*RegisterHostNotFound) WithPayload added in v1.0.7

func (o *RegisterHostNotFound) WithPayload(payload *models.Error) *RegisterHostNotFound

WithPayload adds the payload to the register host not found response

func (*RegisterHostNotFound) WriteResponse added in v1.0.7

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

WriteResponse to the client

type RegisterHostParams

type RegisterHostParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	NewHostParams *models.HostCreateParams
}

RegisterHostParams contains all the bound params for the register host operation typically these are obtained from a http.Request

swagger:parameters RegisterHost

func NewRegisterHostParams

func NewRegisterHostParams() RegisterHostParams

NewRegisterHostParams creates a new RegisterHostParams object no default values defined in spec.

func (*RegisterHostParams) BindRequest

func (o *RegisterHostParams) 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 NewRegisterHostParams() beforehand.

type RegisterHostURL

type RegisterHostURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

RegisterHostURL generates an URL for the register host operation

func (*RegisterHostURL) Build

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

Build a url path and query string

func (*RegisterHostURL) BuildFull

func (o *RegisterHostURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RegisterHostURL) Must

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

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

func (*RegisterHostURL) SetBasePath

func (o *RegisterHostURL) 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 (*RegisterHostURL) String

func (o *RegisterHostURL) String() string

String returns the string representation of the path with query string

func (*RegisterHostURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RegisterHostURL) WithBasePath

func (o *RegisterHostURL) WithBasePath(bp string) *RegisterHostURL

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 ResetCluster added in v1.0.4

type ResetCluster struct {
	Context *middleware.Context
	Handler ResetClusterHandler
}

ResetCluster swagger:route POST /clusters/{cluster_id}/actions/reset installer resetCluster

Resets a failed installation.

func NewResetCluster added in v1.0.4

func NewResetCluster(ctx *middleware.Context, handler ResetClusterHandler) *ResetCluster

NewResetCluster creates a new http.Handler for the reset cluster operation

func (*ResetCluster) ServeHTTP added in v1.0.4

func (o *ResetCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ResetClusterAccepted added in v1.0.4

type ResetClusterAccepted struct {

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

ResetClusterAccepted Success.

swagger:response resetClusterAccepted

func NewResetClusterAccepted added in v1.0.4

func NewResetClusterAccepted() *ResetClusterAccepted

NewResetClusterAccepted creates ResetClusterAccepted with default headers values

func (*ResetClusterAccepted) SetPayload added in v1.0.4

func (o *ResetClusterAccepted) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the reset cluster accepted response

func (*ResetClusterAccepted) WithPayload added in v1.0.4

func (o *ResetClusterAccepted) WithPayload(payload *models.Cluster) *ResetClusterAccepted

WithPayload adds the payload to the reset cluster accepted response

func (*ResetClusterAccepted) WriteResponse added in v1.0.4

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

WriteResponse to the client

type ResetClusterConflict added in v1.0.4

type ResetClusterConflict struct {

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

ResetClusterConflict Error.

swagger:response resetClusterConflict

func NewResetClusterConflict added in v1.0.4

func NewResetClusterConflict() *ResetClusterConflict

NewResetClusterConflict creates ResetClusterConflict with default headers values

func (*ResetClusterConflict) SetPayload added in v1.0.4

func (o *ResetClusterConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the reset cluster conflict response

func (*ResetClusterConflict) WithPayload added in v1.0.4

func (o *ResetClusterConflict) WithPayload(payload *models.Error) *ResetClusterConflict

WithPayload adds the payload to the reset cluster conflict response

func (*ResetClusterConflict) WriteResponse added in v1.0.4

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

WriteResponse to the client

type ResetClusterHandler added in v1.0.4

type ResetClusterHandler interface {
	Handle(ResetClusterParams) middleware.Responder
}

ResetClusterHandler interface for that can handle valid reset cluster params

type ResetClusterHandlerFunc added in v1.0.4

type ResetClusterHandlerFunc func(ResetClusterParams) middleware.Responder

ResetClusterHandlerFunc turns a function with the right signature into a reset cluster handler

func (ResetClusterHandlerFunc) Handle added in v1.0.4

Handle executing the request and returning a response

type ResetClusterInternalServerError added in v1.0.4

type ResetClusterInternalServerError struct {

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

ResetClusterInternalServerError Error.

swagger:response resetClusterInternalServerError

func NewResetClusterInternalServerError added in v1.0.4

func NewResetClusterInternalServerError() *ResetClusterInternalServerError

NewResetClusterInternalServerError creates ResetClusterInternalServerError with default headers values

func (*ResetClusterInternalServerError) SetPayload added in v1.0.4

func (o *ResetClusterInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the reset cluster internal server error response

func (*ResetClusterInternalServerError) WithPayload added in v1.0.4

WithPayload adds the payload to the reset cluster internal server error response

func (*ResetClusterInternalServerError) WriteResponse added in v1.0.4

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

WriteResponse to the client

type ResetClusterNotFound added in v1.0.4

type ResetClusterNotFound struct {

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

ResetClusterNotFound Error.

swagger:response resetClusterNotFound

func NewResetClusterNotFound added in v1.0.4

func NewResetClusterNotFound() *ResetClusterNotFound

NewResetClusterNotFound creates ResetClusterNotFound with default headers values

func (*ResetClusterNotFound) SetPayload added in v1.0.4

func (o *ResetClusterNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the reset cluster not found response

func (*ResetClusterNotFound) WithPayload added in v1.0.4

func (o *ResetClusterNotFound) WithPayload(payload *models.Error) *ResetClusterNotFound

WithPayload adds the payload to the reset cluster not found response

func (*ResetClusterNotFound) WriteResponse added in v1.0.4

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

WriteResponse to the client

type ResetClusterParams added in v1.0.4

type ResetClusterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

ResetClusterParams contains all the bound params for the reset cluster operation typically these are obtained from a http.Request

swagger:parameters ResetCluster

func NewResetClusterParams added in v1.0.4

func NewResetClusterParams() ResetClusterParams

NewResetClusterParams creates a new ResetClusterParams object no default values defined in spec.

func (*ResetClusterParams) BindRequest added in v1.0.4

func (o *ResetClusterParams) 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 NewResetClusterParams() beforehand.

type ResetClusterURL added in v1.0.4

type ResetClusterURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

ResetClusterURL generates an URL for the reset cluster operation

func (*ResetClusterURL) Build added in v1.0.4

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

Build a url path and query string

func (*ResetClusterURL) BuildFull added in v1.0.4

func (o *ResetClusterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ResetClusterURL) Must added in v1.0.4

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

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

func (*ResetClusterURL) SetBasePath added in v1.0.4

func (o *ResetClusterURL) 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 (*ResetClusterURL) String added in v1.0.4

func (o *ResetClusterURL) String() string

String returns the string representation of the path with query string

func (*ResetClusterURL) StringFull added in v1.0.4

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

StringFull returns the string representation of a complete url

func (*ResetClusterURL) WithBasePath added in v1.0.4

func (o *ResetClusterURL) WithBasePath(bp string) *ResetClusterURL

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 SetDebugStep

type SetDebugStep struct {
	Context *middleware.Context
	Handler SetDebugStepHandler
}

SetDebugStep swagger:route POST /clusters/{cluster_id}/hosts/{host_id}/actions/debug installer setDebugStep

Sets a single shot debug step that will be sent next time the host agent will ask for a command.

func NewSetDebugStep

func NewSetDebugStep(ctx *middleware.Context, handler SetDebugStepHandler) *SetDebugStep

NewSetDebugStep creates a new http.Handler for the set debug step operation

func (*SetDebugStep) ServeHTTP

func (o *SetDebugStep) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetDebugStepHandler

type SetDebugStepHandler interface {
	Handle(SetDebugStepParams) middleware.Responder
}

SetDebugStepHandler interface for that can handle valid set debug step params

type SetDebugStepHandlerFunc

type SetDebugStepHandlerFunc func(SetDebugStepParams) middleware.Responder

SetDebugStepHandlerFunc turns a function with the right signature into a set debug step handler

func (SetDebugStepHandlerFunc) Handle

Handle executing the request and returning a response

type SetDebugStepInternalServerError

type SetDebugStepInternalServerError struct {

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

SetDebugStepInternalServerError Error.

swagger:response setDebugStepInternalServerError

func NewSetDebugStepInternalServerError

func NewSetDebugStepInternalServerError() *SetDebugStepInternalServerError

NewSetDebugStepInternalServerError creates SetDebugStepInternalServerError with default headers values

func (*SetDebugStepInternalServerError) SetPayload

func (o *SetDebugStepInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the set debug step internal server error response

func (*SetDebugStepInternalServerError) WithPayload

WithPayload adds the payload to the set debug step internal server error response

func (*SetDebugStepInternalServerError) WriteResponse

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

WriteResponse to the client

type SetDebugStepNoContent

type SetDebugStepNoContent struct {
}

SetDebugStepNoContent Success.

swagger:response setDebugStepNoContent

func NewSetDebugStepNoContent

func NewSetDebugStepNoContent() *SetDebugStepNoContent

NewSetDebugStepNoContent creates SetDebugStepNoContent with default headers values

func (*SetDebugStepNoContent) WriteResponse

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

WriteResponse to the client

type SetDebugStepNotFound

type SetDebugStepNotFound struct {

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

SetDebugStepNotFound Error.

swagger:response setDebugStepNotFound

func NewSetDebugStepNotFound

func NewSetDebugStepNotFound() *SetDebugStepNotFound

NewSetDebugStepNotFound creates SetDebugStepNotFound with default headers values

func (*SetDebugStepNotFound) SetPayload

func (o *SetDebugStepNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the set debug step not found response

func (*SetDebugStepNotFound) WithPayload

func (o *SetDebugStepNotFound) WithPayload(payload *models.Error) *SetDebugStepNotFound

WithPayload adds the payload to the set debug step not found response

func (*SetDebugStepNotFound) WriteResponse

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

WriteResponse to the client

type SetDebugStepParams

type SetDebugStepParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	Step *models.DebugStep
}

SetDebugStepParams contains all the bound params for the set debug step operation typically these are obtained from a http.Request

swagger:parameters SetDebugStep

func NewSetDebugStepParams

func NewSetDebugStepParams() SetDebugStepParams

NewSetDebugStepParams creates a new SetDebugStepParams object no default values defined in spec.

func (*SetDebugStepParams) BindRequest

func (o *SetDebugStepParams) 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 NewSetDebugStepParams() beforehand.

type SetDebugStepURL

type SetDebugStepURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

SetDebugStepURL generates an URL for the set debug step operation

func (*SetDebugStepURL) Build

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

Build a url path and query string

func (*SetDebugStepURL) BuildFull

func (o *SetDebugStepURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetDebugStepURL) Must

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

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

func (*SetDebugStepURL) SetBasePath

func (o *SetDebugStepURL) 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 (*SetDebugStepURL) String

func (o *SetDebugStepURL) String() string

String returns the string representation of the path with query string

func (*SetDebugStepURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SetDebugStepURL) WithBasePath

func (o *SetDebugStepURL) WithBasePath(bp string) *SetDebugStepURL

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 UpdateCluster

type UpdateCluster struct {
	Context *middleware.Context
	Handler UpdateClusterHandler
}

UpdateCluster swagger:route PATCH /clusters/{cluster_id} installer updateCluster

Updates an OpenShift bare metal cluster definition.

func NewUpdateCluster

func NewUpdateCluster(ctx *middleware.Context, handler UpdateClusterHandler) *UpdateCluster

NewUpdateCluster creates a new http.Handler for the update cluster operation

func (*UpdateCluster) ServeHTTP

func (o *UpdateCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateClusterBadRequest

type UpdateClusterBadRequest struct {

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

UpdateClusterBadRequest Error.

swagger:response updateClusterBadRequest

func NewUpdateClusterBadRequest

func NewUpdateClusterBadRequest() *UpdateClusterBadRequest

NewUpdateClusterBadRequest creates UpdateClusterBadRequest with default headers values

func (*UpdateClusterBadRequest) SetPayload

func (o *UpdateClusterBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the update cluster bad request response

func (*UpdateClusterBadRequest) WithPayload

func (o *UpdateClusterBadRequest) WithPayload(payload *models.Error) *UpdateClusterBadRequest

WithPayload adds the payload to the update cluster bad request response

func (*UpdateClusterBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateClusterConflict

type UpdateClusterConflict struct {

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

UpdateClusterConflict Error.

swagger:response updateClusterConflict

func NewUpdateClusterConflict

func NewUpdateClusterConflict() *UpdateClusterConflict

NewUpdateClusterConflict creates UpdateClusterConflict with default headers values

func (*UpdateClusterConflict) SetPayload

func (o *UpdateClusterConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the update cluster conflict response

func (*UpdateClusterConflict) WithPayload

func (o *UpdateClusterConflict) WithPayload(payload *models.Error) *UpdateClusterConflict

WithPayload adds the payload to the update cluster conflict response

func (*UpdateClusterConflict) WriteResponse

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

WriteResponse to the client

type UpdateClusterCreated

type UpdateClusterCreated struct {

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

UpdateClusterCreated Success.

swagger:response updateClusterCreated

func NewUpdateClusterCreated

func NewUpdateClusterCreated() *UpdateClusterCreated

NewUpdateClusterCreated creates UpdateClusterCreated with default headers values

func (*UpdateClusterCreated) SetPayload

func (o *UpdateClusterCreated) SetPayload(payload *models.Cluster)

SetPayload sets the payload to the update cluster created response

func (*UpdateClusterCreated) WithPayload

func (o *UpdateClusterCreated) WithPayload(payload *models.Cluster) *UpdateClusterCreated

WithPayload adds the payload to the update cluster created response

func (*UpdateClusterCreated) WriteResponse

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

WriteResponse to the client

type UpdateClusterHandler

type UpdateClusterHandler interface {
	Handle(UpdateClusterParams) middleware.Responder
}

UpdateClusterHandler interface for that can handle valid update cluster params

type UpdateClusterHandlerFunc

type UpdateClusterHandlerFunc func(UpdateClusterParams) middleware.Responder

UpdateClusterHandlerFunc turns a function with the right signature into a update cluster handler

func (UpdateClusterHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateClusterInternalServerError

type UpdateClusterInternalServerError struct {

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

UpdateClusterInternalServerError Error.

swagger:response updateClusterInternalServerError

func NewUpdateClusterInternalServerError

func NewUpdateClusterInternalServerError() *UpdateClusterInternalServerError

NewUpdateClusterInternalServerError creates UpdateClusterInternalServerError with default headers values

func (*UpdateClusterInternalServerError) SetPayload

func (o *UpdateClusterInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the update cluster internal server error response

func (*UpdateClusterInternalServerError) WithPayload

WithPayload adds the payload to the update cluster internal server error response

func (*UpdateClusterInternalServerError) WriteResponse

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

WriteResponse to the client

type UpdateClusterNotFound

type UpdateClusterNotFound struct {

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

UpdateClusterNotFound Error.

swagger:response updateClusterNotFound

func NewUpdateClusterNotFound

func NewUpdateClusterNotFound() *UpdateClusterNotFound

NewUpdateClusterNotFound creates UpdateClusterNotFound with default headers values

func (*UpdateClusterNotFound) SetPayload

func (o *UpdateClusterNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the update cluster not found response

func (*UpdateClusterNotFound) WithPayload

func (o *UpdateClusterNotFound) WithPayload(payload *models.Error) *UpdateClusterNotFound

WithPayload adds the payload to the update cluster not found response

func (*UpdateClusterNotFound) WriteResponse

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

WriteResponse to the client

type UpdateClusterParams

type UpdateClusterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	ClusterUpdateParams *models.ClusterUpdateParams
	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
}

UpdateClusterParams contains all the bound params for the update cluster operation typically these are obtained from a http.Request

swagger:parameters UpdateCluster

func NewUpdateClusterParams

func NewUpdateClusterParams() UpdateClusterParams

NewUpdateClusterParams creates a new UpdateClusterParams object no default values defined in spec.

func (*UpdateClusterParams) BindRequest

func (o *UpdateClusterParams) 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 NewUpdateClusterParams() beforehand.

type UpdateClusterURL

type UpdateClusterURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateClusterURL generates an URL for the update cluster operation

func (*UpdateClusterURL) Build

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

Build a url path and query string

func (*UpdateClusterURL) BuildFull

func (o *UpdateClusterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateClusterURL) Must

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

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

func (*UpdateClusterURL) SetBasePath

func (o *UpdateClusterURL) 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 (*UpdateClusterURL) String

func (o *UpdateClusterURL) String() string

String returns the string representation of the path with query string

func (*UpdateClusterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateClusterURL) WithBasePath

func (o *UpdateClusterURL) WithBasePath(bp string) *UpdateClusterURL

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 UpdateHostInstallProgress

type UpdateHostInstallProgress struct {
	Context *middleware.Context
	Handler UpdateHostInstallProgressHandler
}

UpdateHostInstallProgress swagger:route PUT /clusters/{cluster_id}/hosts/{host_id}/progress installer updateHostInstallProgress

Update installation progress

func NewUpdateHostInstallProgress

func NewUpdateHostInstallProgress(ctx *middleware.Context, handler UpdateHostInstallProgressHandler) *UpdateHostInstallProgress

NewUpdateHostInstallProgress creates a new http.Handler for the update host install progress operation

func (*UpdateHostInstallProgress) ServeHTTP

type UpdateHostInstallProgressHandler

type UpdateHostInstallProgressHandler interface {
	Handle(UpdateHostInstallProgressParams) middleware.Responder
}

UpdateHostInstallProgressHandler interface for that can handle valid update host install progress params

type UpdateHostInstallProgressHandlerFunc

type UpdateHostInstallProgressHandlerFunc func(UpdateHostInstallProgressParams) middleware.Responder

UpdateHostInstallProgressHandlerFunc turns a function with the right signature into a update host install progress handler

func (UpdateHostInstallProgressHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateHostInstallProgressInternalServerError added in v1.0.7

type UpdateHostInstallProgressInternalServerError struct {

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

UpdateHostInstallProgressInternalServerError Error.

swagger:response updateHostInstallProgressInternalServerError

func NewUpdateHostInstallProgressInternalServerError added in v1.0.7

func NewUpdateHostInstallProgressInternalServerError() *UpdateHostInstallProgressInternalServerError

NewUpdateHostInstallProgressInternalServerError creates UpdateHostInstallProgressInternalServerError with default headers values

func (*UpdateHostInstallProgressInternalServerError) SetPayload added in v1.0.7

SetPayload sets the payload to the update host install progress internal server error response

func (*UpdateHostInstallProgressInternalServerError) WithPayload added in v1.0.7

WithPayload adds the payload to the update host install progress internal server error response

func (*UpdateHostInstallProgressInternalServerError) WriteResponse added in v1.0.7

WriteResponse to the client

type UpdateHostInstallProgressNotFound added in v1.0.7

type UpdateHostInstallProgressNotFound struct {

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

UpdateHostInstallProgressNotFound Error.

swagger:response updateHostInstallProgressNotFound

func NewUpdateHostInstallProgressNotFound added in v1.0.7

func NewUpdateHostInstallProgressNotFound() *UpdateHostInstallProgressNotFound

NewUpdateHostInstallProgressNotFound creates UpdateHostInstallProgressNotFound with default headers values

func (*UpdateHostInstallProgressNotFound) SetPayload added in v1.0.7

func (o *UpdateHostInstallProgressNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the update host install progress not found response

func (*UpdateHostInstallProgressNotFound) WithPayload added in v1.0.7

WithPayload adds the payload to the update host install progress not found response

func (*UpdateHostInstallProgressNotFound) WriteResponse added in v1.0.7

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

WriteResponse to the client

type UpdateHostInstallProgressOK

type UpdateHostInstallProgressOK struct {
}

UpdateHostInstallProgressOK Update install progress

swagger:response updateHostInstallProgressOK

func NewUpdateHostInstallProgressOK

func NewUpdateHostInstallProgressOK() *UpdateHostInstallProgressOK

NewUpdateHostInstallProgressOK creates UpdateHostInstallProgressOK with default headers values

func (*UpdateHostInstallProgressOK) WriteResponse

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

WriteResponse to the client

type UpdateHostInstallProgressParams

type UpdateHostInstallProgressParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The ID of the cluster to retrieve
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*New progress value
	  Required: true
	  In: body
	*/
	HostProgress *models.HostProgress
	/*The ID of the host to retrieve
	  Required: true
	  In: path
	*/
	HostID strfmt.UUID
}

UpdateHostInstallProgressParams contains all the bound params for the update host install progress operation typically these are obtained from a http.Request

swagger:parameters UpdateHostInstallProgress

func NewUpdateHostInstallProgressParams

func NewUpdateHostInstallProgressParams() UpdateHostInstallProgressParams

NewUpdateHostInstallProgressParams creates a new UpdateHostInstallProgressParams object no default values defined in spec.

func (*UpdateHostInstallProgressParams) 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 NewUpdateHostInstallProgressParams() beforehand.

type UpdateHostInstallProgressURL

type UpdateHostInstallProgressURL struct {
	ClusterID strfmt.UUID
	HostID    strfmt.UUID
	// contains filtered or unexported fields
}

UpdateHostInstallProgressURL generates an URL for the update host install progress operation

func (*UpdateHostInstallProgressURL) Build

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

Build a url path and query string

func (*UpdateHostInstallProgressURL) BuildFull

func (o *UpdateHostInstallProgressURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateHostInstallProgressURL) Must

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

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

func (*UpdateHostInstallProgressURL) SetBasePath

func (o *UpdateHostInstallProgressURL) 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 (*UpdateHostInstallProgressURL) String

String returns the string representation of the path with query string

func (*UpdateHostInstallProgressURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateHostInstallProgressURL) 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 UploadClusterIngressCert

type UploadClusterIngressCert struct {
	Context *middleware.Context
	Handler UploadClusterIngressCertHandler
}

UploadClusterIngressCert swagger:route POST /clusters/{cluster_id}/uploads/ingress-cert installer uploadClusterIngressCert

Transfer the ingress certificate for the cluster.

func NewUploadClusterIngressCert

func NewUploadClusterIngressCert(ctx *middleware.Context, handler UploadClusterIngressCertHandler) *UploadClusterIngressCert

NewUploadClusterIngressCert creates a new http.Handler for the upload cluster ingress cert operation

func (*UploadClusterIngressCert) ServeHTTP

type UploadClusterIngressCertBadRequest

type UploadClusterIngressCertBadRequest struct {

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

UploadClusterIngressCertBadRequest Error.

swagger:response uploadClusterIngressCertBadRequest

func NewUploadClusterIngressCertBadRequest

func NewUploadClusterIngressCertBadRequest() *UploadClusterIngressCertBadRequest

NewUploadClusterIngressCertBadRequest creates UploadClusterIngressCertBadRequest with default headers values

func (*UploadClusterIngressCertBadRequest) SetPayload

func (o *UploadClusterIngressCertBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the upload cluster ingress cert bad request response

func (*UploadClusterIngressCertBadRequest) WithPayload

WithPayload adds the payload to the upload cluster ingress cert bad request response

func (*UploadClusterIngressCertBadRequest) WriteResponse

WriteResponse to the client

type UploadClusterIngressCertCreated

type UploadClusterIngressCertCreated struct {
}

UploadClusterIngressCertCreated Success.

swagger:response uploadClusterIngressCertCreated

func NewUploadClusterIngressCertCreated

func NewUploadClusterIngressCertCreated() *UploadClusterIngressCertCreated

NewUploadClusterIngressCertCreated creates UploadClusterIngressCertCreated with default headers values

func (*UploadClusterIngressCertCreated) WriteResponse

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

WriteResponse to the client

type UploadClusterIngressCertHandler

type UploadClusterIngressCertHandler interface {
	Handle(UploadClusterIngressCertParams) middleware.Responder
}

UploadClusterIngressCertHandler interface for that can handle valid upload cluster ingress cert params

type UploadClusterIngressCertHandlerFunc

type UploadClusterIngressCertHandlerFunc func(UploadClusterIngressCertParams) middleware.Responder

UploadClusterIngressCertHandlerFunc turns a function with the right signature into a upload cluster ingress cert handler

func (UploadClusterIngressCertHandlerFunc) Handle

Handle executing the request and returning a response

type UploadClusterIngressCertInternalServerError

type UploadClusterIngressCertInternalServerError struct {

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

UploadClusterIngressCertInternalServerError Error.

swagger:response uploadClusterIngressCertInternalServerError

func NewUploadClusterIngressCertInternalServerError

func NewUploadClusterIngressCertInternalServerError() *UploadClusterIngressCertInternalServerError

NewUploadClusterIngressCertInternalServerError creates UploadClusterIngressCertInternalServerError with default headers values

func (*UploadClusterIngressCertInternalServerError) SetPayload

SetPayload sets the payload to the upload cluster ingress cert internal server error response

func (*UploadClusterIngressCertInternalServerError) WithPayload

WithPayload adds the payload to the upload cluster ingress cert internal server error response

func (*UploadClusterIngressCertInternalServerError) WriteResponse

WriteResponse to the client

type UploadClusterIngressCertNotFound

type UploadClusterIngressCertNotFound struct {

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

UploadClusterIngressCertNotFound Error.

swagger:response uploadClusterIngressCertNotFound

func NewUploadClusterIngressCertNotFound

func NewUploadClusterIngressCertNotFound() *UploadClusterIngressCertNotFound

NewUploadClusterIngressCertNotFound creates UploadClusterIngressCertNotFound with default headers values

func (*UploadClusterIngressCertNotFound) SetPayload

func (o *UploadClusterIngressCertNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the upload cluster ingress cert not found response

func (*UploadClusterIngressCertNotFound) WithPayload

WithPayload adds the payload to the upload cluster ingress cert not found response

func (*UploadClusterIngressCertNotFound) WriteResponse

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

WriteResponse to the client

type UploadClusterIngressCertParams

type UploadClusterIngressCertParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ClusterID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	IngressCertParams models.IngressCertParams
}

UploadClusterIngressCertParams contains all the bound params for the upload cluster ingress cert operation typically these are obtained from a http.Request

swagger:parameters UploadClusterIngressCert

func NewUploadClusterIngressCertParams

func NewUploadClusterIngressCertParams() UploadClusterIngressCertParams

NewUploadClusterIngressCertParams creates a new UploadClusterIngressCertParams object no default values defined in spec.

func (*UploadClusterIngressCertParams) 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 NewUploadClusterIngressCertParams() beforehand.

type UploadClusterIngressCertURL

type UploadClusterIngressCertURL struct {
	ClusterID strfmt.UUID
	// contains filtered or unexported fields
}

UploadClusterIngressCertURL generates an URL for the upload cluster ingress cert operation

func (*UploadClusterIngressCertURL) Build

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

Build a url path and query string

func (*UploadClusterIngressCertURL) BuildFull

func (o *UploadClusterIngressCertURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UploadClusterIngressCertURL) Must

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

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

func (*UploadClusterIngressCertURL) SetBasePath

func (o *UploadClusterIngressCertURL) 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 (*UploadClusterIngressCertURL) String

func (o *UploadClusterIngressCertURL) String() string

String returns the string representation of the path with query string

func (*UploadClusterIngressCertURL) StringFull

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

StringFull returns the string representation of a complete url

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

Source Files

Jump to

Keyboard shortcuts

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