Documentation ¶
Index ¶
- Constants
- type CancelInstallation
- type CancelInstallationAccepted
- type CancelInstallationConflict
- type CancelInstallationForbidden
- type CancelInstallationHandler
- type CancelInstallationHandlerFunc
- type CancelInstallationInternalServerError
- func (o *CancelInstallationInternalServerError) SetPayload(payload *models.Error)
- func (o *CancelInstallationInternalServerError) WithPayload(payload *models.Error) *CancelInstallationInternalServerError
- func (o *CancelInstallationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CancelInstallationMethodNotAllowed
- func (o *CancelInstallationMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *CancelInstallationMethodNotAllowed) WithPayload(payload *models.Error) *CancelInstallationMethodNotAllowed
- func (o *CancelInstallationMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CancelInstallationNotFound
- type CancelInstallationParams
- type CancelInstallationURL
- func (o *CancelInstallationURL) Build() (*url.URL, error)
- func (o *CancelInstallationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CancelInstallationURL) Must(u *url.URL, err error) *url.URL
- func (o *CancelInstallationURL) SetBasePath(bp string)
- func (o *CancelInstallationURL) String() string
- func (o *CancelInstallationURL) StringFull(scheme, host string) string
- func (o *CancelInstallationURL) WithBasePath(bp string) *CancelInstallationURL
- type CancelInstallationUnauthorized
- type CompleteInstallation
- type CompleteInstallationAccepted
- type CompleteInstallationConflict
- type CompleteInstallationForbidden
- type CompleteInstallationHandler
- type CompleteInstallationHandlerFunc
- type CompleteInstallationInternalServerError
- func (o *CompleteInstallationInternalServerError) SetPayload(payload *models.Error)
- func (o *CompleteInstallationInternalServerError) WithPayload(payload *models.Error) *CompleteInstallationInternalServerError
- func (o *CompleteInstallationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CompleteInstallationMethodNotAllowed
- func (o *CompleteInstallationMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *CompleteInstallationMethodNotAllowed) WithPayload(payload *models.Error) *CompleteInstallationMethodNotAllowed
- func (o *CompleteInstallationMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CompleteInstallationNotFound
- type CompleteInstallationParams
- type CompleteInstallationURL
- func (o *CompleteInstallationURL) Build() (*url.URL, error)
- func (o *CompleteInstallationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CompleteInstallationURL) Must(u *url.URL, err error) *url.URL
- func (o *CompleteInstallationURL) SetBasePath(bp string)
- func (o *CompleteInstallationURL) String() string
- func (o *CompleteInstallationURL) StringFull(scheme, host string) string
- func (o *CompleteInstallationURL) WithBasePath(bp string) *CompleteInstallationURL
- type CompleteInstallationUnauthorized
- func (o *CompleteInstallationUnauthorized) SetPayload(payload *models.InfraError)
- func (o *CompleteInstallationUnauthorized) WithPayload(payload *models.InfraError) *CompleteInstallationUnauthorized
- func (o *CompleteInstallationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeregisterCluster
- type DeregisterClusterConflict
- type DeregisterClusterForbidden
- 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 DeregisterClusterMethodNotAllowed
- func (o *DeregisterClusterMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *DeregisterClusterMethodNotAllowed) WithPayload(payload *models.Error) *DeregisterClusterMethodNotAllowed
- func (o *DeregisterClusterMethodNotAllowed) 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 DeregisterClusterUnauthorized
- type DeregisterHost
- type DeregisterHostBadRequest
- type DeregisterHostForbidden
- 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 DeregisterHostMethodNotAllowed
- 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 DeregisterHostUnauthorized
- type DisableHost
- type DisableHostConflict
- type DisableHostForbidden
- type DisableHostHandler
- type DisableHostHandlerFunc
- type DisableHostInternalServerError
- type DisableHostMethodNotAllowed
- type DisableHostNotFound
- type DisableHostOK
- 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 DisableHostUnauthorized
- type DownloadClusterFiles
- type DownloadClusterFilesConflict
- type DownloadClusterFilesForbidden
- 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 DownloadClusterFilesMethodNotAllowed
- func (o *DownloadClusterFilesMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *DownloadClusterFilesMethodNotAllowed) WithPayload(payload *models.Error) *DownloadClusterFilesMethodNotAllowed
- func (o *DownloadClusterFilesMethodNotAllowed) 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 DownloadClusterFilesUnauthorized
- func (o *DownloadClusterFilesUnauthorized) SetPayload(payload *models.InfraError)
- func (o *DownloadClusterFilesUnauthorized) WithPayload(payload *models.InfraError) *DownloadClusterFilesUnauthorized
- func (o *DownloadClusterFilesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterISO
- type DownloadClusterISOBadRequest
- type DownloadClusterISOConflict
- type DownloadClusterISOForbidden
- 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 DownloadClusterISOMethodNotAllowed
- 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 DownloadClusterISOUnauthorized
- 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 DownloadClusterKubeconfigForbidden
- func (o *DownloadClusterKubeconfigForbidden) SetPayload(payload *models.InfraError)
- func (o *DownloadClusterKubeconfigForbidden) WithPayload(payload *models.InfraError) *DownloadClusterKubeconfigForbidden
- func (o *DownloadClusterKubeconfigForbidden) 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 DownloadClusterKubeconfigMethodNotAllowed
- func (o *DownloadClusterKubeconfigMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *DownloadClusterKubeconfigMethodNotAllowed) WithPayload(payload *models.Error) *DownloadClusterKubeconfigMethodNotAllowed
- func (o *DownloadClusterKubeconfigMethodNotAllowed) 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 DownloadClusterKubeconfigUnauthorized
- func (o *DownloadClusterKubeconfigUnauthorized) SetPayload(payload *models.InfraError)
- func (o *DownloadClusterKubeconfigUnauthorized) WithPayload(payload *models.InfraError) *DownloadClusterKubeconfigUnauthorized
- func (o *DownloadClusterKubeconfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterLogs
- type DownloadClusterLogsConflict
- type DownloadClusterLogsForbidden
- type DownloadClusterLogsHandler
- type DownloadClusterLogsHandlerFunc
- type DownloadClusterLogsInternalServerError
- func (o *DownloadClusterLogsInternalServerError) SetPayload(payload *models.Error)
- func (o *DownloadClusterLogsInternalServerError) WithPayload(payload *models.Error) *DownloadClusterLogsInternalServerError
- func (o *DownloadClusterLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterLogsMethodNotAllowed
- func (o *DownloadClusterLogsMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *DownloadClusterLogsMethodNotAllowed) WithPayload(payload *models.Error) *DownloadClusterLogsMethodNotAllowed
- func (o *DownloadClusterLogsMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadClusterLogsNotFound
- type DownloadClusterLogsOK
- type DownloadClusterLogsParams
- type DownloadClusterLogsURL
- func (o *DownloadClusterLogsURL) Build() (*url.URL, error)
- func (o *DownloadClusterLogsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadClusterLogsURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadClusterLogsURL) SetBasePath(bp string)
- func (o *DownloadClusterLogsURL) String() string
- func (o *DownloadClusterLogsURL) StringFull(scheme, host string) string
- func (o *DownloadClusterLogsURL) WithBasePath(bp string) *DownloadClusterLogsURL
- type DownloadClusterLogsUnauthorized
- func (o *DownloadClusterLogsUnauthorized) SetPayload(payload *models.InfraError)
- func (o *DownloadClusterLogsUnauthorized) WithPayload(payload *models.InfraError) *DownloadClusterLogsUnauthorized
- func (o *DownloadClusterLogsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadHostLogs
- type DownloadHostLogsConflict
- type DownloadHostLogsForbidden
- type DownloadHostLogsHandler
- type DownloadHostLogsHandlerFunc
- type DownloadHostLogsInternalServerError
- func (o *DownloadHostLogsInternalServerError) SetPayload(payload *models.Error)
- func (o *DownloadHostLogsInternalServerError) WithPayload(payload *models.Error) *DownloadHostLogsInternalServerError
- func (o *DownloadHostLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DownloadHostLogsMethodNotAllowed
- type DownloadHostLogsNotFound
- type DownloadHostLogsOK
- type DownloadHostLogsParams
- type DownloadHostLogsURL
- func (o *DownloadHostLogsURL) Build() (*url.URL, error)
- func (o *DownloadHostLogsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DownloadHostLogsURL) Must(u *url.URL, err error) *url.URL
- func (o *DownloadHostLogsURL) SetBasePath(bp string)
- func (o *DownloadHostLogsURL) String() string
- func (o *DownloadHostLogsURL) StringFull(scheme, host string) string
- func (o *DownloadHostLogsURL) WithBasePath(bp string) *DownloadHostLogsURL
- type DownloadHostLogsUnauthorized
- type EnableHost
- type EnableHostConflict
- type EnableHostForbidden
- type EnableHostHandler
- type EnableHostHandlerFunc
- type EnableHostInternalServerError
- type EnableHostMethodNotAllowed
- type EnableHostNotFound
- type EnableHostOK
- 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 EnableHostUnauthorized
- type GenerateClusterISO
- type GenerateClusterISOBadRequest
- type GenerateClusterISOConflict
- type GenerateClusterISOCreated
- type GenerateClusterISOForbidden
- 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 GenerateClusterISOMethodNotAllowed
- func (o *GenerateClusterISOMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *GenerateClusterISOMethodNotAllowed) WithPayload(payload *models.Error) *GenerateClusterISOMethodNotAllowed
- func (o *GenerateClusterISOMethodNotAllowed) 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 GenerateClusterISOUnauthorized
- type GetCluster
- type GetClusterForbidden
- type GetClusterHandler
- type GetClusterHandlerFunc
- type GetClusterInternalServerError
- type GetClusterMethodNotAllowed
- 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 GetClusterUnauthorized
- type GetCredentials
- type GetCredentialsConflict
- type GetCredentialsForbidden
- 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 GetCredentialsMethodNotAllowed
- 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 GetCredentialsUnauthorized
- type GetFreeAddresses
- type GetFreeAddressesForbidden
- type GetFreeAddressesHandler
- type GetFreeAddressesHandlerFunc
- type GetFreeAddressesInternalServerError
- func (o *GetFreeAddressesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetFreeAddressesInternalServerError) WithPayload(payload *models.Error) *GetFreeAddressesInternalServerError
- func (o *GetFreeAddressesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetFreeAddressesMethodNotAllowed
- type GetFreeAddressesNotFound
- type GetFreeAddressesOK
- type GetFreeAddressesParams
- type GetFreeAddressesURL
- func (o *GetFreeAddressesURL) Build() (*url.URL, error)
- func (o *GetFreeAddressesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetFreeAddressesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetFreeAddressesURL) SetBasePath(bp string)
- func (o *GetFreeAddressesURL) String() string
- func (o *GetFreeAddressesURL) StringFull(scheme, host string) string
- func (o *GetFreeAddressesURL) WithBasePath(bp string) *GetFreeAddressesURL
- type GetFreeAddressesUnauthorized
- type GetHost
- type GetHostForbidden
- type GetHostHandler
- type GetHostHandlerFunc
- type GetHostInternalServerError
- type GetHostMethodNotAllowed
- type GetHostNotFound
- type GetHostOK
- type GetHostParams
- type GetHostRequirements
- type GetHostRequirementsForbidden
- type GetHostRequirementsHandler
- type GetHostRequirementsHandlerFunc
- type GetHostRequirementsInternalServerError
- func (o *GetHostRequirementsInternalServerError) SetPayload(payload *models.Error)
- func (o *GetHostRequirementsInternalServerError) WithPayload(payload *models.Error) *GetHostRequirementsInternalServerError
- func (o *GetHostRequirementsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetHostRequirementsMethodNotAllowed
- func (o *GetHostRequirementsMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *GetHostRequirementsMethodNotAllowed) WithPayload(payload *models.Error) *GetHostRequirementsMethodNotAllowed
- func (o *GetHostRequirementsMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetHostRequirementsOK
- type GetHostRequirementsParams
- type GetHostRequirementsURL
- func (o *GetHostRequirementsURL) Build() (*url.URL, error)
- func (o *GetHostRequirementsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetHostRequirementsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetHostRequirementsURL) SetBasePath(bp string)
- func (o *GetHostRequirementsURL) String() string
- func (o *GetHostRequirementsURL) StringFull(scheme, host string) string
- func (o *GetHostRequirementsURL) WithBasePath(bp string) *GetHostRequirementsURL
- type GetHostRequirementsUnauthorized
- 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 GetHostUnauthorized
- type GetNextSteps
- type GetNextStepsForbidden
- type GetNextStepsHandler
- type GetNextStepsHandlerFunc
- type GetNextStepsInternalServerError
- type GetNextStepsMethodNotAllowed
- 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 GetNextStepsUnauthorized
- type GetPresignedForClusterFiles
- type GetPresignedForClusterFilesBadRequest
- func (o *GetPresignedForClusterFilesBadRequest) SetPayload(payload *models.Error)
- func (o *GetPresignedForClusterFilesBadRequest) WithPayload(payload *models.Error) *GetPresignedForClusterFilesBadRequest
- func (o *GetPresignedForClusterFilesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPresignedForClusterFilesConflict
- func (o *GetPresignedForClusterFilesConflict) SetPayload(payload *models.Error)
- func (o *GetPresignedForClusterFilesConflict) WithPayload(payload *models.Error) *GetPresignedForClusterFilesConflict
- func (o *GetPresignedForClusterFilesConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPresignedForClusterFilesForbidden
- func (o *GetPresignedForClusterFilesForbidden) SetPayload(payload *models.InfraError)
- func (o *GetPresignedForClusterFilesForbidden) WithPayload(payload *models.InfraError) *GetPresignedForClusterFilesForbidden
- func (o *GetPresignedForClusterFilesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPresignedForClusterFilesHandler
- type GetPresignedForClusterFilesHandlerFunc
- type GetPresignedForClusterFilesInternalServerError
- func (o *GetPresignedForClusterFilesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetPresignedForClusterFilesInternalServerError) WithPayload(payload *models.Error) *GetPresignedForClusterFilesInternalServerError
- func (o *GetPresignedForClusterFilesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPresignedForClusterFilesMethodNotAllowed
- func (o *GetPresignedForClusterFilesMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *GetPresignedForClusterFilesMethodNotAllowed) WithPayload(payload *models.Error) *GetPresignedForClusterFilesMethodNotAllowed
- func (o *GetPresignedForClusterFilesMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPresignedForClusterFilesNotFound
- func (o *GetPresignedForClusterFilesNotFound) SetPayload(payload *models.Error)
- func (o *GetPresignedForClusterFilesNotFound) WithPayload(payload *models.Error) *GetPresignedForClusterFilesNotFound
- func (o *GetPresignedForClusterFilesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPresignedForClusterFilesOK
- type GetPresignedForClusterFilesParams
- type GetPresignedForClusterFilesURL
- func (o *GetPresignedForClusterFilesURL) Build() (*url.URL, error)
- func (o *GetPresignedForClusterFilesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPresignedForClusterFilesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPresignedForClusterFilesURL) SetBasePath(bp string)
- func (o *GetPresignedForClusterFilesURL) String() string
- func (o *GetPresignedForClusterFilesURL) StringFull(scheme, host string) string
- func (o *GetPresignedForClusterFilesURL) WithBasePath(bp string) *GetPresignedForClusterFilesURL
- type GetPresignedForClusterFilesUnauthorized
- func (o *GetPresignedForClusterFilesUnauthorized) SetPayload(payload *models.InfraError)
- func (o *GetPresignedForClusterFilesUnauthorized) WithPayload(payload *models.InfraError) *GetPresignedForClusterFilesUnauthorized
- func (o *GetPresignedForClusterFilesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type InstallCluster
- type InstallClusterAccepted
- type InstallClusterBadRequest
- type InstallClusterConflict
- type InstallClusterForbidden
- 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 InstallClusterMethodNotAllowed
- 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 InstallClusterUnauthorized
- type ListClusters
- type ListClustersForbidden
- type ListClustersHandler
- type ListClustersHandlerFunc
- type ListClustersInternalServerError
- type ListClustersMethodNotAllowed
- 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 ListClustersUnauthorized
- type ListHosts
- type ListHostsForbidden
- type ListHostsHandler
- type ListHostsHandlerFunc
- type ListHostsInternalServerError
- type ListHostsMethodNotAllowed
- 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 ListHostsUnauthorized
- type PostStepReply
- type PostStepReplyBadRequest
- type PostStepReplyForbidden
- type PostStepReplyHandler
- type PostStepReplyHandlerFunc
- type PostStepReplyInternalServerError
- type PostStepReplyMethodNotAllowed
- 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 PostStepReplyUnauthorized
- type RegisterCluster
- type RegisterClusterBadRequest
- type RegisterClusterCreated
- type RegisterClusterForbidden
- 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 RegisterClusterMethodNotAllowed
- 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 RegisterClusterUnauthorized
- type RegisterHost
- type RegisterHostBadRequest
- type RegisterHostCreated
- type RegisterHostForbidden
- type RegisterHostHandler
- type RegisterHostHandlerFunc
- type RegisterHostInternalServerError
- type RegisterHostMethodNotAllowed
- type RegisterHostNotFound
- 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 RegisterHostUnauthorized
- type ResetCluster
- type ResetClusterAccepted
- type ResetClusterConflict
- type ResetClusterForbidden
- type ResetClusterHandler
- type ResetClusterHandlerFunc
- type ResetClusterInternalServerError
- type ResetClusterMethodNotAllowed
- type ResetClusterNotFound
- type ResetClusterParams
- type ResetClusterURL
- func (o *ResetClusterURL) Build() (*url.URL, error)
- func (o *ResetClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ResetClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *ResetClusterURL) SetBasePath(bp string)
- func (o *ResetClusterURL) String() string
- func (o *ResetClusterURL) StringFull(scheme, host string) string
- func (o *ResetClusterURL) WithBasePath(bp string) *ResetClusterURL
- type ResetClusterUnauthorized
- type UpdateCluster
- type UpdateClusterBadRequest
- type UpdateClusterConflict
- type UpdateClusterCreated
- type UpdateClusterForbidden
- type UpdateClusterHandler
- type UpdateClusterHandlerFunc
- type UpdateClusterInstallConfig
- type UpdateClusterInstallConfigBadRequest
- func (o *UpdateClusterInstallConfigBadRequest) SetPayload(payload *models.Error)
- func (o *UpdateClusterInstallConfigBadRequest) WithPayload(payload *models.Error) *UpdateClusterInstallConfigBadRequest
- func (o *UpdateClusterInstallConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateClusterInstallConfigCreated
- type UpdateClusterInstallConfigForbidden
- func (o *UpdateClusterInstallConfigForbidden) SetPayload(payload *models.Error)
- func (o *UpdateClusterInstallConfigForbidden) WithPayload(payload *models.Error) *UpdateClusterInstallConfigForbidden
- func (o *UpdateClusterInstallConfigForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateClusterInstallConfigHandler
- type UpdateClusterInstallConfigHandlerFunc
- type UpdateClusterInstallConfigInternalServerError
- func (o *UpdateClusterInstallConfigInternalServerError) SetPayload(payload *models.Error)
- func (o *UpdateClusterInstallConfigInternalServerError) WithPayload(payload *models.Error) *UpdateClusterInstallConfigInternalServerError
- func (o *UpdateClusterInstallConfigInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateClusterInstallConfigMethodNotAllowed
- func (o *UpdateClusterInstallConfigMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *UpdateClusterInstallConfigMethodNotAllowed) WithPayload(payload *models.Error) *UpdateClusterInstallConfigMethodNotAllowed
- func (o *UpdateClusterInstallConfigMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateClusterInstallConfigNotFound
- func (o *UpdateClusterInstallConfigNotFound) SetPayload(payload *models.Error)
- func (o *UpdateClusterInstallConfigNotFound) WithPayload(payload *models.Error) *UpdateClusterInstallConfigNotFound
- func (o *UpdateClusterInstallConfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateClusterInstallConfigParams
- type UpdateClusterInstallConfigURL
- func (o *UpdateClusterInstallConfigURL) Build() (*url.URL, error)
- func (o *UpdateClusterInstallConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateClusterInstallConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateClusterInstallConfigURL) SetBasePath(bp string)
- func (o *UpdateClusterInstallConfigURL) String() string
- func (o *UpdateClusterInstallConfigURL) StringFull(scheme, host string) string
- func (o *UpdateClusterInstallConfigURL) WithBasePath(bp string) *UpdateClusterInstallConfigURL
- type UpdateClusterInstallConfigUnauthorized
- func (o *UpdateClusterInstallConfigUnauthorized) SetPayload(payload *models.Error)
- func (o *UpdateClusterInstallConfigUnauthorized) WithPayload(payload *models.Error) *UpdateClusterInstallConfigUnauthorized
- func (o *UpdateClusterInstallConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateClusterInternalServerError
- type UpdateClusterMethodNotAllowed
- 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 UpdateClusterUnauthorized
- type UpdateHostInstallProgress
- type UpdateHostInstallProgressForbidden
- func (o *UpdateHostInstallProgressForbidden) SetPayload(payload *models.InfraError)
- func (o *UpdateHostInstallProgressForbidden) WithPayload(payload *models.InfraError) *UpdateHostInstallProgressForbidden
- func (o *UpdateHostInstallProgressForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateHostInstallProgressHandler
- type UpdateHostInstallProgressHandlerFunc
- type UpdateHostInstallProgressInternalServerError
- func (o *UpdateHostInstallProgressInternalServerError) SetPayload(payload *models.Error)
- func (o *UpdateHostInstallProgressInternalServerError) WithPayload(payload *models.Error) *UpdateHostInstallProgressInternalServerError
- func (o *UpdateHostInstallProgressInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateHostInstallProgressMethodNotAllowed
- func (o *UpdateHostInstallProgressMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *UpdateHostInstallProgressMethodNotAllowed) WithPayload(payload *models.Error) *UpdateHostInstallProgressMethodNotAllowed
- func (o *UpdateHostInstallProgressMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateHostInstallProgressNotFound
- func (o *UpdateHostInstallProgressNotFound) SetPayload(payload *models.Error)
- func (o *UpdateHostInstallProgressNotFound) WithPayload(payload *models.Error) *UpdateHostInstallProgressNotFound
- func (o *UpdateHostInstallProgressNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- 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 UpdateHostInstallProgressUnauthorized
- func (o *UpdateHostInstallProgressUnauthorized) SetPayload(payload *models.InfraError)
- func (o *UpdateHostInstallProgressUnauthorized) WithPayload(payload *models.InfraError) *UpdateHostInstallProgressUnauthorized
- func (o *UpdateHostInstallProgressUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- 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 UploadClusterIngressCertForbidden
- func (o *UploadClusterIngressCertForbidden) SetPayload(payload *models.InfraError)
- func (o *UploadClusterIngressCertForbidden) WithPayload(payload *models.InfraError) *UploadClusterIngressCertForbidden
- func (o *UploadClusterIngressCertForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- 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 UploadClusterIngressCertMethodNotAllowed
- func (o *UploadClusterIngressCertMethodNotAllowed) SetPayload(payload *models.Error)
- func (o *UploadClusterIngressCertMethodNotAllowed) WithPayload(payload *models.Error) *UploadClusterIngressCertMethodNotAllowed
- func (o *UploadClusterIngressCertMethodNotAllowed) 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
- type UploadClusterIngressCertUnauthorized
- func (o *UploadClusterIngressCertUnauthorized) SetPayload(payload *models.InfraError)
- func (o *UploadClusterIngressCertUnauthorized) WithPayload(payload *models.InfraError) *UploadClusterIngressCertUnauthorized
- func (o *UploadClusterIngressCertUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadHostLogs
- type UploadHostLogsHandler
- type UploadHostLogsHandlerFunc
- type UploadHostLogsInternalServerError
- func (o *UploadHostLogsInternalServerError) SetPayload(payload *models.Error)
- func (o *UploadHostLogsInternalServerError) WithPayload(payload *models.Error) *UploadHostLogsInternalServerError
- func (o *UploadHostLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UploadHostLogsNoContent
- type UploadHostLogsNotFound
- type UploadHostLogsParams
- type UploadHostLogsURL
- func (o *UploadHostLogsURL) Build() (*url.URL, error)
- func (o *UploadHostLogsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UploadHostLogsURL) Must(u *url.URL, err error) *url.URL
- func (o *UploadHostLogsURL) SetBasePath(bp string)
- func (o *UploadHostLogsURL) String() string
- func (o *UploadHostLogsURL) StringFull(scheme, host string) string
- func (o *UploadHostLogsURL) WithBasePath(bp string) *UploadHostLogsURL
Constants ¶
const CancelInstallationAcceptedCode int = 202
CancelInstallationAcceptedCode is the HTTP code returned for type CancelInstallationAccepted
const CancelInstallationConflictCode int = 409
CancelInstallationConflictCode is the HTTP code returned for type CancelInstallationConflict
const CancelInstallationForbiddenCode int = 403
CancelInstallationForbiddenCode is the HTTP code returned for type CancelInstallationForbidden
const CancelInstallationInternalServerErrorCode int = 500
CancelInstallationInternalServerErrorCode is the HTTP code returned for type CancelInstallationInternalServerError
const CancelInstallationMethodNotAllowedCode int = 405
CancelInstallationMethodNotAllowedCode is the HTTP code returned for type CancelInstallationMethodNotAllowed
const CancelInstallationNotFoundCode int = 404
CancelInstallationNotFoundCode is the HTTP code returned for type CancelInstallationNotFound
CancelInstallationUnauthorizedCode is the HTTP code returned for type CancelInstallationUnauthorized
const CompleteInstallationAcceptedCode int = 202
CompleteInstallationAcceptedCode is the HTTP code returned for type CompleteInstallationAccepted
const CompleteInstallationConflictCode int = 409
CompleteInstallationConflictCode is the HTTP code returned for type CompleteInstallationConflict
const CompleteInstallationForbiddenCode int = 403
CompleteInstallationForbiddenCode is the HTTP code returned for type CompleteInstallationForbidden
const CompleteInstallationInternalServerErrorCode int = 500
CompleteInstallationInternalServerErrorCode is the HTTP code returned for type CompleteInstallationInternalServerError
const CompleteInstallationMethodNotAllowedCode int = 405
CompleteInstallationMethodNotAllowedCode is the HTTP code returned for type CompleteInstallationMethodNotAllowed
const CompleteInstallationNotFoundCode int = 404
CompleteInstallationNotFoundCode is the HTTP code returned for type CompleteInstallationNotFound
CompleteInstallationUnauthorizedCode is the HTTP code returned for type CompleteInstallationUnauthorized
const DeregisterClusterConflictCode int = 409
DeregisterClusterConflictCode is the HTTP code returned for type DeregisterClusterConflict
const DeregisterClusterForbiddenCode int = 403
DeregisterClusterForbiddenCode is the HTTP code returned for type DeregisterClusterForbidden
const DeregisterClusterInternalServerErrorCode int = 500
DeregisterClusterInternalServerErrorCode is the HTTP code returned for type DeregisterClusterInternalServerError
const DeregisterClusterMethodNotAllowedCode int = 405
DeregisterClusterMethodNotAllowedCode is the HTTP code returned for type DeregisterClusterMethodNotAllowed
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
DeregisterClusterUnauthorizedCode is the HTTP code returned for type DeregisterClusterUnauthorized
const DeregisterHostBadRequestCode int = 400
DeregisterHostBadRequestCode is the HTTP code returned for type DeregisterHostBadRequest
const DeregisterHostForbiddenCode int = 403
DeregisterHostForbiddenCode is the HTTP code returned for type DeregisterHostForbidden
const DeregisterHostInternalServerErrorCode int = 500
DeregisterHostInternalServerErrorCode is the HTTP code returned for type DeregisterHostInternalServerError
const DeregisterHostMethodNotAllowedCode int = 405
DeregisterHostMethodNotAllowedCode is the HTTP code returned for type DeregisterHostMethodNotAllowed
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
DeregisterHostUnauthorizedCode is the HTTP code returned for type DeregisterHostUnauthorized
const DisableHostConflictCode int = 409
DisableHostConflictCode is the HTTP code returned for type DisableHostConflict
const DisableHostForbiddenCode int = 403
DisableHostForbiddenCode is the HTTP code returned for type DisableHostForbidden
const DisableHostInternalServerErrorCode int = 500
DisableHostInternalServerErrorCode is the HTTP code returned for type DisableHostInternalServerError
const DisableHostMethodNotAllowedCode int = 405
DisableHostMethodNotAllowedCode is the HTTP code returned for type DisableHostMethodNotAllowed
const DisableHostNotFoundCode int = 404
DisableHostNotFoundCode is the HTTP code returned for type DisableHostNotFound
const DisableHostOKCode int = 200
DisableHostOKCode is the HTTP code returned for type DisableHostOK
DisableHostUnauthorizedCode is the HTTP code returned for type DisableHostUnauthorized
const DownloadClusterFilesConflictCode int = 409
DownloadClusterFilesConflictCode is the HTTP code returned for type DownloadClusterFilesConflict
const DownloadClusterFilesForbiddenCode int = 403
DownloadClusterFilesForbiddenCode is the HTTP code returned for type DownloadClusterFilesForbidden
const DownloadClusterFilesInternalServerErrorCode int = 500
DownloadClusterFilesInternalServerErrorCode is the HTTP code returned for type DownloadClusterFilesInternalServerError
const DownloadClusterFilesMethodNotAllowedCode int = 405
DownloadClusterFilesMethodNotAllowedCode is the HTTP code returned for type DownloadClusterFilesMethodNotAllowed
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
DownloadClusterFilesUnauthorizedCode is the HTTP code returned for type DownloadClusterFilesUnauthorized
const DownloadClusterISOBadRequestCode int = 400
DownloadClusterISOBadRequestCode is the HTTP code returned for type DownloadClusterISOBadRequest
const DownloadClusterISOConflictCode int = 409
DownloadClusterISOConflictCode is the HTTP code returned for type DownloadClusterISOConflict
const DownloadClusterISOForbiddenCode int = 403
DownloadClusterISOForbiddenCode is the HTTP code returned for type DownloadClusterISOForbidden
const DownloadClusterISOInternalServerErrorCode int = 500
DownloadClusterISOInternalServerErrorCode is the HTTP code returned for type DownloadClusterISOInternalServerError
const DownloadClusterISOMethodNotAllowedCode int = 405
DownloadClusterISOMethodNotAllowedCode is the HTTP code returned for type DownloadClusterISOMethodNotAllowed
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
DownloadClusterISOUnauthorizedCode is the HTTP code returned for type DownloadClusterISOUnauthorized
const DownloadClusterKubeconfigConflictCode int = 409
DownloadClusterKubeconfigConflictCode is the HTTP code returned for type DownloadClusterKubeconfigConflict
const DownloadClusterKubeconfigForbiddenCode int = 403
DownloadClusterKubeconfigForbiddenCode is the HTTP code returned for type DownloadClusterKubeconfigForbidden
const DownloadClusterKubeconfigInternalServerErrorCode int = 500
DownloadClusterKubeconfigInternalServerErrorCode is the HTTP code returned for type DownloadClusterKubeconfigInternalServerError
const DownloadClusterKubeconfigMethodNotAllowedCode int = 405
DownloadClusterKubeconfigMethodNotAllowedCode is the HTTP code returned for type DownloadClusterKubeconfigMethodNotAllowed
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
DownloadClusterKubeconfigUnauthorizedCode is the HTTP code returned for type DownloadClusterKubeconfigUnauthorized
const DownloadClusterLogsConflictCode int = 409
DownloadClusterLogsConflictCode is the HTTP code returned for type DownloadClusterLogsConflict
const DownloadClusterLogsForbiddenCode int = 403
DownloadClusterLogsForbiddenCode is the HTTP code returned for type DownloadClusterLogsForbidden
const DownloadClusterLogsInternalServerErrorCode int = 500
DownloadClusterLogsInternalServerErrorCode is the HTTP code returned for type DownloadClusterLogsInternalServerError
const DownloadClusterLogsMethodNotAllowedCode int = 405
DownloadClusterLogsMethodNotAllowedCode is the HTTP code returned for type DownloadClusterLogsMethodNotAllowed
const DownloadClusterLogsNotFoundCode int = 404
DownloadClusterLogsNotFoundCode is the HTTP code returned for type DownloadClusterLogsNotFound
const DownloadClusterLogsOKCode int = 200
DownloadClusterLogsOKCode is the HTTP code returned for type DownloadClusterLogsOK
DownloadClusterLogsUnauthorizedCode is the HTTP code returned for type DownloadClusterLogsUnauthorized
const DownloadHostLogsConflictCode int = 409
DownloadHostLogsConflictCode is the HTTP code returned for type DownloadHostLogsConflict
const DownloadHostLogsForbiddenCode int = 403
DownloadHostLogsForbiddenCode is the HTTP code returned for type DownloadHostLogsForbidden
const DownloadHostLogsInternalServerErrorCode int = 500
DownloadHostLogsInternalServerErrorCode is the HTTP code returned for type DownloadHostLogsInternalServerError
const DownloadHostLogsMethodNotAllowedCode int = 405
DownloadHostLogsMethodNotAllowedCode is the HTTP code returned for type DownloadHostLogsMethodNotAllowed
const DownloadHostLogsNotFoundCode int = 404
DownloadHostLogsNotFoundCode is the HTTP code returned for type DownloadHostLogsNotFound
const DownloadHostLogsOKCode int = 200
DownloadHostLogsOKCode is the HTTP code returned for type DownloadHostLogsOK
DownloadHostLogsUnauthorizedCode is the HTTP code returned for type DownloadHostLogsUnauthorized
const EnableHostConflictCode int = 409
EnableHostConflictCode is the HTTP code returned for type EnableHostConflict
const EnableHostForbiddenCode int = 403
EnableHostForbiddenCode is the HTTP code returned for type EnableHostForbidden
const EnableHostInternalServerErrorCode int = 500
EnableHostInternalServerErrorCode is the HTTP code returned for type EnableHostInternalServerError
const EnableHostMethodNotAllowedCode int = 405
EnableHostMethodNotAllowedCode is the HTTP code returned for type EnableHostMethodNotAllowed
const EnableHostNotFoundCode int = 404
EnableHostNotFoundCode is the HTTP code returned for type EnableHostNotFound
const EnableHostOKCode int = 200
EnableHostOKCode is the HTTP code returned for type EnableHostOK
EnableHostUnauthorizedCode is the HTTP code returned for type EnableHostUnauthorized
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 GenerateClusterISOForbiddenCode int = 403
GenerateClusterISOForbiddenCode is the HTTP code returned for type GenerateClusterISOForbidden
const GenerateClusterISOInternalServerErrorCode int = 500
GenerateClusterISOInternalServerErrorCode is the HTTP code returned for type GenerateClusterISOInternalServerError
const GenerateClusterISOMethodNotAllowedCode int = 405
GenerateClusterISOMethodNotAllowedCode is the HTTP code returned for type GenerateClusterISOMethodNotAllowed
const GenerateClusterISONotFoundCode int = 404
GenerateClusterISONotFoundCode is the HTTP code returned for type GenerateClusterISONotFound
GenerateClusterISOUnauthorizedCode is the HTTP code returned for type GenerateClusterISOUnauthorized
const GetClusterForbiddenCode int = 403
GetClusterForbiddenCode is the HTTP code returned for type GetClusterForbidden
const GetClusterInternalServerErrorCode int = 500
GetClusterInternalServerErrorCode is the HTTP code returned for type GetClusterInternalServerError
const GetClusterMethodNotAllowedCode int = 405
GetClusterMethodNotAllowedCode is the HTTP code returned for type GetClusterMethodNotAllowed
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
GetClusterUnauthorizedCode is the HTTP code returned for type GetClusterUnauthorized
const GetCredentialsConflictCode int = 409
GetCredentialsConflictCode is the HTTP code returned for type GetCredentialsConflict
const GetCredentialsForbiddenCode int = 403
GetCredentialsForbiddenCode is the HTTP code returned for type GetCredentialsForbidden
const GetCredentialsInternalServerErrorCode int = 500
GetCredentialsInternalServerErrorCode is the HTTP code returned for type GetCredentialsInternalServerError
const GetCredentialsMethodNotAllowedCode int = 405
GetCredentialsMethodNotAllowedCode is the HTTP code returned for type GetCredentialsMethodNotAllowed
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
GetCredentialsUnauthorizedCode is the HTTP code returned for type GetCredentialsUnauthorized
const GetFreeAddressesForbiddenCode int = 403
GetFreeAddressesForbiddenCode is the HTTP code returned for type GetFreeAddressesForbidden
const GetFreeAddressesInternalServerErrorCode int = 500
GetFreeAddressesInternalServerErrorCode is the HTTP code returned for type GetFreeAddressesInternalServerError
const GetFreeAddressesMethodNotAllowedCode int = 405
GetFreeAddressesMethodNotAllowedCode is the HTTP code returned for type GetFreeAddressesMethodNotAllowed
const GetFreeAddressesNotFoundCode int = 404
GetFreeAddressesNotFoundCode is the HTTP code returned for type GetFreeAddressesNotFound
const GetFreeAddressesOKCode int = 200
GetFreeAddressesOKCode is the HTTP code returned for type GetFreeAddressesOK
GetFreeAddressesUnauthorizedCode is the HTTP code returned for type GetFreeAddressesUnauthorized
const GetHostForbiddenCode int = 403
GetHostForbiddenCode is the HTTP code returned for type GetHostForbidden
const GetHostInternalServerErrorCode int = 500
GetHostInternalServerErrorCode is the HTTP code returned for type GetHostInternalServerError
const GetHostMethodNotAllowedCode int = 405
GetHostMethodNotAllowedCode is the HTTP code returned for type GetHostMethodNotAllowed
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 GetHostRequirementsForbiddenCode int = 403
GetHostRequirementsForbiddenCode is the HTTP code returned for type GetHostRequirementsForbidden
const GetHostRequirementsInternalServerErrorCode int = 500
GetHostRequirementsInternalServerErrorCode is the HTTP code returned for type GetHostRequirementsInternalServerError
const GetHostRequirementsMethodNotAllowedCode int = 405
GetHostRequirementsMethodNotAllowedCode is the HTTP code returned for type GetHostRequirementsMethodNotAllowed
const GetHostRequirementsOKCode int = 200
GetHostRequirementsOKCode is the HTTP code returned for type GetHostRequirementsOK
GetHostRequirementsUnauthorizedCode is the HTTP code returned for type GetHostRequirementsUnauthorized
GetHostUnauthorizedCode is the HTTP code returned for type GetHostUnauthorized
const GetNextStepsForbiddenCode int = 403
GetNextStepsForbiddenCode is the HTTP code returned for type GetNextStepsForbidden
const GetNextStepsInternalServerErrorCode int = 500
GetNextStepsInternalServerErrorCode is the HTTP code returned for type GetNextStepsInternalServerError
const GetNextStepsMethodNotAllowedCode int = 405
GetNextStepsMethodNotAllowedCode is the HTTP code returned for type GetNextStepsMethodNotAllowed
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
GetNextStepsUnauthorizedCode is the HTTP code returned for type GetNextStepsUnauthorized
const GetPresignedForClusterFilesBadRequestCode int = 400
GetPresignedForClusterFilesBadRequestCode is the HTTP code returned for type GetPresignedForClusterFilesBadRequest
const GetPresignedForClusterFilesConflictCode int = 409
GetPresignedForClusterFilesConflictCode is the HTTP code returned for type GetPresignedForClusterFilesConflict
const GetPresignedForClusterFilesForbiddenCode int = 403
GetPresignedForClusterFilesForbiddenCode is the HTTP code returned for type GetPresignedForClusterFilesForbidden
const GetPresignedForClusterFilesInternalServerErrorCode int = 500
GetPresignedForClusterFilesInternalServerErrorCode is the HTTP code returned for type GetPresignedForClusterFilesInternalServerError
const GetPresignedForClusterFilesMethodNotAllowedCode int = 405
GetPresignedForClusterFilesMethodNotAllowedCode is the HTTP code returned for type GetPresignedForClusterFilesMethodNotAllowed
const GetPresignedForClusterFilesNotFoundCode int = 404
GetPresignedForClusterFilesNotFoundCode is the HTTP code returned for type GetPresignedForClusterFilesNotFound
const GetPresignedForClusterFilesOKCode int = 200
GetPresignedForClusterFilesOKCode is the HTTP code returned for type GetPresignedForClusterFilesOK
GetPresignedForClusterFilesUnauthorizedCode is the HTTP code returned for type GetPresignedForClusterFilesUnauthorized
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 InstallClusterForbiddenCode int = 403
InstallClusterForbiddenCode is the HTTP code returned for type InstallClusterForbidden
const InstallClusterInternalServerErrorCode int = 500
InstallClusterInternalServerErrorCode is the HTTP code returned for type InstallClusterInternalServerError
const InstallClusterMethodNotAllowedCode int = 405
InstallClusterMethodNotAllowedCode is the HTTP code returned for type InstallClusterMethodNotAllowed
const InstallClusterNotFoundCode int = 404
InstallClusterNotFoundCode is the HTTP code returned for type InstallClusterNotFound
InstallClusterUnauthorizedCode is the HTTP code returned for type InstallClusterUnauthorized
const ListClustersForbiddenCode int = 403
ListClustersForbiddenCode is the HTTP code returned for type ListClustersForbidden
const ListClustersInternalServerErrorCode int = 500
ListClustersInternalServerErrorCode is the HTTP code returned for type ListClustersInternalServerError
const ListClustersMethodNotAllowedCode int = 405
ListClustersMethodNotAllowedCode is the HTTP code returned for type ListClustersMethodNotAllowed
const ListClustersOKCode int = 200
ListClustersOKCode is the HTTP code returned for type ListClustersOK
ListClustersUnauthorizedCode is the HTTP code returned for type ListClustersUnauthorized
const ListHostsForbiddenCode int = 403
ListHostsForbiddenCode is the HTTP code returned for type ListHostsForbidden
const ListHostsInternalServerErrorCode int = 500
ListHostsInternalServerErrorCode is the HTTP code returned for type ListHostsInternalServerError
const ListHostsMethodNotAllowedCode int = 405
ListHostsMethodNotAllowedCode is the HTTP code returned for type ListHostsMethodNotAllowed
const ListHostsOKCode int = 200
ListHostsOKCode is the HTTP code returned for type ListHostsOK
ListHostsUnauthorizedCode is the HTTP code returned for type ListHostsUnauthorized
const PostStepReplyBadRequestCode int = 400
PostStepReplyBadRequestCode is the HTTP code returned for type PostStepReplyBadRequest
const PostStepReplyForbiddenCode int = 403
PostStepReplyForbiddenCode is the HTTP code returned for type PostStepReplyForbidden
const PostStepReplyInternalServerErrorCode int = 500
PostStepReplyInternalServerErrorCode is the HTTP code returned for type PostStepReplyInternalServerError
const PostStepReplyMethodNotAllowedCode int = 405
PostStepReplyMethodNotAllowedCode is the HTTP code returned for type PostStepReplyMethodNotAllowed
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
PostStepReplyUnauthorizedCode is the HTTP code returned for type PostStepReplyUnauthorized
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 RegisterClusterForbiddenCode int = 403
RegisterClusterForbiddenCode is the HTTP code returned for type RegisterClusterForbidden
const RegisterClusterInternalServerErrorCode int = 500
RegisterClusterInternalServerErrorCode is the HTTP code returned for type RegisterClusterInternalServerError
const RegisterClusterMethodNotAllowedCode int = 405
RegisterClusterMethodNotAllowedCode is the HTTP code returned for type RegisterClusterMethodNotAllowed
RegisterClusterUnauthorizedCode is the HTTP code returned for type RegisterClusterUnauthorized
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 RegisterHostMethodNotAllowedCode int = 405
RegisterHostMethodNotAllowedCode is the HTTP code returned for type RegisterHostMethodNotAllowed
const RegisterHostNotFoundCode int = 404
RegisterHostNotFoundCode is the HTTP code returned for type RegisterHostNotFound
RegisterHostUnauthorizedCode is the HTTP code returned for type RegisterHostUnauthorized
const ResetClusterAcceptedCode int = 202
ResetClusterAcceptedCode is the HTTP code returned for type ResetClusterAccepted
const ResetClusterConflictCode int = 409
ResetClusterConflictCode is the HTTP code returned for type ResetClusterConflict
const ResetClusterForbiddenCode int = 403
ResetClusterForbiddenCode is the HTTP code returned for type ResetClusterForbidden
const ResetClusterInternalServerErrorCode int = 500
ResetClusterInternalServerErrorCode is the HTTP code returned for type ResetClusterInternalServerError
const ResetClusterMethodNotAllowedCode int = 405
ResetClusterMethodNotAllowedCode is the HTTP code returned for type ResetClusterMethodNotAllowed
const ResetClusterNotFoundCode int = 404
ResetClusterNotFoundCode is the HTTP code returned for type ResetClusterNotFound
ResetClusterUnauthorizedCode is the HTTP code returned for type ResetClusterUnauthorized
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 UpdateClusterForbiddenCode int = 403
UpdateClusterForbiddenCode is the HTTP code returned for type UpdateClusterForbidden
const UpdateClusterInstallConfigBadRequestCode int = 400
UpdateClusterInstallConfigBadRequestCode is the HTTP code returned for type UpdateClusterInstallConfigBadRequest
const UpdateClusterInstallConfigCreatedCode int = 201
UpdateClusterInstallConfigCreatedCode is the HTTP code returned for type UpdateClusterInstallConfigCreated
const UpdateClusterInstallConfigForbiddenCode int = 403
UpdateClusterInstallConfigForbiddenCode is the HTTP code returned for type UpdateClusterInstallConfigForbidden
const UpdateClusterInstallConfigInternalServerErrorCode int = 500
UpdateClusterInstallConfigInternalServerErrorCode is the HTTP code returned for type UpdateClusterInstallConfigInternalServerError
const UpdateClusterInstallConfigMethodNotAllowedCode int = 405
UpdateClusterInstallConfigMethodNotAllowedCode is the HTTP code returned for type UpdateClusterInstallConfigMethodNotAllowed
const UpdateClusterInstallConfigNotFoundCode int = 404
UpdateClusterInstallConfigNotFoundCode is the HTTP code returned for type UpdateClusterInstallConfigNotFound
UpdateClusterInstallConfigUnauthorizedCode is the HTTP code returned for type UpdateClusterInstallConfigUnauthorized
const UpdateClusterInternalServerErrorCode int = 500
UpdateClusterInternalServerErrorCode is the HTTP code returned for type UpdateClusterInternalServerError
const UpdateClusterMethodNotAllowedCode int = 405
UpdateClusterMethodNotAllowedCode is the HTTP code returned for type UpdateClusterMethodNotAllowed
const UpdateClusterNotFoundCode int = 404
UpdateClusterNotFoundCode is the HTTP code returned for type UpdateClusterNotFound
UpdateClusterUnauthorizedCode is the HTTP code returned for type UpdateClusterUnauthorized
const UpdateHostInstallProgressForbiddenCode int = 403
UpdateHostInstallProgressForbiddenCode is the HTTP code returned for type UpdateHostInstallProgressForbidden
const UpdateHostInstallProgressInternalServerErrorCode int = 500
UpdateHostInstallProgressInternalServerErrorCode is the HTTP code returned for type UpdateHostInstallProgressInternalServerError
const UpdateHostInstallProgressMethodNotAllowedCode int = 405
UpdateHostInstallProgressMethodNotAllowedCode is the HTTP code returned for type UpdateHostInstallProgressMethodNotAllowed
const UpdateHostInstallProgressNotFoundCode int = 404
UpdateHostInstallProgressNotFoundCode is the HTTP code returned for type UpdateHostInstallProgressNotFound
const UpdateHostInstallProgressOKCode int = 200
UpdateHostInstallProgressOKCode is the HTTP code returned for type UpdateHostInstallProgressOK
UpdateHostInstallProgressUnauthorizedCode is the HTTP code returned for type UpdateHostInstallProgressUnauthorized
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 UploadClusterIngressCertForbiddenCode int = 403
UploadClusterIngressCertForbiddenCode is the HTTP code returned for type UploadClusterIngressCertForbidden
const UploadClusterIngressCertInternalServerErrorCode int = 500
UploadClusterIngressCertInternalServerErrorCode is the HTTP code returned for type UploadClusterIngressCertInternalServerError
const UploadClusterIngressCertMethodNotAllowedCode int = 405
UploadClusterIngressCertMethodNotAllowedCode is the HTTP code returned for type UploadClusterIngressCertMethodNotAllowed
const UploadClusterIngressCertNotFoundCode int = 404
UploadClusterIngressCertNotFoundCode is the HTTP code returned for type UploadClusterIngressCertNotFound
UploadClusterIngressCertUnauthorizedCode is the HTTP code returned for type UploadClusterIngressCertUnauthorized
const UploadHostLogsInternalServerErrorCode int = 500
UploadHostLogsInternalServerErrorCode is the HTTP code returned for type UploadHostLogsInternalServerError
const UploadHostLogsNoContentCode int = 204
UploadHostLogsNoContentCode is the HTTP code returned for type UploadHostLogsNoContent
const UploadHostLogsNotFoundCode int = 404
UploadHostLogsNotFoundCode is the HTTP code returned for type UploadHostLogsNotFound
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelInstallation ¶
type CancelInstallation struct { Context *middleware.Context Handler CancelInstallationHandler }
CancelInstallation swagger:route POST /clusters/{cluster_id}/actions/cancel installer cancelInstallation
Cancels an ongoing installation.
func NewCancelInstallation ¶
func NewCancelInstallation(ctx *middleware.Context, handler CancelInstallationHandler) *CancelInstallation
NewCancelInstallation creates a new http.Handler for the cancel installation operation
func (*CancelInstallation) ServeHTTP ¶
func (o *CancelInstallation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CancelInstallationAccepted ¶
type CancelInstallationAccepted struct { /* In: Body */ Payload *models.Cluster `json:"body,omitempty"` }
CancelInstallationAccepted Success.
swagger:response cancelInstallationAccepted
func NewCancelInstallationAccepted ¶
func NewCancelInstallationAccepted() *CancelInstallationAccepted
NewCancelInstallationAccepted creates CancelInstallationAccepted with default headers values
func (*CancelInstallationAccepted) SetPayload ¶
func (o *CancelInstallationAccepted) SetPayload(payload *models.Cluster)
SetPayload sets the payload to the cancel installation accepted response
func (*CancelInstallationAccepted) WithPayload ¶
func (o *CancelInstallationAccepted) WithPayload(payload *models.Cluster) *CancelInstallationAccepted
WithPayload adds the payload to the cancel installation accepted response
func (*CancelInstallationAccepted) WriteResponse ¶
func (o *CancelInstallationAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CancelInstallationConflict ¶
type CancelInstallationConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CancelInstallationConflict Error.
swagger:response cancelInstallationConflict
func NewCancelInstallationConflict ¶
func NewCancelInstallationConflict() *CancelInstallationConflict
NewCancelInstallationConflict creates CancelInstallationConflict with default headers values
func (*CancelInstallationConflict) SetPayload ¶
func (o *CancelInstallationConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the cancel installation conflict response
func (*CancelInstallationConflict) WithPayload ¶
func (o *CancelInstallationConflict) WithPayload(payload *models.Error) *CancelInstallationConflict
WithPayload adds the payload to the cancel installation conflict response
func (*CancelInstallationConflict) WriteResponse ¶
func (o *CancelInstallationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CancelInstallationForbidden ¶
type CancelInstallationForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
CancelInstallationForbidden Forbidden.
swagger:response cancelInstallationForbidden
func NewCancelInstallationForbidden ¶
func NewCancelInstallationForbidden() *CancelInstallationForbidden
NewCancelInstallationForbidden creates CancelInstallationForbidden with default headers values
func (*CancelInstallationForbidden) SetPayload ¶
func (o *CancelInstallationForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the cancel installation forbidden response
func (*CancelInstallationForbidden) WithPayload ¶
func (o *CancelInstallationForbidden) WithPayload(payload *models.InfraError) *CancelInstallationForbidden
WithPayload adds the payload to the cancel installation forbidden response
func (*CancelInstallationForbidden) WriteResponse ¶
func (o *CancelInstallationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CancelInstallationHandler ¶
type CancelInstallationHandler interface {
Handle(CancelInstallationParams, interface{}) middleware.Responder
}
CancelInstallationHandler interface for that can handle valid cancel installation params
type CancelInstallationHandlerFunc ¶
type CancelInstallationHandlerFunc func(CancelInstallationParams, interface{}) middleware.Responder
CancelInstallationHandlerFunc turns a function with the right signature into a cancel installation handler
func (CancelInstallationHandlerFunc) Handle ¶
func (fn CancelInstallationHandlerFunc) Handle(params CancelInstallationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CancelInstallationInternalServerError ¶
type CancelInstallationInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CancelInstallationInternalServerError Error.
swagger:response cancelInstallationInternalServerError
func NewCancelInstallationInternalServerError ¶
func NewCancelInstallationInternalServerError() *CancelInstallationInternalServerError
NewCancelInstallationInternalServerError creates CancelInstallationInternalServerError with default headers values
func (*CancelInstallationInternalServerError) SetPayload ¶
func (o *CancelInstallationInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the cancel installation internal server error response
func (*CancelInstallationInternalServerError) WithPayload ¶
func (o *CancelInstallationInternalServerError) WithPayload(payload *models.Error) *CancelInstallationInternalServerError
WithPayload adds the payload to the cancel installation internal server error response
func (*CancelInstallationInternalServerError) WriteResponse ¶
func (o *CancelInstallationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CancelInstallationMethodNotAllowed ¶
type CancelInstallationMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CancelInstallationMethodNotAllowed Method Not Allowed.
swagger:response cancelInstallationMethodNotAllowed
func NewCancelInstallationMethodNotAllowed ¶
func NewCancelInstallationMethodNotAllowed() *CancelInstallationMethodNotAllowed
NewCancelInstallationMethodNotAllowed creates CancelInstallationMethodNotAllowed with default headers values
func (*CancelInstallationMethodNotAllowed) SetPayload ¶
func (o *CancelInstallationMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the cancel installation method not allowed response
func (*CancelInstallationMethodNotAllowed) WithPayload ¶
func (o *CancelInstallationMethodNotAllowed) WithPayload(payload *models.Error) *CancelInstallationMethodNotAllowed
WithPayload adds the payload to the cancel installation method not allowed response
func (*CancelInstallationMethodNotAllowed) WriteResponse ¶
func (o *CancelInstallationMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CancelInstallationNotFound ¶
type CancelInstallationNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CancelInstallationNotFound Error.
swagger:response cancelInstallationNotFound
func NewCancelInstallationNotFound ¶
func NewCancelInstallationNotFound() *CancelInstallationNotFound
NewCancelInstallationNotFound creates CancelInstallationNotFound with default headers values
func (*CancelInstallationNotFound) SetPayload ¶
func (o *CancelInstallationNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the cancel installation not found response
func (*CancelInstallationNotFound) WithPayload ¶
func (o *CancelInstallationNotFound) WithPayload(payload *models.Error) *CancelInstallationNotFound
WithPayload adds the payload to the cancel installation not found response
func (*CancelInstallationNotFound) WriteResponse ¶
func (o *CancelInstallationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CancelInstallationParams ¶
type CancelInstallationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID }
CancelInstallationParams contains all the bound params for the cancel installation operation typically these are obtained from a http.Request
swagger:parameters CancelInstallation
func NewCancelInstallationParams ¶
func NewCancelInstallationParams() CancelInstallationParams
NewCancelInstallationParams creates a new CancelInstallationParams object no default values defined in spec.
func (*CancelInstallationParams) BindRequest ¶
func (o *CancelInstallationParams) 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 NewCancelInstallationParams() beforehand.
type CancelInstallationURL ¶
type CancelInstallationURL struct { ClusterID strfmt.UUID // contains filtered or unexported fields }
CancelInstallationURL generates an URL for the cancel installation operation
func (*CancelInstallationURL) Build ¶
func (o *CancelInstallationURL) Build() (*url.URL, error)
Build a url path and query string
func (*CancelInstallationURL) BuildFull ¶
func (o *CancelInstallationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CancelInstallationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CancelInstallationURL) SetBasePath ¶
func (o *CancelInstallationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CancelInstallationURL) String ¶
func (o *CancelInstallationURL) String() string
String returns the string representation of the path with query string
func (*CancelInstallationURL) StringFull ¶
func (o *CancelInstallationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CancelInstallationURL) WithBasePath ¶
func (o *CancelInstallationURL) WithBasePath(bp string) *CancelInstallationURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CancelInstallationUnauthorized ¶
type CancelInstallationUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
CancelInstallationUnauthorized Unauthorized.
swagger:response cancelInstallationUnauthorized
func NewCancelInstallationUnauthorized ¶
func NewCancelInstallationUnauthorized() *CancelInstallationUnauthorized
NewCancelInstallationUnauthorized creates CancelInstallationUnauthorized with default headers values
func (*CancelInstallationUnauthorized) SetPayload ¶
func (o *CancelInstallationUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the cancel installation unauthorized response
func (*CancelInstallationUnauthorized) WithPayload ¶
func (o *CancelInstallationUnauthorized) WithPayload(payload *models.InfraError) *CancelInstallationUnauthorized
WithPayload adds the payload to the cancel installation unauthorized response
func (*CancelInstallationUnauthorized) WriteResponse ¶
func (o *CancelInstallationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CompleteInstallation ¶
type CompleteInstallation struct { Context *middleware.Context Handler CompleteInstallationHandler }
CompleteInstallation swagger:route POST /clusters/{cluster_id}/actions/complete_installation installer completeInstallation
Agent API to mark a finalizing installation as complete.
func NewCompleteInstallation ¶
func NewCompleteInstallation(ctx *middleware.Context, handler CompleteInstallationHandler) *CompleteInstallation
NewCompleteInstallation creates a new http.Handler for the complete installation operation
func (*CompleteInstallation) ServeHTTP ¶
func (o *CompleteInstallation) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CompleteInstallationAccepted ¶
type CompleteInstallationAccepted struct { /* In: Body */ Payload *models.Cluster `json:"body,omitempty"` }
CompleteInstallationAccepted Success.
swagger:response completeInstallationAccepted
func NewCompleteInstallationAccepted ¶
func NewCompleteInstallationAccepted() *CompleteInstallationAccepted
NewCompleteInstallationAccepted creates CompleteInstallationAccepted with default headers values
func (*CompleteInstallationAccepted) SetPayload ¶
func (o *CompleteInstallationAccepted) SetPayload(payload *models.Cluster)
SetPayload sets the payload to the complete installation accepted response
func (*CompleteInstallationAccepted) WithPayload ¶
func (o *CompleteInstallationAccepted) WithPayload(payload *models.Cluster) *CompleteInstallationAccepted
WithPayload adds the payload to the complete installation accepted response
func (*CompleteInstallationAccepted) WriteResponse ¶
func (o *CompleteInstallationAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CompleteInstallationConflict ¶
type CompleteInstallationConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CompleteInstallationConflict Error.
swagger:response completeInstallationConflict
func NewCompleteInstallationConflict ¶
func NewCompleteInstallationConflict() *CompleteInstallationConflict
NewCompleteInstallationConflict creates CompleteInstallationConflict with default headers values
func (*CompleteInstallationConflict) SetPayload ¶
func (o *CompleteInstallationConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the complete installation conflict response
func (*CompleteInstallationConflict) WithPayload ¶
func (o *CompleteInstallationConflict) WithPayload(payload *models.Error) *CompleteInstallationConflict
WithPayload adds the payload to the complete installation conflict response
func (*CompleteInstallationConflict) WriteResponse ¶
func (o *CompleteInstallationConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CompleteInstallationForbidden ¶
type CompleteInstallationForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
CompleteInstallationForbidden Forbidden.
swagger:response completeInstallationForbidden
func NewCompleteInstallationForbidden ¶
func NewCompleteInstallationForbidden() *CompleteInstallationForbidden
NewCompleteInstallationForbidden creates CompleteInstallationForbidden with default headers values
func (*CompleteInstallationForbidden) SetPayload ¶
func (o *CompleteInstallationForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the complete installation forbidden response
func (*CompleteInstallationForbidden) WithPayload ¶
func (o *CompleteInstallationForbidden) WithPayload(payload *models.InfraError) *CompleteInstallationForbidden
WithPayload adds the payload to the complete installation forbidden response
func (*CompleteInstallationForbidden) WriteResponse ¶
func (o *CompleteInstallationForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CompleteInstallationHandler ¶
type CompleteInstallationHandler interface {
Handle(CompleteInstallationParams, interface{}) middleware.Responder
}
CompleteInstallationHandler interface for that can handle valid complete installation params
type CompleteInstallationHandlerFunc ¶
type CompleteInstallationHandlerFunc func(CompleteInstallationParams, interface{}) middleware.Responder
CompleteInstallationHandlerFunc turns a function with the right signature into a complete installation handler
func (CompleteInstallationHandlerFunc) Handle ¶
func (fn CompleteInstallationHandlerFunc) Handle(params CompleteInstallationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CompleteInstallationInternalServerError ¶
type CompleteInstallationInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CompleteInstallationInternalServerError Error.
swagger:response completeInstallationInternalServerError
func NewCompleteInstallationInternalServerError ¶
func NewCompleteInstallationInternalServerError() *CompleteInstallationInternalServerError
NewCompleteInstallationInternalServerError creates CompleteInstallationInternalServerError with default headers values
func (*CompleteInstallationInternalServerError) SetPayload ¶
func (o *CompleteInstallationInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the complete installation internal server error response
func (*CompleteInstallationInternalServerError) WithPayload ¶
func (o *CompleteInstallationInternalServerError) WithPayload(payload *models.Error) *CompleteInstallationInternalServerError
WithPayload adds the payload to the complete installation internal server error response
func (*CompleteInstallationInternalServerError) WriteResponse ¶
func (o *CompleteInstallationInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CompleteInstallationMethodNotAllowed ¶
type CompleteInstallationMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CompleteInstallationMethodNotAllowed Method Not Allowed.
swagger:response completeInstallationMethodNotAllowed
func NewCompleteInstallationMethodNotAllowed ¶
func NewCompleteInstallationMethodNotAllowed() *CompleteInstallationMethodNotAllowed
NewCompleteInstallationMethodNotAllowed creates CompleteInstallationMethodNotAllowed with default headers values
func (*CompleteInstallationMethodNotAllowed) SetPayload ¶
func (o *CompleteInstallationMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the complete installation method not allowed response
func (*CompleteInstallationMethodNotAllowed) WithPayload ¶
func (o *CompleteInstallationMethodNotAllowed) WithPayload(payload *models.Error) *CompleteInstallationMethodNotAllowed
WithPayload adds the payload to the complete installation method not allowed response
func (*CompleteInstallationMethodNotAllowed) WriteResponse ¶
func (o *CompleteInstallationMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CompleteInstallationNotFound ¶
type CompleteInstallationNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CompleteInstallationNotFound Error.
swagger:response completeInstallationNotFound
func NewCompleteInstallationNotFound ¶
func NewCompleteInstallationNotFound() *CompleteInstallationNotFound
NewCompleteInstallationNotFound creates CompleteInstallationNotFound with default headers values
func (*CompleteInstallationNotFound) SetPayload ¶
func (o *CompleteInstallationNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the complete installation not found response
func (*CompleteInstallationNotFound) WithPayload ¶
func (o *CompleteInstallationNotFound) WithPayload(payload *models.Error) *CompleteInstallationNotFound
WithPayload adds the payload to the complete installation not found response
func (*CompleteInstallationNotFound) WriteResponse ¶
func (o *CompleteInstallationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CompleteInstallationParams ¶
type CompleteInstallationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* Required: true In: body */ CompletionParams *models.CompletionParams /* In: header */ DiscoveryAgentVersion *string }
CompleteInstallationParams contains all the bound params for the complete installation operation typically these are obtained from a http.Request
swagger:parameters CompleteInstallation
func NewCompleteInstallationParams ¶
func NewCompleteInstallationParams() CompleteInstallationParams
NewCompleteInstallationParams creates a new CompleteInstallationParams object no default values defined in spec.
func (*CompleteInstallationParams) BindRequest ¶
func (o *CompleteInstallationParams) 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 NewCompleteInstallationParams() beforehand.
type CompleteInstallationURL ¶
type CompleteInstallationURL struct { ClusterID strfmt.UUID // contains filtered or unexported fields }
CompleteInstallationURL generates an URL for the complete installation operation
func (*CompleteInstallationURL) Build ¶
func (o *CompleteInstallationURL) Build() (*url.URL, error)
Build a url path and query string
func (*CompleteInstallationURL) BuildFull ¶
func (o *CompleteInstallationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CompleteInstallationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CompleteInstallationURL) SetBasePath ¶
func (o *CompleteInstallationURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CompleteInstallationURL) String ¶
func (o *CompleteInstallationURL) String() string
String returns the string representation of the path with query string
func (*CompleteInstallationURL) StringFull ¶
func (o *CompleteInstallationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CompleteInstallationURL) WithBasePath ¶
func (o *CompleteInstallationURL) WithBasePath(bp string) *CompleteInstallationURL
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 CompleteInstallationUnauthorized ¶
type CompleteInstallationUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
CompleteInstallationUnauthorized Unauthorized.
swagger:response completeInstallationUnauthorized
func NewCompleteInstallationUnauthorized ¶
func NewCompleteInstallationUnauthorized() *CompleteInstallationUnauthorized
NewCompleteInstallationUnauthorized creates CompleteInstallationUnauthorized with default headers values
func (*CompleteInstallationUnauthorized) SetPayload ¶
func (o *CompleteInstallationUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the complete installation unauthorized response
func (*CompleteInstallationUnauthorized) WithPayload ¶
func (o *CompleteInstallationUnauthorized) WithPayload(payload *models.InfraError) *CompleteInstallationUnauthorized
WithPayload adds the payload to the complete installation unauthorized response
func (*CompleteInstallationUnauthorized) WriteResponse ¶
func (o *CompleteInstallationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 DeregisterClusterForbidden ¶
type DeregisterClusterForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DeregisterClusterForbidden Forbidden.
swagger:response deregisterClusterForbidden
func NewDeregisterClusterForbidden ¶
func NewDeregisterClusterForbidden() *DeregisterClusterForbidden
NewDeregisterClusterForbidden creates DeregisterClusterForbidden with default headers values
func (*DeregisterClusterForbidden) SetPayload ¶
func (o *DeregisterClusterForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the deregister cluster forbidden response
func (*DeregisterClusterForbidden) WithPayload ¶
func (o *DeregisterClusterForbidden) WithPayload(payload *models.InfraError) *DeregisterClusterForbidden
WithPayload adds the payload to the deregister cluster forbidden response
func (*DeregisterClusterForbidden) WriteResponse ¶
func (o *DeregisterClusterForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeregisterClusterHandler ¶
type DeregisterClusterHandler interface {
Handle(DeregisterClusterParams, interface{}) middleware.Responder
}
DeregisterClusterHandler interface for that can handle valid deregister cluster params
type DeregisterClusterHandlerFunc ¶
type DeregisterClusterHandlerFunc func(DeregisterClusterParams, interface{}) middleware.Responder
DeregisterClusterHandlerFunc turns a function with the right signature into a deregister cluster handler
func (DeregisterClusterHandlerFunc) Handle ¶
func (fn DeregisterClusterHandlerFunc) Handle(params DeregisterClusterParams, principal interface{}) 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 DeregisterClusterMethodNotAllowed ¶
type DeregisterClusterMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeregisterClusterMethodNotAllowed Method Not Allowed.
swagger:response deregisterClusterMethodNotAllowed
func NewDeregisterClusterMethodNotAllowed ¶
func NewDeregisterClusterMethodNotAllowed() *DeregisterClusterMethodNotAllowed
NewDeregisterClusterMethodNotAllowed creates DeregisterClusterMethodNotAllowed with default headers values
func (*DeregisterClusterMethodNotAllowed) SetPayload ¶
func (o *DeregisterClusterMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the deregister cluster method not allowed response
func (*DeregisterClusterMethodNotAllowed) WithPayload ¶
func (o *DeregisterClusterMethodNotAllowed) WithPayload(payload *models.Error) *DeregisterClusterMethodNotAllowed
WithPayload adds the payload to the deregister cluster method not allowed response
func (*DeregisterClusterMethodNotAllowed) WriteResponse ¶
func (o *DeregisterClusterMethodNotAllowed) 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 DeregisterClusterUnauthorized ¶
type DeregisterClusterUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DeregisterClusterUnauthorized Unauthorized.
swagger:response deregisterClusterUnauthorized
func NewDeregisterClusterUnauthorized ¶
func NewDeregisterClusterUnauthorized() *DeregisterClusterUnauthorized
NewDeregisterClusterUnauthorized creates DeregisterClusterUnauthorized with default headers values
func (*DeregisterClusterUnauthorized) SetPayload ¶
func (o *DeregisterClusterUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the deregister cluster unauthorized response
func (*DeregisterClusterUnauthorized) WithPayload ¶
func (o *DeregisterClusterUnauthorized) WithPayload(payload *models.InfraError) *DeregisterClusterUnauthorized
WithPayload adds the payload to the deregister cluster unauthorized response
func (*DeregisterClusterUnauthorized) WriteResponse ¶
func (o *DeregisterClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 DeregisterHostForbidden ¶
type DeregisterHostForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DeregisterHostForbidden Forbidden.
swagger:response deregisterHostForbidden
func NewDeregisterHostForbidden ¶
func NewDeregisterHostForbidden() *DeregisterHostForbidden
NewDeregisterHostForbidden creates DeregisterHostForbidden with default headers values
func (*DeregisterHostForbidden) SetPayload ¶
func (o *DeregisterHostForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the deregister host forbidden response
func (*DeregisterHostForbidden) WithPayload ¶
func (o *DeregisterHostForbidden) WithPayload(payload *models.InfraError) *DeregisterHostForbidden
WithPayload adds the payload to the deregister host forbidden response
func (*DeregisterHostForbidden) WriteResponse ¶
func (o *DeregisterHostForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeregisterHostHandler ¶
type DeregisterHostHandler interface {
Handle(DeregisterHostParams, interface{}) middleware.Responder
}
DeregisterHostHandler interface for that can handle valid deregister host params
type DeregisterHostHandlerFunc ¶
type DeregisterHostHandlerFunc func(DeregisterHostParams, interface{}) middleware.Responder
DeregisterHostHandlerFunc turns a function with the right signature into a deregister host handler
func (DeregisterHostHandlerFunc) Handle ¶
func (fn DeregisterHostHandlerFunc) Handle(params DeregisterHostParams, principal interface{}) 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 DeregisterHostMethodNotAllowed ¶
type DeregisterHostMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeregisterHostMethodNotAllowed Method Not Allowed.
swagger:response deregisterHostMethodNotAllowed
func NewDeregisterHostMethodNotAllowed ¶
func NewDeregisterHostMethodNotAllowed() *DeregisterHostMethodNotAllowed
NewDeregisterHostMethodNotAllowed creates DeregisterHostMethodNotAllowed with default headers values
func (*DeregisterHostMethodNotAllowed) SetPayload ¶
func (o *DeregisterHostMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the deregister host method not allowed response
func (*DeregisterHostMethodNotAllowed) WithPayload ¶
func (o *DeregisterHostMethodNotAllowed) WithPayload(payload *models.Error) *DeregisterHostMethodNotAllowed
WithPayload adds the payload to the deregister host method not allowed response
func (*DeregisterHostMethodNotAllowed) WriteResponse ¶
func (o *DeregisterHostMethodNotAllowed) 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 DeregisterHostUnauthorized ¶
type DeregisterHostUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DeregisterHostUnauthorized Unauthorized.
swagger:response deregisterHostUnauthorized
func NewDeregisterHostUnauthorized ¶
func NewDeregisterHostUnauthorized() *DeregisterHostUnauthorized
NewDeregisterHostUnauthorized creates DeregisterHostUnauthorized with default headers values
func (*DeregisterHostUnauthorized) SetPayload ¶
func (o *DeregisterHostUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the deregister host unauthorized response
func (*DeregisterHostUnauthorized) WithPayload ¶
func (o *DeregisterHostUnauthorized) WithPayload(payload *models.InfraError) *DeregisterHostUnauthorized
WithPayload adds the payload to the deregister host unauthorized response
func (*DeregisterHostUnauthorized) WriteResponse ¶
func (o *DeregisterHostUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 DisableHostForbidden ¶
type DisableHostForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DisableHostForbidden Forbidden.
swagger:response disableHostForbidden
func NewDisableHostForbidden ¶
func NewDisableHostForbidden() *DisableHostForbidden
NewDisableHostForbidden creates DisableHostForbidden with default headers values
func (*DisableHostForbidden) SetPayload ¶
func (o *DisableHostForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the disable host forbidden response
func (*DisableHostForbidden) WithPayload ¶
func (o *DisableHostForbidden) WithPayload(payload *models.InfraError) *DisableHostForbidden
WithPayload adds the payload to the disable host forbidden response
func (*DisableHostForbidden) WriteResponse ¶
func (o *DisableHostForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DisableHostHandler ¶
type DisableHostHandler interface {
Handle(DisableHostParams, interface{}) middleware.Responder
}
DisableHostHandler interface for that can handle valid disable host params
type DisableHostHandlerFunc ¶
type DisableHostHandlerFunc func(DisableHostParams, interface{}) middleware.Responder
DisableHostHandlerFunc turns a function with the right signature into a disable host handler
func (DisableHostHandlerFunc) Handle ¶
func (fn DisableHostHandlerFunc) Handle(params DisableHostParams, principal interface{}) 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 DisableHostMethodNotAllowed ¶
type DisableHostMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DisableHostMethodNotAllowed Method Not Allowed.
swagger:response disableHostMethodNotAllowed
func NewDisableHostMethodNotAllowed ¶
func NewDisableHostMethodNotAllowed() *DisableHostMethodNotAllowed
NewDisableHostMethodNotAllowed creates DisableHostMethodNotAllowed with default headers values
func (*DisableHostMethodNotAllowed) SetPayload ¶
func (o *DisableHostMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the disable host method not allowed response
func (*DisableHostMethodNotAllowed) WithPayload ¶
func (o *DisableHostMethodNotAllowed) WithPayload(payload *models.Error) *DisableHostMethodNotAllowed
WithPayload adds the payload to the disable host method not allowed response
func (*DisableHostMethodNotAllowed) WriteResponse ¶
func (o *DisableHostMethodNotAllowed) 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 DisableHostOK ¶
DisableHostOK Success.
swagger:response disableHostOK
func NewDisableHostOK ¶
func NewDisableHostOK() *DisableHostOK
NewDisableHostOK creates DisableHostOK with default headers values
func (*DisableHostOK) SetPayload ¶
func (o *DisableHostOK) SetPayload(payload *models.Host)
SetPayload sets the payload to the disable host o k response
func (*DisableHostOK) WithPayload ¶
func (o *DisableHostOK) WithPayload(payload *models.Host) *DisableHostOK
WithPayload adds the payload to the disable host o k response
func (*DisableHostOK) WriteResponse ¶
func (o *DisableHostOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DisableHostParams ¶
type DisableHostParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* Required: true In: path */ HostID strfmt.UUID }
DisableHostParams contains all the bound params for the disable host operation typically these are obtained from a http.Request
swagger:parameters DisableHost
func NewDisableHostParams ¶
func NewDisableHostParams() DisableHostParams
NewDisableHostParams creates a new DisableHostParams object no default values defined in spec.
func (*DisableHostParams) BindRequest ¶
func (o *DisableHostParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDisableHostParams() beforehand.
type DisableHostURL ¶
type DisableHostURL struct { ClusterID strfmt.UUID HostID strfmt.UUID // contains filtered or unexported fields }
DisableHostURL generates an URL for the disable host operation
func (*DisableHostURL) Build ¶
func (o *DisableHostURL) Build() (*url.URL, error)
Build a url path and query string
func (*DisableHostURL) BuildFull ¶
func (o *DisableHostURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DisableHostURL) Must ¶
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 DisableHostUnauthorized ¶
type DisableHostUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DisableHostUnauthorized Unauthorized.
swagger:response disableHostUnauthorized
func NewDisableHostUnauthorized ¶
func NewDisableHostUnauthorized() *DisableHostUnauthorized
NewDisableHostUnauthorized creates DisableHostUnauthorized with default headers values
func (*DisableHostUnauthorized) SetPayload ¶
func (o *DisableHostUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the disable host unauthorized response
func (*DisableHostUnauthorized) WithPayload ¶
func (o *DisableHostUnauthorized) WithPayload(payload *models.InfraError) *DisableHostUnauthorized
WithPayload adds the payload to the disable host unauthorized response
func (*DisableHostUnauthorized) WriteResponse ¶
func (o *DisableHostUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 DownloadClusterFilesForbidden ¶
type DownloadClusterFilesForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DownloadClusterFilesForbidden Forbidden.
swagger:response downloadClusterFilesForbidden
func NewDownloadClusterFilesForbidden ¶
func NewDownloadClusterFilesForbidden() *DownloadClusterFilesForbidden
NewDownloadClusterFilesForbidden creates DownloadClusterFilesForbidden with default headers values
func (*DownloadClusterFilesForbidden) SetPayload ¶
func (o *DownloadClusterFilesForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster files forbidden response
func (*DownloadClusterFilesForbidden) WithPayload ¶
func (o *DownloadClusterFilesForbidden) WithPayload(payload *models.InfraError) *DownloadClusterFilesForbidden
WithPayload adds the payload to the download cluster files forbidden response
func (*DownloadClusterFilesForbidden) WriteResponse ¶
func (o *DownloadClusterFilesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterFilesHandler ¶
type DownloadClusterFilesHandler interface {
Handle(DownloadClusterFilesParams, interface{}) middleware.Responder
}
DownloadClusterFilesHandler interface for that can handle valid download cluster files params
type DownloadClusterFilesHandlerFunc ¶
type DownloadClusterFilesHandlerFunc func(DownloadClusterFilesParams, interface{}) 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, principal interface{}) 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 DownloadClusterFilesMethodNotAllowed ¶
type DownloadClusterFilesMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadClusterFilesMethodNotAllowed Method Not Allowed.
swagger:response downloadClusterFilesMethodNotAllowed
func NewDownloadClusterFilesMethodNotAllowed ¶
func NewDownloadClusterFilesMethodNotAllowed() *DownloadClusterFilesMethodNotAllowed
NewDownloadClusterFilesMethodNotAllowed creates DownloadClusterFilesMethodNotAllowed with default headers values
func (*DownloadClusterFilesMethodNotAllowed) SetPayload ¶
func (o *DownloadClusterFilesMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster files method not allowed response
func (*DownloadClusterFilesMethodNotAllowed) WithPayload ¶
func (o *DownloadClusterFilesMethodNotAllowed) WithPayload(payload *models.Error) *DownloadClusterFilesMethodNotAllowed
WithPayload adds the payload to the download cluster files method not allowed response
func (*DownloadClusterFilesMethodNotAllowed) WriteResponse ¶
func (o *DownloadClusterFilesMethodNotAllowed) 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 /* In: header */ DiscoveryAgentVersion *string /* 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 DownloadClusterFilesUnauthorized ¶
type DownloadClusterFilesUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DownloadClusterFilesUnauthorized Unauthorized.
swagger:response downloadClusterFilesUnauthorized
func NewDownloadClusterFilesUnauthorized ¶
func NewDownloadClusterFilesUnauthorized() *DownloadClusterFilesUnauthorized
NewDownloadClusterFilesUnauthorized creates DownloadClusterFilesUnauthorized with default headers values
func (*DownloadClusterFilesUnauthorized) SetPayload ¶
func (o *DownloadClusterFilesUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster files unauthorized response
func (*DownloadClusterFilesUnauthorized) WithPayload ¶
func (o *DownloadClusterFilesUnauthorized) WithPayload(payload *models.InfraError) *DownloadClusterFilesUnauthorized
WithPayload adds the payload to the download cluster files unauthorized response
func (*DownloadClusterFilesUnauthorized) WriteResponse ¶
func (o *DownloadClusterFilesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 DownloadClusterISOConflict ¶
type DownloadClusterISOConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadClusterISOConflict Error.
swagger:response downloadClusterISOConflict
func NewDownloadClusterISOConflict ¶
func NewDownloadClusterISOConflict() *DownloadClusterISOConflict
NewDownloadClusterISOConflict creates DownloadClusterISOConflict with default headers values
func (*DownloadClusterISOConflict) SetPayload ¶
func (o *DownloadClusterISOConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster i s o conflict response
func (*DownloadClusterISOConflict) WithPayload ¶
func (o *DownloadClusterISOConflict) WithPayload(payload *models.Error) *DownloadClusterISOConflict
WithPayload adds the payload to the download cluster i s o conflict response
func (*DownloadClusterISOConflict) WriteResponse ¶
func (o *DownloadClusterISOConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterISOForbidden ¶
type DownloadClusterISOForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DownloadClusterISOForbidden Forbidden.
swagger:response downloadClusterISOForbidden
func NewDownloadClusterISOForbidden ¶
func NewDownloadClusterISOForbidden() *DownloadClusterISOForbidden
NewDownloadClusterISOForbidden creates DownloadClusterISOForbidden with default headers values
func (*DownloadClusterISOForbidden) SetPayload ¶
func (o *DownloadClusterISOForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster i s o forbidden response
func (*DownloadClusterISOForbidden) WithPayload ¶
func (o *DownloadClusterISOForbidden) WithPayload(payload *models.InfraError) *DownloadClusterISOForbidden
WithPayload adds the payload to the download cluster i s o forbidden response
func (*DownloadClusterISOForbidden) WriteResponse ¶
func (o *DownloadClusterISOForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterISOHandler ¶
type DownloadClusterISOHandler interface {
Handle(DownloadClusterISOParams, interface{}) middleware.Responder
}
DownloadClusterISOHandler interface for that can handle valid download cluster i s o params
type DownloadClusterISOHandlerFunc ¶
type DownloadClusterISOHandlerFunc func(DownloadClusterISOParams, interface{}) 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, principal interface{}) 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 DownloadClusterISOMethodNotAllowed ¶
type DownloadClusterISOMethodNotAllowed struct { }
DownloadClusterISOMethodNotAllowed Method Not Allowed.
swagger:response downloadClusterISOMethodNotAllowed
func NewDownloadClusterISOMethodNotAllowed ¶
func NewDownloadClusterISOMethodNotAllowed() *DownloadClusterISOMethodNotAllowed
NewDownloadClusterISOMethodNotAllowed creates DownloadClusterISOMethodNotAllowed with default headers values
func (*DownloadClusterISOMethodNotAllowed) WriteResponse ¶
func (o *DownloadClusterISOMethodNotAllowed) 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 DownloadClusterISOUnauthorized ¶
type DownloadClusterISOUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DownloadClusterISOUnauthorized Unauthorized.
swagger:response downloadClusterISOUnauthorized
func NewDownloadClusterISOUnauthorized ¶
func NewDownloadClusterISOUnauthorized() *DownloadClusterISOUnauthorized
NewDownloadClusterISOUnauthorized creates DownloadClusterISOUnauthorized with default headers values
func (*DownloadClusterISOUnauthorized) SetPayload ¶
func (o *DownloadClusterISOUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster i s o unauthorized response
func (*DownloadClusterISOUnauthorized) WithPayload ¶
func (o *DownloadClusterISOUnauthorized) WithPayload(payload *models.InfraError) *DownloadClusterISOUnauthorized
WithPayload adds the payload to the download cluster i s o unauthorized response
func (*DownloadClusterISOUnauthorized) WriteResponse ¶
func (o *DownloadClusterISOUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 DownloadClusterKubeconfigForbidden ¶
type DownloadClusterKubeconfigForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DownloadClusterKubeconfigForbidden Forbidden.
swagger:response downloadClusterKubeconfigForbidden
func NewDownloadClusterKubeconfigForbidden ¶
func NewDownloadClusterKubeconfigForbidden() *DownloadClusterKubeconfigForbidden
NewDownloadClusterKubeconfigForbidden creates DownloadClusterKubeconfigForbidden with default headers values
func (*DownloadClusterKubeconfigForbidden) SetPayload ¶
func (o *DownloadClusterKubeconfigForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster kubeconfig forbidden response
func (*DownloadClusterKubeconfigForbidden) WithPayload ¶
func (o *DownloadClusterKubeconfigForbidden) WithPayload(payload *models.InfraError) *DownloadClusterKubeconfigForbidden
WithPayload adds the payload to the download cluster kubeconfig forbidden response
func (*DownloadClusterKubeconfigForbidden) WriteResponse ¶
func (o *DownloadClusterKubeconfigForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterKubeconfigHandler ¶
type DownloadClusterKubeconfigHandler interface {
Handle(DownloadClusterKubeconfigParams, interface{}) middleware.Responder
}
DownloadClusterKubeconfigHandler interface for that can handle valid download cluster kubeconfig params
type DownloadClusterKubeconfigHandlerFunc ¶
type DownloadClusterKubeconfigHandlerFunc func(DownloadClusterKubeconfigParams, interface{}) 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, principal interface{}) 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 DownloadClusterKubeconfigMethodNotAllowed ¶
type DownloadClusterKubeconfigMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadClusterKubeconfigMethodNotAllowed Method Not Allowed.
swagger:response downloadClusterKubeconfigMethodNotAllowed
func NewDownloadClusterKubeconfigMethodNotAllowed ¶
func NewDownloadClusterKubeconfigMethodNotAllowed() *DownloadClusterKubeconfigMethodNotAllowed
NewDownloadClusterKubeconfigMethodNotAllowed creates DownloadClusterKubeconfigMethodNotAllowed with default headers values
func (*DownloadClusterKubeconfigMethodNotAllowed) SetPayload ¶
func (o *DownloadClusterKubeconfigMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster kubeconfig method not allowed response
func (*DownloadClusterKubeconfigMethodNotAllowed) WithPayload ¶
func (o *DownloadClusterKubeconfigMethodNotAllowed) WithPayload(payload *models.Error) *DownloadClusterKubeconfigMethodNotAllowed
WithPayload adds the payload to the download cluster kubeconfig method not allowed response
func (*DownloadClusterKubeconfigMethodNotAllowed) WriteResponse ¶
func (o *DownloadClusterKubeconfigMethodNotAllowed) 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 DownloadClusterKubeconfigUnauthorized ¶
type DownloadClusterKubeconfigUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DownloadClusterKubeconfigUnauthorized Unauthorized.
swagger:response downloadClusterKubeconfigUnauthorized
func NewDownloadClusterKubeconfigUnauthorized ¶
func NewDownloadClusterKubeconfigUnauthorized() *DownloadClusterKubeconfigUnauthorized
NewDownloadClusterKubeconfigUnauthorized creates DownloadClusterKubeconfigUnauthorized with default headers values
func (*DownloadClusterKubeconfigUnauthorized) SetPayload ¶
func (o *DownloadClusterKubeconfigUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster kubeconfig unauthorized response
func (*DownloadClusterKubeconfigUnauthorized) WithPayload ¶
func (o *DownloadClusterKubeconfigUnauthorized) WithPayload(payload *models.InfraError) *DownloadClusterKubeconfigUnauthorized
WithPayload adds the payload to the download cluster kubeconfig unauthorized response
func (*DownloadClusterKubeconfigUnauthorized) WriteResponse ¶
func (o *DownloadClusterKubeconfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterLogs ¶
type DownloadClusterLogs struct { Context *middleware.Context Handler DownloadClusterLogsHandler }
DownloadClusterLogs swagger:route GET /clusters/{cluster_id}/logs installer downloadClusterLogs
Download cluster logs
func NewDownloadClusterLogs ¶
func NewDownloadClusterLogs(ctx *middleware.Context, handler DownloadClusterLogsHandler) *DownloadClusterLogs
NewDownloadClusterLogs creates a new http.Handler for the download cluster logs operation
func (*DownloadClusterLogs) ServeHTTP ¶
func (o *DownloadClusterLogs) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DownloadClusterLogsConflict ¶
type DownloadClusterLogsConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadClusterLogsConflict Error.
swagger:response downloadClusterLogsConflict
func NewDownloadClusterLogsConflict ¶
func NewDownloadClusterLogsConflict() *DownloadClusterLogsConflict
NewDownloadClusterLogsConflict creates DownloadClusterLogsConflict with default headers values
func (*DownloadClusterLogsConflict) SetPayload ¶
func (o *DownloadClusterLogsConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster logs conflict response
func (*DownloadClusterLogsConflict) WithPayload ¶
func (o *DownloadClusterLogsConflict) WithPayload(payload *models.Error) *DownloadClusterLogsConflict
WithPayload adds the payload to the download cluster logs conflict response
func (*DownloadClusterLogsConflict) WriteResponse ¶
func (o *DownloadClusterLogsConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterLogsForbidden ¶
type DownloadClusterLogsForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DownloadClusterLogsForbidden Forbidden.
swagger:response downloadClusterLogsForbidden
func NewDownloadClusterLogsForbidden ¶
func NewDownloadClusterLogsForbidden() *DownloadClusterLogsForbidden
NewDownloadClusterLogsForbidden creates DownloadClusterLogsForbidden with default headers values
func (*DownloadClusterLogsForbidden) SetPayload ¶
func (o *DownloadClusterLogsForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster logs forbidden response
func (*DownloadClusterLogsForbidden) WithPayload ¶
func (o *DownloadClusterLogsForbidden) WithPayload(payload *models.InfraError) *DownloadClusterLogsForbidden
WithPayload adds the payload to the download cluster logs forbidden response
func (*DownloadClusterLogsForbidden) WriteResponse ¶
func (o *DownloadClusterLogsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterLogsHandler ¶
type DownloadClusterLogsHandler interface {
Handle(DownloadClusterLogsParams, interface{}) middleware.Responder
}
DownloadClusterLogsHandler interface for that can handle valid download cluster logs params
type DownloadClusterLogsHandlerFunc ¶
type DownloadClusterLogsHandlerFunc func(DownloadClusterLogsParams, interface{}) middleware.Responder
DownloadClusterLogsHandlerFunc turns a function with the right signature into a download cluster logs handler
func (DownloadClusterLogsHandlerFunc) Handle ¶
func (fn DownloadClusterLogsHandlerFunc) Handle(params DownloadClusterLogsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DownloadClusterLogsInternalServerError ¶
type DownloadClusterLogsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadClusterLogsInternalServerError Error.
swagger:response downloadClusterLogsInternalServerError
func NewDownloadClusterLogsInternalServerError ¶
func NewDownloadClusterLogsInternalServerError() *DownloadClusterLogsInternalServerError
NewDownloadClusterLogsInternalServerError creates DownloadClusterLogsInternalServerError with default headers values
func (*DownloadClusterLogsInternalServerError) SetPayload ¶
func (o *DownloadClusterLogsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster logs internal server error response
func (*DownloadClusterLogsInternalServerError) WithPayload ¶
func (o *DownloadClusterLogsInternalServerError) WithPayload(payload *models.Error) *DownloadClusterLogsInternalServerError
WithPayload adds the payload to the download cluster logs internal server error response
func (*DownloadClusterLogsInternalServerError) WriteResponse ¶
func (o *DownloadClusterLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterLogsMethodNotAllowed ¶
type DownloadClusterLogsMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadClusterLogsMethodNotAllowed Method Not Allowed.
swagger:response downloadClusterLogsMethodNotAllowed
func NewDownloadClusterLogsMethodNotAllowed ¶
func NewDownloadClusterLogsMethodNotAllowed() *DownloadClusterLogsMethodNotAllowed
NewDownloadClusterLogsMethodNotAllowed creates DownloadClusterLogsMethodNotAllowed with default headers values
func (*DownloadClusterLogsMethodNotAllowed) SetPayload ¶
func (o *DownloadClusterLogsMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster logs method not allowed response
func (*DownloadClusterLogsMethodNotAllowed) WithPayload ¶
func (o *DownloadClusterLogsMethodNotAllowed) WithPayload(payload *models.Error) *DownloadClusterLogsMethodNotAllowed
WithPayload adds the payload to the download cluster logs method not allowed response
func (*DownloadClusterLogsMethodNotAllowed) WriteResponse ¶
func (o *DownloadClusterLogsMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterLogsNotFound ¶
type DownloadClusterLogsNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadClusterLogsNotFound Error.
swagger:response downloadClusterLogsNotFound
func NewDownloadClusterLogsNotFound ¶
func NewDownloadClusterLogsNotFound() *DownloadClusterLogsNotFound
NewDownloadClusterLogsNotFound creates DownloadClusterLogsNotFound with default headers values
func (*DownloadClusterLogsNotFound) SetPayload ¶
func (o *DownloadClusterLogsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the download cluster logs not found response
func (*DownloadClusterLogsNotFound) WithPayload ¶
func (o *DownloadClusterLogsNotFound) WithPayload(payload *models.Error) *DownloadClusterLogsNotFound
WithPayload adds the payload to the download cluster logs not found response
func (*DownloadClusterLogsNotFound) WriteResponse ¶
func (o *DownloadClusterLogsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterLogsOK ¶
type DownloadClusterLogsOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
DownloadClusterLogsOK Success.
swagger:response downloadClusterLogsOK
func NewDownloadClusterLogsOK ¶
func NewDownloadClusterLogsOK() *DownloadClusterLogsOK
NewDownloadClusterLogsOK creates DownloadClusterLogsOK with default headers values
func (*DownloadClusterLogsOK) SetPayload ¶
func (o *DownloadClusterLogsOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the download cluster logs o k response
func (*DownloadClusterLogsOK) WithPayload ¶
func (o *DownloadClusterLogsOK) WithPayload(payload io.ReadCloser) *DownloadClusterLogsOK
WithPayload adds the payload to the download cluster logs o k response
func (*DownloadClusterLogsOK) WriteResponse ¶
func (o *DownloadClusterLogsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadClusterLogsParams ¶
type DownloadClusterLogsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID }
DownloadClusterLogsParams contains all the bound params for the download cluster logs operation typically these are obtained from a http.Request
swagger:parameters DownloadClusterLogs
func NewDownloadClusterLogsParams ¶
func NewDownloadClusterLogsParams() DownloadClusterLogsParams
NewDownloadClusterLogsParams creates a new DownloadClusterLogsParams object no default values defined in spec.
func (*DownloadClusterLogsParams) BindRequest ¶
func (o *DownloadClusterLogsParams) 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 NewDownloadClusterLogsParams() beforehand.
type DownloadClusterLogsURL ¶
type DownloadClusterLogsURL struct { ClusterID strfmt.UUID // contains filtered or unexported fields }
DownloadClusterLogsURL generates an URL for the download cluster logs operation
func (*DownloadClusterLogsURL) Build ¶
func (o *DownloadClusterLogsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DownloadClusterLogsURL) BuildFull ¶
func (o *DownloadClusterLogsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DownloadClusterLogsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DownloadClusterLogsURL) SetBasePath ¶
func (o *DownloadClusterLogsURL) 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 (*DownloadClusterLogsURL) String ¶
func (o *DownloadClusterLogsURL) String() string
String returns the string representation of the path with query string
func (*DownloadClusterLogsURL) StringFull ¶
func (o *DownloadClusterLogsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DownloadClusterLogsURL) WithBasePath ¶
func (o *DownloadClusterLogsURL) WithBasePath(bp string) *DownloadClusterLogsURL
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 DownloadClusterLogsUnauthorized ¶
type DownloadClusterLogsUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DownloadClusterLogsUnauthorized Unauthorized.
swagger:response downloadClusterLogsUnauthorized
func NewDownloadClusterLogsUnauthorized ¶
func NewDownloadClusterLogsUnauthorized() *DownloadClusterLogsUnauthorized
NewDownloadClusterLogsUnauthorized creates DownloadClusterLogsUnauthorized with default headers values
func (*DownloadClusterLogsUnauthorized) SetPayload ¶
func (o *DownloadClusterLogsUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download cluster logs unauthorized response
func (*DownloadClusterLogsUnauthorized) WithPayload ¶
func (o *DownloadClusterLogsUnauthorized) WithPayload(payload *models.InfraError) *DownloadClusterLogsUnauthorized
WithPayload adds the payload to the download cluster logs unauthorized response
func (*DownloadClusterLogsUnauthorized) WriteResponse ¶
func (o *DownloadClusterLogsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadHostLogs ¶
type DownloadHostLogs struct { Context *middleware.Context Handler DownloadHostLogsHandler }
DownloadHostLogs swagger:route GET /clusters/{cluster_id}/hosts/{host_id}/logs installer downloadHostLogs
Download host logs
func NewDownloadHostLogs ¶
func NewDownloadHostLogs(ctx *middleware.Context, handler DownloadHostLogsHandler) *DownloadHostLogs
NewDownloadHostLogs creates a new http.Handler for the download host logs operation
func (*DownloadHostLogs) ServeHTTP ¶
func (o *DownloadHostLogs) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DownloadHostLogsConflict ¶
type DownloadHostLogsConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadHostLogsConflict Error.
swagger:response downloadHostLogsConflict
func NewDownloadHostLogsConflict ¶
func NewDownloadHostLogsConflict() *DownloadHostLogsConflict
NewDownloadHostLogsConflict creates DownloadHostLogsConflict with default headers values
func (*DownloadHostLogsConflict) SetPayload ¶
func (o *DownloadHostLogsConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the download host logs conflict response
func (*DownloadHostLogsConflict) WithPayload ¶
func (o *DownloadHostLogsConflict) WithPayload(payload *models.Error) *DownloadHostLogsConflict
WithPayload adds the payload to the download host logs conflict response
func (*DownloadHostLogsConflict) WriteResponse ¶
func (o *DownloadHostLogsConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadHostLogsForbidden ¶
type DownloadHostLogsForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
DownloadHostLogsForbidden Forbidden.
swagger:response downloadHostLogsForbidden
func NewDownloadHostLogsForbidden ¶
func NewDownloadHostLogsForbidden() *DownloadHostLogsForbidden
NewDownloadHostLogsForbidden creates DownloadHostLogsForbidden with default headers values
func (*DownloadHostLogsForbidden) SetPayload ¶
func (o *DownloadHostLogsForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download host logs forbidden response
func (*DownloadHostLogsForbidden) WithPayload ¶
func (o *DownloadHostLogsForbidden) WithPayload(payload *models.InfraError) *DownloadHostLogsForbidden
WithPayload adds the payload to the download host logs forbidden response
func (*DownloadHostLogsForbidden) WriteResponse ¶
func (o *DownloadHostLogsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadHostLogsHandler ¶
type DownloadHostLogsHandler interface {
Handle(DownloadHostLogsParams, interface{}) middleware.Responder
}
DownloadHostLogsHandler interface for that can handle valid download host logs params
type DownloadHostLogsHandlerFunc ¶
type DownloadHostLogsHandlerFunc func(DownloadHostLogsParams, interface{}) middleware.Responder
DownloadHostLogsHandlerFunc turns a function with the right signature into a download host logs handler
func (DownloadHostLogsHandlerFunc) Handle ¶
func (fn DownloadHostLogsHandlerFunc) Handle(params DownloadHostLogsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DownloadHostLogsInternalServerError ¶
type DownloadHostLogsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadHostLogsInternalServerError Error.
swagger:response downloadHostLogsInternalServerError
func NewDownloadHostLogsInternalServerError ¶
func NewDownloadHostLogsInternalServerError() *DownloadHostLogsInternalServerError
NewDownloadHostLogsInternalServerError creates DownloadHostLogsInternalServerError with default headers values
func (*DownloadHostLogsInternalServerError) SetPayload ¶
func (o *DownloadHostLogsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the download host logs internal server error response
func (*DownloadHostLogsInternalServerError) WithPayload ¶
func (o *DownloadHostLogsInternalServerError) WithPayload(payload *models.Error) *DownloadHostLogsInternalServerError
WithPayload adds the payload to the download host logs internal server error response
func (*DownloadHostLogsInternalServerError) WriteResponse ¶
func (o *DownloadHostLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadHostLogsMethodNotAllowed ¶
type DownloadHostLogsMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadHostLogsMethodNotAllowed Method Not Allowed.
swagger:response downloadHostLogsMethodNotAllowed
func NewDownloadHostLogsMethodNotAllowed ¶
func NewDownloadHostLogsMethodNotAllowed() *DownloadHostLogsMethodNotAllowed
NewDownloadHostLogsMethodNotAllowed creates DownloadHostLogsMethodNotAllowed with default headers values
func (*DownloadHostLogsMethodNotAllowed) SetPayload ¶
func (o *DownloadHostLogsMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the download host logs method not allowed response
func (*DownloadHostLogsMethodNotAllowed) WithPayload ¶
func (o *DownloadHostLogsMethodNotAllowed) WithPayload(payload *models.Error) *DownloadHostLogsMethodNotAllowed
WithPayload adds the payload to the download host logs method not allowed response
func (*DownloadHostLogsMethodNotAllowed) WriteResponse ¶
func (o *DownloadHostLogsMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadHostLogsNotFound ¶
type DownloadHostLogsNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DownloadHostLogsNotFound Error.
swagger:response downloadHostLogsNotFound
func NewDownloadHostLogsNotFound ¶
func NewDownloadHostLogsNotFound() *DownloadHostLogsNotFound
NewDownloadHostLogsNotFound creates DownloadHostLogsNotFound with default headers values
func (*DownloadHostLogsNotFound) SetPayload ¶
func (o *DownloadHostLogsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the download host logs not found response
func (*DownloadHostLogsNotFound) WithPayload ¶
func (o *DownloadHostLogsNotFound) WithPayload(payload *models.Error) *DownloadHostLogsNotFound
WithPayload adds the payload to the download host logs not found response
func (*DownloadHostLogsNotFound) WriteResponse ¶
func (o *DownloadHostLogsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadHostLogsOK ¶
type DownloadHostLogsOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
DownloadHostLogsOK Success.
swagger:response downloadHostLogsOK
func NewDownloadHostLogsOK ¶
func NewDownloadHostLogsOK() *DownloadHostLogsOK
NewDownloadHostLogsOK creates DownloadHostLogsOK with default headers values
func (*DownloadHostLogsOK) SetPayload ¶
func (o *DownloadHostLogsOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the download host logs o k response
func (*DownloadHostLogsOK) WithPayload ¶
func (o *DownloadHostLogsOK) WithPayload(payload io.ReadCloser) *DownloadHostLogsOK
WithPayload adds the payload to the download host logs o k response
func (*DownloadHostLogsOK) WriteResponse ¶
func (o *DownloadHostLogsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DownloadHostLogsParams ¶
type DownloadHostLogsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* Required: true In: path */ HostID strfmt.UUID }
DownloadHostLogsParams contains all the bound params for the download host logs operation typically these are obtained from a http.Request
swagger:parameters DownloadHostLogs
func NewDownloadHostLogsParams ¶
func NewDownloadHostLogsParams() DownloadHostLogsParams
NewDownloadHostLogsParams creates a new DownloadHostLogsParams object no default values defined in spec.
func (*DownloadHostLogsParams) BindRequest ¶
func (o *DownloadHostLogsParams) 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 NewDownloadHostLogsParams() beforehand.
type DownloadHostLogsURL ¶
type DownloadHostLogsURL struct { ClusterID strfmt.UUID HostID strfmt.UUID // contains filtered or unexported fields }
DownloadHostLogsURL generates an URL for the download host logs operation
func (*DownloadHostLogsURL) Build ¶
func (o *DownloadHostLogsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DownloadHostLogsURL) BuildFull ¶
func (o *DownloadHostLogsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DownloadHostLogsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DownloadHostLogsURL) SetBasePath ¶
func (o *DownloadHostLogsURL) 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 (*DownloadHostLogsURL) String ¶
func (o *DownloadHostLogsURL) String() string
String returns the string representation of the path with query string
func (*DownloadHostLogsURL) StringFull ¶
func (o *DownloadHostLogsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DownloadHostLogsURL) WithBasePath ¶
func (o *DownloadHostLogsURL) WithBasePath(bp string) *DownloadHostLogsURL
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 DownloadHostLogsUnauthorized ¶
type DownloadHostLogsUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
DownloadHostLogsUnauthorized Unauthorized.
swagger:response downloadHostLogsUnauthorized
func NewDownloadHostLogsUnauthorized ¶
func NewDownloadHostLogsUnauthorized() *DownloadHostLogsUnauthorized
NewDownloadHostLogsUnauthorized creates DownloadHostLogsUnauthorized with default headers values
func (*DownloadHostLogsUnauthorized) SetPayload ¶
func (o *DownloadHostLogsUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the download host logs unauthorized response
func (*DownloadHostLogsUnauthorized) WithPayload ¶
func (o *DownloadHostLogsUnauthorized) WithPayload(payload *models.InfraError) *DownloadHostLogsUnauthorized
WithPayload adds the payload to the download host logs unauthorized response
func (*DownloadHostLogsUnauthorized) WriteResponse ¶
func (o *DownloadHostLogsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 EnableHostForbidden ¶
type EnableHostForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
EnableHostForbidden Forbidden.
swagger:response enableHostForbidden
func NewEnableHostForbidden ¶
func NewEnableHostForbidden() *EnableHostForbidden
NewEnableHostForbidden creates EnableHostForbidden with default headers values
func (*EnableHostForbidden) SetPayload ¶
func (o *EnableHostForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the enable host forbidden response
func (*EnableHostForbidden) WithPayload ¶
func (o *EnableHostForbidden) WithPayload(payload *models.InfraError) *EnableHostForbidden
WithPayload adds the payload to the enable host forbidden response
func (*EnableHostForbidden) WriteResponse ¶
func (o *EnableHostForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnableHostHandler ¶
type EnableHostHandler interface {
Handle(EnableHostParams, interface{}) middleware.Responder
}
EnableHostHandler interface for that can handle valid enable host params
type EnableHostHandlerFunc ¶
type EnableHostHandlerFunc func(EnableHostParams, interface{}) middleware.Responder
EnableHostHandlerFunc turns a function with the right signature into a enable host handler
func (EnableHostHandlerFunc) Handle ¶
func (fn EnableHostHandlerFunc) Handle(params EnableHostParams, principal interface{}) 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 EnableHostMethodNotAllowed ¶
type EnableHostMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
EnableHostMethodNotAllowed Method Not Allowed.
swagger:response enableHostMethodNotAllowed
func NewEnableHostMethodNotAllowed ¶
func NewEnableHostMethodNotAllowed() *EnableHostMethodNotAllowed
NewEnableHostMethodNotAllowed creates EnableHostMethodNotAllowed with default headers values
func (*EnableHostMethodNotAllowed) SetPayload ¶
func (o *EnableHostMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the enable host method not allowed response
func (*EnableHostMethodNotAllowed) WithPayload ¶
func (o *EnableHostMethodNotAllowed) WithPayload(payload *models.Error) *EnableHostMethodNotAllowed
WithPayload adds the payload to the enable host method not allowed response
func (*EnableHostMethodNotAllowed) WriteResponse ¶
func (o *EnableHostMethodNotAllowed) 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 EnableHostOK ¶
EnableHostOK Success.
swagger:response enableHostOK
func NewEnableHostOK ¶
func NewEnableHostOK() *EnableHostOK
NewEnableHostOK creates EnableHostOK with default headers values
func (*EnableHostOK) SetPayload ¶
func (o *EnableHostOK) SetPayload(payload *models.Host)
SetPayload sets the payload to the enable host o k response
func (*EnableHostOK) WithPayload ¶
func (o *EnableHostOK) WithPayload(payload *models.Host) *EnableHostOK
WithPayload adds the payload to the enable host o k response
func (*EnableHostOK) WriteResponse ¶
func (o *EnableHostOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type EnableHostParams ¶
type EnableHostParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* Required: true In: path */ HostID strfmt.UUID }
EnableHostParams contains all the bound params for the enable host operation typically these are obtained from a http.Request
swagger:parameters EnableHost
func NewEnableHostParams ¶
func NewEnableHostParams() EnableHostParams
NewEnableHostParams creates a new EnableHostParams object no default values defined in spec.
func (*EnableHostParams) BindRequest ¶
func (o *EnableHostParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewEnableHostParams() beforehand.
type EnableHostURL ¶
type EnableHostURL struct { ClusterID strfmt.UUID HostID strfmt.UUID // contains filtered or unexported fields }
EnableHostURL generates an URL for the enable host operation
func (*EnableHostURL) Build ¶
func (o *EnableHostURL) Build() (*url.URL, error)
Build a url path and query string
func (*EnableHostURL) BuildFull ¶
func (o *EnableHostURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*EnableHostURL) Must ¶
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 EnableHostUnauthorized ¶
type EnableHostUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
EnableHostUnauthorized Unauthorized.
swagger:response enableHostUnauthorized
func NewEnableHostUnauthorized ¶
func NewEnableHostUnauthorized() *EnableHostUnauthorized
NewEnableHostUnauthorized creates EnableHostUnauthorized with default headers values
func (*EnableHostUnauthorized) SetPayload ¶
func (o *EnableHostUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the enable host unauthorized response
func (*EnableHostUnauthorized) WithPayload ¶
func (o *EnableHostUnauthorized) WithPayload(payload *models.InfraError) *EnableHostUnauthorized
WithPayload adds the payload to the enable host unauthorized response
func (*EnableHostUnauthorized) WriteResponse ¶
func (o *EnableHostUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GenerateClusterISOConflict Error.
swagger:response generateClusterISOConflict
func NewGenerateClusterISOConflict ¶
func NewGenerateClusterISOConflict() *GenerateClusterISOConflict
NewGenerateClusterISOConflict creates GenerateClusterISOConflict with default headers values
func (*GenerateClusterISOConflict) SetPayload ¶
func (o *GenerateClusterISOConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the generate cluster i s o conflict response
func (*GenerateClusterISOConflict) WithPayload ¶
func (o *GenerateClusterISOConflict) WithPayload(payload *models.Error) *GenerateClusterISOConflict
WithPayload adds the payload to the generate cluster i s o conflict response
func (*GenerateClusterISOConflict) WriteResponse ¶
func (o *GenerateClusterISOConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateClusterISOCreated ¶
type GenerateClusterISOCreated struct { /* In: Body */ Payload *models.Cluster `json:"body,omitempty"` }
GenerateClusterISOCreated Success.
swagger:response generateClusterISOCreated
func NewGenerateClusterISOCreated ¶
func NewGenerateClusterISOCreated() *GenerateClusterISOCreated
NewGenerateClusterISOCreated creates GenerateClusterISOCreated with default headers values
func (*GenerateClusterISOCreated) SetPayload ¶
func (o *GenerateClusterISOCreated) SetPayload(payload *models.Cluster)
SetPayload sets the payload to the generate cluster i s o created response
func (*GenerateClusterISOCreated) WithPayload ¶
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 GenerateClusterISOForbidden ¶
type GenerateClusterISOForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
GenerateClusterISOForbidden Forbidden.
swagger:response generateClusterISOForbidden
func NewGenerateClusterISOForbidden ¶
func NewGenerateClusterISOForbidden() *GenerateClusterISOForbidden
NewGenerateClusterISOForbidden creates GenerateClusterISOForbidden with default headers values
func (*GenerateClusterISOForbidden) SetPayload ¶
func (o *GenerateClusterISOForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the generate cluster i s o forbidden response
func (*GenerateClusterISOForbidden) WithPayload ¶
func (o *GenerateClusterISOForbidden) WithPayload(payload *models.InfraError) *GenerateClusterISOForbidden
WithPayload adds the payload to the generate cluster i s o forbidden response
func (*GenerateClusterISOForbidden) WriteResponse ¶
func (o *GenerateClusterISOForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateClusterISOHandler ¶
type GenerateClusterISOHandler interface {
Handle(GenerateClusterISOParams, interface{}) middleware.Responder
}
GenerateClusterISOHandler interface for that can handle valid generate cluster i s o params
type GenerateClusterISOHandlerFunc ¶
type GenerateClusterISOHandlerFunc func(GenerateClusterISOParams, interface{}) 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, principal interface{}) 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 GenerateClusterISOMethodNotAllowed ¶
type GenerateClusterISOMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GenerateClusterISOMethodNotAllowed Method Not Allowed.
swagger:response generateClusterISOMethodNotAllowed
func NewGenerateClusterISOMethodNotAllowed ¶
func NewGenerateClusterISOMethodNotAllowed() *GenerateClusterISOMethodNotAllowed
NewGenerateClusterISOMethodNotAllowed creates GenerateClusterISOMethodNotAllowed with default headers values
func (*GenerateClusterISOMethodNotAllowed) SetPayload ¶
func (o *GenerateClusterISOMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the generate cluster i s o method not allowed response
func (*GenerateClusterISOMethodNotAllowed) WithPayload ¶
func (o *GenerateClusterISOMethodNotAllowed) WithPayload(payload *models.Error) *GenerateClusterISOMethodNotAllowed
WithPayload adds the payload to the generate cluster i s o method not allowed response
func (*GenerateClusterISOMethodNotAllowed) WriteResponse ¶
func (o *GenerateClusterISOMethodNotAllowed) 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 GenerateClusterISOUnauthorized ¶
type GenerateClusterISOUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
GenerateClusterISOUnauthorized Unauthorized.
swagger:response generateClusterISOUnauthorized
func NewGenerateClusterISOUnauthorized ¶
func NewGenerateClusterISOUnauthorized() *GenerateClusterISOUnauthorized
NewGenerateClusterISOUnauthorized creates GenerateClusterISOUnauthorized with default headers values
func (*GenerateClusterISOUnauthorized) SetPayload ¶
func (o *GenerateClusterISOUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the generate cluster i s o unauthorized response
func (*GenerateClusterISOUnauthorized) WithPayload ¶
func (o *GenerateClusterISOUnauthorized) WithPayload(payload *models.InfraError) *GenerateClusterISOUnauthorized
WithPayload adds the payload to the generate cluster i s o unauthorized response
func (*GenerateClusterISOUnauthorized) WriteResponse ¶
func (o *GenerateClusterISOUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 GetClusterForbidden ¶
type GetClusterForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
GetClusterForbidden Forbidden.
swagger:response getClusterForbidden
func NewGetClusterForbidden ¶
func NewGetClusterForbidden() *GetClusterForbidden
NewGetClusterForbidden creates GetClusterForbidden with default headers values
func (*GetClusterForbidden) SetPayload ¶
func (o *GetClusterForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get cluster forbidden response
func (*GetClusterForbidden) WithPayload ¶
func (o *GetClusterForbidden) WithPayload(payload *models.InfraError) *GetClusterForbidden
WithPayload adds the payload to the get cluster forbidden response
func (*GetClusterForbidden) WriteResponse ¶
func (o *GetClusterForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetClusterHandler ¶
type GetClusterHandler interface {
Handle(GetClusterParams, interface{}) middleware.Responder
}
GetClusterHandler interface for that can handle valid get cluster params
type GetClusterHandlerFunc ¶
type GetClusterHandlerFunc func(GetClusterParams, interface{}) middleware.Responder
GetClusterHandlerFunc turns a function with the right signature into a get cluster handler
func (GetClusterHandlerFunc) Handle ¶
func (fn GetClusterHandlerFunc) Handle(params GetClusterParams, principal interface{}) 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 GetClusterMethodNotAllowed ¶
type GetClusterMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetClusterMethodNotAllowed Method Not Allowed.
swagger:response getClusterMethodNotAllowed
func NewGetClusterMethodNotAllowed ¶
func NewGetClusterMethodNotAllowed() *GetClusterMethodNotAllowed
NewGetClusterMethodNotAllowed creates GetClusterMethodNotAllowed with default headers values
func (*GetClusterMethodNotAllowed) SetPayload ¶
func (o *GetClusterMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the get cluster method not allowed response
func (*GetClusterMethodNotAllowed) WithPayload ¶
func (o *GetClusterMethodNotAllowed) WithPayload(payload *models.Error) *GetClusterMethodNotAllowed
WithPayload adds the payload to the get cluster method not allowed response
func (*GetClusterMethodNotAllowed) WriteResponse ¶
func (o *GetClusterMethodNotAllowed) 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 /* In: header */ DiscoveryAgentVersion *string }
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 GetClusterUnauthorized ¶
type GetClusterUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
GetClusterUnauthorized Unauthorized.
swagger:response getClusterUnauthorized
func NewGetClusterUnauthorized ¶
func NewGetClusterUnauthorized() *GetClusterUnauthorized
NewGetClusterUnauthorized creates GetClusterUnauthorized with default headers values
func (*GetClusterUnauthorized) SetPayload ¶
func (o *GetClusterUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get cluster unauthorized response
func (*GetClusterUnauthorized) WithPayload ¶
func (o *GetClusterUnauthorized) WithPayload(payload *models.InfraError) *GetClusterUnauthorized
WithPayload adds the payload to the get cluster unauthorized response
func (*GetClusterUnauthorized) WriteResponse ¶
func (o *GetClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 GetCredentialsForbidden ¶
type GetCredentialsForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
GetCredentialsForbidden Forbidden.
swagger:response getCredentialsForbidden
func NewGetCredentialsForbidden ¶
func NewGetCredentialsForbidden() *GetCredentialsForbidden
NewGetCredentialsForbidden creates GetCredentialsForbidden with default headers values
func (*GetCredentialsForbidden) SetPayload ¶
func (o *GetCredentialsForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get credentials forbidden response
func (*GetCredentialsForbidden) WithPayload ¶
func (o *GetCredentialsForbidden) WithPayload(payload *models.InfraError) *GetCredentialsForbidden
WithPayload adds the payload to the get credentials forbidden response
func (*GetCredentialsForbidden) WriteResponse ¶
func (o *GetCredentialsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCredentialsHandler ¶
type GetCredentialsHandler interface {
Handle(GetCredentialsParams, interface{}) middleware.Responder
}
GetCredentialsHandler interface for that can handle valid get credentials params
type GetCredentialsHandlerFunc ¶
type GetCredentialsHandlerFunc func(GetCredentialsParams, interface{}) middleware.Responder
GetCredentialsHandlerFunc turns a function with the right signature into a get credentials handler
func (GetCredentialsHandlerFunc) Handle ¶
func (fn GetCredentialsHandlerFunc) Handle(params GetCredentialsParams, principal interface{}) 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 GetCredentialsMethodNotAllowed ¶
type GetCredentialsMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetCredentialsMethodNotAllowed Method Not Allowed.
swagger:response getCredentialsMethodNotAllowed
func NewGetCredentialsMethodNotAllowed ¶
func NewGetCredentialsMethodNotAllowed() *GetCredentialsMethodNotAllowed
NewGetCredentialsMethodNotAllowed creates GetCredentialsMethodNotAllowed with default headers values
func (*GetCredentialsMethodNotAllowed) SetPayload ¶
func (o *GetCredentialsMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the get credentials method not allowed response
func (*GetCredentialsMethodNotAllowed) WithPayload ¶
func (o *GetCredentialsMethodNotAllowed) WithPayload(payload *models.Error) *GetCredentialsMethodNotAllowed
WithPayload adds the payload to the get credentials method not allowed response
func (*GetCredentialsMethodNotAllowed) WriteResponse ¶
func (o *GetCredentialsMethodNotAllowed) 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 GetCredentialsUnauthorized ¶
type GetCredentialsUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
GetCredentialsUnauthorized Unauthorized.
swagger:response getCredentialsUnauthorized
func NewGetCredentialsUnauthorized ¶
func NewGetCredentialsUnauthorized() *GetCredentialsUnauthorized
NewGetCredentialsUnauthorized creates GetCredentialsUnauthorized with default headers values
func (*GetCredentialsUnauthorized) SetPayload ¶
func (o *GetCredentialsUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get credentials unauthorized response
func (*GetCredentialsUnauthorized) WithPayload ¶
func (o *GetCredentialsUnauthorized) WithPayload(payload *models.InfraError) *GetCredentialsUnauthorized
WithPayload adds the payload to the get credentials unauthorized response
func (*GetCredentialsUnauthorized) WriteResponse ¶
func (o *GetCredentialsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFreeAddresses ¶
type GetFreeAddresses struct { Context *middleware.Context Handler GetFreeAddressesHandler }
GetFreeAddresses swagger:route GET /clusters/{cluster_id}/free_addresses installer getFreeAddresses
Retrieves the free address list for a network.
func NewGetFreeAddresses ¶
func NewGetFreeAddresses(ctx *middleware.Context, handler GetFreeAddressesHandler) *GetFreeAddresses
NewGetFreeAddresses creates a new http.Handler for the get free addresses operation
func (*GetFreeAddresses) ServeHTTP ¶
func (o *GetFreeAddresses) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetFreeAddressesForbidden ¶
type GetFreeAddressesForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
GetFreeAddressesForbidden Forbidden.
swagger:response getFreeAddressesForbidden
func NewGetFreeAddressesForbidden ¶
func NewGetFreeAddressesForbidden() *GetFreeAddressesForbidden
NewGetFreeAddressesForbidden creates GetFreeAddressesForbidden with default headers values
func (*GetFreeAddressesForbidden) SetPayload ¶
func (o *GetFreeAddressesForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get free addresses forbidden response
func (*GetFreeAddressesForbidden) WithPayload ¶
func (o *GetFreeAddressesForbidden) WithPayload(payload *models.InfraError) *GetFreeAddressesForbidden
WithPayload adds the payload to the get free addresses forbidden response
func (*GetFreeAddressesForbidden) WriteResponse ¶
func (o *GetFreeAddressesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFreeAddressesHandler ¶
type GetFreeAddressesHandler interface {
Handle(GetFreeAddressesParams, interface{}) middleware.Responder
}
GetFreeAddressesHandler interface for that can handle valid get free addresses params
type GetFreeAddressesHandlerFunc ¶
type GetFreeAddressesHandlerFunc func(GetFreeAddressesParams, interface{}) middleware.Responder
GetFreeAddressesHandlerFunc turns a function with the right signature into a get free addresses handler
func (GetFreeAddressesHandlerFunc) Handle ¶
func (fn GetFreeAddressesHandlerFunc) Handle(params GetFreeAddressesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetFreeAddressesInternalServerError ¶
type GetFreeAddressesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetFreeAddressesInternalServerError Error.
swagger:response getFreeAddressesInternalServerError
func NewGetFreeAddressesInternalServerError ¶
func NewGetFreeAddressesInternalServerError() *GetFreeAddressesInternalServerError
NewGetFreeAddressesInternalServerError creates GetFreeAddressesInternalServerError with default headers values
func (*GetFreeAddressesInternalServerError) SetPayload ¶
func (o *GetFreeAddressesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get free addresses internal server error response
func (*GetFreeAddressesInternalServerError) WithPayload ¶
func (o *GetFreeAddressesInternalServerError) WithPayload(payload *models.Error) *GetFreeAddressesInternalServerError
WithPayload adds the payload to the get free addresses internal server error response
func (*GetFreeAddressesInternalServerError) WriteResponse ¶
func (o *GetFreeAddressesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFreeAddressesMethodNotAllowed ¶
type GetFreeAddressesMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetFreeAddressesMethodNotAllowed Method Not Allowed.
swagger:response getFreeAddressesMethodNotAllowed
func NewGetFreeAddressesMethodNotAllowed ¶
func NewGetFreeAddressesMethodNotAllowed() *GetFreeAddressesMethodNotAllowed
NewGetFreeAddressesMethodNotAllowed creates GetFreeAddressesMethodNotAllowed with default headers values
func (*GetFreeAddressesMethodNotAllowed) SetPayload ¶
func (o *GetFreeAddressesMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the get free addresses method not allowed response
func (*GetFreeAddressesMethodNotAllowed) WithPayload ¶
func (o *GetFreeAddressesMethodNotAllowed) WithPayload(payload *models.Error) *GetFreeAddressesMethodNotAllowed
WithPayload adds the payload to the get free addresses method not allowed response
func (*GetFreeAddressesMethodNotAllowed) WriteResponse ¶
func (o *GetFreeAddressesMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFreeAddressesNotFound ¶
type GetFreeAddressesNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetFreeAddressesNotFound Error.
swagger:response getFreeAddressesNotFound
func NewGetFreeAddressesNotFound ¶
func NewGetFreeAddressesNotFound() *GetFreeAddressesNotFound
NewGetFreeAddressesNotFound creates GetFreeAddressesNotFound with default headers values
func (*GetFreeAddressesNotFound) SetPayload ¶
func (o *GetFreeAddressesNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get free addresses not found response
func (*GetFreeAddressesNotFound) WithPayload ¶
func (o *GetFreeAddressesNotFound) WithPayload(payload *models.Error) *GetFreeAddressesNotFound
WithPayload adds the payload to the get free addresses not found response
func (*GetFreeAddressesNotFound) WriteResponse ¶
func (o *GetFreeAddressesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFreeAddressesOK ¶
type GetFreeAddressesOK struct { /* In: Body */ Payload models.FreeAddressesList `json:"body,omitempty"` }
GetFreeAddressesOK Success
swagger:response getFreeAddressesOK
func NewGetFreeAddressesOK ¶
func NewGetFreeAddressesOK() *GetFreeAddressesOK
NewGetFreeAddressesOK creates GetFreeAddressesOK with default headers values
func (*GetFreeAddressesOK) SetPayload ¶
func (o *GetFreeAddressesOK) SetPayload(payload models.FreeAddressesList)
SetPayload sets the payload to the get free addresses o k response
func (*GetFreeAddressesOK) WithPayload ¶
func (o *GetFreeAddressesOK) WithPayload(payload models.FreeAddressesList) *GetFreeAddressesOK
WithPayload adds the payload to the get free addresses o k response
func (*GetFreeAddressesOK) WriteResponse ¶
func (o *GetFreeAddressesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetFreeAddressesParams ¶
type GetFreeAddressesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* Maximum: 8000 Minimum: 1 In: query Default: 8000 */ Limit *int64 /* Required: true Pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$ In: query */ Network string /* In: query */ Prefix *string }
GetFreeAddressesParams contains all the bound params for the get free addresses operation typically these are obtained from a http.Request
swagger:parameters GetFreeAddresses
func NewGetFreeAddressesParams ¶
func NewGetFreeAddressesParams() GetFreeAddressesParams
NewGetFreeAddressesParams creates a new GetFreeAddressesParams object with the default values initialized.
func (*GetFreeAddressesParams) BindRequest ¶
func (o *GetFreeAddressesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetFreeAddressesParams() beforehand.
type GetFreeAddressesURL ¶
type GetFreeAddressesURL struct { ClusterID strfmt.UUID Limit *int64 Network string Prefix *string // contains filtered or unexported fields }
GetFreeAddressesURL generates an URL for the get free addresses operation
func (*GetFreeAddressesURL) Build ¶
func (o *GetFreeAddressesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetFreeAddressesURL) BuildFull ¶
func (o *GetFreeAddressesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetFreeAddressesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetFreeAddressesURL) SetBasePath ¶
func (o *GetFreeAddressesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetFreeAddressesURL) String ¶
func (o *GetFreeAddressesURL) String() string
String returns the string representation of the path with query string
func (*GetFreeAddressesURL) StringFull ¶
func (o *GetFreeAddressesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetFreeAddressesURL) WithBasePath ¶
func (o *GetFreeAddressesURL) WithBasePath(bp string) *GetFreeAddressesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetFreeAddressesUnauthorized ¶
type GetFreeAddressesUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
GetFreeAddressesUnauthorized Unauthorized.
swagger:response getFreeAddressesUnauthorized
func NewGetFreeAddressesUnauthorized ¶
func NewGetFreeAddressesUnauthorized() *GetFreeAddressesUnauthorized
NewGetFreeAddressesUnauthorized creates GetFreeAddressesUnauthorized with default headers values
func (*GetFreeAddressesUnauthorized) SetPayload ¶
func (o *GetFreeAddressesUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get free addresses unauthorized response
func (*GetFreeAddressesUnauthorized) WithPayload ¶
func (o *GetFreeAddressesUnauthorized) WithPayload(payload *models.InfraError) *GetFreeAddressesUnauthorized
WithPayload adds the payload to the get free addresses unauthorized response
func (*GetFreeAddressesUnauthorized) WriteResponse ¶
func (o *GetFreeAddressesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 GetHostForbidden ¶
type GetHostForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
GetHostForbidden Forbidden.
swagger:response getHostForbidden
func NewGetHostForbidden ¶
func NewGetHostForbidden() *GetHostForbidden
NewGetHostForbidden creates GetHostForbidden with default headers values
func (*GetHostForbidden) SetPayload ¶
func (o *GetHostForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get host forbidden response
func (*GetHostForbidden) WithPayload ¶
func (o *GetHostForbidden) WithPayload(payload *models.InfraError) *GetHostForbidden
WithPayload adds the payload to the get host forbidden response
func (*GetHostForbidden) WriteResponse ¶
func (o *GetHostForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHostHandler ¶
type GetHostHandler interface {
Handle(GetHostParams, interface{}) middleware.Responder
}
GetHostHandler interface for that can handle valid get host params
type GetHostHandlerFunc ¶
type GetHostHandlerFunc func(GetHostParams, interface{}) middleware.Responder
GetHostHandlerFunc turns a function with the right signature into a get host handler
func (GetHostHandlerFunc) Handle ¶
func (fn GetHostHandlerFunc) Handle(params GetHostParams, principal interface{}) 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 GetHostMethodNotAllowed ¶
type GetHostMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetHostMethodNotAllowed Method Not Allowed.
swagger:response getHostMethodNotAllowed
func NewGetHostMethodNotAllowed ¶
func NewGetHostMethodNotAllowed() *GetHostMethodNotAllowed
NewGetHostMethodNotAllowed creates GetHostMethodNotAllowed with default headers values
func (*GetHostMethodNotAllowed) SetPayload ¶
func (o *GetHostMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the get host method not allowed response
func (*GetHostMethodNotAllowed) WithPayload ¶
func (o *GetHostMethodNotAllowed) WithPayload(payload *models.Error) *GetHostMethodNotAllowed
WithPayload adds the payload to the get host method not allowed response
func (*GetHostMethodNotAllowed) WriteResponse ¶
func (o *GetHostMethodNotAllowed) 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 GetHostRequirements ¶
type GetHostRequirements struct { Context *middleware.Context Handler GetHostRequirementsHandler }
GetHostRequirements swagger:route GET /host_requirements installer getHostRequirements
Get minimum host requirements
func NewGetHostRequirements ¶
func NewGetHostRequirements(ctx *middleware.Context, handler GetHostRequirementsHandler) *GetHostRequirements
NewGetHostRequirements creates a new http.Handler for the get host requirements operation
func (*GetHostRequirements) ServeHTTP ¶
func (o *GetHostRequirements) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetHostRequirementsForbidden ¶
type GetHostRequirementsForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetHostRequirementsForbidden Forbidden.
swagger:response getHostRequirementsForbidden
func NewGetHostRequirementsForbidden ¶
func NewGetHostRequirementsForbidden() *GetHostRequirementsForbidden
NewGetHostRequirementsForbidden creates GetHostRequirementsForbidden with default headers values
func (*GetHostRequirementsForbidden) SetPayload ¶
func (o *GetHostRequirementsForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the get host requirements forbidden response
func (*GetHostRequirementsForbidden) WithPayload ¶
func (o *GetHostRequirementsForbidden) WithPayload(payload *models.Error) *GetHostRequirementsForbidden
WithPayload adds the payload to the get host requirements forbidden response
func (*GetHostRequirementsForbidden) WriteResponse ¶
func (o *GetHostRequirementsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHostRequirementsHandler ¶
type GetHostRequirementsHandler interface {
Handle(GetHostRequirementsParams, interface{}) middleware.Responder
}
GetHostRequirementsHandler interface for that can handle valid get host requirements params
type GetHostRequirementsHandlerFunc ¶
type GetHostRequirementsHandlerFunc func(GetHostRequirementsParams, interface{}) middleware.Responder
GetHostRequirementsHandlerFunc turns a function with the right signature into a get host requirements handler
func (GetHostRequirementsHandlerFunc) Handle ¶
func (fn GetHostRequirementsHandlerFunc) Handle(params GetHostRequirementsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetHostRequirementsInternalServerError ¶
type GetHostRequirementsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetHostRequirementsInternalServerError Error.
swagger:response getHostRequirementsInternalServerError
func NewGetHostRequirementsInternalServerError ¶
func NewGetHostRequirementsInternalServerError() *GetHostRequirementsInternalServerError
NewGetHostRequirementsInternalServerError creates GetHostRequirementsInternalServerError with default headers values
func (*GetHostRequirementsInternalServerError) SetPayload ¶
func (o *GetHostRequirementsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get host requirements internal server error response
func (*GetHostRequirementsInternalServerError) WithPayload ¶
func (o *GetHostRequirementsInternalServerError) WithPayload(payload *models.Error) *GetHostRequirementsInternalServerError
WithPayload adds the payload to the get host requirements internal server error response
func (*GetHostRequirementsInternalServerError) WriteResponse ¶
func (o *GetHostRequirementsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHostRequirementsMethodNotAllowed ¶
type GetHostRequirementsMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetHostRequirementsMethodNotAllowed Method Not Allowed.
swagger:response getHostRequirementsMethodNotAllowed
func NewGetHostRequirementsMethodNotAllowed ¶
func NewGetHostRequirementsMethodNotAllowed() *GetHostRequirementsMethodNotAllowed
NewGetHostRequirementsMethodNotAllowed creates GetHostRequirementsMethodNotAllowed with default headers values
func (*GetHostRequirementsMethodNotAllowed) SetPayload ¶
func (o *GetHostRequirementsMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the get host requirements method not allowed response
func (*GetHostRequirementsMethodNotAllowed) WithPayload ¶
func (o *GetHostRequirementsMethodNotAllowed) WithPayload(payload *models.Error) *GetHostRequirementsMethodNotAllowed
WithPayload adds the payload to the get host requirements method not allowed response
func (*GetHostRequirementsMethodNotAllowed) WriteResponse ¶
func (o *GetHostRequirementsMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHostRequirementsOK ¶
type GetHostRequirementsOK struct { /* In: Body */ Payload *models.HostRequirements `json:"body,omitempty"` }
GetHostRequirementsOK Success.
swagger:response getHostRequirementsOK
func NewGetHostRequirementsOK ¶
func NewGetHostRequirementsOK() *GetHostRequirementsOK
NewGetHostRequirementsOK creates GetHostRequirementsOK with default headers values
func (*GetHostRequirementsOK) SetPayload ¶
func (o *GetHostRequirementsOK) SetPayload(payload *models.HostRequirements)
SetPayload sets the payload to the get host requirements o k response
func (*GetHostRequirementsOK) WithPayload ¶
func (o *GetHostRequirementsOK) WithPayload(payload *models.HostRequirements) *GetHostRequirementsOK
WithPayload adds the payload to the get host requirements o k response
func (*GetHostRequirementsOK) WriteResponse ¶
func (o *GetHostRequirementsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHostRequirementsParams ¶
type GetHostRequirementsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetHostRequirementsParams contains all the bound params for the get host requirements operation typically these are obtained from a http.Request
swagger:parameters GetHostRequirements
func NewGetHostRequirementsParams ¶
func NewGetHostRequirementsParams() GetHostRequirementsParams
NewGetHostRequirementsParams creates a new GetHostRequirementsParams object no default values defined in spec.
func (*GetHostRequirementsParams) BindRequest ¶
func (o *GetHostRequirementsParams) 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 NewGetHostRequirementsParams() beforehand.
type GetHostRequirementsURL ¶
type GetHostRequirementsURL struct {
// contains filtered or unexported fields
}
GetHostRequirementsURL generates an URL for the get host requirements operation
func (*GetHostRequirementsURL) Build ¶
func (o *GetHostRequirementsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetHostRequirementsURL) BuildFull ¶
func (o *GetHostRequirementsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetHostRequirementsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetHostRequirementsURL) SetBasePath ¶
func (o *GetHostRequirementsURL) 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 (*GetHostRequirementsURL) String ¶
func (o *GetHostRequirementsURL) String() string
String returns the string representation of the path with query string
func (*GetHostRequirementsURL) StringFull ¶
func (o *GetHostRequirementsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetHostRequirementsURL) WithBasePath ¶
func (o *GetHostRequirementsURL) WithBasePath(bp string) *GetHostRequirementsURL
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 GetHostRequirementsUnauthorized ¶
GetHostRequirementsUnauthorized Unauthorized.
swagger:response getHostRequirementsUnauthorized
func NewGetHostRequirementsUnauthorized ¶
func NewGetHostRequirementsUnauthorized() *GetHostRequirementsUnauthorized
NewGetHostRequirementsUnauthorized creates GetHostRequirementsUnauthorized with default headers values
func (*GetHostRequirementsUnauthorized) SetPayload ¶
func (o *GetHostRequirementsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get host requirements unauthorized response
func (*GetHostRequirementsUnauthorized) WithPayload ¶
func (o *GetHostRequirementsUnauthorized) WithPayload(payload *models.Error) *GetHostRequirementsUnauthorized
WithPayload adds the payload to the get host requirements unauthorized response
func (*GetHostRequirementsUnauthorized) WriteResponse ¶
func (o *GetHostRequirementsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 GetHostUnauthorized ¶
type GetHostUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
GetHostUnauthorized Unauthorized.
swagger:response getHostUnauthorized
func NewGetHostUnauthorized ¶
func NewGetHostUnauthorized() *GetHostUnauthorized
NewGetHostUnauthorized creates GetHostUnauthorized with default headers values
func (*GetHostUnauthorized) SetPayload ¶
func (o *GetHostUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get host unauthorized response
func (*GetHostUnauthorized) WithPayload ¶
func (o *GetHostUnauthorized) WithPayload(payload *models.InfraError) *GetHostUnauthorized
WithPayload adds the payload to the get host unauthorized response
func (*GetHostUnauthorized) WriteResponse ¶
func (o *GetHostUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 GetNextStepsForbidden ¶
type GetNextStepsForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
GetNextStepsForbidden Forbidden.
swagger:response getNextStepsForbidden
func NewGetNextStepsForbidden ¶
func NewGetNextStepsForbidden() *GetNextStepsForbidden
NewGetNextStepsForbidden creates GetNextStepsForbidden with default headers values
func (*GetNextStepsForbidden) SetPayload ¶
func (o *GetNextStepsForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get next steps forbidden response
func (*GetNextStepsForbidden) WithPayload ¶
func (o *GetNextStepsForbidden) WithPayload(payload *models.InfraError) *GetNextStepsForbidden
WithPayload adds the payload to the get next steps forbidden response
func (*GetNextStepsForbidden) WriteResponse ¶
func (o *GetNextStepsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNextStepsHandler ¶
type GetNextStepsHandler interface {
Handle(GetNextStepsParams, interface{}) middleware.Responder
}
GetNextStepsHandler interface for that can handle valid get next steps params
type GetNextStepsHandlerFunc ¶
type GetNextStepsHandlerFunc func(GetNextStepsParams, interface{}) 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, principal interface{}) 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 GetNextStepsMethodNotAllowed ¶
type GetNextStepsMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetNextStepsMethodNotAllowed Method Not Allowed.
swagger:response getNextStepsMethodNotAllowed
func NewGetNextStepsMethodNotAllowed ¶
func NewGetNextStepsMethodNotAllowed() *GetNextStepsMethodNotAllowed
NewGetNextStepsMethodNotAllowed creates GetNextStepsMethodNotAllowed with default headers values
func (*GetNextStepsMethodNotAllowed) SetPayload ¶
func (o *GetNextStepsMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the get next steps method not allowed response
func (*GetNextStepsMethodNotAllowed) WithPayload ¶
func (o *GetNextStepsMethodNotAllowed) WithPayload(payload *models.Error) *GetNextStepsMethodNotAllowed
WithPayload adds the payload to the get next steps method not allowed response
func (*GetNextStepsMethodNotAllowed) WriteResponse ¶
func (o *GetNextStepsMethodNotAllowed) 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 /* In: header */ DiscoveryAgentVersion *string /* 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 GetNextStepsUnauthorized ¶
type GetNextStepsUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
GetNextStepsUnauthorized Unauthorized.
swagger:response getNextStepsUnauthorized
func NewGetNextStepsUnauthorized ¶
func NewGetNextStepsUnauthorized() *GetNextStepsUnauthorized
NewGetNextStepsUnauthorized creates GetNextStepsUnauthorized with default headers values
func (*GetNextStepsUnauthorized) SetPayload ¶
func (o *GetNextStepsUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get next steps unauthorized response
func (*GetNextStepsUnauthorized) WithPayload ¶
func (o *GetNextStepsUnauthorized) WithPayload(payload *models.InfraError) *GetNextStepsUnauthorized
WithPayload adds the payload to the get next steps unauthorized response
func (*GetNextStepsUnauthorized) WriteResponse ¶
func (o *GetNextStepsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFiles ¶
type GetPresignedForClusterFiles struct { Context *middleware.Context Handler GetPresignedForClusterFilesHandler }
GetPresignedForClusterFiles swagger:route GET /clusters/{cluster_id}/downloads/files-presigned installer getPresignedForClusterFiles
Retrieves a presigned S3 URL for downloading cluster files.
func NewGetPresignedForClusterFiles ¶
func NewGetPresignedForClusterFiles(ctx *middleware.Context, handler GetPresignedForClusterFilesHandler) *GetPresignedForClusterFiles
NewGetPresignedForClusterFiles creates a new http.Handler for the get presigned for cluster files operation
func (*GetPresignedForClusterFiles) ServeHTTP ¶
func (o *GetPresignedForClusterFiles) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPresignedForClusterFilesBadRequest ¶
type GetPresignedForClusterFilesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetPresignedForClusterFilesBadRequest Error.
swagger:response getPresignedForClusterFilesBadRequest
func NewGetPresignedForClusterFilesBadRequest ¶
func NewGetPresignedForClusterFilesBadRequest() *GetPresignedForClusterFilesBadRequest
NewGetPresignedForClusterFilesBadRequest creates GetPresignedForClusterFilesBadRequest with default headers values
func (*GetPresignedForClusterFilesBadRequest) SetPayload ¶
func (o *GetPresignedForClusterFilesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get presigned for cluster files bad request response
func (*GetPresignedForClusterFilesBadRequest) WithPayload ¶
func (o *GetPresignedForClusterFilesBadRequest) WithPayload(payload *models.Error) *GetPresignedForClusterFilesBadRequest
WithPayload adds the payload to the get presigned for cluster files bad request response
func (*GetPresignedForClusterFilesBadRequest) WriteResponse ¶
func (o *GetPresignedForClusterFilesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFilesConflict ¶
type GetPresignedForClusterFilesConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetPresignedForClusterFilesConflict Error.
swagger:response getPresignedForClusterFilesConflict
func NewGetPresignedForClusterFilesConflict ¶
func NewGetPresignedForClusterFilesConflict() *GetPresignedForClusterFilesConflict
NewGetPresignedForClusterFilesConflict creates GetPresignedForClusterFilesConflict with default headers values
func (*GetPresignedForClusterFilesConflict) SetPayload ¶
func (o *GetPresignedForClusterFilesConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the get presigned for cluster files conflict response
func (*GetPresignedForClusterFilesConflict) WithPayload ¶
func (o *GetPresignedForClusterFilesConflict) WithPayload(payload *models.Error) *GetPresignedForClusterFilesConflict
WithPayload adds the payload to the get presigned for cluster files conflict response
func (*GetPresignedForClusterFilesConflict) WriteResponse ¶
func (o *GetPresignedForClusterFilesConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFilesForbidden ¶
type GetPresignedForClusterFilesForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
GetPresignedForClusterFilesForbidden Forbidden.
swagger:response getPresignedForClusterFilesForbidden
func NewGetPresignedForClusterFilesForbidden ¶
func NewGetPresignedForClusterFilesForbidden() *GetPresignedForClusterFilesForbidden
NewGetPresignedForClusterFilesForbidden creates GetPresignedForClusterFilesForbidden with default headers values
func (*GetPresignedForClusterFilesForbidden) SetPayload ¶
func (o *GetPresignedForClusterFilesForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get presigned for cluster files forbidden response
func (*GetPresignedForClusterFilesForbidden) WithPayload ¶
func (o *GetPresignedForClusterFilesForbidden) WithPayload(payload *models.InfraError) *GetPresignedForClusterFilesForbidden
WithPayload adds the payload to the get presigned for cluster files forbidden response
func (*GetPresignedForClusterFilesForbidden) WriteResponse ¶
func (o *GetPresignedForClusterFilesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFilesHandler ¶
type GetPresignedForClusterFilesHandler interface {
Handle(GetPresignedForClusterFilesParams, interface{}) middleware.Responder
}
GetPresignedForClusterFilesHandler interface for that can handle valid get presigned for cluster files params
type GetPresignedForClusterFilesHandlerFunc ¶
type GetPresignedForClusterFilesHandlerFunc func(GetPresignedForClusterFilesParams, interface{}) middleware.Responder
GetPresignedForClusterFilesHandlerFunc turns a function with the right signature into a get presigned for cluster files handler
func (GetPresignedForClusterFilesHandlerFunc) Handle ¶
func (fn GetPresignedForClusterFilesHandlerFunc) Handle(params GetPresignedForClusterFilesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetPresignedForClusterFilesInternalServerError ¶
type GetPresignedForClusterFilesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetPresignedForClusterFilesInternalServerError Error.
swagger:response getPresignedForClusterFilesInternalServerError
func NewGetPresignedForClusterFilesInternalServerError ¶
func NewGetPresignedForClusterFilesInternalServerError() *GetPresignedForClusterFilesInternalServerError
NewGetPresignedForClusterFilesInternalServerError creates GetPresignedForClusterFilesInternalServerError with default headers values
func (*GetPresignedForClusterFilesInternalServerError) SetPayload ¶
func (o *GetPresignedForClusterFilesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get presigned for cluster files internal server error response
func (*GetPresignedForClusterFilesInternalServerError) WithPayload ¶
func (o *GetPresignedForClusterFilesInternalServerError) WithPayload(payload *models.Error) *GetPresignedForClusterFilesInternalServerError
WithPayload adds the payload to the get presigned for cluster files internal server error response
func (*GetPresignedForClusterFilesInternalServerError) WriteResponse ¶
func (o *GetPresignedForClusterFilesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFilesMethodNotAllowed ¶
type GetPresignedForClusterFilesMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetPresignedForClusterFilesMethodNotAllowed Method Not Allowed.
swagger:response getPresignedForClusterFilesMethodNotAllowed
func NewGetPresignedForClusterFilesMethodNotAllowed ¶
func NewGetPresignedForClusterFilesMethodNotAllowed() *GetPresignedForClusterFilesMethodNotAllowed
NewGetPresignedForClusterFilesMethodNotAllowed creates GetPresignedForClusterFilesMethodNotAllowed with default headers values
func (*GetPresignedForClusterFilesMethodNotAllowed) SetPayload ¶
func (o *GetPresignedForClusterFilesMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the get presigned for cluster files method not allowed response
func (*GetPresignedForClusterFilesMethodNotAllowed) WithPayload ¶
func (o *GetPresignedForClusterFilesMethodNotAllowed) WithPayload(payload *models.Error) *GetPresignedForClusterFilesMethodNotAllowed
WithPayload adds the payload to the get presigned for cluster files method not allowed response
func (*GetPresignedForClusterFilesMethodNotAllowed) WriteResponse ¶
func (o *GetPresignedForClusterFilesMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFilesNotFound ¶
type GetPresignedForClusterFilesNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetPresignedForClusterFilesNotFound Error.
swagger:response getPresignedForClusterFilesNotFound
func NewGetPresignedForClusterFilesNotFound ¶
func NewGetPresignedForClusterFilesNotFound() *GetPresignedForClusterFilesNotFound
NewGetPresignedForClusterFilesNotFound creates GetPresignedForClusterFilesNotFound with default headers values
func (*GetPresignedForClusterFilesNotFound) SetPayload ¶
func (o *GetPresignedForClusterFilesNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get presigned for cluster files not found response
func (*GetPresignedForClusterFilesNotFound) WithPayload ¶
func (o *GetPresignedForClusterFilesNotFound) WithPayload(payload *models.Error) *GetPresignedForClusterFilesNotFound
WithPayload adds the payload to the get presigned for cluster files not found response
func (*GetPresignedForClusterFilesNotFound) WriteResponse ¶
func (o *GetPresignedForClusterFilesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFilesOK ¶
type GetPresignedForClusterFilesOK struct { /* In: Body */ Payload *models.Presigned `json:"body,omitempty"` }
GetPresignedForClusterFilesOK Success.
swagger:response getPresignedForClusterFilesOK
func NewGetPresignedForClusterFilesOK ¶
func NewGetPresignedForClusterFilesOK() *GetPresignedForClusterFilesOK
NewGetPresignedForClusterFilesOK creates GetPresignedForClusterFilesOK with default headers values
func (*GetPresignedForClusterFilesOK) SetPayload ¶
func (o *GetPresignedForClusterFilesOK) SetPayload(payload *models.Presigned)
SetPayload sets the payload to the get presigned for cluster files o k response
func (*GetPresignedForClusterFilesOK) WithPayload ¶
func (o *GetPresignedForClusterFilesOK) WithPayload(payload *models.Presigned) *GetPresignedForClusterFilesOK
WithPayload adds the payload to the get presigned for cluster files o k response
func (*GetPresignedForClusterFilesOK) WriteResponse ¶
func (o *GetPresignedForClusterFilesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPresignedForClusterFilesParams ¶
type GetPresignedForClusterFilesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* Required: true In: query */ FileName string /* In: query */ HostID *strfmt.UUID }
GetPresignedForClusterFilesParams contains all the bound params for the get presigned for cluster files operation typically these are obtained from a http.Request
swagger:parameters GetPresignedForClusterFiles
func NewGetPresignedForClusterFilesParams ¶
func NewGetPresignedForClusterFilesParams() GetPresignedForClusterFilesParams
NewGetPresignedForClusterFilesParams creates a new GetPresignedForClusterFilesParams object no default values defined in spec.
func (*GetPresignedForClusterFilesParams) BindRequest ¶
func (o *GetPresignedForClusterFilesParams) 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 NewGetPresignedForClusterFilesParams() beforehand.
type GetPresignedForClusterFilesURL ¶
type GetPresignedForClusterFilesURL struct { ClusterID strfmt.UUID FileName string HostID *strfmt.UUID // contains filtered or unexported fields }
GetPresignedForClusterFilesURL generates an URL for the get presigned for cluster files operation
func (*GetPresignedForClusterFilesURL) Build ¶
func (o *GetPresignedForClusterFilesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPresignedForClusterFilesURL) BuildFull ¶
func (o *GetPresignedForClusterFilesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPresignedForClusterFilesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPresignedForClusterFilesURL) SetBasePath ¶
func (o *GetPresignedForClusterFilesURL) 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 (*GetPresignedForClusterFilesURL) String ¶
func (o *GetPresignedForClusterFilesURL) String() string
String returns the string representation of the path with query string
func (*GetPresignedForClusterFilesURL) StringFull ¶
func (o *GetPresignedForClusterFilesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPresignedForClusterFilesURL) WithBasePath ¶
func (o *GetPresignedForClusterFilesURL) WithBasePath(bp string) *GetPresignedForClusterFilesURL
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 GetPresignedForClusterFilesUnauthorized ¶
type GetPresignedForClusterFilesUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
GetPresignedForClusterFilesUnauthorized Unauthorized.
swagger:response getPresignedForClusterFilesUnauthorized
func NewGetPresignedForClusterFilesUnauthorized ¶
func NewGetPresignedForClusterFilesUnauthorized() *GetPresignedForClusterFilesUnauthorized
NewGetPresignedForClusterFilesUnauthorized creates GetPresignedForClusterFilesUnauthorized with default headers values
func (*GetPresignedForClusterFilesUnauthorized) SetPayload ¶
func (o *GetPresignedForClusterFilesUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the get presigned for cluster files unauthorized response
func (*GetPresignedForClusterFilesUnauthorized) WithPayload ¶
func (o *GetPresignedForClusterFilesUnauthorized) WithPayload(payload *models.InfraError) *GetPresignedForClusterFilesUnauthorized
WithPayload adds the payload to the get presigned for cluster files unauthorized response
func (*GetPresignedForClusterFilesUnauthorized) WriteResponse ¶
func (o *GetPresignedForClusterFilesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 InstallClusterForbidden ¶
type InstallClusterForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
InstallClusterForbidden Forbidden.
swagger:response installClusterForbidden
func NewInstallClusterForbidden ¶
func NewInstallClusterForbidden() *InstallClusterForbidden
NewInstallClusterForbidden creates InstallClusterForbidden with default headers values
func (*InstallClusterForbidden) SetPayload ¶
func (o *InstallClusterForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the install cluster forbidden response
func (*InstallClusterForbidden) WithPayload ¶
func (o *InstallClusterForbidden) WithPayload(payload *models.InfraError) *InstallClusterForbidden
WithPayload adds the payload to the install cluster forbidden response
func (*InstallClusterForbidden) WriteResponse ¶
func (o *InstallClusterForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type InstallClusterHandler ¶
type InstallClusterHandler interface {
Handle(InstallClusterParams, interface{}) middleware.Responder
}
InstallClusterHandler interface for that can handle valid install cluster params
type InstallClusterHandlerFunc ¶
type InstallClusterHandlerFunc func(InstallClusterParams, interface{}) middleware.Responder
InstallClusterHandlerFunc turns a function with the right signature into a install cluster handler
func (InstallClusterHandlerFunc) Handle ¶
func (fn InstallClusterHandlerFunc) Handle(params InstallClusterParams, principal interface{}) 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 InstallClusterMethodNotAllowed ¶
type InstallClusterMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
InstallClusterMethodNotAllowed Method Not Allowed.
swagger:response installClusterMethodNotAllowed
func NewInstallClusterMethodNotAllowed ¶
func NewInstallClusterMethodNotAllowed() *InstallClusterMethodNotAllowed
NewInstallClusterMethodNotAllowed creates InstallClusterMethodNotAllowed with default headers values
func (*InstallClusterMethodNotAllowed) SetPayload ¶
func (o *InstallClusterMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the install cluster method not allowed response
func (*InstallClusterMethodNotAllowed) WithPayload ¶
func (o *InstallClusterMethodNotAllowed) WithPayload(payload *models.Error) *InstallClusterMethodNotAllowed
WithPayload adds the payload to the install cluster method not allowed response
func (*InstallClusterMethodNotAllowed) WriteResponse ¶
func (o *InstallClusterMethodNotAllowed) 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 InstallClusterUnauthorized ¶
type InstallClusterUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
InstallClusterUnauthorized Unauthorized.
swagger:response installClusterUnauthorized
func NewInstallClusterUnauthorized ¶
func NewInstallClusterUnauthorized() *InstallClusterUnauthorized
NewInstallClusterUnauthorized creates InstallClusterUnauthorized with default headers values
func (*InstallClusterUnauthorized) SetPayload ¶
func (o *InstallClusterUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the install cluster unauthorized response
func (*InstallClusterUnauthorized) WithPayload ¶
func (o *InstallClusterUnauthorized) WithPayload(payload *models.InfraError) *InstallClusterUnauthorized
WithPayload adds the payload to the install cluster unauthorized response
func (*InstallClusterUnauthorized) WriteResponse ¶
func (o *InstallClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 ListClustersForbidden ¶
type ListClustersForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
ListClustersForbidden Forbidden.
swagger:response listClustersForbidden
func NewListClustersForbidden ¶
func NewListClustersForbidden() *ListClustersForbidden
NewListClustersForbidden creates ListClustersForbidden with default headers values
func (*ListClustersForbidden) SetPayload ¶
func (o *ListClustersForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the list clusters forbidden response
func (*ListClustersForbidden) WithPayload ¶
func (o *ListClustersForbidden) WithPayload(payload *models.InfraError) *ListClustersForbidden
WithPayload adds the payload to the list clusters forbidden response
func (*ListClustersForbidden) WriteResponse ¶
func (o *ListClustersForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListClustersHandler ¶
type ListClustersHandler interface {
Handle(ListClustersParams, interface{}) middleware.Responder
}
ListClustersHandler interface for that can handle valid list clusters params
type ListClustersHandlerFunc ¶
type ListClustersHandlerFunc func(ListClustersParams, interface{}) middleware.Responder
ListClustersHandlerFunc turns a function with the right signature into a list clusters handler
func (ListClustersHandlerFunc) Handle ¶
func (fn ListClustersHandlerFunc) Handle(params ListClustersParams, principal interface{}) 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 ListClustersMethodNotAllowed ¶
type ListClustersMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListClustersMethodNotAllowed Method Not Allowed.
swagger:response listClustersMethodNotAllowed
func NewListClustersMethodNotAllowed ¶
func NewListClustersMethodNotAllowed() *ListClustersMethodNotAllowed
NewListClustersMethodNotAllowed creates ListClustersMethodNotAllowed with default headers values
func (*ListClustersMethodNotAllowed) SetPayload ¶
func (o *ListClustersMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the list clusters method not allowed response
func (*ListClustersMethodNotAllowed) WithPayload ¶
func (o *ListClustersMethodNotAllowed) WithPayload(payload *models.Error) *ListClustersMethodNotAllowed
WithPayload adds the payload to the list clusters method not allowed response
func (*ListClustersMethodNotAllowed) WriteResponse ¶
func (o *ListClustersMethodNotAllowed) 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 ListClustersUnauthorized ¶
type ListClustersUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
ListClustersUnauthorized Unauthorized.
swagger:response listClustersUnauthorized
func NewListClustersUnauthorized ¶
func NewListClustersUnauthorized() *ListClustersUnauthorized
NewListClustersUnauthorized creates ListClustersUnauthorized with default headers values
func (*ListClustersUnauthorized) SetPayload ¶
func (o *ListClustersUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the list clusters unauthorized response
func (*ListClustersUnauthorized) WithPayload ¶
func (o *ListClustersUnauthorized) WithPayload(payload *models.InfraError) *ListClustersUnauthorized
WithPayload adds the payload to the list clusters unauthorized response
func (*ListClustersUnauthorized) WriteResponse ¶
func (o *ListClustersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 ListHostsForbidden ¶
type ListHostsForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
ListHostsForbidden Forbidden.
swagger:response listHostsForbidden
func NewListHostsForbidden ¶
func NewListHostsForbidden() *ListHostsForbidden
NewListHostsForbidden creates ListHostsForbidden with default headers values
func (*ListHostsForbidden) SetPayload ¶
func (o *ListHostsForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the list hosts forbidden response
func (*ListHostsForbidden) WithPayload ¶
func (o *ListHostsForbidden) WithPayload(payload *models.InfraError) *ListHostsForbidden
WithPayload adds the payload to the list hosts forbidden response
func (*ListHostsForbidden) WriteResponse ¶
func (o *ListHostsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListHostsHandler ¶
type ListHostsHandler interface {
Handle(ListHostsParams, interface{}) middleware.Responder
}
ListHostsHandler interface for that can handle valid list hosts params
type ListHostsHandlerFunc ¶
type ListHostsHandlerFunc func(ListHostsParams, interface{}) middleware.Responder
ListHostsHandlerFunc turns a function with the right signature into a list hosts handler
func (ListHostsHandlerFunc) Handle ¶
func (fn ListHostsHandlerFunc) Handle(params ListHostsParams, principal interface{}) 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 ListHostsMethodNotAllowed ¶
type ListHostsMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListHostsMethodNotAllowed Method Not Allowed.
swagger:response listHostsMethodNotAllowed
func NewListHostsMethodNotAllowed ¶
func NewListHostsMethodNotAllowed() *ListHostsMethodNotAllowed
NewListHostsMethodNotAllowed creates ListHostsMethodNotAllowed with default headers values
func (*ListHostsMethodNotAllowed) SetPayload ¶
func (o *ListHostsMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the list hosts method not allowed response
func (*ListHostsMethodNotAllowed) WithPayload ¶
func (o *ListHostsMethodNotAllowed) WithPayload(payload *models.Error) *ListHostsMethodNotAllowed
WithPayload adds the payload to the list hosts method not allowed response
func (*ListHostsMethodNotAllowed) WriteResponse ¶
func (o *ListHostsMethodNotAllowed) 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 /* In: header */ DiscoveryAgentVersion *string }
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 ListHostsUnauthorized ¶
type ListHostsUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
ListHostsUnauthorized Unauthorized.
swagger:response listHostsUnauthorized
func NewListHostsUnauthorized ¶
func NewListHostsUnauthorized() *ListHostsUnauthorized
NewListHostsUnauthorized creates ListHostsUnauthorized with default headers values
func (*ListHostsUnauthorized) SetPayload ¶
func (o *ListHostsUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the list hosts unauthorized response
func (*ListHostsUnauthorized) WithPayload ¶
func (o *ListHostsUnauthorized) WithPayload(payload *models.InfraError) *ListHostsUnauthorized
WithPayload adds the payload to the list hosts unauthorized response
func (*ListHostsUnauthorized) WriteResponse ¶
func (o *ListHostsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 PostStepReplyForbidden ¶
type PostStepReplyForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
PostStepReplyForbidden Forbidden.
swagger:response postStepReplyForbidden
func NewPostStepReplyForbidden ¶
func NewPostStepReplyForbidden() *PostStepReplyForbidden
NewPostStepReplyForbidden creates PostStepReplyForbidden with default headers values
func (*PostStepReplyForbidden) SetPayload ¶
func (o *PostStepReplyForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the post step reply forbidden response
func (*PostStepReplyForbidden) WithPayload ¶
func (o *PostStepReplyForbidden) WithPayload(payload *models.InfraError) *PostStepReplyForbidden
WithPayload adds the payload to the post step reply forbidden response
func (*PostStepReplyForbidden) WriteResponse ¶
func (o *PostStepReplyForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostStepReplyHandler ¶
type PostStepReplyHandler interface {
Handle(PostStepReplyParams, interface{}) middleware.Responder
}
PostStepReplyHandler interface for that can handle valid post step reply params
type PostStepReplyHandlerFunc ¶
type PostStepReplyHandlerFunc func(PostStepReplyParams, interface{}) 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, principal interface{}) 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 PostStepReplyMethodNotAllowed ¶
type PostStepReplyMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PostStepReplyMethodNotAllowed Method Not Allowed.
swagger:response postStepReplyMethodNotAllowed
func NewPostStepReplyMethodNotAllowed ¶
func NewPostStepReplyMethodNotAllowed() *PostStepReplyMethodNotAllowed
NewPostStepReplyMethodNotAllowed creates PostStepReplyMethodNotAllowed with default headers values
func (*PostStepReplyMethodNotAllowed) SetPayload ¶
func (o *PostStepReplyMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the post step reply method not allowed response
func (*PostStepReplyMethodNotAllowed) WithPayload ¶
func (o *PostStepReplyMethodNotAllowed) WithPayload(payload *models.Error) *PostStepReplyMethodNotAllowed
WithPayload adds the payload to the post step reply method not allowed response
func (*PostStepReplyMethodNotAllowed) WriteResponse ¶
func (o *PostStepReplyMethodNotAllowed) 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 /* In: header */ DiscoveryAgentVersion *string /* 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 PostStepReplyUnauthorized ¶
type PostStepReplyUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
PostStepReplyUnauthorized Unauthorized.
swagger:response postStepReplyUnauthorized
func NewPostStepReplyUnauthorized ¶
func NewPostStepReplyUnauthorized() *PostStepReplyUnauthorized
NewPostStepReplyUnauthorized creates PostStepReplyUnauthorized with default headers values
func (*PostStepReplyUnauthorized) SetPayload ¶
func (o *PostStepReplyUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the post step reply unauthorized response
func (*PostStepReplyUnauthorized) WithPayload ¶
func (o *PostStepReplyUnauthorized) WithPayload(payload *models.InfraError) *PostStepReplyUnauthorized
WithPayload adds the payload to the post step reply unauthorized response
func (*PostStepReplyUnauthorized) WriteResponse ¶
func (o *PostStepReplyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 RegisterClusterForbidden ¶
type RegisterClusterForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
RegisterClusterForbidden Forbidden.
swagger:response registerClusterForbidden
func NewRegisterClusterForbidden ¶
func NewRegisterClusterForbidden() *RegisterClusterForbidden
NewRegisterClusterForbidden creates RegisterClusterForbidden with default headers values
func (*RegisterClusterForbidden) SetPayload ¶
func (o *RegisterClusterForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the register cluster forbidden response
func (*RegisterClusterForbidden) WithPayload ¶
func (o *RegisterClusterForbidden) WithPayload(payload *models.InfraError) *RegisterClusterForbidden
WithPayload adds the payload to the register cluster forbidden response
func (*RegisterClusterForbidden) WriteResponse ¶
func (o *RegisterClusterForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegisterClusterHandler ¶
type RegisterClusterHandler interface {
Handle(RegisterClusterParams, interface{}) middleware.Responder
}
RegisterClusterHandler interface for that can handle valid register cluster params
type RegisterClusterHandlerFunc ¶
type RegisterClusterHandlerFunc func(RegisterClusterParams, interface{}) middleware.Responder
RegisterClusterHandlerFunc turns a function with the right signature into a register cluster handler
func (RegisterClusterHandlerFunc) Handle ¶
func (fn RegisterClusterHandlerFunc) Handle(params RegisterClusterParams, principal interface{}) 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 RegisterClusterMethodNotAllowed ¶
type RegisterClusterMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
RegisterClusterMethodNotAllowed Method Not Allowed.
swagger:response registerClusterMethodNotAllowed
func NewRegisterClusterMethodNotAllowed ¶
func NewRegisterClusterMethodNotAllowed() *RegisterClusterMethodNotAllowed
NewRegisterClusterMethodNotAllowed creates RegisterClusterMethodNotAllowed with default headers values
func (*RegisterClusterMethodNotAllowed) SetPayload ¶
func (o *RegisterClusterMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the register cluster method not allowed response
func (*RegisterClusterMethodNotAllowed) WithPayload ¶
func (o *RegisterClusterMethodNotAllowed) WithPayload(payload *models.Error) *RegisterClusterMethodNotAllowed
WithPayload adds the payload to the register cluster method not allowed response
func (*RegisterClusterMethodNotAllowed) WriteResponse ¶
func (o *RegisterClusterMethodNotAllowed) 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 RegisterClusterUnauthorized ¶
type RegisterClusterUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
RegisterClusterUnauthorized Unauthorized.
swagger:response registerClusterUnauthorized
func NewRegisterClusterUnauthorized ¶
func NewRegisterClusterUnauthorized() *RegisterClusterUnauthorized
NewRegisterClusterUnauthorized creates RegisterClusterUnauthorized with default headers values
func (*RegisterClusterUnauthorized) SetPayload ¶
func (o *RegisterClusterUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the register cluster unauthorized response
func (*RegisterClusterUnauthorized) WithPayload ¶
func (o *RegisterClusterUnauthorized) WithPayload(payload *models.InfraError) *RegisterClusterUnauthorized
WithPayload adds the payload to the register cluster unauthorized response
func (*RegisterClusterUnauthorized) WriteResponse ¶
func (o *RegisterClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 ¶
type RegisterHostForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
RegisterHostForbidden Forbidden.
swagger:response registerHostForbidden
func NewRegisterHostForbidden ¶
func NewRegisterHostForbidden() *RegisterHostForbidden
NewRegisterHostForbidden creates RegisterHostForbidden with default headers values
func (*RegisterHostForbidden) SetPayload ¶
func (o *RegisterHostForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the register host forbidden response
func (*RegisterHostForbidden) WithPayload ¶
func (o *RegisterHostForbidden) WithPayload(payload *models.InfraError) *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, interface{}) middleware.Responder
}
RegisterHostHandler interface for that can handle valid register host params
type RegisterHostHandlerFunc ¶
type RegisterHostHandlerFunc func(RegisterHostParams, interface{}) middleware.Responder
RegisterHostHandlerFunc turns a function with the right signature into a register host handler
func (RegisterHostHandlerFunc) Handle ¶
func (fn RegisterHostHandlerFunc) Handle(params RegisterHostParams, principal interface{}) 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 RegisterHostMethodNotAllowed ¶
type RegisterHostMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
RegisterHostMethodNotAllowed Method Not Allowed.
swagger:response registerHostMethodNotAllowed
func NewRegisterHostMethodNotAllowed ¶
func NewRegisterHostMethodNotAllowed() *RegisterHostMethodNotAllowed
NewRegisterHostMethodNotAllowed creates RegisterHostMethodNotAllowed with default headers values
func (*RegisterHostMethodNotAllowed) SetPayload ¶
func (o *RegisterHostMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the register host method not allowed response
func (*RegisterHostMethodNotAllowed) WithPayload ¶
func (o *RegisterHostMethodNotAllowed) WithPayload(payload *models.Error) *RegisterHostMethodNotAllowed
WithPayload adds the payload to the register host method not allowed response
func (*RegisterHostMethodNotAllowed) WriteResponse ¶
func (o *RegisterHostMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegisterHostNotFound ¶
RegisterHostNotFound Error.
swagger:response registerHostNotFound
func NewRegisterHostNotFound ¶
func NewRegisterHostNotFound() *RegisterHostNotFound
NewRegisterHostNotFound creates RegisterHostNotFound with default headers values
func (*RegisterHostNotFound) SetPayload ¶
func (o *RegisterHostNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the register host not found response
func (*RegisterHostNotFound) WithPayload ¶
func (o *RegisterHostNotFound) WithPayload(payload *models.Error) *RegisterHostNotFound
WithPayload adds the payload to the register host not found response
func (*RegisterHostNotFound) WriteResponse ¶
func (o *RegisterHostNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RegisterHostParams ¶
type RegisterHostParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* In: header */ DiscoveryAgentVersion *string /* 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 RegisterHostUnauthorized ¶
type RegisterHostUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
RegisterHostUnauthorized Unauthorized.
swagger:response registerHostUnauthorized
func NewRegisterHostUnauthorized ¶
func NewRegisterHostUnauthorized() *RegisterHostUnauthorized
NewRegisterHostUnauthorized creates RegisterHostUnauthorized with default headers values
func (*RegisterHostUnauthorized) SetPayload ¶
func (o *RegisterHostUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the register host unauthorized response
func (*RegisterHostUnauthorized) WithPayload ¶
func (o *RegisterHostUnauthorized) WithPayload(payload *models.InfraError) *RegisterHostUnauthorized
WithPayload adds the payload to the register host unauthorized response
func (*RegisterHostUnauthorized) WriteResponse ¶
func (o *RegisterHostUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetCluster ¶
type ResetCluster struct { Context *middleware.Context Handler ResetClusterHandler }
ResetCluster swagger:route POST /clusters/{cluster_id}/actions/reset installer resetCluster
Resets a failed installation.
func NewResetCluster ¶
func NewResetCluster(ctx *middleware.Context, handler ResetClusterHandler) *ResetCluster
NewResetCluster creates a new http.Handler for the reset cluster operation
func (*ResetCluster) ServeHTTP ¶
func (o *ResetCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ResetClusterAccepted ¶
ResetClusterAccepted Success.
swagger:response resetClusterAccepted
func NewResetClusterAccepted ¶
func NewResetClusterAccepted() *ResetClusterAccepted
NewResetClusterAccepted creates ResetClusterAccepted with default headers values
func (*ResetClusterAccepted) SetPayload ¶
func (o *ResetClusterAccepted) SetPayload(payload *models.Cluster)
SetPayload sets the payload to the reset cluster accepted response
func (*ResetClusterAccepted) WithPayload ¶
func (o *ResetClusterAccepted) WithPayload(payload *models.Cluster) *ResetClusterAccepted
WithPayload adds the payload to the reset cluster accepted response
func (*ResetClusterAccepted) WriteResponse ¶
func (o *ResetClusterAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetClusterConflict ¶
ResetClusterConflict Error.
swagger:response resetClusterConflict
func NewResetClusterConflict ¶
func NewResetClusterConflict() *ResetClusterConflict
NewResetClusterConflict creates ResetClusterConflict with default headers values
func (*ResetClusterConflict) SetPayload ¶
func (o *ResetClusterConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the reset cluster conflict response
func (*ResetClusterConflict) WithPayload ¶
func (o *ResetClusterConflict) WithPayload(payload *models.Error) *ResetClusterConflict
WithPayload adds the payload to the reset cluster conflict response
func (*ResetClusterConflict) WriteResponse ¶
func (o *ResetClusterConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetClusterForbidden ¶
type ResetClusterForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
ResetClusterForbidden Forbidden.
swagger:response resetClusterForbidden
func NewResetClusterForbidden ¶
func NewResetClusterForbidden() *ResetClusterForbidden
NewResetClusterForbidden creates ResetClusterForbidden with default headers values
func (*ResetClusterForbidden) SetPayload ¶
func (o *ResetClusterForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the reset cluster forbidden response
func (*ResetClusterForbidden) WithPayload ¶
func (o *ResetClusterForbidden) WithPayload(payload *models.InfraError) *ResetClusterForbidden
WithPayload adds the payload to the reset cluster forbidden response
func (*ResetClusterForbidden) WriteResponse ¶
func (o *ResetClusterForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetClusterHandler ¶
type ResetClusterHandler interface {
Handle(ResetClusterParams, interface{}) middleware.Responder
}
ResetClusterHandler interface for that can handle valid reset cluster params
type ResetClusterHandlerFunc ¶
type ResetClusterHandlerFunc func(ResetClusterParams, interface{}) middleware.Responder
ResetClusterHandlerFunc turns a function with the right signature into a reset cluster handler
func (ResetClusterHandlerFunc) Handle ¶
func (fn ResetClusterHandlerFunc) Handle(params ResetClusterParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ResetClusterInternalServerError ¶
type ResetClusterInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ResetClusterInternalServerError Error.
swagger:response resetClusterInternalServerError
func NewResetClusterInternalServerError ¶
func NewResetClusterInternalServerError() *ResetClusterInternalServerError
NewResetClusterInternalServerError creates ResetClusterInternalServerError with default headers values
func (*ResetClusterInternalServerError) SetPayload ¶
func (o *ResetClusterInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the reset cluster internal server error response
func (*ResetClusterInternalServerError) WithPayload ¶
func (o *ResetClusterInternalServerError) WithPayload(payload *models.Error) *ResetClusterInternalServerError
WithPayload adds the payload to the reset cluster internal server error response
func (*ResetClusterInternalServerError) WriteResponse ¶
func (o *ResetClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetClusterMethodNotAllowed ¶
type ResetClusterMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ResetClusterMethodNotAllowed Method Not Allowed.
swagger:response resetClusterMethodNotAllowed
func NewResetClusterMethodNotAllowed ¶
func NewResetClusterMethodNotAllowed() *ResetClusterMethodNotAllowed
NewResetClusterMethodNotAllowed creates ResetClusterMethodNotAllowed with default headers values
func (*ResetClusterMethodNotAllowed) SetPayload ¶
func (o *ResetClusterMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the reset cluster method not allowed response
func (*ResetClusterMethodNotAllowed) WithPayload ¶
func (o *ResetClusterMethodNotAllowed) WithPayload(payload *models.Error) *ResetClusterMethodNotAllowed
WithPayload adds the payload to the reset cluster method not allowed response
func (*ResetClusterMethodNotAllowed) WriteResponse ¶
func (o *ResetClusterMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetClusterNotFound ¶
ResetClusterNotFound Error.
swagger:response resetClusterNotFound
func NewResetClusterNotFound ¶
func NewResetClusterNotFound() *ResetClusterNotFound
NewResetClusterNotFound creates ResetClusterNotFound with default headers values
func (*ResetClusterNotFound) SetPayload ¶
func (o *ResetClusterNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the reset cluster not found response
func (*ResetClusterNotFound) WithPayload ¶
func (o *ResetClusterNotFound) WithPayload(payload *models.Error) *ResetClusterNotFound
WithPayload adds the payload to the reset cluster not found response
func (*ResetClusterNotFound) WriteResponse ¶
func (o *ResetClusterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetClusterParams ¶
type ResetClusterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID }
ResetClusterParams contains all the bound params for the reset cluster operation typically these are obtained from a http.Request
swagger:parameters ResetCluster
func NewResetClusterParams ¶
func NewResetClusterParams() ResetClusterParams
NewResetClusterParams creates a new ResetClusterParams object no default values defined in spec.
func (*ResetClusterParams) BindRequest ¶
func (o *ResetClusterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewResetClusterParams() beforehand.
type ResetClusterURL ¶
ResetClusterURL generates an URL for the reset cluster operation
func (*ResetClusterURL) Build ¶
func (o *ResetClusterURL) Build() (*url.URL, error)
Build a url path and query string
func (*ResetClusterURL) BuildFull ¶
func (o *ResetClusterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ResetClusterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ResetClusterURL) SetBasePath ¶
func (o *ResetClusterURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ResetClusterURL) String ¶
func (o *ResetClusterURL) String() string
String returns the string representation of the path with query string
func (*ResetClusterURL) StringFull ¶
func (o *ResetClusterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ResetClusterURL) WithBasePath ¶
func (o *ResetClusterURL) WithBasePath(bp string) *ResetClusterURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ResetClusterUnauthorized ¶
type ResetClusterUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
ResetClusterUnauthorized Unauthorized.
swagger:response resetClusterUnauthorized
func NewResetClusterUnauthorized ¶
func NewResetClusterUnauthorized() *ResetClusterUnauthorized
NewResetClusterUnauthorized creates ResetClusterUnauthorized with default headers values
func (*ResetClusterUnauthorized) SetPayload ¶
func (o *ResetClusterUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the reset cluster unauthorized response
func (*ResetClusterUnauthorized) WithPayload ¶
func (o *ResetClusterUnauthorized) WithPayload(payload *models.InfraError) *ResetClusterUnauthorized
WithPayload adds the payload to the reset cluster unauthorized response
func (*ResetClusterUnauthorized) WriteResponse ¶
func (o *ResetClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 UpdateClusterForbidden ¶
type UpdateClusterForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
UpdateClusterForbidden Forbidden.
swagger:response updateClusterForbidden
func NewUpdateClusterForbidden ¶
func NewUpdateClusterForbidden() *UpdateClusterForbidden
NewUpdateClusterForbidden creates UpdateClusterForbidden with default headers values
func (*UpdateClusterForbidden) SetPayload ¶
func (o *UpdateClusterForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the update cluster forbidden response
func (*UpdateClusterForbidden) WithPayload ¶
func (o *UpdateClusterForbidden) WithPayload(payload *models.InfraError) *UpdateClusterForbidden
WithPayload adds the payload to the update cluster forbidden response
func (*UpdateClusterForbidden) WriteResponse ¶
func (o *UpdateClusterForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClusterHandler ¶
type UpdateClusterHandler interface {
Handle(UpdateClusterParams, interface{}) middleware.Responder
}
UpdateClusterHandler interface for that can handle valid update cluster params
type UpdateClusterHandlerFunc ¶
type UpdateClusterHandlerFunc func(UpdateClusterParams, interface{}) middleware.Responder
UpdateClusterHandlerFunc turns a function with the right signature into a update cluster handler
func (UpdateClusterHandlerFunc) Handle ¶
func (fn UpdateClusterHandlerFunc) Handle(params UpdateClusterParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateClusterInstallConfig ¶
type UpdateClusterInstallConfig struct { Context *middleware.Context Handler UpdateClusterInstallConfigHandler }
UpdateClusterInstallConfig swagger:route PATCH /clusters/{cluster_id}/install-config installer updateClusterInstallConfig
Override values in the install config
func NewUpdateClusterInstallConfig ¶
func NewUpdateClusterInstallConfig(ctx *middleware.Context, handler UpdateClusterInstallConfigHandler) *UpdateClusterInstallConfig
NewUpdateClusterInstallConfig creates a new http.Handler for the update cluster install config operation
func (*UpdateClusterInstallConfig) ServeHTTP ¶
func (o *UpdateClusterInstallConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateClusterInstallConfigBadRequest ¶
type UpdateClusterInstallConfigBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateClusterInstallConfigBadRequest Error.
swagger:response updateClusterInstallConfigBadRequest
func NewUpdateClusterInstallConfigBadRequest ¶
func NewUpdateClusterInstallConfigBadRequest() *UpdateClusterInstallConfigBadRequest
NewUpdateClusterInstallConfigBadRequest creates UpdateClusterInstallConfigBadRequest with default headers values
func (*UpdateClusterInstallConfigBadRequest) SetPayload ¶
func (o *UpdateClusterInstallConfigBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the update cluster install config bad request response
func (*UpdateClusterInstallConfigBadRequest) WithPayload ¶
func (o *UpdateClusterInstallConfigBadRequest) WithPayload(payload *models.Error) *UpdateClusterInstallConfigBadRequest
WithPayload adds the payload to the update cluster install config bad request response
func (*UpdateClusterInstallConfigBadRequest) WriteResponse ¶
func (o *UpdateClusterInstallConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClusterInstallConfigCreated ¶
type UpdateClusterInstallConfigCreated struct { }
UpdateClusterInstallConfigCreated Success.
swagger:response updateClusterInstallConfigCreated
func NewUpdateClusterInstallConfigCreated ¶
func NewUpdateClusterInstallConfigCreated() *UpdateClusterInstallConfigCreated
NewUpdateClusterInstallConfigCreated creates UpdateClusterInstallConfigCreated with default headers values
func (*UpdateClusterInstallConfigCreated) WriteResponse ¶
func (o *UpdateClusterInstallConfigCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClusterInstallConfigForbidden ¶
type UpdateClusterInstallConfigForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateClusterInstallConfigForbidden Forbidden.
swagger:response updateClusterInstallConfigForbidden
func NewUpdateClusterInstallConfigForbidden ¶
func NewUpdateClusterInstallConfigForbidden() *UpdateClusterInstallConfigForbidden
NewUpdateClusterInstallConfigForbidden creates UpdateClusterInstallConfigForbidden with default headers values
func (*UpdateClusterInstallConfigForbidden) SetPayload ¶
func (o *UpdateClusterInstallConfigForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the update cluster install config forbidden response
func (*UpdateClusterInstallConfigForbidden) WithPayload ¶
func (o *UpdateClusterInstallConfigForbidden) WithPayload(payload *models.Error) *UpdateClusterInstallConfigForbidden
WithPayload adds the payload to the update cluster install config forbidden response
func (*UpdateClusterInstallConfigForbidden) WriteResponse ¶
func (o *UpdateClusterInstallConfigForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClusterInstallConfigHandler ¶
type UpdateClusterInstallConfigHandler interface {
Handle(UpdateClusterInstallConfigParams, interface{}) middleware.Responder
}
UpdateClusterInstallConfigHandler interface for that can handle valid update cluster install config params
type UpdateClusterInstallConfigHandlerFunc ¶
type UpdateClusterInstallConfigHandlerFunc func(UpdateClusterInstallConfigParams, interface{}) middleware.Responder
UpdateClusterInstallConfigHandlerFunc turns a function with the right signature into a update cluster install config handler
func (UpdateClusterInstallConfigHandlerFunc) Handle ¶
func (fn UpdateClusterInstallConfigHandlerFunc) Handle(params UpdateClusterInstallConfigParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateClusterInstallConfigInternalServerError ¶
type UpdateClusterInstallConfigInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateClusterInstallConfigInternalServerError Error.
swagger:response updateClusterInstallConfigInternalServerError
func NewUpdateClusterInstallConfigInternalServerError ¶
func NewUpdateClusterInstallConfigInternalServerError() *UpdateClusterInstallConfigInternalServerError
NewUpdateClusterInstallConfigInternalServerError creates UpdateClusterInstallConfigInternalServerError with default headers values
func (*UpdateClusterInstallConfigInternalServerError) SetPayload ¶
func (o *UpdateClusterInstallConfigInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the update cluster install config internal server error response
func (*UpdateClusterInstallConfigInternalServerError) WithPayload ¶
func (o *UpdateClusterInstallConfigInternalServerError) WithPayload(payload *models.Error) *UpdateClusterInstallConfigInternalServerError
WithPayload adds the payload to the update cluster install config internal server error response
func (*UpdateClusterInstallConfigInternalServerError) WriteResponse ¶
func (o *UpdateClusterInstallConfigInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClusterInstallConfigMethodNotAllowed ¶
type UpdateClusterInstallConfigMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateClusterInstallConfigMethodNotAllowed Method Not Allowed.
swagger:response updateClusterInstallConfigMethodNotAllowed
func NewUpdateClusterInstallConfigMethodNotAllowed ¶
func NewUpdateClusterInstallConfigMethodNotAllowed() *UpdateClusterInstallConfigMethodNotAllowed
NewUpdateClusterInstallConfigMethodNotAllowed creates UpdateClusterInstallConfigMethodNotAllowed with default headers values
func (*UpdateClusterInstallConfigMethodNotAllowed) SetPayload ¶
func (o *UpdateClusterInstallConfigMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the update cluster install config method not allowed response
func (*UpdateClusterInstallConfigMethodNotAllowed) WithPayload ¶
func (o *UpdateClusterInstallConfigMethodNotAllowed) WithPayload(payload *models.Error) *UpdateClusterInstallConfigMethodNotAllowed
WithPayload adds the payload to the update cluster install config method not allowed response
func (*UpdateClusterInstallConfigMethodNotAllowed) WriteResponse ¶
func (o *UpdateClusterInstallConfigMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClusterInstallConfigNotFound ¶
type UpdateClusterInstallConfigNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateClusterInstallConfigNotFound Error.
swagger:response updateClusterInstallConfigNotFound
func NewUpdateClusterInstallConfigNotFound ¶
func NewUpdateClusterInstallConfigNotFound() *UpdateClusterInstallConfigNotFound
NewUpdateClusterInstallConfigNotFound creates UpdateClusterInstallConfigNotFound with default headers values
func (*UpdateClusterInstallConfigNotFound) SetPayload ¶
func (o *UpdateClusterInstallConfigNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the update cluster install config not found response
func (*UpdateClusterInstallConfigNotFound) WithPayload ¶
func (o *UpdateClusterInstallConfigNotFound) WithPayload(payload *models.Error) *UpdateClusterInstallConfigNotFound
WithPayload adds the payload to the update cluster install config not found response
func (*UpdateClusterInstallConfigNotFound) WriteResponse ¶
func (o *UpdateClusterInstallConfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClusterInstallConfigParams ¶
type UpdateClusterInstallConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /* Required: true In: body */ InstallConfigParams string }
UpdateClusterInstallConfigParams contains all the bound params for the update cluster install config operation typically these are obtained from a http.Request
swagger:parameters UpdateClusterInstallConfig
func NewUpdateClusterInstallConfigParams ¶
func NewUpdateClusterInstallConfigParams() UpdateClusterInstallConfigParams
NewUpdateClusterInstallConfigParams creates a new UpdateClusterInstallConfigParams object no default values defined in spec.
func (*UpdateClusterInstallConfigParams) BindRequest ¶
func (o *UpdateClusterInstallConfigParams) 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 NewUpdateClusterInstallConfigParams() beforehand.
type UpdateClusterInstallConfigURL ¶
type UpdateClusterInstallConfigURL struct { ClusterID strfmt.UUID // contains filtered or unexported fields }
UpdateClusterInstallConfigURL generates an URL for the update cluster install config operation
func (*UpdateClusterInstallConfigURL) Build ¶
func (o *UpdateClusterInstallConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateClusterInstallConfigURL) BuildFull ¶
func (o *UpdateClusterInstallConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateClusterInstallConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateClusterInstallConfigURL) SetBasePath ¶
func (o *UpdateClusterInstallConfigURL) 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 (*UpdateClusterInstallConfigURL) String ¶
func (o *UpdateClusterInstallConfigURL) String() string
String returns the string representation of the path with query string
func (*UpdateClusterInstallConfigURL) StringFull ¶
func (o *UpdateClusterInstallConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateClusterInstallConfigURL) WithBasePath ¶
func (o *UpdateClusterInstallConfigURL) WithBasePath(bp string) *UpdateClusterInstallConfigURL
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 UpdateClusterInstallConfigUnauthorized ¶
type UpdateClusterInstallConfigUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
UpdateClusterInstallConfigUnauthorized Unauthorized.
swagger:response updateClusterInstallConfigUnauthorized
func NewUpdateClusterInstallConfigUnauthorized ¶
func NewUpdateClusterInstallConfigUnauthorized() *UpdateClusterInstallConfigUnauthorized
NewUpdateClusterInstallConfigUnauthorized creates UpdateClusterInstallConfigUnauthorized with default headers values
func (*UpdateClusterInstallConfigUnauthorized) SetPayload ¶
func (o *UpdateClusterInstallConfigUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the update cluster install config unauthorized response
func (*UpdateClusterInstallConfigUnauthorized) WithPayload ¶
func (o *UpdateClusterInstallConfigUnauthorized) WithPayload(payload *models.Error) *UpdateClusterInstallConfigUnauthorized
WithPayload adds the payload to the update cluster install config unauthorized response
func (*UpdateClusterInstallConfigUnauthorized) WriteResponse ¶
func (o *UpdateClusterInstallConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 UpdateClusterMethodNotAllowed ¶
type UpdateClusterMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateClusterMethodNotAllowed Method Not Allowed.
swagger:response updateClusterMethodNotAllowed
func NewUpdateClusterMethodNotAllowed ¶
func NewUpdateClusterMethodNotAllowed() *UpdateClusterMethodNotAllowed
NewUpdateClusterMethodNotAllowed creates UpdateClusterMethodNotAllowed with default headers values
func (*UpdateClusterMethodNotAllowed) SetPayload ¶
func (o *UpdateClusterMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the update cluster method not allowed response
func (*UpdateClusterMethodNotAllowed) WithPayload ¶
func (o *UpdateClusterMethodNotAllowed) WithPayload(payload *models.Error) *UpdateClusterMethodNotAllowed
WithPayload adds the payload to the update cluster method not allowed response
func (*UpdateClusterMethodNotAllowed) WriteResponse ¶
func (o *UpdateClusterMethodNotAllowed) 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 UpdateClusterUnauthorized ¶
type UpdateClusterUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
UpdateClusterUnauthorized Unauthorized.
swagger:response updateClusterUnauthorized
func NewUpdateClusterUnauthorized ¶
func NewUpdateClusterUnauthorized() *UpdateClusterUnauthorized
NewUpdateClusterUnauthorized creates UpdateClusterUnauthorized with default headers values
func (*UpdateClusterUnauthorized) SetPayload ¶
func (o *UpdateClusterUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the update cluster unauthorized response
func (*UpdateClusterUnauthorized) WithPayload ¶
func (o *UpdateClusterUnauthorized) WithPayload(payload *models.InfraError) *UpdateClusterUnauthorized
WithPayload adds the payload to the update cluster unauthorized response
func (*UpdateClusterUnauthorized) WriteResponse ¶
func (o *UpdateClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateHostInstallProgress ¶
type UpdateHostInstallProgress struct { Context *middleware.Context Handler UpdateHostInstallProgressHandler }
UpdateHostInstallProgress swagger:route PUT /clusters/{cluster_id}/hosts/{host_id}/progress installer updateHostInstallProgress
Update installation progress
func NewUpdateHostInstallProgress ¶
func NewUpdateHostInstallProgress(ctx *middleware.Context, handler UpdateHostInstallProgressHandler) *UpdateHostInstallProgress
NewUpdateHostInstallProgress creates a new http.Handler for the update host install progress operation
func (*UpdateHostInstallProgress) ServeHTTP ¶
func (o *UpdateHostInstallProgress) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateHostInstallProgressForbidden ¶
type UpdateHostInstallProgressForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
UpdateHostInstallProgressForbidden Forbidden.
swagger:response updateHostInstallProgressForbidden
func NewUpdateHostInstallProgressForbidden ¶
func NewUpdateHostInstallProgressForbidden() *UpdateHostInstallProgressForbidden
NewUpdateHostInstallProgressForbidden creates UpdateHostInstallProgressForbidden with default headers values
func (*UpdateHostInstallProgressForbidden) SetPayload ¶
func (o *UpdateHostInstallProgressForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the update host install progress forbidden response
func (*UpdateHostInstallProgressForbidden) WithPayload ¶
func (o *UpdateHostInstallProgressForbidden) WithPayload(payload *models.InfraError) *UpdateHostInstallProgressForbidden
WithPayload adds the payload to the update host install progress forbidden response
func (*UpdateHostInstallProgressForbidden) WriteResponse ¶
func (o *UpdateHostInstallProgressForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateHostInstallProgressHandler ¶
type UpdateHostInstallProgressHandler interface {
Handle(UpdateHostInstallProgressParams, interface{}) middleware.Responder
}
UpdateHostInstallProgressHandler interface for that can handle valid update host install progress params
type UpdateHostInstallProgressHandlerFunc ¶
type UpdateHostInstallProgressHandlerFunc func(UpdateHostInstallProgressParams, interface{}) 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, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateHostInstallProgressInternalServerError ¶
type UpdateHostInstallProgressInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateHostInstallProgressInternalServerError Error.
swagger:response updateHostInstallProgressInternalServerError
func NewUpdateHostInstallProgressInternalServerError ¶
func NewUpdateHostInstallProgressInternalServerError() *UpdateHostInstallProgressInternalServerError
NewUpdateHostInstallProgressInternalServerError creates UpdateHostInstallProgressInternalServerError with default headers values
func (*UpdateHostInstallProgressInternalServerError) SetPayload ¶
func (o *UpdateHostInstallProgressInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the update host install progress internal server error response
func (*UpdateHostInstallProgressInternalServerError) WithPayload ¶
func (o *UpdateHostInstallProgressInternalServerError) WithPayload(payload *models.Error) *UpdateHostInstallProgressInternalServerError
WithPayload adds the payload to the update host install progress internal server error response
func (*UpdateHostInstallProgressInternalServerError) WriteResponse ¶
func (o *UpdateHostInstallProgressInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateHostInstallProgressMethodNotAllowed ¶
type UpdateHostInstallProgressMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateHostInstallProgressMethodNotAllowed Method Not Allowed.
swagger:response updateHostInstallProgressMethodNotAllowed
func NewUpdateHostInstallProgressMethodNotAllowed ¶
func NewUpdateHostInstallProgressMethodNotAllowed() *UpdateHostInstallProgressMethodNotAllowed
NewUpdateHostInstallProgressMethodNotAllowed creates UpdateHostInstallProgressMethodNotAllowed with default headers values
func (*UpdateHostInstallProgressMethodNotAllowed) SetPayload ¶
func (o *UpdateHostInstallProgressMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the update host install progress method not allowed response
func (*UpdateHostInstallProgressMethodNotAllowed) WithPayload ¶
func (o *UpdateHostInstallProgressMethodNotAllowed) WithPayload(payload *models.Error) *UpdateHostInstallProgressMethodNotAllowed
WithPayload adds the payload to the update host install progress method not allowed response
func (*UpdateHostInstallProgressMethodNotAllowed) WriteResponse ¶
func (o *UpdateHostInstallProgressMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateHostInstallProgressNotFound ¶
type UpdateHostInstallProgressNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateHostInstallProgressNotFound Error.
swagger:response updateHostInstallProgressNotFound
func NewUpdateHostInstallProgressNotFound ¶
func NewUpdateHostInstallProgressNotFound() *UpdateHostInstallProgressNotFound
NewUpdateHostInstallProgressNotFound creates UpdateHostInstallProgressNotFound with default headers values
func (*UpdateHostInstallProgressNotFound) SetPayload ¶
func (o *UpdateHostInstallProgressNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the update host install progress not found response
func (*UpdateHostInstallProgressNotFound) WithPayload ¶
func (o *UpdateHostInstallProgressNotFound) WithPayload(payload *models.Error) *UpdateHostInstallProgressNotFound
WithPayload adds the payload to the update host install progress not found response
func (*UpdateHostInstallProgressNotFound) WriteResponse ¶
func (o *UpdateHostInstallProgressNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateHostInstallProgressOK ¶
type UpdateHostInstallProgressOK struct { }
UpdateHostInstallProgressOK Update install progress
swagger:response updateHostInstallProgressOK
func NewUpdateHostInstallProgressOK ¶
func NewUpdateHostInstallProgressOK() *UpdateHostInstallProgressOK
NewUpdateHostInstallProgressOK creates UpdateHostInstallProgressOK with default headers values
func (*UpdateHostInstallProgressOK) WriteResponse ¶
func (o *UpdateHostInstallProgressOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateHostInstallProgressParams ¶
type UpdateHostInstallProgressParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The ID of the cluster to retrieve Required: true In: path */ ClusterID strfmt.UUID /* In: header */ DiscoveryAgentVersion *string /*New progress value Required: true In: body */ HostProgress *models.HostProgress /*The ID of the host to retrieve Required: true In: path */ HostID strfmt.UUID }
UpdateHostInstallProgressParams contains all the bound params for the update host install progress operation typically these are obtained from a http.Request
swagger:parameters UpdateHostInstallProgress
func NewUpdateHostInstallProgressParams ¶
func NewUpdateHostInstallProgressParams() UpdateHostInstallProgressParams
NewUpdateHostInstallProgressParams creates a new UpdateHostInstallProgressParams object no default values defined in spec.
func (*UpdateHostInstallProgressParams) BindRequest ¶
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 UpdateHostInstallProgressUnauthorized ¶
type UpdateHostInstallProgressUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
UpdateHostInstallProgressUnauthorized Unauthorized.
swagger:response updateHostInstallProgressUnauthorized
func NewUpdateHostInstallProgressUnauthorized ¶
func NewUpdateHostInstallProgressUnauthorized() *UpdateHostInstallProgressUnauthorized
NewUpdateHostInstallProgressUnauthorized creates UpdateHostInstallProgressUnauthorized with default headers values
func (*UpdateHostInstallProgressUnauthorized) SetPayload ¶
func (o *UpdateHostInstallProgressUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the update host install progress unauthorized response
func (*UpdateHostInstallProgressUnauthorized) WithPayload ¶
func (o *UpdateHostInstallProgressUnauthorized) WithPayload(payload *models.InfraError) *UpdateHostInstallProgressUnauthorized
WithPayload adds the payload to the update host install progress unauthorized response
func (*UpdateHostInstallProgressUnauthorized) WriteResponse ¶
func (o *UpdateHostInstallProgressUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 UploadClusterIngressCertForbidden ¶
type UploadClusterIngressCertForbidden struct { /* In: Body */ Payload *models.InfraError `json:"body,omitempty"` }
UploadClusterIngressCertForbidden Forbidden.
swagger:response uploadClusterIngressCertForbidden
func NewUploadClusterIngressCertForbidden ¶
func NewUploadClusterIngressCertForbidden() *UploadClusterIngressCertForbidden
NewUploadClusterIngressCertForbidden creates UploadClusterIngressCertForbidden with default headers values
func (*UploadClusterIngressCertForbidden) SetPayload ¶
func (o *UploadClusterIngressCertForbidden) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the upload cluster ingress cert forbidden response
func (*UploadClusterIngressCertForbidden) WithPayload ¶
func (o *UploadClusterIngressCertForbidden) WithPayload(payload *models.InfraError) *UploadClusterIngressCertForbidden
WithPayload adds the payload to the upload cluster ingress cert forbidden response
func (*UploadClusterIngressCertForbidden) WriteResponse ¶
func (o *UploadClusterIngressCertForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadClusterIngressCertHandler ¶
type UploadClusterIngressCertHandler interface {
Handle(UploadClusterIngressCertParams, interface{}) middleware.Responder
}
UploadClusterIngressCertHandler interface for that can handle valid upload cluster ingress cert params
type UploadClusterIngressCertHandlerFunc ¶
type UploadClusterIngressCertHandlerFunc func(UploadClusterIngressCertParams, interface{}) 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, principal interface{}) 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 UploadClusterIngressCertMethodNotAllowed ¶
type UploadClusterIngressCertMethodNotAllowed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UploadClusterIngressCertMethodNotAllowed Method Not Allowed.
swagger:response uploadClusterIngressCertMethodNotAllowed
func NewUploadClusterIngressCertMethodNotAllowed ¶
func NewUploadClusterIngressCertMethodNotAllowed() *UploadClusterIngressCertMethodNotAllowed
NewUploadClusterIngressCertMethodNotAllowed creates UploadClusterIngressCertMethodNotAllowed with default headers values
func (*UploadClusterIngressCertMethodNotAllowed) SetPayload ¶
func (o *UploadClusterIngressCertMethodNotAllowed) SetPayload(payload *models.Error)
SetPayload sets the payload to the upload cluster ingress cert method not allowed response
func (*UploadClusterIngressCertMethodNotAllowed) WithPayload ¶
func (o *UploadClusterIngressCertMethodNotAllowed) WithPayload(payload *models.Error) *UploadClusterIngressCertMethodNotAllowed
WithPayload adds the payload to the upload cluster ingress cert method not allowed response
func (*UploadClusterIngressCertMethodNotAllowed) WriteResponse ¶
func (o *UploadClusterIngressCertMethodNotAllowed) 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 /* In: header */ DiscoveryAgentVersion *string /* 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
type UploadClusterIngressCertUnauthorized ¶
type UploadClusterIngressCertUnauthorized struct { models.InfraError `json:"body,omitempty"` }Payload *
UploadClusterIngressCertUnauthorized Unauthorized.
swagger:response uploadClusterIngressCertUnauthorized
func NewUploadClusterIngressCertUnauthorized ¶
func NewUploadClusterIngressCertUnauthorized() *UploadClusterIngressCertUnauthorized
NewUploadClusterIngressCertUnauthorized creates UploadClusterIngressCertUnauthorized with default headers values
func (*UploadClusterIngressCertUnauthorized) SetPayload ¶
func (o *UploadClusterIngressCertUnauthorized) SetPayload(payload *models.InfraError)
SetPayload sets the payload to the upload cluster ingress cert unauthorized response
func (*UploadClusterIngressCertUnauthorized) WithPayload ¶
func (o *UploadClusterIngressCertUnauthorized) WithPayload(payload *models.InfraError) *UploadClusterIngressCertUnauthorized
WithPayload adds the payload to the upload cluster ingress cert unauthorized response
func (*UploadClusterIngressCertUnauthorized) WriteResponse ¶
func (o *UploadClusterIngressCertUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadHostLogs ¶
type UploadHostLogs struct { Context *middleware.Context Handler UploadHostLogsHandler }
UploadHostLogs swagger:route POST /clusters/{cluster_id}/hosts/{host_id}/logs installer uploadHostLogs
Agent API to upload logs.
func NewUploadHostLogs ¶
func NewUploadHostLogs(ctx *middleware.Context, handler UploadHostLogsHandler) *UploadHostLogs
NewUploadHostLogs creates a new http.Handler for the upload host logs operation
func (*UploadHostLogs) ServeHTTP ¶
func (o *UploadHostLogs) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UploadHostLogsHandler ¶
type UploadHostLogsHandler interface {
Handle(UploadHostLogsParams, interface{}) middleware.Responder
}
UploadHostLogsHandler interface for that can handle valid upload host logs params
type UploadHostLogsHandlerFunc ¶
type UploadHostLogsHandlerFunc func(UploadHostLogsParams, interface{}) middleware.Responder
UploadHostLogsHandlerFunc turns a function with the right signature into a upload host logs handler
func (UploadHostLogsHandlerFunc) Handle ¶
func (fn UploadHostLogsHandlerFunc) Handle(params UploadHostLogsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UploadHostLogsInternalServerError ¶
type UploadHostLogsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UploadHostLogsInternalServerError Error.
swagger:response uploadHostLogsInternalServerError
func NewUploadHostLogsInternalServerError ¶
func NewUploadHostLogsInternalServerError() *UploadHostLogsInternalServerError
NewUploadHostLogsInternalServerError creates UploadHostLogsInternalServerError with default headers values
func (*UploadHostLogsInternalServerError) SetPayload ¶
func (o *UploadHostLogsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the upload host logs internal server error response
func (*UploadHostLogsInternalServerError) WithPayload ¶
func (o *UploadHostLogsInternalServerError) WithPayload(payload *models.Error) *UploadHostLogsInternalServerError
WithPayload adds the payload to the upload host logs internal server error response
func (*UploadHostLogsInternalServerError) WriteResponse ¶
func (o *UploadHostLogsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadHostLogsNoContent ¶
type UploadHostLogsNoContent struct { }
UploadHostLogsNoContent Success.
swagger:response uploadHostLogsNoContent
func NewUploadHostLogsNoContent ¶
func NewUploadHostLogsNoContent() *UploadHostLogsNoContent
NewUploadHostLogsNoContent creates UploadHostLogsNoContent with default headers values
func (*UploadHostLogsNoContent) WriteResponse ¶
func (o *UploadHostLogsNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadHostLogsNotFound ¶
UploadHostLogsNotFound Error.
swagger:response uploadHostLogsNotFound
func NewUploadHostLogsNotFound ¶
func NewUploadHostLogsNotFound() *UploadHostLogsNotFound
NewUploadHostLogsNotFound creates UploadHostLogsNotFound with default headers values
func (*UploadHostLogsNotFound) SetPayload ¶
func (o *UploadHostLogsNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the upload host logs not found response
func (*UploadHostLogsNotFound) WithPayload ¶
func (o *UploadHostLogsNotFound) WithPayload(payload *models.Error) *UploadHostLogsNotFound
WithPayload adds the payload to the upload host logs not found response
func (*UploadHostLogsNotFound) WriteResponse ¶
func (o *UploadHostLogsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UploadHostLogsParams ¶
type UploadHostLogsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClusterID strfmt.UUID /*The file to upload. In: header */ DiscoveryAgentVersion *string /* Required: true In: path */ HostID strfmt.UUID /* In: formData */ Upfile io.ReadCloser }
UploadHostLogsParams contains all the bound params for the upload host logs operation typically these are obtained from a http.Request
swagger:parameters UploadHostLogs
func NewUploadHostLogsParams ¶
func NewUploadHostLogsParams() UploadHostLogsParams
NewUploadHostLogsParams creates a new UploadHostLogsParams object no default values defined in spec.
func (*UploadHostLogsParams) BindRequest ¶
func (o *UploadHostLogsParams) 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 NewUploadHostLogsParams() beforehand.
type UploadHostLogsURL ¶
type UploadHostLogsURL struct { ClusterID strfmt.UUID HostID strfmt.UUID // contains filtered or unexported fields }
UploadHostLogsURL generates an URL for the upload host logs operation
func (*UploadHostLogsURL) Build ¶
func (o *UploadHostLogsURL) Build() (*url.URL, error)
Build a url path and query string
func (*UploadHostLogsURL) BuildFull ¶
func (o *UploadHostLogsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UploadHostLogsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UploadHostLogsURL) SetBasePath ¶
func (o *UploadHostLogsURL) 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 (*UploadHostLogsURL) String ¶
func (o *UploadHostLogsURL) String() string
String returns the string representation of the path with query string
func (*UploadHostLogsURL) StringFull ¶
func (o *UploadHostLogsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UploadHostLogsURL) WithBasePath ¶
func (o *UploadHostLogsURL) WithBasePath(bp string) *UploadHostLogsURL
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 ¶
- cancel_installation.go
- cancel_installation_parameters.go
- cancel_installation_responses.go
- cancel_installation_urlbuilder.go
- complete_installation.go
- complete_installation_parameters.go
- complete_installation_responses.go
- complete_installation_urlbuilder.go
- 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
- download_cluster_logs.go
- download_cluster_logs_parameters.go
- download_cluster_logs_responses.go
- download_cluster_logs_urlbuilder.go
- download_host_logs.go
- download_host_logs_parameters.go
- download_host_logs_responses.go
- download_host_logs_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_free_addresses.go
- get_free_addresses_parameters.go
- get_free_addresses_responses.go
- get_free_addresses_urlbuilder.go
- get_host.go
- get_host_parameters.go
- get_host_requirements.go
- get_host_requirements_parameters.go
- get_host_requirements_responses.go
- get_host_requirements_urlbuilder.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
- get_presigned_for_cluster_files.go
- get_presigned_for_cluster_files_parameters.go
- get_presigned_for_cluster_files_responses.go
- get_presigned_for_cluster_files_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
- reset_cluster.go
- reset_cluster_parameters.go
- reset_cluster_responses.go
- reset_cluster_urlbuilder.go
- update_cluster.go
- update_cluster_install_config.go
- update_cluster_install_config_parameters.go
- update_cluster_install_config_responses.go
- update_cluster_install_config_urlbuilder.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
- upload_host_logs.go
- upload_host_logs_parameters.go
- upload_host_logs_responses.go
- upload_host_logs_urlbuilder.go