Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the hub v1 API group +kubebuilder:object:generate=true +groupName=hub.k8s.sap.com
Index ¶
- Constants
- Variables
- type ApplicationConfig
- type ApplicationState
- type AutoDelete
- type ClusterBom
- type ClusterBomCondition
- type ClusterBomConditionReason
- type ClusterBomConditionType
- type ClusterBomList
- type ClusterBomSpec
- type ClusterBomStatus
- type ClusterBomSync
- type ClusterBomSyncList
- type ClusterBomSyncSpec
- type ClusterBomSyncStatus
- type CurrentOperation
- type DeploymentConfig
- type DetailedState
- type ErrorEntry
- type ErrorHistory
- type ExportParameters
- type HubDeployItemConfiguration
- type HubDeployItemProviderStatus
- type HubDeploymentCondition
- type HubDeploymentConditionReason
- type HubDeploymentConditionType
- type ImportParameter
- type InstallationState
- type InternalImportParameters
- type Job
- type LastOperation
- type NamedSecretValues
- type Reachability
- type Readiness
- type ReadyRequirements
- type Resource
- type SecretValues
Constants ¶
const ( AnnotationKeyLandscaperManaged = "potter.gardener.cloud/landscaper-managed" AnnotationValueLandscaperManaged = "true" LabelClusterBomName = "hub.kubernetes.sap.com/bom-name" LabelLandscaperManaged = "potter.gardener.cloud/landscaper-managed" LabelApplicationConfigID = "hub.kubernetes.sap.com/application-config-id" LabelConfigType = "hub.kubernetes.sap.com/configType" LabelPurpose = "hub.k8s.sap.com/purpose" LabelLogicalSecretName = "hub.k8s.sap.com/logical-secret-name" // nolint LabelValueLandscaperManaged = "true" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hub.k8s.sap.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ApplicationConfig ¶
type ApplicationConfig struct { // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=20 // +kubebuilder:validation:Pattern=^[0-9a-z]*$ ID string `json:"id,omitempty"` // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=20 // +kubebuilder:validation:Pattern=^[0-9a-z]*$ ConfigType string `json:"configType,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields TypeSpecificData runtime.RawExtension `json:"typeSpecificData,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields Values *runtime.RawExtension `json:"values,omitempty"` SecretValues *SecretValues `json:"secretValues,omitempty"` NamedSecretValues map[string]NamedSecretValues `json:"namedSecretValues,omitempty"` NoReconcile bool `json:"noReconcile,omitempty"` ReadyRequirements ReadyRequirements `json:"readyRequirements,omitempty"` InternalImportParameters InternalImportParameters `json:"internalImportParameters,omitempty"` ImportParameters []ImportParameter `json:"importParameters,omitempty"` ExportParameters ExportParameters `json:"exportParameters,omitempty"` }
ApplicationConfig defines one application to be deployed on a cluster
func (*ApplicationConfig) DeepCopy ¶
func (in *ApplicationConfig) DeepCopy() *ApplicationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationConfig.
func (*ApplicationConfig) DeepCopyInto ¶
func (in *ApplicationConfig) DeepCopyInto(out *ApplicationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationState ¶
type ApplicationState struct { ID string `json:"id,omitempty"` // +kubebuilder:validation:Enum=failed;pending;ok;unknown State string `json:"state,omitempty"` DetailedState DetailedState `json:"detailedState,omitempty"` InstallationState *InstallationState `json:"installationState,omitempty"` }
ApplicationState describes the state of the deployment of an application
func (*ApplicationState) DeepCopy ¶
func (in *ApplicationState) DeepCopy() *ApplicationState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationState.
func (*ApplicationState) DeepCopyInto ¶
func (in *ApplicationState) DeepCopyInto(out *ApplicationState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutoDelete ¶
type AutoDelete struct {
ClusterBomAge int64 `json:"clusterBomAge,omitempty"`
}
func (*AutoDelete) DeepCopy ¶
func (in *AutoDelete) DeepCopy() *AutoDelete
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoDelete.
func (*AutoDelete) DeepCopyInto ¶
func (in *AutoDelete) DeepCopyInto(out *AutoDelete)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterBom ¶
type ClusterBom struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterBomSpec `json:"spec,omitempty"` Status ClusterBomStatus `json:"status,omitempty"` }
ClusterBom is the Schema for the clusterboms API +kubebuilder:subresource:status +kubebuilder:printcolumn:name="CLUSTER",type=string,JSONPath=`.spec.secretRef` +kubebuilder:printcolumn:name="OVERALL STATUS",type=string,JSONPath=`.status.overallState` +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
func (*ClusterBom) DeepCopy ¶
func (in *ClusterBom) DeepCopy() *ClusterBom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBom.
func (*ClusterBom) DeepCopyInto ¶
func (in *ClusterBom) DeepCopyInto(out *ClusterBom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterBom) DeepCopyObject ¶
func (in *ClusterBom) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterBomCondition ¶
type ClusterBomCondition struct { // Type of clusterbom condition; currently only Ready is supported. Type ClusterBomConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason ClusterBomConditionReason `json:"reason,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` }
ClusterBomCondition describes the state of a clusterbom at a certain point.
func (*ClusterBomCondition) DeepCopy ¶
func (in *ClusterBomCondition) DeepCopy() *ClusterBomCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomCondition.
func (*ClusterBomCondition) DeepCopyInto ¶
func (in *ClusterBomCondition) DeepCopyInto(out *ClusterBomCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterBomConditionReason ¶
type ClusterBomConditionReason string
const ( // Reasons for Ready condition ReasonTargetClusterDoesNotExist ClusterBomConditionReason = "TargetClusterDoesNotExist" ReasonEmptyClusterBom ClusterBomConditionReason = "EmptyClusterBom" ReasonFailedApps ClusterBomConditionReason = "FailedApps" ReasonFailedAndPendingApps ClusterBomConditionReason = "FailedAndPendingApps" ReasonPendingApps ClusterBomConditionReason = "PendingApps" ReasonAllAppsReady ClusterBomConditionReason = "AllAppsReady" ReasonClusterBomModified ClusterBomConditionReason = "ReasonClusterBomModified" // Reasons for ClusterReachable condition ReasonClusterReachable ClusterBomConditionReason = "ReasonClusterReachable" ReasonClusterNotReachable ClusterBomConditionReason = "ReasonClusterNotReachable" ReasonClusterDoesNotExist ClusterBomConditionReason = "ReasonClusterDoesNotExist" ReasonClusterReachabilityUnknown ClusterBomConditionReason = "ReasonClusterReachabilityUnknown" )
type ClusterBomConditionType ¶
type ClusterBomConditionType string
const ( ClusterBomReady ClusterBomConditionType = "Ready" ClusterReachable ClusterBomConditionType = "ClusterReachable" )
These are valid conditions of a clusterbom.
type ClusterBomList ¶
type ClusterBomList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterBom `json:"items"` }
ClusterBomList contains a list of ClusterBom
func (*ClusterBomList) DeepCopy ¶
func (in *ClusterBomList) DeepCopy() *ClusterBomList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomList.
func (*ClusterBomList) DeepCopyInto ¶
func (in *ClusterBomList) DeepCopyInto(out *ClusterBomList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterBomList) DeepCopyObject ¶
func (in *ClusterBomList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterBomSpec ¶
type ClusterBomSpec struct { // Name of the secret which contains the target environment data // +kubebuilder:validation:MinLength=2 // +kubebuilder:validation:MaxLength=63 // +kubebuilder:validation:Pattern=^[0-9a-zA-Z][0-9a-zA-Z_.\-]*[0-9a-zA-Z]$ SecretRef string `json:"secretRef,omitempty"` ApplicationConfigs []ApplicationConfig `json:"applicationConfigs,omitempty"` AutoDelete *AutoDelete `json:"autoDelete,omitempty"` }
ClusterBomSpec defines the desired state of ClusterBom
func (*ClusterBomSpec) DeepCopy ¶
func (in *ClusterBomSpec) DeepCopy() *ClusterBomSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomSpec.
func (*ClusterBomSpec) DeepCopyInto ¶
func (in *ClusterBomSpec) DeepCopyInto(out *ClusterBomSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterBomStatus ¶
type ClusterBomStatus struct { ApplicationStates []ApplicationState `json:"applicationStates,omitempty"` // +kubebuilder:validation:Enum=failed;pending;ok;unknown OverallState string `json:"overallState,omitempty"` OverallTime metav1.Time `json:"overallTime,omitempty"` Description string `json:"description,omitempty"` Conditions []ClusterBomCondition `json:"conditions,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` OverallNumOfDeployments int `json:"overallNumOfDeployments,omitempty"` OverallNumOfReadyDeployments int `json:"overallNumOfReadyDeployments,omitempty"` OverallProgress int `json:"overallProgress,omitempty"` }
ClusterBomStatus defines the observed state of ClusterBom
func (*ClusterBomStatus) DeepCopy ¶
func (in *ClusterBomStatus) DeepCopy() *ClusterBomStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomStatus.
func (*ClusterBomStatus) DeepCopyInto ¶
func (in *ClusterBomStatus) DeepCopyInto(out *ClusterBomStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterBomSync ¶
type ClusterBomSync struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterBomSyncSpec `json:"spec,omitempty"` Status ClusterBomSyncStatus `json:"status,omitempty"` }
ClusterBomSync is the Schema for the clusterbomsync API +kubebuilder:subresource:status +kubebuilder:printcolumn:name="UNTIL",type="string",JSONPath=".spec.until"
func (*ClusterBomSync) DeepCopy ¶
func (in *ClusterBomSync) DeepCopy() *ClusterBomSync
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomSync.
func (*ClusterBomSync) DeepCopyInto ¶
func (in *ClusterBomSync) DeepCopyInto(out *ClusterBomSync)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterBomSync) DeepCopyObject ¶
func (in *ClusterBomSync) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterBomSyncList ¶
type ClusterBomSyncList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterBomSync `json:"items"` }
ClusterBomList contains a list of ClusterBom
func (*ClusterBomSyncList) DeepCopy ¶
func (in *ClusterBomSyncList) DeepCopy() *ClusterBomSyncList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomSyncList.
func (*ClusterBomSyncList) DeepCopyInto ¶
func (in *ClusterBomSyncList) DeepCopyInto(out *ClusterBomSyncList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterBomSyncList) DeepCopyObject ¶
func (in *ClusterBomSyncList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterBomSyncSpec ¶
type ClusterBomSyncSpec struct { ID string `json:"id,omitempty"` Timestamp metav1.Time `json:"timestamp,omitempty"` Until metav1.Time `json:"until,omitempty"` }
ClusterBomSyncSpec defines a block for a ClusterBom and its HDCs
func (*ClusterBomSyncSpec) DeepCopy ¶
func (in *ClusterBomSyncSpec) DeepCopy() *ClusterBomSyncSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomSyncSpec.
func (*ClusterBomSyncSpec) DeepCopyInto ¶
func (in *ClusterBomSyncSpec) DeepCopyInto(out *ClusterBomSyncSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterBomSyncStatus ¶
type ClusterBomSyncStatus struct { }
ClusterBomSyncStatus defines the observed state of ClusterBomSync
func (*ClusterBomSyncStatus) DeepCopy ¶
func (in *ClusterBomSyncStatus) DeepCopy() *ClusterBomSyncStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBomSyncStatus.
func (*ClusterBomSyncStatus) DeepCopyInto ¶
func (in *ClusterBomSyncStatus) DeepCopyInto(out *ClusterBomSyncStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CurrentOperation ¶
type CurrentOperation struct { // not used anymore // +kubebuilder:validation:Enum=install;remove Operation string `json:"operation,omitempty"` // not used anymore Number int32 `json:"number,omitempty"` // +kubebulder:validation:Format="date-time" Time metav1.Time `json:"time,omitempty"` }
CurrentOperation defines the current deployment operation
func (*CurrentOperation) DeepCopy ¶
func (in *CurrentOperation) DeepCopy() *CurrentOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurrentOperation.
func (*CurrentOperation) DeepCopyInto ¶
func (in *CurrentOperation) DeepCopyInto(out *CurrentOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentConfig ¶
type DeploymentConfig struct { // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=20 // +kubebuilder:validation:Pattern=^[0-9a-z]*$ ID string `json:"id,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields TypeSpecificData runtime.RawExtension `json:"typeSpecificData,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields Values *runtime.RawExtension `json:"values,omitempty"` InternalSecretName string `json:"internalSecretName,omitempty"` NamedInternalSecretNames map[string]string `json:"namedInternalSecretNames,omitempty"` NoReconcile bool `json:"noReconcile,omitempty"` ReconcileTime metav1.Time `json:"reconcileTime,omitempty"` ReadyRequirements ReadyRequirements `json:"readyRequirements,omitempty"` InternalImportParameters InternalImportParameters `json:"internalImportParameters,omitempty"` }
DeploymentConfig defines the deployment of one application
func (*DeploymentConfig) DeepCopy ¶
func (in *DeploymentConfig) DeepCopy() *DeploymentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfig.
func (*DeploymentConfig) DeepCopyInto ¶
func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DetailedState ¶
type DetailedState struct { Generation int64 `json:"generation,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Phase ls.ExecutionPhase `json:"phase,omitempty"` DeletionTimestamp *metav1.Time `json:"deletionTimestamp,omitempty"` CurrentOperation CurrentOperation `json:"currentOperation,omitempty"` LastOperation LastOperation `json:"lastOperation,omitempty"` Reachability *Reachability `json:"reachability,omitempty"` Readiness *Readiness `json:"readiness,omitempty"` HdcConditions []HubDeploymentCondition `json:"hdcConditions,omitempty"` TypeSpecificStatus *runtime.RawExtension `json:"typeSpecificStatus,omitempty"` }
DetailedState describes the detailed state of a deployment of an application
func (*DetailedState) DeepCopy ¶
func (in *DetailedState) DeepCopy() *DetailedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetailedState.
func (*DetailedState) DeepCopyInto ¶
func (in *DetailedState) DeepCopyInto(out *DetailedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErrorEntry ¶
type ErrorEntry struct { Description string `json:"description,omitempty"` // +kubebulder:validation:Format="date-time" Time metav1.Time `json:"time,omitempty"` }
func (*ErrorEntry) DeepCopy ¶
func (in *ErrorEntry) DeepCopy() *ErrorEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorEntry.
func (*ErrorEntry) DeepCopyInto ¶
func (in *ErrorEntry) DeepCopyInto(out *ErrorEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErrorHistory ¶
type ErrorHistory struct {
ErrorEntries []ErrorEntry `json:"errorEntries,omitempty"`
}
func (*ErrorHistory) DeepCopy ¶
func (in *ErrorHistory) DeepCopy() *ErrorHistory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorHistory.
func (*ErrorHistory) DeepCopyInto ¶
func (in *ErrorHistory) DeepCopyInto(out *ErrorHistory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExportParameters ¶
type ExportParameters struct {
Parameters map[string]json.RawMessage `json:"parameters,omitempty"`
}
func (*ExportParameters) DeepCopy ¶
func (in *ExportParameters) DeepCopy() *ExportParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportParameters.
func (*ExportParameters) DeepCopyInto ¶
func (in *ExportParameters) DeepCopyInto(out *ExportParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HubDeployItemConfiguration ¶
type HubDeployItemConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` LocalSecretRef string `json:"localSecretRef,omitempty"` DeploymentConfig DeploymentConfig `json:"hubDeploymentConfig,omitempty"` }
func (*HubDeployItemConfiguration) DeepCopy ¶
func (in *HubDeployItemConfiguration) DeepCopy() *HubDeployItemConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubDeployItemConfiguration.
func (*HubDeployItemConfiguration) DeepCopyInto ¶
func (in *HubDeployItemConfiguration) DeepCopyInto(out *HubDeployItemConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HubDeployItemConfiguration) DeepCopyObject ¶
func (in *HubDeployItemConfiguration) DeepCopyObject() runtime.Object
type HubDeployItemProviderStatus ¶
type HubDeployItemProviderStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` LastOperation LastOperation `json:"lastOperation,omitempty"` Reachability *Reachability `json:"reachability,omitempty"` Readiness *Readiness `json:"readiness,omitempty"` TypeSpecificStatus *runtime.RawExtension `json:"typeSpecificStatus,omitempty"` }
func (*HubDeployItemProviderStatus) DeepCopy ¶
func (in *HubDeployItemProviderStatus) DeepCopy() *HubDeployItemProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubDeployItemProviderStatus.
func (*HubDeployItemProviderStatus) DeepCopyInto ¶
func (in *HubDeployItemProviderStatus) DeepCopyInto(out *HubDeployItemProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HubDeployItemProviderStatus) DeepCopyObject ¶
func (in *HubDeployItemProviderStatus) DeepCopyObject() runtime.Object
type HubDeploymentCondition ¶
type HubDeploymentCondition struct { // Type of hubdeploymentconfig condition. Type HubDeploymentConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason HubDeploymentConditionReason `json:"reason,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` }
HubDeploymentCondition describes the state of a hubdeployment at a certain point.
func (*HubDeploymentCondition) DeepCopy ¶
func (in *HubDeploymentCondition) DeepCopy() *HubDeploymentCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubDeploymentCondition.
func (*HubDeploymentCondition) DeepCopyInto ¶
func (in *HubDeploymentCondition) DeepCopyInto(out *HubDeploymentCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HubDeploymentConditionReason ¶
type HubDeploymentConditionReason string
const ( ReasonClusterUnreachable HubDeploymentConditionReason = "ClusterUnreachable" ReasonInitialState HubDeploymentConditionReason = "InitialState" ReasonUpgradePending HubDeploymentConditionReason = "UpgradePending" ReasonRemovePending HubDeploymentConditionReason = "RemovePending" ReasonRunning HubDeploymentConditionReason = "Running" ReasonRemoved HubDeploymentConditionReason = "Removed" ReasonNotRunning HubDeploymentConditionReason = "NotRunning" ReasonFinallyFailed HubDeploymentConditionReason = "FinallyFailed" ReasonNotCurrentGeneration HubDeploymentConditionReason = "NotCurrentGeneration" ReasonCouldNotGetExport HubDeploymentConditionReason = "CouldNotGetExport" )
type HubDeploymentConditionType ¶
type HubDeploymentConditionType string
const (
HubDeploymentReady HubDeploymentConditionType = "Ready"
)
These are valid conditions of a hubdeploymentconfig.
type ImportParameter ¶
type ImportParameter struct { Name string `json:"name"` ClusterBomName string `json:"clusterBomName"` AppID string `json:"appID"` ExportParamName string `json:"exportParamName"` }
func (*ImportParameter) DeepCopy ¶
func (in *ImportParameter) DeepCopy() *ImportParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportParameter.
func (*ImportParameter) DeepCopyInto ¶
func (in *ImportParameter) DeepCopyInto(out *ImportParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallationState ¶
type InstallationState struct { Phase ls.ComponentInstallationPhase `json:"phase,omitempty"` ObservedGeneration int64 `json:"observedGeneration"` Conditions []ls.Condition `json:"conditions,omitempty"` LastError *ls.Error `json:"lastError,omitempty"` ConfigGeneration string `json:"configGeneration"` Imports []ls.ImportStatus `json:"imports,omitempty"` }
func (*InstallationState) DeepCopy ¶
func (in *InstallationState) DeepCopy() *InstallationState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationState.
func (*InstallationState) DeepCopyInto ¶
func (in *InstallationState) DeepCopyInto(out *InstallationState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalImportParameters ¶
type InternalImportParameters struct {
Parameters map[string]json.RawMessage `json:"parameters,omitempty"`
}
func (*InternalImportParameters) DeepCopy ¶
func (in *InternalImportParameters) DeepCopy() *InternalImportParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalImportParameters.
func (*InternalImportParameters) DeepCopyInto ¶
func (in *InternalImportParameters) DeepCopyInto(out *InternalImportParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Job ¶
type Job struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*Job) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (*Job) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastOperation ¶
type LastOperation struct { // +kubebuilder:validation:Enum=install;remove Operation string `json:"operation,omitempty"` // not used anymore Number int32 `json:"number,omitempty"` // not used anymore SuccessNumber int32 `json:"successNumber,omitempty"` SuccessGeneration int64 `json:"successGeneration,omitempty"` // +kubebuilder:validation:Enum=failed;ok State string `json:"state,omitempty"` NumberOfTries int32 `json:"numberOfTries,omitempty"` // +kubebulder:validation:Format="date-time" Time metav1.Time `json:"time,omitempty"` Description string `json:"description,omitempty"` ErrorHistory *ErrorHistory `json:"errorHistory,omitempty"` }
LastOperation describes the last deployment operation
func (*LastOperation) DeepCopy ¶
func (in *LastOperation) DeepCopy() *LastOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastOperation.
func (*LastOperation) DeepCopyInto ¶
func (in *LastOperation) DeepCopyInto(out *LastOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamedSecretValues ¶
type NamedSecretValues struct { InternalSecretName string `json:"internalSecretName,omitempty"` // +kubebuilder:validation:Enum=delete Operation string `json:"operation,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields StringData map[string]string `json:"data,omitempty"` }
func (*NamedSecretValues) DeepCopy ¶
func (in *NamedSecretValues) DeepCopy() *NamedSecretValues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedSecretValues.
func (*NamedSecretValues) DeepCopyInto ¶
func (in *NamedSecretValues) DeepCopyInto(out *NamedSecretValues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Reachability ¶
type Reachability struct { Reachable bool `json:"reachable"` Time metav1.Time `json:"time,omitempty"` }
func (*Reachability) DeepCopy ¶
func (in *Reachability) DeepCopy() *Reachability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reachability.
func (*Reachability) DeepCopyInto ¶
func (in *Reachability) DeepCopyInto(out *Reachability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Readiness ¶
type Readiness struct { // +kubebuilder:validation:Enum=failed;pending;ok;unknown;notRelevant;finallyFailed State string `json:"state,omitempty"` Time metav1.Time `json:"time,omitempty"` }
func (*Readiness) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Readiness.
func (*Readiness) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadyRequirements ¶
type ReadyRequirements struct { Jobs []Job `json:"jobs,omitempty"` Resources []Resource `json:"resources,omitempty"` }
func (*ReadyRequirements) DeepCopy ¶
func (in *ReadyRequirements) DeepCopy() *ReadyRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadyRequirements.
func (*ReadyRequirements) DeepCopyInto ¶
func (in *ReadyRequirements) DeepCopyInto(out *ReadyRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resource ¶
type Resource struct { Name string `json:"name"` Namespace string `json:"namespace"` APIVersion string `json:"apiVersion"` Resource string `json:"resource"` FieldPath string `json:"fieldPath"` SuccessValues []runtime.RawExtension `json:"successValues,omitempty"` }
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretValues ¶
type SecretValues struct { InternalSecretName string `json:"internalSecretName,omitempty"` // +kubebuilder:validation:Enum=replace;keep;delete Operation string `json:"operation,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields Data *runtime.RawExtension `json:"data,omitempty"` }
func (*SecretValues) DeepCopy ¶
func (in *SecretValues) DeepCopy() *SecretValues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretValues.
func (*SecretValues) DeepCopyInto ¶
func (in *SecretValues) DeepCopyInto(out *SecretValues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.