Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PhaseInProgress StatusPhase = "in progress" PhaseDeleteInProgress StatusPhase = "deletion in progress" PhaseComplete StatusPhase = "complete" PhasePaused StatusPhase = "paused" PhaseFailed StatusPhase = "failed" StatusEmpty StatusMessage = "" StatusUnsupportedType StatusMessage = "unsupported deployment type" StatusDeploymentConfigNotFound StatusMessage = "deployment configuration not found" StatusSkipCreate StatusMessage = "skipping create or update for maintenance" )
Functions ¶
This section is empty.
Types ¶
type ResourceTypeSnapshotStatus ¶
type ResourceTypeSnapshotStatus struct { SnapshotID string `json:"snapshotID,omitempty"` Phase StatusPhase `json:"phase,omitempty"` Message StatusMessage `json:"message,omitempty"` }
type ResourceTypeSpec ¶
type ResourceTypeSpec struct { Type string `json:"type"` Tier string `json:"tier"` SkipCreate bool `json:"skipCreate,omitempty"` // ApplyImmediately is only available to Postgres cr, for blobstorage and redis cr's currently does nothing ApplyImmediately bool `json:"applyImmediately,omitempty"` MaintenanceWindow bool `json:"maintenanceWindow,omitempty"` SecretRef *SecretRef `json:"secretRef"` // Size allows defining the node size. It is only available to Redis CR. Blobstorage and Postgres CR's currently does nothing Size string `json:"size,omitempty"` }
+kubebuilder:object:generate=true
func (*ResourceTypeSpec) DeepCopy ¶
func (in *ResourceTypeSpec) DeepCopy() *ResourceTypeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTypeSpec.
func (*ResourceTypeSpec) DeepCopyInto ¶
func (in *ResourceTypeSpec) DeepCopyInto(out *ResourceTypeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTypeStatus ¶
type ResourceTypeStatus struct { Strategy string `json:"strategy,omitempty"` Provider string `json:"provider,omitempty"` Version string `json:"version,omitempty"` SecretRef *SecretRef `json:"secretRef,omitempty"` Phase StatusPhase `json:"phase,omitempty"` Message StatusMessage `json:"message,omitempty"` }
+kubebuilder:object:generate=true
func (*ResourceTypeStatus) DeepCopy ¶
func (in *ResourceTypeStatus) DeepCopy() *ResourceTypeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTypeStatus.
func (*ResourceTypeStatus) DeepCopyInto ¶
func (in *ResourceTypeStatus) DeepCopyInto(out *ResourceTypeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusMessage ¶
type StatusMessage string
func (StatusMessage) WrapError ¶
func (sm StatusMessage) WrapError(err error) StatusMessage
type StatusPhase ¶
type StatusPhase string
Click to show internal directories.
Click to hide internal directories.