Documentation ¶
Index ¶
- Constants
- type DeregisterCluster
- type DeregisterClusterConflict
- type DeregisterClusterHandler
- type DeregisterClusterHandlerFunc
- type DeregisterClusterInternalServerError
- func (o *DeregisterClusterInternalServerError) SetPayload(payload *models.Error)
- func (o *DeregisterClusterInternalServerError) WithPayload(payload *models.Error) *DeregisterClusterInternalServerError
- func (o *DeregisterClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeregisterClusterNoContent
- type DeregisterClusterNotFound
- type DeregisterClusterParams
- type DeregisterClusterURL
- func (o *DeregisterClusterURL) Build() (*url.URL, error)
- func (o *DeregisterClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeregisterClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *DeregisterClusterURL) SetBasePath(bp string)
- func (o *DeregisterClusterURL) String() string
- func (o *DeregisterClusterURL) StringFull(scheme, host string) string
- func (o *DeregisterClusterURL) WithBasePath(bp string) *DeregisterClusterURL
- type DeregisterHost
- type DeregisterHostBadRequest
- type DeregisterHostHandler
- type DeregisterHostHandlerFunc
- type DeregisterHostInternalServerError
- func (o *DeregisterHostInternalServerError) SetPayload(payload *models.Error)
- func (o *DeregisterHostInternalServerError) WithPayload(payload *models.Error) *DeregisterHostInternalServerError
- func (o *DeregisterHostInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeregisterHostNoContent
- type DeregisterHostNotFound
- type DeregisterHostParams
- type DeregisterHostURL
- func (o *DeregisterHostURL) Build() (*url.URL, error)
- func (o *DeregisterHostURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeregisterHostURL) Must(u *url.URL, err error) *url.URL
- func (o *DeregisterHostURL) SetBasePath(bp string)
- func (o *DeregisterHostURL) String() string
- func (o *DeregisterHostURL) StringFull(scheme, host string) string
- func (o *DeregisterHostURL) WithBasePath(bp string) *DeregisterHostURL
- type DisableHost
- type DisableHostConflict
- type DisableHostHandler
- type DisableHostHandlerFunc
- type DisableHostInternalServerError
- type DisableHostNoContent
- type DisableHostNotFound
- type DisableHostParams
- type DisableHostURL
- func (o *DisableHostURL) Build() (*url.URL, error)
- func (o *DisableHostURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DisableHostURL) Must(u *url.URL, err error) *url.URL
- func (o *DisableHostURL) SetBasePath(bp string)
- func (o *DisableHostURL) String() string
- func (o *DisableHostURL) StringFull(scheme, host string) string
- func (o *DisableHostURL) WithBasePath(bp string) *DisableHostURL
- type DownloadClusterFiles
- type DownloadClusterFilesConflict
- type DownloadClusterFilesHandler
- type DownloadClusterFilesHandlerFunc
- type DownloadClusterFilesInternalServerError
- func (o *DownloadClusterFilesInternalServerError) SetPayload(payload *models.Error)
- func (o *DownloadClusterFilesInternalServerError) WithPayload(payload *models.Error) *DownloadClusterFilesInternalServerError
- func (o *DownloadClusterFilesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterFilesNotFound
- type DownloadClusterFilesOK
- type DownloadClusterFilesParams
- type DownloadClusterFilesURL
- func (o *DownloadClusterFilesURL) Build() (*url.URL, error)
- func (o *DownloadClusterFilesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadClusterFilesURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadClusterFilesURL) SetBasePath(bp string)
- func (o *DownloadClusterFilesURL) String() string
- func (o *DownloadClusterFilesURL) StringFull(scheme, host string) string
- func (o *DownloadClusterFilesURL) WithBasePath(bp string) *DownloadClusterFilesURL
- type DownloadClusterISO
- type DownloadClusterISOBadRequest
- type DownloadClusterISOHandler
- type DownloadClusterISOHandlerFunc
- type DownloadClusterISOInternalServerError
- func (o *DownloadClusterISOInternalServerError) SetPayload(payload *models.Error)
- func (o *DownloadClusterISOInternalServerError) WithPayload(payload *models.Error) *DownloadClusterISOInternalServerError
- func (o *DownloadClusterISOInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterISONotFound
- type DownloadClusterISOOK
- type DownloadClusterISOParams
- type DownloadClusterISOURL
- func (o *DownloadClusterISOURL) Build() (*url.URL, error)
- func (o *DownloadClusterISOURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadClusterISOURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadClusterISOURL) SetBasePath(bp string)
- func (o *DownloadClusterISOURL) String() string
- func (o *DownloadClusterISOURL) StringFull(scheme, host string) string
- func (o *DownloadClusterISOURL) WithBasePath(bp string) *DownloadClusterISOURL
- type DownloadClusterKubeconfig
- type DownloadClusterKubeconfigConflict
- func (o *DownloadClusterKubeconfigConflict) SetPayload(payload *models.Error)
- func (o *DownloadClusterKubeconfigConflict) WithPayload(payload *models.Error) *DownloadClusterKubeconfigConflict
- func (o *DownloadClusterKubeconfigConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterKubeconfigHandler
- type DownloadClusterKubeconfigHandlerFunc
- type DownloadClusterKubeconfigInternalServerError
- func (o *DownloadClusterKubeconfigInternalServerError) SetPayload(payload *models.Error)
- func (o *DownloadClusterKubeconfigInternalServerError) WithPayload(payload *models.Error) *DownloadClusterKubeconfigInternalServerError
- func (o *DownloadClusterKubeconfigInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterKubeconfigNotFound
- func (o *DownloadClusterKubeconfigNotFound) SetPayload(payload *models.Error)
- func (o *DownloadClusterKubeconfigNotFound) WithPayload(payload *models.Error) *DownloadClusterKubeconfigNotFound
- func (o *DownloadClusterKubeconfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterKubeconfigOK
- type DownloadClusterKubeconfigParams
- type DownloadClusterKubeconfigURL
- func (o *DownloadClusterKubeconfigURL) Build() (*url.URL, error)
- func (o *DownloadClusterKubeconfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadClusterKubeconfigURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadClusterKubeconfigURL) SetBasePath(bp string)
- func (o *DownloadClusterKubeconfigURL) String() string
- func (o *DownloadClusterKubeconfigURL) StringFull(scheme, host string) string
- func (o *DownloadClusterKubeconfigURL) WithBasePath(bp string) *DownloadClusterKubeconfigURL
- type EnableHost
- type EnableHostConflict
- type EnableHostHandler
- type EnableHostHandlerFunc
- type EnableHostInternalServerError
- type EnableHostNoContent
- type EnableHostNotFound
- type EnableHostParams
- type EnableHostURL
- func (o *EnableHostURL) Build() (*url.URL, error)
- func (o *EnableHostURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnableHostURL) Must(u *url.URL, err error) *url.URL
- func (o *EnableHostURL) SetBasePath(bp string)
- func (o *EnableHostURL) String() string
- func (o *EnableHostURL) StringFull(scheme, host string) string
- func (o *EnableHostURL) WithBasePath(bp string) *EnableHostURL
- type GenerateClusterISO
- type GenerateClusterISOBadRequest
- type GenerateClusterISOConflict
- type GenerateClusterISOCreated
- type GenerateClusterISOHandler
- type GenerateClusterISOHandlerFunc
- type GenerateClusterISOInternalServerError
- func (o *GenerateClusterISOInternalServerError) SetPayload(payload *models.Error)
- func (o *GenerateClusterISOInternalServerError) WithPayload(payload *models.Error) *GenerateClusterISOInternalServerError
- func (o *GenerateClusterISOInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GenerateClusterISONotFound
- type GenerateClusterISOParams
- type GenerateClusterISOURL
- func (o *GenerateClusterISOURL) Build() (*url.URL, error)
- func (o *GenerateClusterISOURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GenerateClusterISOURL) Must(u *url.URL, err error) *url.URL
- func (o *GenerateClusterISOURL) SetBasePath(bp string)
- func (o *GenerateClusterISOURL) String() string
- func (o *GenerateClusterISOURL) StringFull(scheme, host string) string
- func (o *GenerateClusterISOURL) WithBasePath(bp string) *GenerateClusterISOURL
- type GetCluster
- type GetClusterHandler
- type GetClusterHandlerFunc
- type GetClusterInternalServerError
- type GetClusterNotFound
- type GetClusterOK
- type GetClusterParams
- type GetClusterURL
- func (o *GetClusterURL) Build() (*url.URL, error)
- func (o *GetClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *GetClusterURL) SetBasePath(bp string)
- func (o *GetClusterURL) String() string
- func (o *GetClusterURL) StringFull(scheme, host string) string
- func (o *GetClusterURL) WithBasePath(bp string) *GetClusterURL
- type GetCredentials
- type GetCredentialsConflict
- type GetCredentialsHandler
- type GetCredentialsHandlerFunc
- type GetCredentialsInternalServerError
- func (o *GetCredentialsInternalServerError) SetPayload(payload *models.Error)
- func (o *GetCredentialsInternalServerError) WithPayload(payload *models.Error) *GetCredentialsInternalServerError
- func (o *GetCredentialsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCredentialsNotFound
- type GetCredentialsOK
- type GetCredentialsParams
- type GetCredentialsURL
- func (o *GetCredentialsURL) Build() (*url.URL, error)
- func (o *GetCredentialsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCredentialsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCredentialsURL) SetBasePath(bp string)
- func (o *GetCredentialsURL) String() string
- func (o *GetCredentialsURL) StringFull(scheme, host string) string
- func (o *GetCredentialsURL) WithBasePath(bp string) *GetCredentialsURL
- type GetHost
- type GetHostHandler
- type GetHostHandlerFunc
- type GetHostInternalServerError
- type GetHostNotFound
- type GetHostOK
- type GetHostParams
- type GetHostURL
- func (o *GetHostURL) Build() (*url.URL, error)
- func (o *GetHostURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetHostURL) Must(u *url.URL, err error) *url.URL
- func (o *GetHostURL) SetBasePath(bp string)
- func (o *GetHostURL) String() string
- func (o *GetHostURL) StringFull(scheme, host string) string
- func (o *GetHostURL) WithBasePath(bp string) *GetHostURL
- type GetNextSteps
- type GetNextStepsHandler
- type GetNextStepsHandlerFunc
- type GetNextStepsInternalServerError
- type GetNextStepsNotFound
- type GetNextStepsOK
- type GetNextStepsParams
- type GetNextStepsURL
- func (o *GetNextStepsURL) Build() (*url.URL, error)
- func (o *GetNextStepsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNextStepsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNextStepsURL) SetBasePath(bp string)
- func (o *GetNextStepsURL) String() string
- func (o *GetNextStepsURL) StringFull(scheme, host string) string
- func (o *GetNextStepsURL) WithBasePath(bp string) *GetNextStepsURL
- type InstallCluster
- type InstallClusterAccepted
- type InstallClusterBadRequest
- type InstallClusterConflict
- type InstallClusterHandler
- type InstallClusterHandlerFunc
- type InstallClusterInternalServerError
- func (o *InstallClusterInternalServerError) SetPayload(payload *models.Error)
- func (o *InstallClusterInternalServerError) WithPayload(payload *models.Error) *InstallClusterInternalServerError
- func (o *InstallClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InstallClusterNotFound
- type InstallClusterParams
- type InstallClusterURL
- func (o *InstallClusterURL) Build() (*url.URL, error)
- func (o *InstallClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *InstallClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *InstallClusterURL) SetBasePath(bp string)
- func (o *InstallClusterURL) String() string
- func (o *InstallClusterURL) StringFull(scheme, host string) string
- func (o *InstallClusterURL) WithBasePath(bp string) *InstallClusterURL
- type ListClusters
- type ListClustersHandler
- type ListClustersHandlerFunc
- type ListClustersInternalServerError
- type ListClustersOK
- type ListClustersParams
- type ListClustersURL
- func (o *ListClustersURL) Build() (*url.URL, error)
- func (o *ListClustersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListClustersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListClustersURL) SetBasePath(bp string)
- func (o *ListClustersURL) String() string
- func (o *ListClustersURL) StringFull(scheme, host string) string
- func (o *ListClustersURL) WithBasePath(bp string) *ListClustersURL
- type ListHosts
- type ListHostsHandler
- type ListHostsHandlerFunc
- type ListHostsInternalServerError
- type ListHostsOK
- type ListHostsParams
- type ListHostsURL
- func (o *ListHostsURL) Build() (*url.URL, error)
- func (o *ListHostsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListHostsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListHostsURL) SetBasePath(bp string)
- func (o *ListHostsURL) String() string
- func (o *ListHostsURL) StringFull(scheme, host string) string
- func (o *ListHostsURL) WithBasePath(bp string) *ListHostsURL
- type PostStepReply
- type PostStepReplyBadRequest
- type PostStepReplyHandler
- type PostStepReplyHandlerFunc
- type PostStepReplyInternalServerError
- type PostStepReplyNoContent
- type PostStepReplyNotFound
- type PostStepReplyParams
- type PostStepReplyURL
- func (o *PostStepReplyURL) Build() (*url.URL, error)
- func (o *PostStepReplyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostStepReplyURL) Must(u *url.URL, err error) *url.URL
- func (o *PostStepReplyURL) SetBasePath(bp string)
- func (o *PostStepReplyURL) String() string
- func (o *PostStepReplyURL) StringFull(scheme, host string) string
- func (o *PostStepReplyURL) WithBasePath(bp string) *PostStepReplyURL
- type RegisterCluster
- type RegisterClusterBadRequest
- type RegisterClusterCreated
- type RegisterClusterHandler
- type RegisterClusterHandlerFunc
- type RegisterClusterInternalServerError
- func (o *RegisterClusterInternalServerError) SetPayload(payload *models.Error)
- func (o *RegisterClusterInternalServerError) WithPayload(payload *models.Error) *RegisterClusterInternalServerError
- func (o *RegisterClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RegisterClusterParams
- type RegisterClusterURL
- func (o *RegisterClusterURL) Build() (*url.URL, error)
- func (o *RegisterClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RegisterClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *RegisterClusterURL) SetBasePath(bp string)
- func (o *RegisterClusterURL) String() string
- func (o *RegisterClusterURL) StringFull(scheme, host string) string
- func (o *RegisterClusterURL) WithBasePath(bp string) *RegisterClusterURL
- type RegisterHost
- type RegisterHostBadRequest
- type RegisterHostCreated
- type RegisterHostForbidden
- type RegisterHostHandler
- type RegisterHostHandlerFunc
- type RegisterHostInternalServerError
- type RegisterHostParams
- type RegisterHostURL
- func (o *RegisterHostURL) Build() (*url.URL, error)
- func (o *RegisterHostURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RegisterHostURL) Must(u *url.URL, err error) *url.URL
- func (o *RegisterHostURL) SetBasePath(bp string)
- func (o *RegisterHostURL) String() string
- func (o *RegisterHostURL) StringFull(scheme, host string) string
- func (o *RegisterHostURL) WithBasePath(bp string) *RegisterHostURL
- type SetDebugStep
- type SetDebugStepHandler
- type SetDebugStepHandlerFunc
- type SetDebugStepInternalServerError
- type SetDebugStepNoContent
- type SetDebugStepNotFound
- type SetDebugStepParams
- type SetDebugStepURL
- func (o *SetDebugStepURL) Build() (*url.URL, error)
- func (o *SetDebugStepURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetDebugStepURL) Must(u *url.URL, err error) *url.URL
- func (o *SetDebugStepURL) SetBasePath(bp string)
- func (o *SetDebugStepURL) String() string
- func (o *SetDebugStepURL) StringFull(scheme, host string) string
- func (o *SetDebugStepURL) WithBasePath(bp string) *SetDebugStepURL
- type UpdateCluster
- type UpdateClusterBadRequest
- type UpdateClusterConflict
- type UpdateClusterCreated
- type UpdateClusterHandler
- type UpdateClusterHandlerFunc
- type UpdateClusterInternalServerError
- type UpdateClusterNotFound
- type UpdateClusterParams
- type UpdateClusterURL
- func (o *UpdateClusterURL) Build() (*url.URL, error)
- func (o *UpdateClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateClusterURL) SetBasePath(bp string)
- func (o *UpdateClusterURL) String() string
- func (o *UpdateClusterURL) StringFull(scheme, host string) string
- func (o *UpdateClusterURL) WithBasePath(bp string) *UpdateClusterURL
- type UpdateHostInstallProgress
- type UpdateHostInstallProgressHandler
- type UpdateHostInstallProgressHandlerFunc
- type UpdateHostInstallProgressOK
- type UpdateHostInstallProgressParams
- type UpdateHostInstallProgressURL
- func (o *UpdateHostInstallProgressURL) Build() (*url.URL, error)
- func (o *UpdateHostInstallProgressURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateHostInstallProgressURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateHostInstallProgressURL) SetBasePath(bp string)
- func (o *UpdateHostInstallProgressURL) String() string
- func (o *UpdateHostInstallProgressURL) StringFull(scheme, host string) string
- func (o *UpdateHostInstallProgressURL) WithBasePath(bp string) *UpdateHostInstallProgressURL
- type UploadClusterIngressCert
- type UploadClusterIngressCertBadRequest
- func (o *UploadClusterIngressCertBadRequest) SetPayload(payload *models.Error)
- func (o *UploadClusterIngressCertBadRequest) WithPayload(payload *models.Error) *UploadClusterIngressCertBadRequest
- func (o *UploadClusterIngressCertBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadClusterIngressCertCreated
- type UploadClusterIngressCertHandler
- type UploadClusterIngressCertHandlerFunc
- type UploadClusterIngressCertInternalServerError
- func (o *UploadClusterIngressCertInternalServerError) SetPayload(payload *models.Error)
- func (o *UploadClusterIngressCertInternalServerError) WithPayload(payload *models.Error) *UploadClusterIngressCertInternalServerError
- func (o *UploadClusterIngressCertInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadClusterIngressCertNotFound
- type UploadClusterIngressCertParams
- type UploadClusterIngressCertURL
- func (o *UploadClusterIngressCertURL) Build() (*url.URL, error)
- func (o *UploadClusterIngressCertURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UploadClusterIngressCertURL) Must(u *url.URL, err error) *url.URL
- func (o *UploadClusterIngressCertURL) SetBasePath(bp string)
- func (o *UploadClusterIngressCertURL) String() string
- func (o *UploadClusterIngressCertURL) StringFull(scheme, host string) string
- func (o *UploadClusterIngressCertURL) WithBasePath(bp string) *UploadClusterIngressCertURL
Constants ¶
const DeregisterClusterConflictCode int = 409
DeregisterClusterConflictCode is the HTTP code returned for type DeregisterClusterConflict
const DeregisterClusterInternalServerErrorCode int = 500
DeregisterClusterInternalServerErrorCode is the HTTP code returned for type DeregisterClusterInternalServerError
const DeregisterClusterNoContentCode int = 204
DeregisterClusterNoContentCode is the HTTP code returned for type DeregisterClusterNoContent
const DeregisterClusterNotFoundCode int = 404
DeregisterClusterNotFoundCode is the HTTP code returned for type DeregisterClusterNotFound
const DeregisterHostBadRequestCode int = 400
DeregisterHostBadRequestCode is the HTTP code returned for type DeregisterHostBadRequest
const DeregisterHostInternalServerErrorCode int = 500
DeregisterHostInternalServerErrorCode is the HTTP code returned for type DeregisterHostInternalServerError
const DeregisterHostNoContentCode int = 204
DeregisterHostNoContentCode is the HTTP code returned for type DeregisterHostNoContent
const DeregisterHostNotFoundCode int = 404
DeregisterHostNotFoundCode is the HTTP code returned for type DeregisterHostNotFound
const DisableHostConflictCode int = 409
DisableHostConflictCode is the HTTP code returned for type DisableHostConflict
const DisableHostInternalServerErrorCode int = 500
DisableHostInternalServerErrorCode is the HTTP code returned for type DisableHostInternalServerError
const DisableHostNoContentCode int = 204
DisableHostNoContentCode is the HTTP code returned for type DisableHostNoContent
const DisableHostNotFoundCode int = 404
DisableHostNotFoundCode is the HTTP code returned for type DisableHostNotFound
const DownloadClusterFilesConflictCode int = 409
DownloadClusterFilesConflictCode is the HTTP code returned for type DownloadClusterFilesConflict
const DownloadClusterFilesInternalServerErrorCode int = 500
DownloadClusterFilesInternalServerErrorCode is the HTTP code returned for type DownloadClusterFilesInternalServerError
const DownloadClusterFilesNotFoundCode int = 404
DownloadClusterFilesNotFoundCode is the HTTP code returned for type DownloadClusterFilesNotFound
const DownloadClusterFilesOKCode int = 200
DownloadClusterFilesOKCode is the HTTP code returned for type DownloadClusterFilesOK
const DownloadClusterISOBadRequestCode int = 400
DownloadClusterISOBadRequestCode is the HTTP code returned for type DownloadClusterISOBadRequest
const DownloadClusterISOInternalServerErrorCode int = 500
DownloadClusterISOInternalServerErrorCode is the HTTP code returned for type DownloadClusterISOInternalServerError
const DownloadClusterISONotFoundCode int = 404
DownloadClusterISONotFoundCode is the HTTP code returned for type DownloadClusterISONotFound
const DownloadClusterISOOKCode int = 200
DownloadClusterISOOKCode is the HTTP code returned for type DownloadClusterISOOK
const DownloadClusterKubeconfigConflictCode int = 409
DownloadClusterKubeconfigConflictCode is the HTTP code returned for type DownloadClusterKubeconfigConflict
const DownloadClusterKubeconfigInternalServerErrorCode int = 500
DownloadClusterKubeconfigInternalServerErrorCode is the HTTP code returned for type DownloadClusterKubeconfigInternalServerError
const DownloadClusterKubeconfigNotFoundCode int = 404
DownloadClusterKubeconfigNotFoundCode is the HTTP code returned for type DownloadClusterKubeconfigNotFound
const DownloadClusterKubeconfigOKCode int = 200
DownloadClusterKubeconfigOKCode is the HTTP code returned for type DownloadClusterKubeconfigOK
const EnableHostConflictCode int = 409
EnableHostConflictCode is the HTTP code returned for type EnableHostConflict
const EnableHostInternalServerErrorCode int = 500
EnableHostInternalServerErrorCode is the HTTP code returned for type EnableHostInternalServerError
const EnableHostNoContentCode int = 204
EnableHostNoContentCode is the HTTP code returned for type EnableHostNoContent
const EnableHostNotFoundCode int = 404
EnableHostNotFoundCode is the HTTP code returned for type EnableHostNotFound
const GenerateClusterISOBadRequestCode int = 400
GenerateClusterISOBadRequestCode is the HTTP code returned for type GenerateClusterISOBadRequest
const GenerateClusterISOConflictCode int = 409
GenerateClusterISOConflictCode is the HTTP code returned for type GenerateClusterISOConflict
const GenerateClusterISOCreatedCode int = 201
GenerateClusterISOCreatedCode is the HTTP code returned for type GenerateClusterISOCreated
const GenerateClusterISOInternalServerErrorCode int = 500
GenerateClusterISOInternalServerErrorCode is the HTTP code returned for type GenerateClusterISOInternalServerError
const GenerateClusterISONotFoundCode int = 404
GenerateClusterISONotFoundCode is the HTTP code returned for type GenerateClusterISONotFound
const GetClusterInternalServerErrorCode int = 500
GetClusterInternalServerErrorCode is the HTTP code returned for type GetClusterInternalServerError
const GetClusterNotFoundCode int = 404
GetClusterNotFoundCode is the HTTP code returned for type GetClusterNotFound
const GetClusterOKCode int = 200
GetClusterOKCode is the HTTP code returned for type GetClusterOK
const GetCredentialsConflictCode int = 409
GetCredentialsConflictCode is the HTTP code returned for type GetCredentialsConflict
const GetCredentialsInternalServerErrorCode int = 500
GetCredentialsInternalServerErrorCode is the HTTP code returned for type GetCredentialsInternalServerError
const GetCredentialsNotFoundCode int = 404
GetCredentialsNotFoundCode is the HTTP code returned for type GetCredentialsNotFound
const GetCredentialsOKCode int = 200
GetCredentialsOKCode is the HTTP code returned for type GetCredentialsOK
const GetHostInternalServerErrorCode int = 500
GetHostInternalServerErrorCode is the HTTP code returned for type GetHostInternalServerError
const GetHostNotFoundCode int = 404
GetHostNotFoundCode is the HTTP code returned for type GetHostNotFound
const GetHostOKCode int = 200
GetHostOKCode is the HTTP code returned for type GetHostOK
const GetNextStepsInternalServerErrorCode int = 500
GetNextStepsInternalServerErrorCode is the HTTP code returned for type GetNextStepsInternalServerError
const GetNextStepsNotFoundCode int = 404
GetNextStepsNotFoundCode is the HTTP code returned for type GetNextStepsNotFound
const GetNextStepsOKCode int = 200
GetNextStepsOKCode is the HTTP code returned for type GetNextStepsOK
const InstallClusterAcceptedCode int = 202
InstallClusterAcceptedCode is the HTTP code returned for type InstallClusterAccepted
const InstallClusterBadRequestCode int = 400
InstallClusterBadRequestCode is the HTTP code returned for type InstallClusterBadRequest
const InstallClusterConflictCode int = 409
InstallClusterConflictCode is the HTTP code returned for type InstallClusterConflict
const InstallClusterInternalServerErrorCode int = 500
InstallClusterInternalServerErrorCode is the HTTP code returned for type InstallClusterInternalServerError
const InstallClusterNotFoundCode int = 404
InstallClusterNotFoundCode is the HTTP code returned for type InstallClusterNotFound
const ListClustersInternalServerErrorCode int = 500
ListClustersInternalServerErrorCode is the HTTP code returned for type ListClustersInternalServerError
const ListClustersOKCode int = 200
ListClustersOKCode is the HTTP code returned for type ListClustersOK
const ListHostsInternalServerErrorCode int = 500
ListHostsInternalServerErrorCode is the HTTP code returned for type ListHostsInternalServerError
const ListHostsOKCode int = 200
ListHostsOKCode is the HTTP code returned for type ListHostsOK
const PostStepReplyBadRequestCode int = 400
PostStepReplyBadRequestCode is the HTTP code returned for type PostStepReplyBadRequest
const PostStepReplyInternalServerErrorCode int = 500
PostStepReplyInternalServerErrorCode is the HTTP code returned for type PostStepReplyInternalServerError
const PostStepReplyNoContentCode int = 204
PostStepReplyNoContentCode is the HTTP code returned for type PostStepReplyNoContent
const PostStepReplyNotFoundCode int = 404
PostStepReplyNotFoundCode is the HTTP code returned for type PostStepReplyNotFound
const RegisterClusterBadRequestCode int = 400
RegisterClusterBadRequestCode is the HTTP code returned for type RegisterClusterBadRequest
const RegisterClusterCreatedCode int = 201
RegisterClusterCreatedCode is the HTTP code returned for type RegisterClusterCreated
const RegisterClusterInternalServerErrorCode int = 500
RegisterClusterInternalServerErrorCode is the HTTP code returned for type RegisterClusterInternalServerError
const RegisterHostBadRequestCode int = 400
RegisterHostBadRequestCode is the HTTP code returned for type RegisterHostBadRequest
const RegisterHostCreatedCode int = 201
RegisterHostCreatedCode is the HTTP code returned for type RegisterHostCreated
const RegisterHostForbiddenCode int = 403
RegisterHostForbiddenCode is the HTTP code returned for type RegisterHostForbidden
const RegisterHostInternalServerErrorCode int = 500
RegisterHostInternalServerErrorCode is the HTTP code returned for type RegisterHostInternalServerError
const SetDebugStepInternalServerErrorCode int = 500
SetDebugStepInternalServerErrorCode is the HTTP code returned for type SetDebugStepInternalServerError
const SetDebugStepNoContentCode int = 204
SetDebugStepNoContentCode is the HTTP code returned for type SetDebugStepNoContent
const SetDebugStepNotFoundCode int = 404
SetDebugStepNotFoundCode is the HTTP code returned for type SetDebugStepNotFound
const UpdateClusterBadRequestCode int = 400
UpdateClusterBadRequestCode is the HTTP code returned for type UpdateClusterBadRequest
const UpdateClusterConflictCode int = 409
UpdateClusterConflictCode is the HTTP code returned for type UpdateClusterConflict
const UpdateClusterCreatedCode int = 201
UpdateClusterCreatedCode is the HTTP code returned for type UpdateClusterCreated
const UpdateClusterInternalServerErrorCode int = 500
UpdateClusterInternalServerErrorCode is the HTTP code returned for type UpdateClusterInternalServerError
const UpdateClusterNotFoundCode int = 404
UpdateClusterNotFoundCode is the HTTP code returned for type UpdateClusterNotFound
const UpdateHostInstallProgressOKCode int = 200
UpdateHostInstallProgressOKCode is the HTTP code returned for type UpdateHostInstallProgressOK
const UploadClusterIngressCertBadRequestCode int = 400
UploadClusterIngressCertBadRequestCode is the HTTP code returned for type UploadClusterIngressCertBadRequest
const UploadClusterIngressCertCreatedCode int = 201
UploadClusterIngressCertCreatedCode is the HTTP code returned for type UploadClusterIngressCertCreated
const UploadClusterIngressCertInternalServerErrorCode int = 500
UploadClusterIngressCertInternalServerErrorCode is the HTTP code returned for type UploadClusterIngressCertInternalServerError
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 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 ¶
func (o *DeregisterClusterConflict) WithPayload(payload *models.Error) *DeregisterClusterConflict
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 ¶
func (fn DeregisterClusterHandlerFunc) Handle(params DeregisterClusterParams) middleware.Responder
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 ¶
func (o *DeregisterClusterInternalServerError) WithPayload(payload *models.Error) *DeregisterClusterInternalServerError
WithPayload adds the payload to the deregister cluster internal server error response
func (*DeregisterClusterInternalServerError) WriteResponse ¶
func (o *DeregisterClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DeregisterClusterNotFound) WithPayload(payload *models.Error) *DeregisterClusterNotFound
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 ¶
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 ¶
func (o *DeregisterHostBadRequest) WithPayload(payload *models.Error) *DeregisterHostBadRequest
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 ¶
func (fn DeregisterHostHandlerFunc) Handle(params DeregisterHostParams) middleware.Responder
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 ¶
func (o *DeregisterHostInternalServerError) WithPayload(payload *models.Error) *DeregisterHostInternalServerError
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 ¶
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 ¶
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 ¶
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 ¶
func (fn DisableHostHandlerFunc) Handle(params DisableHostParams) middleware.Responder
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 ¶
func (o *DisableHostInternalServerError) WithPayload(payload *models.Error) *DisableHostInternalServerError
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 DisableHostNoContent ¶
type DisableHostNoContent struct { }
DisableHostNoContent Success.
swagger:response disableHostNoContent
func NewDisableHostNoContent ¶
func NewDisableHostNoContent() *DisableHostNoContent
NewDisableHostNoContent creates DisableHostNoContent with default headers values
func (*DisableHostNoContent) WriteResponse ¶
func (o *DisableHostNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DisableHostNotFound ¶
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 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 ¶
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 ¶
func (o *DownloadClusterFilesConflict) WithPayload(payload *models.Error) *DownloadClusterFilesConflict
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 ¶
func (fn DownloadClusterFilesHandlerFunc) Handle(params DownloadClusterFilesParams) middleware.Responder
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 ¶
func (o *DownloadClusterFilesInternalServerError) WithPayload(payload *models.Error) *DownloadClusterFilesInternalServerError
WithPayload adds the payload to the download cluster files internal server error response
func (*DownloadClusterFilesInternalServerError) WriteResponse ¶
func (o *DownloadClusterFilesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DownloadClusterFilesNotFound) WithPayload(payload *models.Error) *DownloadClusterFilesNotFound
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 ¶
func (o *DownloadClusterFilesOK) WithPayload(payload io.ReadCloser) *DownloadClusterFilesOK
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 ¶
func (o *DownloadClusterFilesParams) 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 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 ¶
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 ¶
func (o *DownloadClusterFilesURL) WithBasePath(bp string) *DownloadClusterFilesURL
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 ¶
func (o *DownloadClusterISOBadRequest) WithPayload(payload *models.Error) *DownloadClusterISOBadRequest
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 ¶
func (fn DownloadClusterISOHandlerFunc) Handle(params DownloadClusterISOParams) middleware.Responder
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 ¶
func (o *DownloadClusterISOInternalServerError) WithPayload(payload *models.Error) *DownloadClusterISOInternalServerError
WithPayload adds the payload to the download cluster i s o internal server error response
func (*DownloadClusterISOInternalServerError) WriteResponse ¶
func (o *DownloadClusterISOInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DownloadClusterISONotFound) WithPayload(payload *models.Error) *DownloadClusterISONotFound
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 ¶
func (o *DownloadClusterISOParams) 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 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 ¶
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 ¶
func (o *DownloadClusterKubeconfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *DownloadClusterKubeconfigConflict) WithPayload(payload *models.Error) *DownloadClusterKubeconfigConflict
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 ¶
func (fn DownloadClusterKubeconfigHandlerFunc) Handle(params DownloadClusterKubeconfigParams) middleware.Responder
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 ¶
func (o *DownloadClusterKubeconfigInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster kubeconfig internal server error response
func (*DownloadClusterKubeconfigInternalServerError) WithPayload ¶
func (o *DownloadClusterKubeconfigInternalServerError) WithPayload(payload *models.Error) *DownloadClusterKubeconfigInternalServerError
WithPayload adds the payload to the download cluster kubeconfig internal server error response
func (*DownloadClusterKubeconfigInternalServerError) WriteResponse ¶
func (o *DownloadClusterKubeconfigInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *DownloadClusterKubeconfigNotFound) WithPayload(payload *models.Error) *DownloadClusterKubeconfigNotFound
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 ¶
func (o *DownloadClusterKubeconfigOK) WithPayload(payload io.ReadCloser) *DownloadClusterKubeconfigOK
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 ¶
func (o *DownloadClusterKubeconfigParams) 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 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 ¶
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 ¶
func (o *DownloadClusterKubeconfigURL) String() 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 ¶
func (o *DownloadClusterKubeconfigURL) WithBasePath(bp string) *DownloadClusterKubeconfigURL
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 ¶
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 ¶
func (fn EnableHostHandlerFunc) Handle(params EnableHostParams) middleware.Responder
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 ¶
func (o *EnableHostInternalServerError) WithPayload(payload *models.Error) *EnableHostInternalServerError
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 EnableHostNoContent ¶
type EnableHostNoContent struct { }
EnableHostNoContent Success.
swagger:response enableHostNoContent
func NewEnableHostNoContent ¶
func NewEnableHostNoContent() *EnableHostNoContent
NewEnableHostNoContent creates EnableHostNoContent with default headers values
func (*EnableHostNoContent) WriteResponse ¶
func (o *EnableHostNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnableHostNotFound ¶
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 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 ¶
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 ¶
func (o *GenerateClusterISOBadRequest) WithPayload(payload *models.Error) *GenerateClusterISOBadRequest
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 { }
GenerateClusterISOConflict Error.
swagger:response generateClusterISOConflict
func NewGenerateClusterISOConflict ¶
func NewGenerateClusterISOConflict() *GenerateClusterISOConflict
NewGenerateClusterISOConflict creates GenerateClusterISOConflict with default headers values
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 ¶
func (o *GenerateClusterISOCreated) WithPayload(payload *models.Cluster) *GenerateClusterISOCreated
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 ¶
func (fn GenerateClusterISOHandlerFunc) Handle(params GenerateClusterISOParams) middleware.Responder
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 ¶
func (o *GenerateClusterISOInternalServerError) WithPayload(payload *models.Error) *GenerateClusterISOInternalServerError
WithPayload adds the payload to the generate cluster i s o internal server error response
func (*GenerateClusterISOInternalServerError) WriteResponse ¶
func (o *GenerateClusterISOInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GenerateClusterISONotFound) WithPayload(payload *models.Error) *GenerateClusterISONotFound
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 ¶
func (o *GenerateClusterISOParams) 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 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 ¶
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 ¶
func (fn GetClusterHandlerFunc) Handle(params GetClusterParams) middleware.Responder
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 ¶
func (o *GetClusterInternalServerError) WithPayload(payload *models.Error) *GetClusterInternalServerError
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (fn GetCredentialsHandlerFunc) Handle(params GetCredentialsParams) middleware.Responder
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 ¶
func (o *GetCredentialsInternalServerError) WithPayload(payload *models.Error) *GetCredentialsInternalServerError
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 ¶
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 ¶
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 ¶
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 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
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 ¶
func (fn GetHostHandlerFunc) Handle(params GetHostParams) middleware.Responder
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 ¶
func (o *GetHostInternalServerError) WithPayload(payload *models.Error) *GetHostInternalServerError
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 ¶
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 ¶
GetHostOK Success.
swagger:response getHostOK
func NewGetHostOK ¶
func NewGetHostOK() *GetHostOK
NewGetHostOK creates GetHostOK with default headers values
func (*GetHostOK) SetPayload ¶
SetPayload sets the payload to the get host o k response
func (*GetHostOK) WithPayload ¶
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) 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 ¶
func (fn GetNextStepsHandlerFunc) Handle(params GetNextStepsParams) middleware.Responder
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 ¶
func (o *GetNextStepsInternalServerError) WithPayload(payload *models.Error) *GetNextStepsInternalServerError
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 ¶
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 ¶
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 ¶
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 ¶
func (o *InstallClusterBadRequest) WithPayload(payload *models.Error) *InstallClusterBadRequest
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 ¶
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 ¶
func (fn InstallClusterHandlerFunc) Handle(params InstallClusterParams) middleware.Responder
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 ¶
func (o *InstallClusterInternalServerError) WithPayload(payload *models.Error) *InstallClusterInternalServerError
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 ¶
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 ¶
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 ¶
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 ¶
func (fn ListClustersHandlerFunc) Handle(params ListClustersParams) middleware.Responder
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 ¶
func (o *ListClustersInternalServerError) WithPayload(payload *models.Error) *ListClustersInternalServerError
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 ¶
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 ¶
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
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 ¶
func (fn ListHostsHandlerFunc) Handle(params ListHostsParams) middleware.Responder
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 ¶
func (o *ListHostsInternalServerError) WithPayload(payload *models.Error) *ListHostsInternalServerError
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 ¶
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 ¶
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 ¶
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 ¶
func (fn PostStepReplyHandlerFunc) Handle(params PostStepReplyParams) middleware.Responder
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 ¶
func (o *PostStepReplyInternalServerError) WithPayload(payload *models.Error) *PostStepReplyInternalServerError
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 ¶
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 ¶
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 ¶
func (o *RegisterClusterBadRequest) WithPayload(payload *models.Error) *RegisterClusterBadRequest
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 ¶
func (fn RegisterClusterHandlerFunc) Handle(params RegisterClusterParams) middleware.Responder
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 ¶
func (o *RegisterClusterInternalServerError) WithPayload(payload *models.Error) *RegisterClusterInternalServerError
WithPayload adds the payload to the register cluster internal server error response
func (*RegisterClusterInternalServerError) WriteResponse ¶
func (o *RegisterClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (fn RegisterHostHandlerFunc) Handle(params RegisterHostParams) middleware.Responder
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 ¶
func (o *RegisterHostInternalServerError) WithPayload(payload *models.Error) *RegisterHostInternalServerError
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 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 ¶
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 ¶
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 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 ¶
func (fn SetDebugStepHandlerFunc) Handle(params SetDebugStepParams) middleware.Responder
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 ¶
func (o *SetDebugStepInternalServerError) WithPayload(payload *models.Error) *SetDebugStepInternalServerError
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (fn UpdateClusterHandlerFunc) Handle(params UpdateClusterParams) middleware.Responder
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 ¶
func (o *UpdateClusterInternalServerError) WithPayload(payload *models.Error) *UpdateClusterInternalServerError
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 ¶
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 ¶
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 ¶
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/{clusterId}/hosts/{hostId}/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 ¶
func (o *UpdateHostInstallProgress) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn UpdateHostInstallProgressHandlerFunc) Handle(params UpdateHostInstallProgressParams) middleware.Responder
Handle executing the request and returning a response
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 */ HostInstallProgressParams models.HostInstallProgressParams /*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 ¶
func (o *UpdateHostInstallProgressParams) 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 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 ¶
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 ¶
func (o *UpdateHostInstallProgressURL) String() 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 ¶
func (o *UpdateHostInstallProgressURL) WithBasePath(bp string) *UpdateHostInstallProgressURL
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 ¶
func (o *UploadClusterIngressCert) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *UploadClusterIngressCertBadRequest) WithPayload(payload *models.Error) *UploadClusterIngressCertBadRequest
WithPayload adds the payload to the upload cluster ingress cert bad request response
func (*UploadClusterIngressCertBadRequest) WriteResponse ¶
func (o *UploadClusterIngressCertBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn UploadClusterIngressCertHandlerFunc) Handle(params UploadClusterIngressCertParams) middleware.Responder
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 ¶
func (o *UploadClusterIngressCertInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the upload cluster ingress cert internal server error response
func (*UploadClusterIngressCertInternalServerError) WithPayload ¶
func (o *UploadClusterIngressCertInternalServerError) WithPayload(payload *models.Error) *UploadClusterIngressCertInternalServerError
WithPayload adds the payload to the upload cluster ingress cert internal server error response
func (*UploadClusterIngressCertInternalServerError) WriteResponse ¶
func (o *UploadClusterIngressCertInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *UploadClusterIngressCertNotFound) WithPayload(payload *models.Error) *UploadClusterIngressCertNotFound
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 ¶
func (o *UploadClusterIngressCertParams) 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 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 ¶
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 ¶
func (o *UploadClusterIngressCertURL) WithBasePath(bp string) *UploadClusterIngressCertURL
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 ¶
- deregister_cluster.go
- deregister_cluster_parameters.go
- deregister_cluster_responses.go
- deregister_cluster_urlbuilder.go
- deregister_host.go
- deregister_host_parameters.go
- deregister_host_responses.go
- deregister_host_urlbuilder.go
- disable_host.go
- disable_host_parameters.go
- disable_host_responses.go
- disable_host_urlbuilder.go
- download_cluster_files.go
- download_cluster_files_parameters.go
- download_cluster_files_responses.go
- download_cluster_files_urlbuilder.go
- download_cluster_i_s_o.go
- download_cluster_i_s_o_parameters.go
- download_cluster_i_s_o_responses.go
- download_cluster_i_s_o_urlbuilder.go
- download_cluster_kubeconfig.go
- download_cluster_kubeconfig_parameters.go
- download_cluster_kubeconfig_responses.go
- download_cluster_kubeconfig_urlbuilder.go
- enable_host.go
- enable_host_parameters.go
- enable_host_responses.go
- enable_host_urlbuilder.go
- generate_cluster_i_s_o.go
- generate_cluster_i_s_o_parameters.go
- generate_cluster_i_s_o_responses.go
- generate_cluster_i_s_o_urlbuilder.go
- get_cluster.go
- get_cluster_parameters.go
- get_cluster_responses.go
- get_cluster_urlbuilder.go
- get_credentials.go
- get_credentials_parameters.go
- get_credentials_responses.go
- get_credentials_urlbuilder.go
- get_host.go
- get_host_parameters.go
- get_host_responses.go
- get_host_urlbuilder.go
- get_next_steps.go
- get_next_steps_parameters.go
- get_next_steps_responses.go
- get_next_steps_urlbuilder.go
- install_cluster.go
- install_cluster_parameters.go
- install_cluster_responses.go
- install_cluster_urlbuilder.go
- list_clusters.go
- list_clusters_parameters.go
- list_clusters_responses.go
- list_clusters_urlbuilder.go
- list_hosts.go
- list_hosts_parameters.go
- list_hosts_responses.go
- list_hosts_urlbuilder.go
- post_step_reply.go
- post_step_reply_parameters.go
- post_step_reply_responses.go
- post_step_reply_urlbuilder.go
- register_cluster.go
- register_cluster_parameters.go
- register_cluster_responses.go
- register_cluster_urlbuilder.go
- register_host.go
- register_host_parameters.go
- register_host_responses.go
- register_host_urlbuilder.go
- set_debug_step.go
- set_debug_step_parameters.go
- set_debug_step_responses.go
- set_debug_step_urlbuilder.go
- update_cluster.go
- update_cluster_parameters.go
- update_cluster_responses.go
- update_cluster_urlbuilder.go
- update_host_install_progress.go
- update_host_install_progress_parameters.go
- update_host_install_progress_responses.go
- update_host_install_progress_urlbuilder.go
- upload_cluster_ingress_cert.go
- upload_cluster_ingress_cert_parameters.go
- upload_cluster_ingress_cert_responses.go
- upload_cluster_ingress_cert_urlbuilder.go