v1alpha1

package
v0.0.0-...-bb344e4 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: UPL-1.0 Imports: 24 Imported by: 0

Documentation

Overview

** Copyright (c) 2022 Oracle and/or its affiliates. ** ** The Universal Permissive License (UPL), Version 1.0 ** ** Subject to the condition set forth below, permission is hereby granted to any ** person obtaining a copy of this software, associated documentation and/or data ** (collectively the "Software"), free of charge and under any and all copyright ** rights in the Software, and any and all patent rights owned or freely ** licensable by each licensor hereunder covering either (i) the unmodified ** Software as contributed to or provided by such licensor, or (ii) the Larger ** Works (as defined below), to deal in both ** ** (a) the Software, and ** (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if ** one is included with the Software (each a "Larger Work" to which the Software ** is contributed by such licensors), ** ** without restriction, including without limitation the rights to copy, create ** derivative works of, display, perform, and distribute the Software and make, ** use, sell, offer for sale, import, export, have made, and have sold the ** Software and the Larger Work(s), and to sublicense the foregoing rights on ** either these or other terms. ** ** This license is subject to the following condition: ** The above copyright notice and either this complete permission notice or at ** a minimum a reference to the UPL must be included in all copies or ** substantial portions of the Software. ** ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ** SOFTWARE.

Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group +kubebuilder:object:generate=true +groupName=database.oracle.com

Index

Constants

View Source
const ACDFinalizer = "database.oracle.com/acd-finalizer"

name of our custom finalizer

View Source
const ADBFinalizer = "database.oracle.com/adb-finalizer"

name of our custom finalizer

View Source
const LastSuccessfulSpec string = "lastSuccessfulSpec"

LastSuccessfulSpec is an annotation key which maps to the value of last successful spec

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "database.oracle.com", Version: "v1alpha1"}

	// 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
)
View Source
var KubeConfigOnce sync.Once

var

Functions

func CreateMetaCondition

func CreateMetaCondition(obj client.Object, err error, lifecycleState string, stateMsg string) metav1.Condition

File the meta condition and return the meta view

func FormatSDKTime

func FormatSDKTime(sdkTime *common.SDKTime) string

func IsADBIntermediateState

func IsADBIntermediateState(state database.AutonomousDatabaseLifecycleStateEnum) bool

*********************** * LifecycleState check ***********************

func IsRestoreIntermediateState

func IsRestoreIntermediateState(state workrequests.WorkRequestStatusEnum) bool

func NextADBStableState

NextADBStableState returns the next stable state if it's an intermediate state. Otherwise returns the same state.

Types

type ACDSpec

type ACDSpec struct {
	K8sACD K8sACDSpec `json:"k8sACD,omitempty"`
	OCIACD OCIACDSpec `json:"ociACD,omitempty"`
}

ACDSpec defines the spec of the target for backup/restore runs. The name could be the name of an AutonomousDatabase or an AutonomousDatabaseBackup

func (*ACDSpec) DeepCopy

func (in *ACDSpec) DeepCopy() *ACDSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACDSpec.

func (*ACDSpec) DeepCopyInto

func (in *ACDSpec) DeepCopyInto(out *ACDSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AcdActionEnum

type AcdActionEnum string
const (
	AcdActionBlank     AcdActionEnum = ""
	AcdActionRestart   AcdActionEnum = "RESTART"
	AcdActionTerminate AcdActionEnum = "TERMINATE"
)

type AutonomousContainerDatabase

type AutonomousContainerDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AutonomousContainerDatabaseSpec   `json:"spec,omitempty"`
	Status AutonomousContainerDatabaseStatus `json:"status,omitempty"`
}

AutonomousContainerDatabase is the Schema for the autonomouscontainerdatabases API

func (*AutonomousContainerDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousContainerDatabase.

func (*AutonomousContainerDatabase) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousContainerDatabase) DeepCopyObject

func (in *AutonomousContainerDatabase) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AutonomousContainerDatabase) GetLastSuccessfulSpec

func (acd *AutonomousContainerDatabase) GetLastSuccessfulSpec() (*AutonomousContainerDatabaseSpec, error)

GetLastSuccessfulSpec returns spec from the lass successful reconciliation. Returns nil, nil if there is no lastSuccessfulSpec.

func (*AutonomousContainerDatabase) RemoveUnchangedSpec

func (acd *AutonomousContainerDatabase) RemoveUnchangedSpec(prevSpec AutonomousContainerDatabaseSpec) (bool, error)

RemoveUnchangedSpec removes the unchanged fields in spec, and returns if the spec has been changed.

func (*AutonomousContainerDatabase) SetupWebhookWithManager

func (r *AutonomousContainerDatabase) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AutonomousContainerDatabase) String

func (acd *AutonomousContainerDatabase) String() (string, error)

A helper function which is useful for debugging. The function prints out a structural JSON format.

func (*AutonomousContainerDatabase) UpdateFromOCIACD

func (acd *AutonomousContainerDatabase) UpdateFromOCIACD(ociObj database.AutonomousContainerDatabase) (specChanged bool)

UpdateFromOCIADB updates the attributes using database.AutonomousContainerDatabase object

func (*AutonomousContainerDatabase) UpdateLastSuccessfulSpec

func (acd *AutonomousContainerDatabase) UpdateLastSuccessfulSpec() error

func (*AutonomousContainerDatabase) UpdateStatusFromOCIACD

func (acd *AutonomousContainerDatabase) UpdateStatusFromOCIACD(ociObj database.AutonomousContainerDatabase)

UpdateStatusFromOCIACD updates the status subresource

func (*AutonomousContainerDatabase) ValidateCreate

func (r *AutonomousContainerDatabase) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AutonomousContainerDatabase) ValidateDelete

func (r *AutonomousContainerDatabase) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AutonomousContainerDatabase) ValidateUpdate

func (r *AutonomousContainerDatabase) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AutonomousContainerDatabaseList

type AutonomousContainerDatabaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AutonomousContainerDatabase `json:"items"`
}

AutonomousContainerDatabaseList contains a list of AutonomousContainerDatabase

func (*AutonomousContainerDatabaseList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousContainerDatabaseList.

func (*AutonomousContainerDatabaseList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousContainerDatabaseList) DeepCopyObject

func (in *AutonomousContainerDatabaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AutonomousContainerDatabaseSpec

type AutonomousContainerDatabaseSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	AutonomousContainerDatabaseOCID *string `json:"autonomousContainerDatabaseOCID,omitempty"`
	CompartmentOCID                 *string `json:"compartmentOCID,omitempty"`
	DisplayName                     *string `json:"displayName,omitempty"`
	AutonomousExadataVMClusterOCID  *string `json:"autonomousExadataVMClusterOCID,omitempty"`
	// +kubebuilder:validation:Enum:="RELEASE_UPDATES";"RELEASE_UPDATE_REVISIONS"
	PatchModel database.AutonomousContainerDatabasePatchModelEnum `json:"patchModel,omitempty"`
	// +kubebuilder:validation:Enum:="SYNC";"RESTART";"TERMINATE"
	Action       AcdActionEnum     `json:"action,omitempty"`
	FreeformTags map[string]string `json:"freeformTags,omitempty"`

	OCIConfig OCIConfigSpec `json:"ociConfig,omitempty"`
	// +kubebuilder:default:=false
	HardLink *bool `json:"hardLink,omitempty"`
}

AutonomousContainerDatabaseSpec defines the desired state of AutonomousContainerDatabase

func (*AutonomousContainerDatabaseSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousContainerDatabaseSpec.

func (*AutonomousContainerDatabaseSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousContainerDatabaseStatus

type AutonomousContainerDatabaseStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	LifecycleState database.AutonomousContainerDatabaseLifecycleStateEnum `json:"lifecycleState"`
	TimeCreated    string                                                 `json:"timeCreated,omitempty"`
}

AutonomousContainerDatabaseStatus defines the observed state of AutonomousContainerDatabase

func (*AutonomousContainerDatabaseStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousContainerDatabaseStatus.

func (*AutonomousContainerDatabaseStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousDatabase

type AutonomousDatabase struct {
	metaV1.TypeMeta   `json:",inline"`
	metaV1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AutonomousDatabaseSpec   `json:"spec,omitempty"`
	Status AutonomousDatabaseStatus `json:"status,omitempty"`
}

AutonomousDatabase is the Schema for the autonomousdatabases API +kubebuilder:object:root=true +kubebuilder:resource:shortName="adb";"adbs" +kubebuilder:subresource:status +kubebuilder:printcolumn:JSONPath=".spec.details.displayName",name="Display Name",type=string +kubebuilder:printcolumn:JSONPath=".spec.details.dbName",name="Db Name",type=string +kubebuilder:printcolumn:JSONPath=".status.lifecycleState",name="State",type=string +kubebuilder:printcolumn:JSONPath=".spec.details.isDedicated",name="Dedicated",type=string +kubebuilder:printcolumn:JSONPath=".spec.details.cpuCoreCount",name="OCPUs",type=integer +kubebuilder:printcolumn:JSONPath=".spec.details.dataStorageSizeInTBs",name="Storage (TB)",type=integer +kubebuilder:printcolumn:JSONPath=".spec.details.dbWorkload",name="Workload Type",type=string +kubebuilder:printcolumn:JSONPath=".status.timeCreated",name="Created",type=string

func (*AutonomousDatabase) DeepCopy

func (in *AutonomousDatabase) DeepCopy() *AutonomousDatabase

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabase.

func (*AutonomousDatabase) DeepCopyInto

func (in *AutonomousDatabase) DeepCopyInto(out *AutonomousDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousDatabase) DeepCopyObject

func (in *AutonomousDatabase) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AutonomousDatabase) Default

func (r *AutonomousDatabase) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*AutonomousDatabase) GetLastSuccessfulSpec

func (adb *AutonomousDatabase) GetLastSuccessfulSpec() (*AutonomousDatabaseSpec, error)

GetLastSuccessfulSpec returns spec from the lass successful reconciliation. Returns nil, nil if there is no lastSuccessfulSpec.

func (*AutonomousDatabase) RemoveUnchangedDetails

func (adb *AutonomousDatabase) RemoveUnchangedDetails(prevSpec AutonomousDatabaseSpec) (bool, error)

RemoveUnchangedDetails removes the unchanged fields in spec.details, and returns if the details has been changed.

func (*AutonomousDatabase) SetupWebhookWithManager

func (r *AutonomousDatabase) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AutonomousDatabase) String

func (adb *AutonomousDatabase) String() (string, error)

A helper function which is useful for debugging. The function prints out a structural JSON format.

func (*AutonomousDatabase) UpdateFromOCIADB

func (adb *AutonomousDatabase) UpdateFromOCIADB(ociObj database.AutonomousDatabase) (specChanged bool)

UpdateFromOCIADB updates the attributes using database.AutonomousDatabase object

func (*AutonomousDatabase) UpdateLastSuccessfulSpec

func (adb *AutonomousDatabase) UpdateLastSuccessfulSpec() error

func (*AutonomousDatabase) UpdateStatusFromOCIADB

func (adb *AutonomousDatabase) UpdateStatusFromOCIADB(ociObj database.AutonomousDatabase)

UpdateStatusFromOCIADB updates the status subresource

func (*AutonomousDatabase) ValidateCreate

func (r *AutonomousDatabase) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type ValidateCreate checks if the spec is valid for a provisioning or a binding operation

func (*AutonomousDatabase) ValidateDelete

func (r *AutonomousDatabase) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AutonomousDatabase) ValidateUpdate

func (r *AutonomousDatabase) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AutonomousDatabaseBackup

type AutonomousDatabaseBackup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AutonomousDatabaseBackupSpec   `json:"spec,omitempty"`
	Status AutonomousDatabaseBackupStatus `json:"status,omitempty"`
}

AutonomousDatabaseBackup is the Schema for the autonomousdatabasebackups API

func (*AutonomousDatabaseBackup) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseBackup.

func (*AutonomousDatabaseBackup) DeepCopyInto

func (in *AutonomousDatabaseBackup) DeepCopyInto(out *AutonomousDatabaseBackup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousDatabaseBackup) DeepCopyObject

func (in *AutonomousDatabaseBackup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AutonomousDatabaseBackup) Default

func (r *AutonomousDatabaseBackup) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*AutonomousDatabaseBackup) GetTimeEnded

func (b *AutonomousDatabaseBackup) GetTimeEnded() (*common.SDKTime, error)

GetTimeEnded returns the status.timeEnded in SDKTime format

func (*AutonomousDatabaseBackup) SetupWebhookWithManager

func (r *AutonomousDatabaseBackup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AutonomousDatabaseBackup) UpdateStatusFromOCIBackup

func (b *AutonomousDatabaseBackup) UpdateStatusFromOCIBackup(ociBackup database.AutonomousDatabaseBackup, ociADB database.AutonomousDatabase)

func (*AutonomousDatabaseBackup) ValidateCreate

func (r *AutonomousDatabaseBackup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AutonomousDatabaseBackup) ValidateDelete

func (r *AutonomousDatabaseBackup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AutonomousDatabaseBackup) ValidateUpdate

func (r *AutonomousDatabaseBackup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AutonomousDatabaseBackupList

type AutonomousDatabaseBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AutonomousDatabaseBackup `json:"items"`
}

AutonomousDatabaseBackupList contains a list of AutonomousDatabaseBackup

func (*AutonomousDatabaseBackupList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseBackupList.

func (*AutonomousDatabaseBackupList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousDatabaseBackupList) DeepCopyObject

func (in *AutonomousDatabaseBackupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AutonomousDatabaseBackupSpec

type AutonomousDatabaseBackupSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Target                       TargetSpec `json:"target,omitempty"`
	DisplayName                  *string    `json:"displayName,omitempty"`
	AutonomousDatabaseBackupOCID *string    `json:"autonomousDatabaseBackupOCID,omitempty"`

	OCIConfig OCIConfigSpec `json:"ociConfig,omitempty"`
}

AutonomousDatabaseBackupSpec defines the desired state of AutonomousDatabaseBackup

func (*AutonomousDatabaseBackupSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseBackupSpec.

func (*AutonomousDatabaseBackupSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousDatabaseBackupStatus

type AutonomousDatabaseBackupStatus struct {
	LifecycleState         database.AutonomousDatabaseBackupLifecycleStateEnum `json:"lifecycleState"`
	Type                   database.AutonomousDatabaseBackupTypeEnum           `json:"type"`
	IsAutomatic            bool                                                `json:"isAutomatic"`
	TimeStarted            string                                              `json:"timeStarted,omitempty"`
	TimeEnded              string                                              `json:"timeEnded,omitempty"`
	AutonomousDatabaseOCID string                                              `json:"autonomousDatabaseOCID"`
	CompartmentOCID        string                                              `json:"compartmentOCID"`
	DBName                 string                                              `json:"dbName"`
	DBDisplayName          string                                              `json:"dbDisplayName"`
}

AutonomousDatabaseBackupStatus defines the observed state of AutonomousDatabaseBackup

func (*AutonomousDatabaseBackupStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseBackupStatus.

func (*AutonomousDatabaseBackupStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousDatabaseDetails

type AutonomousDatabaseDetails struct {
	AutonomousDatabaseOCID      *string `json:"autonomousDatabaseOCID,omitempty"`
	CompartmentOCID             *string `json:"compartmentOCID,omitempty"`
	AutonomousContainerDatabase ACDSpec `json:"autonomousContainerDatabase,omitempty"`
	DisplayName                 *string `json:"displayName,omitempty"`
	DbName                      *string `json:"dbName,omitempty"`
	// +kubebuilder:validation:Enum:="OLTP";"DW";"AJD";"APEX"
	DbWorkload database.AutonomousDatabaseDbWorkloadEnum `json:"dbWorkload,omitempty"`
	// +kubebuilder:validation:Enum:="LICENSE_INCLUDED";"BRING_YOUR_OWN_LICENSE"
	LicenseModel         database.AutonomousDatabaseLicenseModelEnum   `json:"licenseModel,omitempty"`
	DbVersion            *string                                       `json:"dbVersion,omitempty"`
	DataStorageSizeInTBs *int                                          `json:"dataStorageSizeInTBs,omitempty"`
	CPUCoreCount         *int                                          `json:"cpuCoreCount,omitempty"`
	AdminPassword        PasswordSpec                                  `json:"adminPassword,omitempty"`
	IsAutoScalingEnabled *bool                                         `json:"isAutoScalingEnabled,omitempty"`
	IsDedicated          *bool                                         `json:"isDedicated,omitempty"`
	LifecycleState       database.AutonomousDatabaseLifecycleStateEnum `json:"lifecycleState,omitempty"`

	NetworkAccess NetworkAccessSpec `json:"networkAccess,omitempty"`

	FreeformTags map[string]string `json:"freeformTags,omitempty"`

	Wallet WalletSpec `json:"wallet,omitempty"`
}

AutonomousDatabaseDetails defines the detail information of AutonomousDatabase, corresponding to oci-go-sdk/database/AutonomousDatabase

func (*AutonomousDatabaseDetails) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseDetails.

func (*AutonomousDatabaseDetails) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousDatabaseList

type AutonomousDatabaseList struct {
	metaV1.TypeMeta `json:",inline"`
	metaV1.ListMeta `json:"metadata,omitempty"`
	Items           []AutonomousDatabase `json:"items"`
}

AutonomousDatabaseList contains a list of AutonomousDatabase

func (*AutonomousDatabaseList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseList.

func (*AutonomousDatabaseList) DeepCopyInto

func (in *AutonomousDatabaseList) DeepCopyInto(out *AutonomousDatabaseList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousDatabaseList) DeepCopyObject

func (in *AutonomousDatabaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AutonomousDatabaseRestore

type AutonomousDatabaseRestore struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AutonomousDatabaseRestoreSpec   `json:"spec,omitempty"`
	Status AutonomousDatabaseRestoreStatus `json:"status,omitempty"`
}

AutonomousDatabaseRestore is the Schema for the autonomousdatabaserestores API

func (*AutonomousDatabaseRestore) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseRestore.

func (*AutonomousDatabaseRestore) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousDatabaseRestore) DeepCopyObject

func (in *AutonomousDatabaseRestore) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AutonomousDatabaseRestore) GetPIT

GetPIT returns the spec.pointInTime.timeStamp in SDKTime format

func (*AutonomousDatabaseRestore) SetupWebhookWithManager

func (r *AutonomousDatabaseRestore) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AutonomousDatabaseRestore) UpdateStatus

func (*AutonomousDatabaseRestore) ValidateCreate

func (r *AutonomousDatabaseRestore) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AutonomousDatabaseRestore) ValidateDelete

func (r *AutonomousDatabaseRestore) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AutonomousDatabaseRestore) ValidateUpdate

func (r *AutonomousDatabaseRestore) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AutonomousDatabaseRestoreList

type AutonomousDatabaseRestoreList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AutonomousDatabaseRestore `json:"items"`
}

AutonomousDatabaseRestoreList contains a list of AutonomousDatabaseRestore

func (*AutonomousDatabaseRestoreList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseRestoreList.

func (*AutonomousDatabaseRestoreList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AutonomousDatabaseRestoreList) DeepCopyObject

func (in *AutonomousDatabaseRestoreList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AutonomousDatabaseRestoreSpec

type AutonomousDatabaseRestoreSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Target    TargetSpec    `json:"target"`
	Source    SourceSpec    `json:"source"`
	OCIConfig OCIConfigSpec `json:"ociConfig,omitempty"`
}

AutonomousDatabaseRestoreSpec defines the desired state of AutonomousDatabaseRestore

func (*AutonomousDatabaseRestoreSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseRestoreSpec.

func (*AutonomousDatabaseRestoreSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousDatabaseRestoreStatus

type AutonomousDatabaseRestoreStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	DisplayName     string                             `json:"displayName"`
	TimeAccepted    string                             `json:"timeAccepted,omitempty"`
	TimeStarted     string                             `json:"timeStarted,omitempty"`
	TimeEnded       string                             `json:"timeEnded,omitempty"`
	DbName          string                             `json:"dbName"`
	WorkRequestOCID string                             `json:"workRequestOCID"`
	Status          workrequests.WorkRequestStatusEnum `json:"status"`
}

AutonomousDatabaseRestoreStatus defines the observed state of AutonomousDatabaseRestore

func (*AutonomousDatabaseRestoreStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseRestoreStatus.

func (*AutonomousDatabaseRestoreStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousDatabaseSpec

type AutonomousDatabaseSpec struct {
	Details   AutonomousDatabaseDetails `json:"details"`
	OCIConfig OCIConfigSpec             `json:"ociConfig,omitempty"`
	// +kubebuilder:default:=false
	HardLink *bool `json:"hardLink,omitempty"`
}

AutonomousDatabaseSpec defines the desired state of AutonomousDatabase Important: Run "make" to regenerate code after modifying this file

func (*AutonomousDatabaseSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseSpec.

func (*AutonomousDatabaseSpec) DeepCopyInto

func (in *AutonomousDatabaseSpec) DeepCopyInto(out *AutonomousDatabaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutonomousDatabaseStatus

type AutonomousDatabaseStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	LifecycleState       database.AutonomousDatabaseLifecycleStateEnum `json:"lifecycleState,omitempty"`
	TimeCreated          string                                        `json:"timeCreated,omitempty"`
	AllConnectionStrings []ConnectionStringProfile                     `json:"allConnectionStrings,omitempty"`
}

AutonomousDatabaseStatus defines the observed state of AutonomousDatabase

func (*AutonomousDatabaseStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutonomousDatabaseStatus.

func (*AutonomousDatabaseStatus) DeepCopyInto

func (in *AutonomousDatabaseStatus) DeepCopyInto(out *AutonomousDatabaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Backupconfig

type Backupconfig struct {
	AutoBackupEnabled        *bool   `json:"autoBackupEnabled,omitempty"`
	RecoveryWindowsInDays    *int    `json:"recoveryWindowsInDays,omitempty"`
	AutoBackupWindow         *string `json:"autoBackupWindow,omitempty"`
	BackupDestinationDetails *string `json:"backupDestinationDetails,omitempty"`
}

DB Backup COnfig Network Struct

func (*Backupconfig) DeepCopy

func (in *Backupconfig) DeepCopy() *Backupconfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backupconfig.

func (*Backupconfig) DeepCopyInto

func (in *Backupconfig) DeepCopyInto(out *Backupconfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDB

type CDB struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CDBSpec   `json:"spec,omitempty"`
	Status CDBStatus `json:"status,omitempty"`
}

CDB is the Schema for the cdbs API

func (*CDB) DeepCopy

func (in *CDB) DeepCopy() *CDB

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDB.

func (*CDB) DeepCopyInto

func (in *CDB) DeepCopyInto(out *CDB)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CDB) DeepCopyObject

func (in *CDB) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CDB) Default

func (r *CDB) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*CDB) SetupWebhookWithManager

func (r *CDB) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CDB) ValidateCreate

func (r *CDB) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CDB) ValidateDelete

func (r *CDB) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CDB) ValidateUpdate

func (r *CDB) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CDBAdminPassword

type CDBAdminPassword struct {
	Secret CDBSecret `json:"secret"`
}

CDBAdminPassword defines the secret containing CDB Administrator Password mapped to key 'cdbAdminPwd' to manage PDB lifecycle

func (*CDBAdminPassword) DeepCopy

func (in *CDBAdminPassword) DeepCopy() *CDBAdminPassword

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBAdminPassword.

func (*CDBAdminPassword) DeepCopyInto

func (in *CDBAdminPassword) DeepCopyInto(out *CDBAdminPassword)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDBAdminUser

type CDBAdminUser struct {
	Secret CDBSecret `json:"secret"`
}

CDBAdminUser defines the secret containing CDB Administrator User mapped to key 'cdbAdminUser' to manage PDB lifecycle

func (*CDBAdminUser) DeepCopy

func (in *CDBAdminUser) DeepCopy() *CDBAdminUser

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBAdminUser.

func (*CDBAdminUser) DeepCopyInto

func (in *CDBAdminUser) DeepCopyInto(out *CDBAdminUser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDBList

type CDBList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CDB `json:"items"`
}

CDBList contains a list of CDB

func (*CDBList) DeepCopy

func (in *CDBList) DeepCopy() *CDBList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBList.

func (*CDBList) DeepCopyInto

func (in *CDBList) DeepCopyInto(out *CDBList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CDBList) DeepCopyObject

func (in *CDBList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CDBSecret

type CDBSecret struct {
	SecretName string `json:"secretName"`
	Key        string `json:"key"`
}

CDBSecret defines the secretName

func (*CDBSecret) DeepCopy

func (in *CDBSecret) DeepCopy() *CDBSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBSecret.

func (*CDBSecret) DeepCopyInto

func (in *CDBSecret) DeepCopyInto(out *CDBSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDBSpec

type CDBSpec struct {

	// Name of the CDB
	CDBName string `json:"cdbName,omitempty"`
	// Name of the CDB Service
	ServiceName string `json:"serviceName,omitempty"`

	// Password for the CDB System Administrator
	SysAdminPwd CDBSysAdminPassword `json:"sysAdminPwd,omitempty"`
	// User in the root container with sysdba priviledges to manage PDB lifecycle
	CDBAdminUser CDBAdminUser `json:"cdbAdminUser,omitempty"`
	// Password for the CDB Administrator to manage PDB lifecycle
	CDBAdminPwd CDBAdminPassword `json:"cdbAdminPwd,omitempty"`

	CDBTlsKey CDBTLSKEY `json:"cdbTlsKey,omitempty"`
	CDBTlsCrt CDBTLSCRT `json:"cdbTlsCrt,omitempty"`

	// Password for user ORDS_PUBLIC_USER
	ORDSPwd ORDSPassword `json:"ordsPwd,omitempty"`
	// ORDS server port. For now, keep it as 8888. TO BE USED IN FUTURE RELEASE.
	ORDSPort int `json:"ordsPort,omitempty"`
	// ORDS Image Name
	ORDSImage string `json:"ordsImage,omitempty"`
	// The name of the image pull secret in case of a private docker repository.
	ORDSImagePullSecret string `json:"ordsImagePullSecret,omitempty"`
	// ORDS Image Pull Policy
	// +kubebuilder:validation:Enum=Always;Never
	ORDSImagePullPolicy string `json:"ordsImagePullPolicy,omitempty"`
	// Number of ORDS Containers to create
	Replicas int `json:"replicas,omitempty"`
	// Web Server User with SQL Administrator role to allow us to authenticate to the PDB Lifecycle Management REST endpoints
	WebServerUser WebServerUser `json:"webServerUser,omitempty"`
	// Password for the Web Server User
	WebServerPwd WebServerPassword `json:"webServerPwd,omitempty"`
	// Name of the DB server
	DBServer string `json:"dbServer,omitempty"`
	// DB server port
	DBPort int `json:"dbPort,omitempty"`
	// Node Selector for running the Pod
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	DBTnsurl     string            `json:"dbTnsurl,omitempty"`
}

CDBSpec defines the desired state of CDB

func (*CDBSpec) DeepCopy

func (in *CDBSpec) DeepCopy() *CDBSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBSpec.

func (*CDBSpec) DeepCopyInto

func (in *CDBSpec) DeepCopyInto(out *CDBSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDBStatus

type CDBStatus struct {

	// Phase of the CDB Resource
	Phase string `json:"phase"`
	// CDB Resource Status
	Status bool `json:"status"`
	// Message
	Msg string `json:"msg,omitempty"`
}

CDBStatus defines the observed state of CDB

func (*CDBStatus) DeepCopy

func (in *CDBStatus) DeepCopy() *CDBStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBStatus.

func (*CDBStatus) DeepCopyInto

func (in *CDBStatus) DeepCopyInto(out *CDBStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDBSysAdminPassword

type CDBSysAdminPassword struct {
	Secret CDBSecret `json:"secret"`
}

CDBSysAdminPassword defines the secret containing SysAdmin Password mapped to key 'sysAdminPwd' for CDB

func (*CDBSysAdminPassword) DeepCopy

func (in *CDBSysAdminPassword) DeepCopy() *CDBSysAdminPassword

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBSysAdminPassword.

func (*CDBSysAdminPassword) DeepCopyInto

func (in *CDBSysAdminPassword) DeepCopyInto(out *CDBSysAdminPassword)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDBTLSCRT

type CDBTLSCRT struct {
	Secret CDBSecret `json:"secret"`
}

func (*CDBTLSCRT) DeepCopy

func (in *CDBTLSCRT) DeepCopy() *CDBTLSCRT

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBTLSCRT.

func (*CDBTLSCRT) DeepCopyInto

func (in *CDBTLSCRT) DeepCopyInto(out *CDBTLSCRT)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CDBTLSKEY

type CDBTLSKEY struct {
	Secret CDBSecret `json:"secret"`
}

func (*CDBTLSKEY) DeepCopy

func (in *CDBTLSKEY) DeepCopy() *CDBTLSKEY

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CDBTLSKEY.

func (*CDBTLSKEY) DeepCopyInto

func (in *CDBTLSKEY) DeepCopyInto(out *CDBTLSKEY)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CatalogSpec

type CatalogSpec struct {
	Name             string                       `json:"name"`                                                      // Catalog name that will be used deploy StatefulSet
	StorageSizeInGb  int32                        `json:"storageSizeInGb,omitempty"`                                 // Optional Catalog Storage Size and This parameter will not be used if you use PvcName
	EnvVars          []EnvironmentVariable        `json:"envVars,omitempty"`                                         //Optional Env variables for Catalog
	Resources        *corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"` // Optional resource requirement for the container.
	PvcName          string                       `json:"pvcName,omitempty"`
	Label            string                       `json:"label,omitempty"`
	IsDelete         bool                         `json:"isDelete,omitempty"`
	NodeSelector     map[string]string            `json:"nodeSelector,omitempty"`
	PvAnnotations    map[string]string            `json:"pvAnnotations,omitempty"`
	PvMatchLabels    map[string]string            `json:"pvMatchLabels,omitempty"`
	ImagePulllPolicy *corev1.PullPolicy           `json:"imagePullPolicy,omitempty"`
}

CatalogSpec defines the desired state of CatalogSpec +k8s:openapi-gen=true

func (*CatalogSpec) DeepCopy

func (in *CatalogSpec) DeepCopy() *CatalogSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSpec.

func (*CatalogSpec) DeepCopyInto

func (in *CatalogSpec) DeepCopyInto(out *CatalogSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConnectionStringProfile

type ConnectionStringProfile struct {
	TLSAuthentication TLSAuthenticationEnum  `json:"tlsAuthentication,omitempty"`
	ConnectionStrings []ConnectionStringSpec `json:"connectionStrings"`
}

func (*ConnectionStringProfile) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStringProfile.

func (*ConnectionStringProfile) DeepCopyInto

func (in *ConnectionStringProfile) DeepCopyInto(out *ConnectionStringProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConnectionStringSpec

type ConnectionStringSpec struct {
	TNSName          string `json:"tnsName,omitempty"`
	ConnectionString string `json:"connectionString,omitempty"`
}

func (*ConnectionStringSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStringSpec.

func (*ConnectionStringSpec) DeepCopyInto

func (in *ConnectionStringSpec) DeepCopyInto(out *ConnectionStringSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CrdReconcileState

type CrdReconcileState string
const (
	CrdReconcileErrorState     CrdReconcileState = "ReconcileError"
	CrdReconcileErrorReason    CrdReconcileState = "LastReconcileCycleFailed"
	CrdReconcileQueuedState    CrdReconcileState = "ReconcileQueued"
	CrdReconcileQueuedReason   CrdReconcileState = "LastReconcileCycleQueued"
	CrdReconcileCompeleteState CrdReconcileState = "ReconcileComplete"
	CrdReconcileCompleteReason CrdReconcileState = "LastReconcileCycleCompleted"
	CrdReconcileWaitingState   CrdReconcileState = "ReconcileWaiting"
	CrdReconcileWaitingReason  CrdReconcileState = "LastReconcileCycleWaiting"
)

type DataguardBroker

type DataguardBroker struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DataguardBrokerSpec   `json:"spec,omitempty"`
	Status DataguardBrokerStatus `json:"status,omitempty"`
}

DataguardBroker is the Schema for the dataguardbrokers API

func (*DataguardBroker) DeepCopy

func (in *DataguardBroker) DeepCopy() *DataguardBroker

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataguardBroker.

func (*DataguardBroker) DeepCopyInto

func (in *DataguardBroker) DeepCopyInto(out *DataguardBroker)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DataguardBroker) DeepCopyObject

func (in *DataguardBroker) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DataguardBroker) Default

func (r *DataguardBroker) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*DataguardBroker) SetupWebhookWithManager

func (r *DataguardBroker) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DataguardBroker) ValidateCreate

func (r *DataguardBroker) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DataguardBroker) ValidateDelete

func (r *DataguardBroker) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DataguardBroker) ValidateUpdate

func (r *DataguardBroker) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DataguardBrokerFastStartFailOver

type DataguardBrokerFastStartFailOver struct {
	Enable   bool                      `json:"enable,omitempty"`
	Strategy []DataguardBrokerStrategy `json:"strategy,omitempty"`
}

func (*DataguardBrokerFastStartFailOver) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataguardBrokerFastStartFailOver.

func (*DataguardBrokerFastStartFailOver) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataguardBrokerList

type DataguardBrokerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DataguardBroker `json:"items"`
}

DataguardBrokerList contains a list of DataguardBroker

func (*DataguardBrokerList) DeepCopy

func (in *DataguardBrokerList) DeepCopy() *DataguardBrokerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataguardBrokerList.

func (*DataguardBrokerList) DeepCopyInto

func (in *DataguardBrokerList) DeepCopyInto(out *DataguardBrokerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DataguardBrokerList) DeepCopyObject

func (in *DataguardBrokerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DataguardBrokerSpec

type DataguardBrokerSpec struct {
	PrimaryDatabaseRef   string            `json:"primaryDatabaseRef"`
	StandbyDatabaseRefs  []string          `json:"standbyDatabaseRefs"`
	SetAsPrimaryDatabase string            `json:"setAsPrimaryDatabase,omitempty"`
	LoadBalancer         bool              `json:"loadBalancer,omitempty"`
	ServiceAnnotations   map[string]string `json:"serviceAnnotations,omitempty"`
	// +kubebuilder:validation:Enum=MaxPerformance;MaxAvailability
	ProtectionMode    string                           `json:"protectionMode"`
	NodeSelector      map[string]string                `json:"nodeSelector,omitempty"`
	FastStartFailOver DataguardBrokerFastStartFailOver `json:"fastStartFailOver,omitempty"`
}

DataguardBrokerSpec defines the desired state of DataguardBroker

func (*DataguardBrokerSpec) DeepCopy

func (in *DataguardBrokerSpec) DeepCopy() *DataguardBrokerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataguardBrokerSpec.

func (*DataguardBrokerSpec) DeepCopyInto

func (in *DataguardBrokerSpec) DeepCopyInto(out *DataguardBrokerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataguardBrokerStatus

type DataguardBrokerStatus struct {
	PrimaryDatabaseRef    string `json:"primaryDatabaseRef,omitempty"`
	ProtectionMode        string `json:"protectionMode,omitempty"`
	PrimaryDatabase       string `json:"primaryDatabase,omitempty"`
	StandbyDatabases      string `json:"standbyDatabases,omitempty"`
	ExternalConnectString string `json:"externalConnectString,omitempty"`
	ClusterConnectString  string `json:"clusterConnectString,omitempty"`
	Status                string `json:"status,omitempty"`
}

DataguardBrokerStatus defines the observed state of DataguardBroker

func (*DataguardBrokerStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataguardBrokerStatus.

func (*DataguardBrokerStatus) DeepCopyInto

func (in *DataguardBrokerStatus) DeepCopyInto(out *DataguardBrokerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataguardBrokerStrategy

type DataguardBrokerStrategy struct {
	SourceDatabaseRef  string `json:"sourceDatabaseRef,omitempty"`
	TargetDatabaseRefs string `json:"targetDatabaseRefs,omitempty"`
}

FSFO strategy

func (*DataguardBrokerStrategy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataguardBrokerStrategy.

func (*DataguardBrokerStrategy) DeepCopyInto

func (in *DataguardBrokerStrategy) DeepCopyInto(out *DataguardBrokerStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DbStatus

type DbStatus struct {
	Id           *string `json:"id,omitempty"`
	DbName       string  `json:"dbName,omitempty"`
	DbUniqueName string  `json:"dbUniqueName,omitempty"`
	DbWorkload   string  `json:"dbWorkload,omitempty"`
	DbHomeId     string  `json:"dbHomeId,omitempty"`
}

DbcsSystemStatus defines the observed state of DbcsSystem

func (*DbStatus) DeepCopy

func (in *DbStatus) DeepCopy() *DbStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbStatus.

func (*DbStatus) DeepCopyInto

func (in *DbStatus) DeepCopyInto(out *DbStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DbSystemDetails

type DbSystemDetails struct {
	CompartmentId              string            `json:"compartmentId"`
	AvailabilityDomain         string            `json:"availabilityDomain"`
	SubnetId                   string            `json:"subnetId"`
	Shape                      string            `json:"shape"`
	SshPublicKeys              []string          `json:"sshPublicKeys"`
	HostName                   string            `json:"hostName"`
	CpuCoreCount               int               `json:"cpuCoreCount,omitempty"`
	FaultDomains               []string          `json:"faultDomains,omitempty"`
	DisplayName                string            `json:"displayName,omitempty"`
	BackupSubnetId             string            `json:"backupSubnetId,omitempty"`
	TimeZone                   string            `json:"timeZone,omitempty"`
	NodeCount                  *int              `json:"nodeCount,omitempty"`
	PrivateIp                  string            `json:"privateIp,omitempty"`
	Domain                     string            `json:"domain,omitempty"`
	InitialDataStorageSizeInGB int               `json:"initialDataStorageSizeInGB,omitempty"`
	ClusterName                string            `json:"clusterName,omitempty"`
	KmsKeyId                   string            `json:"kmsKeyId,omitempty"`
	KmsKeyVersionId            string            `json:"kmsKeyVersionId,omitempty"`
	DbAdminPaswordSecret       string            `json:"dbAdminPaswordSecret"`
	DbName                     string            `json:"dbName,omitempty"`
	PdbName                    string            `json:"pdbName,omitempty"`
	DbDomain                   string            `json:"dbDomain,omitempty"`
	DbUniqueName               string            `json:"dbUniqueName,omitempty"`
	StorageManagement          string            `json:"storageManagement,omitempty"`
	DbVersion                  string            `json:"dbVersion,omitempty"`
	DbEdition                  string            `json:"dbEdition,omitempty"`
	DiskRedundancy             string            `json:"diskRedundancy,omitempty"`
	DbWorkload                 string            `json:"dbWorkload,omitempty"`
	LicenseModel               string            `json:"licenseModel,omitempty"`
	TdeWalletPasswordSecret    string            `json:"tdeWalletPasswordSecret,omitempty"`
	Tags                       map[string]string `json:"tags,omitempty"`
	DbBackupConfig             Backupconfig      `json:"dbBackupConfig,omitempty"`
}

func (*DbSystemDetails) DeepCopy

func (in *DbSystemDetails) DeepCopy() *DbSystemDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbSystemDetails.

func (*DbSystemDetails) DeepCopyInto

func (in *DbSystemDetails) DeepCopyInto(out *DbSystemDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DbWorkrequests

type DbWorkrequests struct {
	OperationType   *string `json:"operationType,omitmpty"`
	OperationId     *string `json:"operationId,omitemty"`
	PercentComplete string  `json:"percentComplete,omitempty"`
	TimeAccepted    string  `json:"timeAccepted,omitempty"`
	TimeStarted     string  `json:"timeStarted,omitempty"`
	TimeFinished    string  `json:"timeFinished,omitempty"`
}

func (*DbWorkrequests) DeepCopy

func (in *DbWorkrequests) DeepCopy() *DbWorkrequests

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbWorkrequests.

func (*DbWorkrequests) DeepCopyInto

func (in *DbWorkrequests) DeepCopyInto(out *DbWorkrequests)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DbcsSystem

type DbcsSystem struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DbcsSystemSpec   `json:"spec,omitempty"`
	Status DbcsSystemStatus `json:"status,omitempty"`
}

DbcsSystem is the Schema for the dbcssystems API

func (*DbcsSystem) DeepCopy

func (in *DbcsSystem) DeepCopy() *DbcsSystem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbcsSystem.

func (*DbcsSystem) DeepCopyInto

func (in *DbcsSystem) DeepCopyInto(out *DbcsSystem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DbcsSystem) DeepCopyObject

func (in *DbcsSystem) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DbcsSystem) GetLastSuccessfulSpec

func (dbcs *DbcsSystem) GetLastSuccessfulSpec() (*DbcsSystemSpec, error)

GetLastSuccessfulSpec returns spec from the lass successful reconciliation. Returns nil, nil if there is no lastSuccessfulSpec.

func (*DbcsSystem) UpdateLastSuccessfulSpec

func (dbcs *DbcsSystem) UpdateLastSuccessfulSpec(kubeClient client.Client) error

UpdateLastSuccessfulSpec updates lastSuccessfulSpec with the current spec.

type DbcsSystemList

type DbcsSystemList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DbcsSystem `json:"items"`
}

DbcsSystemList contains a list of DbcsSystem

func (*DbcsSystemList) DeepCopy

func (in *DbcsSystemList) DeepCopy() *DbcsSystemList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbcsSystemList.

func (*DbcsSystemList) DeepCopyInto

func (in *DbcsSystemList) DeepCopyInto(out *DbcsSystemList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DbcsSystemList) DeepCopyObject

func (in *DbcsSystemList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DbcsSystemSpec

type DbcsSystemSpec struct {
	DbSystem     DbSystemDetails `json:"dbSystem,omitempty"`
	Id           *string         `json:"id,omitempty"`
	OCIConfigMap string          `json:"ociConfigMap"`
	OCISecret    string          `json:"ociSecret,omitempty"`
	HardLink     bool            `json:"hardLink,omitempty"`
}

DbcsSystemSpec defines the desired state of DbcsSystem

func (*DbcsSystemSpec) DeepCopy

func (in *DbcsSystemSpec) DeepCopy() *DbcsSystemSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbcsSystemSpec.

func (*DbcsSystemSpec) DeepCopyInto

func (in *DbcsSystemSpec) DeepCopyInto(out *DbcsSystemSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DbcsSystemStatus

type DbcsSystemStatus struct {
	Id                 *string `json:"id,omitempty"`
	DisplayName        string  `json:"displayName,omitempty"`
	AvailabilityDomain string  `json:"availabilityDomain,omitempty"`
	SubnetId           string  `json:"subnetId,omitempty"`
	StorageManagement  string  `json:"storageManagement,omitempty"`
	NodeCount          int     `json:"nodeCount,omitempty"`
	CpuCoreCount       int     `json:"cpuCoreCount,omitempty"`

	DbEdition             string `json:"dbEdition,omitempty"`
	TimeZone              string `json:"timeZone,omitempty"`
	DataStoragePercentage *int   `json:"dataStoragePercentage,omitempty"`
	LicenseModel          string `json:"licenseModel,omitempty"`
	DataStorageSizeInGBs  *int   `json:"dataStorageSizeInGBs,omitempty"`
	RecoStorageSizeInGB   *int   `json:"recoStorageSizeInGB,omitempty"`

	Shape        *string          `json:"shape,omitempty"`
	State        LifecycleState   `json:"state"`
	DbInfo       []DbStatus       `json:"dbInfo,omitempty"`
	Network      VmNetworkDetails `json:"network,omitempty"`
	WorkRequests []DbWorkrequests `json:"workRequests,omitempty"`
}

DbcsSystemStatus defines the observed state of DbcsSystem

func (*DbcsSystemStatus) DeepCopy

func (in *DbcsSystemStatus) DeepCopy() *DbcsSystemStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbcsSystemStatus.

func (*DbcsSystemStatus) DeepCopyInto

func (in *DbcsSystemStatus) DeepCopyInto(out *DbcsSystemStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentVariable

type EnvironmentVariable struct {
	Name  string `json:"name"`  // Name of the variable. Must be a C_IDENTIFIER.
	Value string `json:"value"` // Value of the variable, as defined in Kubernetes core API.
}

EnvironmentVariable represents a named variable accessible for containers. +k8s:openapi-gen=true

func (*EnvironmentVariable) DeepCopy

func (in *EnvironmentVariable) DeepCopy() *EnvironmentVariable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentVariable.

func (*EnvironmentVariable) DeepCopyInto

func (in *EnvironmentVariable) DeepCopyInto(out *EnvironmentVariable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GsmSpec

type GsmSpec struct {
	Name string `json:"name"` // Gsm name that will be used deploy StatefulSet

	Replicas         int32                        `json:"replicas,omitempty"`                                        // Gsm Replicas. If you set OraGsmPvcName then it is set default to 1.
	EnvVars          []EnvironmentVariable        `json:"envVars,omitempty"`                                         //Optional Env variables for GSM
	StorageSizeInGb  int32                        `json:"storageSizeInGb,omitempty"`                                 // This parameter will not be used if you use OraGsmPvcName
	Resources        *corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"` // Optional resource requirement for the container.
	PvcName          string                       `json:"pvcName,omitempty"`
	Label            string                       `json:"label,omitempty"` // Optional GSM Label
	IsDelete         bool                         `json:"isDelete,omitempty"`
	NodeSelector     map[string]string            `json:"nodeSelector,omitempty"`
	PvMatchLabels    map[string]string            `json:"pvMatchLabels,omitempty"`
	ImagePulllPolicy *corev1.PullPolicy           `json:"imagePullPolicy,omitempty"`
}

GsmSpec defines the desired state of GsmSpec +k8s:openapi-gen=true

func (*GsmSpec) DeepCopy

func (in *GsmSpec) DeepCopy() *GsmSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GsmSpec.

func (*GsmSpec) DeepCopyInto

func (in *GsmSpec) DeepCopyInto(out *GsmSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GsmStatus

type GsmStatus struct {
	InternalconnectStr string            `json:"internalConnectStr,omitempty"`
	ExternalConnectStr string            `json:"externalConnectStr,omitempty"`
	State              string            `json:"state,omitempty"`
	Shards             map[string]string `json:"shards,omitempty"`
	Details            map[string]string `json:"details,omitempty"`
	Services           string            `json:"services,omitempty"`
}

func (*GsmStatus) DeepCopy

func (in *GsmStatus) DeepCopy() *GsmStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GsmStatus.

func (*GsmStatus) DeepCopyInto

func (in *GsmStatus) DeepCopyInto(out *GsmStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GsmStatusDetails

type GsmStatusDetails struct {
	Name             string `json:"name,omitempty"`
	K8sInternalSvc   string `json:"k8sInternalSvc,omitempty"`
	K8sExternalSvc   string `json:"k8sExternalSvc,omitempty"`
	K8sInternalSvcIP string `json:"k8sInternalIP,omitempty"`
	K8sExternalSvcIP string `json:"k8sExternalIP,omitempty"`
	Role             string `json:"role,omitempty"`
	DbPasswordSecret string `json:"dbPasswordSecret"`
}

func (*GsmStatusDetails) DeepCopy

func (in *GsmStatusDetails) DeepCopy() *GsmStatusDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GsmStatusDetails.

func (*GsmStatusDetails) DeepCopyInto

func (in *GsmStatusDetails) DeepCopyInto(out *GsmStatusDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type K8sACDSpec

type K8sACDSpec struct {
	Name *string `json:"name,omitempty"`
}

*********************** * ACD specs ***********************

func (*K8sACDSpec) DeepCopy

func (in *K8sACDSpec) DeepCopy() *K8sACDSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sACDSpec.

func (*K8sACDSpec) DeepCopyInto

func (in *K8sACDSpec) DeepCopyInto(out *K8sACDSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type K8sADBBackupSpec

type K8sADBBackupSpec struct {
	Name *string `json:"name,omitempty"`
}

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

func (*K8sADBBackupSpec) DeepCopy

func (in *K8sADBBackupSpec) DeepCopy() *K8sADBBackupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sADBBackupSpec.

func (*K8sADBBackupSpec) DeepCopyInto

func (in *K8sADBBackupSpec) DeepCopyInto(out *K8sADBBackupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type K8sADBSpec

type K8sADBSpec struct {
	Name *string `json:"name,omitempty"`
}

*********************** * ADB spec ***********************

func (*K8sADBSpec) DeepCopy

func (in *K8sADBSpec) DeepCopy() *K8sADBSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sADBSpec.

func (*K8sADBSpec) DeepCopyInto

func (in *K8sADBSpec) DeepCopyInto(out *K8sADBSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type K8sSecretSpec

type K8sSecretSpec struct {
	Name *string `json:"name,omitempty"`
}

*********************** * Secret specs ***********************

func (*K8sSecretSpec) DeepCopy

func (in *K8sSecretSpec) DeepCopy() *K8sSecretSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sSecretSpec.

func (*K8sSecretSpec) DeepCopyInto

func (in *K8sSecretSpec) DeepCopyInto(out *K8sSecretSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LifecycleState

type LifecycleState string
const (
	Available LifecycleState = "AVAILABLE"
	Failed    LifecycleState = "FAILED"
	Update    LifecycleState = "UPDATING"
	Provision LifecycleState = "PROVISIONING"
	Terminate LifecycleState = "TERMINATED"
)

type NetworkAccessSpec

type NetworkAccessSpec struct {
	// +kubebuilder:validation:Enum:="";"PUBLIC";"RESTRICTED";"PRIVATE"
	AccessType               NetworkAccessTypeEnum `json:"accessType,omitempty"`
	IsAccessControlEnabled   *bool                 `json:"isAccessControlEnabled,omitempty"`
	AccessControlList        []string              `json:"accessControlList,omitempty"`
	PrivateEndpoint          PrivateEndpointSpec   `json:"privateEndpoint,omitempty"`
	IsMTLSConnectionRequired *bool                 `json:"isMTLSConnectionRequired,omitempty"`
}

func (*NetworkAccessSpec) DeepCopy

func (in *NetworkAccessSpec) DeepCopy() *NetworkAccessSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAccessSpec.

func (*NetworkAccessSpec) DeepCopyInto

func (in *NetworkAccessSpec) DeepCopyInto(out *NetworkAccessSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkAccessTypeEnum

type NetworkAccessTypeEnum string
const (
	NetworkAccessTypePublic     NetworkAccessTypeEnum = "PUBLIC"
	NetworkAccessTypeRestricted NetworkAccessTypeEnum = "RESTRICTED"
	NetworkAccessTypePrivate    NetworkAccessTypeEnum = "PRIVATE"
)

type OCIACDSpec

type OCIACDSpec struct {
	OCID *string `json:"ocid,omitempty"`
}

func (*OCIACDSpec) DeepCopy

func (in *OCIACDSpec) DeepCopy() *OCIACDSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIACDSpec.

func (*OCIACDSpec) DeepCopyInto

func (in *OCIACDSpec) DeepCopyInto(out *OCIACDSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OCIADBSpec

type OCIADBSpec struct {
	OCID *string `json:"ocid,omitempty"`
}

func (*OCIADBSpec) DeepCopy

func (in *OCIADBSpec) DeepCopy() *OCIADBSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIADBSpec.

func (*OCIADBSpec) DeepCopyInto

func (in *OCIADBSpec) DeepCopyInto(out *OCIADBSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OCIConfigSpec

type OCIConfigSpec struct {
	ConfigMapName *string `json:"configMapName,omitempty"`
	SecretName    *string `json:"secretName,omitempty"`
}

*********************** * OCI config ***********************

func (*OCIConfigSpec) DeepCopy

func (in *OCIConfigSpec) DeepCopy() *OCIConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIConfigSpec.

func (*OCIConfigSpec) DeepCopyInto

func (in *OCIConfigSpec) DeepCopyInto(out *OCIConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OCISecretSpec

type OCISecretSpec struct {
	OCID *string `json:"ocid,omitempty"`
}

func (*OCISecretSpec) DeepCopy

func (in *OCISecretSpec) DeepCopy() *OCISecretSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCISecretSpec.

func (*OCISecretSpec) DeepCopyInto

func (in *OCISecretSpec) DeepCopyInto(out *OCISecretSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ORDSPassword

type ORDSPassword struct {
	Secret CDBSecret `json:"secret"`
}

ORDSPassword defines the secret containing ORDS_PUBLIC_USER Password mapped to key 'ordsPwd'

func (*ORDSPassword) DeepCopy

func (in *ORDSPassword) DeepCopy() *ORDSPassword

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ORDSPassword.

func (*ORDSPassword) DeepCopyInto

func (in *ORDSPassword) DeepCopyInto(out *ORDSPassword)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleRestDataService

type OracleRestDataService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OracleRestDataServiceSpec   `json:"spec,omitempty"`
	Status OracleRestDataServiceStatus `json:"status,omitempty"`
}

OracleRestDataService is the Schema for the oraclerestdataservices API

func (*OracleRestDataService) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataService.

func (*OracleRestDataService) DeepCopyInto

func (in *OracleRestDataService) DeepCopyInto(out *OracleRestDataService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OracleRestDataService) DeepCopyObject

func (in *OracleRestDataService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OracleRestDataService) Default

func (r *OracleRestDataService) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*OracleRestDataService) SetupWebhookWithManager

func (r *OracleRestDataService) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*OracleRestDataService) ValidateCreate

func (r *OracleRestDataService) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*OracleRestDataService) ValidateDelete

func (r *OracleRestDataService) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*OracleRestDataService) ValidateUpdate

func (r *OracleRestDataService) ValidateUpdate(oldRuntimeObject runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type OracleRestDataServiceImage

type OracleRestDataServiceImage struct {
	Version     string `json:"version,omitempty"`
	PullFrom    string `json:"pullFrom"`
	PullSecrets string `json:"pullSecrets,omitempty"`
}

OracleRestDataServiceImage defines the Image source and pullSecrets for POD

func (*OracleRestDataServiceImage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataServiceImage.

func (*OracleRestDataServiceImage) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleRestDataServiceList

type OracleRestDataServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OracleRestDataService `json:"items"`
}

OracleRestDataServiceList contains a list of OracleRestDataService

func (*OracleRestDataServiceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataServiceList.

func (*OracleRestDataServiceList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OracleRestDataServiceList) DeepCopyObject

func (in *OracleRestDataServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OracleRestDataServicePassword

type OracleRestDataServicePassword struct {
	SecretName string `json:"secretName"`
	// +kubebuilder:default:="oracle_pwd"
	SecretKey  string `json:"secretKey,omitempty"`
	KeepSecret *bool  `json:"keepSecret,omitempty"`
}

OracleRestDataServicePassword defines the secret containing Password mapped to secretKey

func (*OracleRestDataServicePassword) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataServicePassword.

func (*OracleRestDataServicePassword) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleRestDataServicePersistence

type OracleRestDataServicePersistence struct {
	Size         string `json:"size,omitempty"`
	StorageClass string `json:"storageClass,omitempty"`

	// +kubebuilder:validation:Enum=ReadWriteOnce;ReadWriteMany
	AccessMode string `json:"accessMode,omitempty"`
	VolumeName string `json:"volumeName,omitempty"`
}

OracleRestDataServicePersistence defines the storage releated params

func (*OracleRestDataServicePersistence) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataServicePersistence.

func (*OracleRestDataServicePersistence) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleRestDataServiceRestEnableSchemas

type OracleRestDataServiceRestEnableSchemas struct {
	PdbName    string `json:"pdbName,omitempty"`
	SchemaName string `json:"schemaName"`
	UrlMapping string `json:"urlMapping,omitempty"`
	Enable     bool   `json:"enable"`
}

OracleRestDataServicePDBSchemas defines the PDB Schemas to be ORDS Enabled

func (*OracleRestDataServiceRestEnableSchemas) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataServiceRestEnableSchemas.

func (*OracleRestDataServiceRestEnableSchemas) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleRestDataServiceSpec

type OracleRestDataServiceSpec struct {
	DatabaseRef        string                                   `json:"databaseRef"`
	LoadBalancer       bool                                     `json:"loadBalancer,omitempty"`
	ServiceAnnotations map[string]string                        `json:"serviceAnnotations,omitempty"`
	NodeSelector       map[string]string                        `json:"nodeSelector,omitempty"`
	Image              OracleRestDataServiceImage               `json:"image,omitempty"`
	OrdsPassword       OracleRestDataServicePassword            `json:"ordsPassword"`
	ApexPassword       OracleRestDataServicePassword            `json:"apexPassword,omitempty"`
	AdminPassword      OracleRestDataServicePassword            `json:"adminPassword"`
	OrdsUser           string                                   `json:"ordsUser,omitempty"`
	RestEnableSchemas  []OracleRestDataServiceRestEnableSchemas `json:"restEnableSchemas,omitempty"`
	OracleService      string                                   `json:"oracleService,omitempty"`
	ServiceAccountName string                                   `json:"serviceAccountName,omitempty"`
	Persistence        OracleRestDataServicePersistence         `json:"persistence,omitempty"`

	// +k8s:openapi-gen=true
	// +kubebuilder:validation:Minimum=1
	Replicas int `json:"replicas,omitempty"`
}

OracleRestDataServiceSpec defines the desired state of OracleRestDataService

func (*OracleRestDataServiceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataServiceSpec.

func (*OracleRestDataServiceSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OracleRestDataServiceStatus

type OracleRestDataServiceStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Status             string `json:"status,omitempty"`
	DatabaseApiUrl     string `json:"databaseApiUrl,omitempty"`
	LoadBalancer       string `json:"loadBalancer,omitempty"`
	DatabaseRef        string `json:"databaseRef,omitempty"`
	ServiceIP          string `json:"serviceIP,omitempty"`
	DatabaseActionsUrl string `json:"databaseActionsUrl,omitempty"`
	OrdsInstalled      bool   `json:"ordsInstalled,omitempty"`
	ApexConfigured     bool   `json:"apexConfigured,omitempty"`
	ApxeUrl            string `json:"apexUrl,omitempty"`
	CommonUsersCreated bool   `json:"commonUsersCreated,omitempty"`
	Replicas           int    `json:"replicas,omitempty"`

	Image OracleRestDataServiceImage `json:"image,omitempty"`
}

OracleRestDataServiceStatus defines the observed state of OracleRestDataService

func (*OracleRestDataServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OracleRestDataServiceStatus.

func (*OracleRestDataServiceStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDB

type PDB struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PDBSpec   `json:"spec,omitempty"`
	Status PDBStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:JSONPath=".status.connString",name="Connect_String",type="string",description="The connect string to be used" +kubebuilder:printcolumn:JSONPath=".spec.cdbName",name="CDB Name",type="string",description="Name of the CDB" +kubebuilder:printcolumn:JSONPath=".spec.pdbName",name="PDB Name",type="string",description="Name of the PDB" +kubebuilder:printcolumn:JSONPath=".status.openMode",name="PDB State",type="string",description="PDB Open Mode" +kubebuilder:printcolumn:JSONPath=".status.totalSize",name="PDB Size",type="string",description="Total Size of the PDB" +kubebuilder:printcolumn:JSONPath=".status.phase",name="Status",type="string",description="Status of the PDB Resource" +kubebuilder:printcolumn:JSONPath=".status.msg",name="Message",type="string",description="Error message, if any" PDB is the Schema for the pdbs API

func (*PDB) DeepCopy

func (in *PDB) DeepCopy() *PDB

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDB.

func (*PDB) DeepCopyInto

func (in *PDB) DeepCopyInto(out *PDB)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PDB) DeepCopyObject

func (in *PDB) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PDB) Default

func (r *PDB) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*PDB) SetupWebhookWithManager

func (r *PDB) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PDB) ValidateCreate

func (r *PDB) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PDB) ValidateDelete

func (r *PDB) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PDB) ValidateUpdate

func (r *PDB) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PDBAdminName

type PDBAdminName struct {
	Secret PDBSecret `json:"secret"`
}

PDBAdminName defines the secret containing Sys Admin User mapped to key 'adminName' for PDB

func (*PDBAdminName) DeepCopy

func (in *PDBAdminName) DeepCopy() *PDBAdminName

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBAdminName.

func (*PDBAdminName) DeepCopyInto

func (in *PDBAdminName) DeepCopyInto(out *PDBAdminName)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDBAdminPassword

type PDBAdminPassword struct {
	Secret PDBSecret `json:"secret"`
}

PDBAdminPassword defines the secret containing Sys Admin Password mapped to key 'adminPwd' for PDB

func (*PDBAdminPassword) DeepCopy

func (in *PDBAdminPassword) DeepCopy() *PDBAdminPassword

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBAdminPassword.

func (*PDBAdminPassword) DeepCopyInto

func (in *PDBAdminPassword) DeepCopyInto(out *PDBAdminPassword)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDBList

type PDBList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PDB `json:"items"`
}

PDBList contains a list of PDB

func (*PDBList) DeepCopy

func (in *PDBList) DeepCopy() *PDBList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBList.

func (*PDBList) DeepCopyInto

func (in *PDBList) DeepCopyInto(out *PDBList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PDBList) DeepCopyObject

func (in *PDBList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PDBSecret

type PDBSecret struct {
	SecretName string `json:"secretName"`
	Key        string `json:"key"`
}

PDBSecret defines the secretName

func (*PDBSecret) DeepCopy

func (in *PDBSecret) DeepCopy() *PDBSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBSecret.

func (*PDBSecret) DeepCopyInto

func (in *PDBSecret) DeepCopyInto(out *PDBSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDBSpec

type PDBSpec struct {
	PDBTlsKey PDBTLSKEY `json:"pdbTlsKey,omitempty"`
	PDBTlsCrt PDBTLSCRT `json:"pdbTlsCrt,omitempty"`
	PDBTlsCat PDBTLSCAT `json:"pdbTlsCat,omitempty"`

	// Name of the CDB Custom Resource that runs the ORDS container
	CDBResName string `json:"cdbResName,omitempty"`
	// Name of the CDB
	CDBName string `json:"cdbName,omitempty"`
	// The name of the new PDB. Relevant for both Create and Plug Actions.
	PDBName string `json:"pdbName,omitempty"`
	// Name of the Source PDB from which to clone
	SrcPDBName string `json:"srcPdbName,omitempty"`
	// The administrator username for the new PDB. This property is required when the Action property is Create.
	AdminName PDBAdminName `json:"adminName,omitempty"`
	// The administrator password for the new PDB. This property is required when the Action property is Create.
	AdminPwd PDBAdminPassword `json:"adminPwd,omitempty"`
	// Relevant for Create and Plug operations. As defined in the  Oracle Multitenant Database documentation. Values can be a filename convert pattern or NONE.
	FileNameConversions string `json:"fileNameConversions,omitempty"`
	// This property is required when the Action property is Plug. As defined in the Oracle Multitenant Database documentation. Values can be a source filename convert pattern or NONE.
	SourceFileNameConversions string `json:"sourceFileNameConversions,omitempty"`
	// XML metadata filename to be used for Plug or Unplug operations
	XMLFileName string `json:"xmlFileName,omitempty"`
	// To copy files or not while cloning a PDB
	// +kubebuilder:validation:Enum=COPY;NOCOPY;MOVE
	CopyAction string `json:"copyAction,omitempty"`
	// Specify if datafiles should be removed or not. The value can be INCLUDING or KEEP (default).
	// +kubebuilder:validation:Enum=INCLUDING;KEEP
	DropAction string `json:"dropAction,omitempty"`
	// A Path specified for sparse clone snapshot copy. (Optional)
	SparseClonePath string `json:"sparseClonePath,omitempty"`
	// Whether to reuse temp file
	ReuseTempFile *bool `json:"reuseTempFile,omitempty"`
	// Relevant for Create and Plug operations. True for unlimited storage. Even when set to true, totalSize and tempSize MUST be specified in the request if Action is Create.
	UnlimitedStorage *bool `json:"unlimitedStorage,omitempty"`
	// Indicate if 'AS CLONE' option should be used in the command to plug in a PDB. This property is applicable when the Action property is PLUG but not required.
	AsClone *bool `json:"asClone,omitempty"`
	// Relevant for create and plug operations. Total size as defined in the Oracle Multitenant Database documentation. See size_clause description in Database SQL Language Reference documentation.
	TotalSize string `json:"totalSize,omitempty"`
	// Relevant for Create and Clone operations. Total size for temporary tablespace as defined in the Oracle Multitenant Database documentation. See size_clause description in Database SQL Language Reference documentation.
	TempSize string `json:"tempSize,omitempty"`
	// TDE import for plug operations
	TDEImport *bool `json:"tdeImport,omitempty"`
	// TDE export for unplug operations
	TDEExport *bool `json:"tdeExport,omitempty"`
	// TDE password if the tdeImport or tdeExport flag is set to true. Can be used in create, plug or unplug operations
	TDEPassword TDEPwd `json:"tdePassword,omitempty"`
	// TDE keystore path is required if the tdeImport or tdeExport flag is set to true. Can be used in plug or unplug operations.
	TDEKeystorePath string `json:"tdeKeystorePath,omitempty"`
	// TDE secret is required if the tdeImport or tdeExport flag is set to true. Can be used in plug or unplug operations.
	TDESecret TDESecret `json:"tdeSecret,omitempty"`
	// Whether you need the script only or execute the script
	GetScript *bool `json:"getScript,omitempty"`
	// Action to be taken: Create/Clone/Plug/Unplug/Delete/Modify/Status/Map. Map is used to map a Databse PDB to a Kubernetes PDB CR.
	// +kubebuilder:validation:Enum=Create;Clone;Plug;Unplug;Delete;Modify;Status;Map
	Action string `json:"action"`
	// Extra options for opening and closing a PDB
	// +kubebuilder:validation:Enum=IMMEDIATE;NORMAL;READ ONLY;READ WRITE;RESTRICTED
	ModifyOption string `json:"modifyOption,omitempty"`
	// The target state of the PDB
	// +kubebuilder:validation:Enum=OPEN;CLOSE
	PDBState string `json:"pdbState,omitempty"`
}

PDBSpec defines the desired state of PDB

func (*PDBSpec) DeepCopy

func (in *PDBSpec) DeepCopy() *PDBSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBSpec.

func (*PDBSpec) DeepCopyInto

func (in *PDBSpec) DeepCopyInto(out *PDBSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDBStatus

type PDBStatus struct {

	// PDB Connect String
	ConnString string `json:"connString,omitempty"`
	// Phase of the PDB Resource
	Phase string `json:"phase"`
	// PDB Resource Status
	Status bool `json:"status"`
	// Total size of the PDB
	TotalSize string `json:"totalSize,omitempty"`
	// Open mode of the PDB
	OpenMode string `json:"openMode,omitempty"`
	// Modify Option of the PDB
	ModifyOption string `json:"modifyOption,omitempty"`
	// Message
	Msg string `json:"msg,omitempty"`
	// Last Completed Action
	Action string `json:"action,omitempty"`
}

PDBStatus defines the observed state of PDB

func (*PDBStatus) DeepCopy

func (in *PDBStatus) DeepCopy() *PDBStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBStatus.

func (*PDBStatus) DeepCopyInto

func (in *PDBStatus) DeepCopyInto(out *PDBStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDBTLSCAT

type PDBTLSCAT struct {
	Secret PDBSecret `json:"secret"`
}

func (*PDBTLSCAT) DeepCopy

func (in *PDBTLSCAT) DeepCopy() *PDBTLSCAT

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBTLSCAT.

func (*PDBTLSCAT) DeepCopyInto

func (in *PDBTLSCAT) DeepCopyInto(out *PDBTLSCAT)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDBTLSCRT

type PDBTLSCRT struct {
	Secret PDBSecret `json:"secret"`
}

func (*PDBTLSCRT) DeepCopy

func (in *PDBTLSCRT) DeepCopy() *PDBTLSCRT

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBTLSCRT.

func (*PDBTLSCRT) DeepCopyInto

func (in *PDBTLSCRT) DeepCopyInto(out *PDBTLSCRT)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PDBTLSKEY

type PDBTLSKEY struct {
	Secret PDBSecret `json:"secret"`
}

func (*PDBTLSKEY) DeepCopy

func (in *PDBTLSKEY) DeepCopy() *PDBTLSKEY

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDBTLSKEY.

func (*PDBTLSKEY) DeepCopyInto

func (in *PDBTLSKEY) DeepCopyInto(out *PDBTLSKEY)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PITSpec

type PITSpec struct {
	// The timestamp must follow this format: YYYY-MM-DD HH:MM:SS GMT
	Timestamp *string `json:"timestamp,omitempty"`
}

func (*PITSpec) DeepCopy

func (in *PITSpec) DeepCopy() *PITSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PITSpec.

func (*PITSpec) DeepCopyInto

func (in *PITSpec) DeepCopyInto(out *PITSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PasswordSpec

type PasswordSpec struct {
	K8sSecret K8sSecretSpec `json:"k8sSecret,omitempty"`
	OCISecret OCISecretSpec `json:"ociSecret,omitempty"`
}

func (*PasswordSpec) DeepCopy

func (in *PasswordSpec) DeepCopy() *PasswordSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordSpec.

func (*PasswordSpec) DeepCopyInto

func (in *PasswordSpec) DeepCopyInto(out *PasswordSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PortMapping

type PortMapping struct {
	Port       int32           `json:"port"`       // Port that will be exposed on the service.
	TargetPort int32           `json:"targetPort"` // Docker image port for the application.
	Protocol   corev1.Protocol `json:"protocol"`   // IP protocol for the mapping, e.g., "TCP" or "UDP".
}

PortMapping is a specification of port mapping for an application deployment. +k8s:openapi-gen=true

func (*PortMapping) DeepCopy

func (in *PortMapping) DeepCopy() *PortMapping

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortMapping.

func (*PortMapping) DeepCopyInto

func (in *PortMapping) DeepCopyInto(out *PortMapping)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivateEndpointSpec

type PrivateEndpointSpec struct {
	SubnetOCID     *string  `json:"subnetOCID,omitempty"`
	NsgOCIDs       []string `json:"nsgOCIDs,omitempty"`
	HostnamePrefix *string  `json:"hostnamePrefix,omitempty"`
}

func (*PrivateEndpointSpec) DeepCopy

func (in *PrivateEndpointSpec) DeepCopy() *PrivateEndpointSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointSpec.

func (*PrivateEndpointSpec) DeepCopyInto

func (in *PrivateEndpointSpec) DeepCopyInto(out *PrivateEndpointSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SfsetLabel

type SfsetLabel string
const (
	ShardingDelLabelKey        SfsetLabel = "sharding.oracle.com/delflag"
	ShardingDelLabelTrueValue  SfsetLabel = "true"
	ShardingDelLabelFalseValue SfsetLabel = "false"
)

type ShardLifecycleState

type ShardLifecycleState string
const (
	AvailableState        ShardLifecycleState = "AVAILABLE"
	FailedState           ShardLifecycleState = "FAILED"
	UpdateState           ShardLifecycleState = "UPDATING"
	ProvisionState        ShardLifecycleState = "PROVISIONING"
	PodNotReadyState      ShardLifecycleState = "PODNOTREADY"
	PodFailureState       ShardLifecycleState = "PODFAILURE"
	PodNotFound           ShardLifecycleState = "PODNOTFOUND"
	StatefulSetFailure    ShardLifecycleState = "STATEFULSETFAILURE"
	StatefulSetNotFound   ShardLifecycleState = "STATEFULSETNOTFOUND"
	DeletingState         ShardLifecycleState = "DELETING"
	DeleteErrorState      ShardLifecycleState = "DELETE_ERROR"
	ChunkMoveError        ShardLifecycleState = "CHUNK_MOVE_ERROR_IN_GSM"
	Terminated            ShardLifecycleState = "TERMINATED"
	LabelPatchingError    ShardLifecycleState = "LABELPATCHINGERROR"
	DeletePVCError        ShardLifecycleState = "DELETEPVCERROR"
	AddingShardState      ShardLifecycleState = "SHARD_ADDITION"
	AddingShardErrorState ShardLifecycleState = "SHARD_ADDITION_ERROR_IN_GSM"
	ShardOnlineErrorState ShardLifecycleState = "SHARD_ONLINE_ERROR_IN_GSM"
	ShardOnlineState      ShardLifecycleState = "ONLINE_SHARD"
	ShardRemoveError      ShardLifecycleState = "SHARD_DELETE_ERROR_FROM_GSM"
)

type ShardSpec

type ShardSpec struct {
	Name             string                       `json:"name"`                                                      // Shard name that will be used deploy StatefulSet
	StorageSizeInGb  int32                        `json:"storageSizeInGb,omitempty"`                                 // Optional Shard Storage Size
	EnvVars          []EnvironmentVariable        `json:"envVars,omitempty"`                                         //Optional Env variables for Shards
	Resources        *corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"` //Optional resource requirement for the container.
	PvcName          string                       `json:"pvcName,omitempty"`
	Label            string                       `json:"label,omitempty"`
	IsDelete         bool                         `json:"isDelete,omitempty"`
	NodeSelector     map[string]string            `json:"nodeSelector,omitempty"`
	PvAnnotations    map[string]string            `json:"pvAnnotations,omitempty"`
	PvMatchLabels    map[string]string            `json:"pvMatchLabels,omitempty"`
	ImagePulllPolicy *corev1.PullPolicy           `json:"imagePullPolicy,omitempty"`
}

ShardSpec is a specification of Shards for an application deployment. +k8s:openapi-gen=true

func (*ShardSpec) DeepCopy

func (in *ShardSpec) DeepCopy() *ShardSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShardSpec.

func (*ShardSpec) DeepCopyInto

func (in *ShardSpec) DeepCopyInto(out *ShardSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShardStatusMapKeys

type ShardStatusMapKeys string
const (
	Name             ShardStatusMapKeys = "Name"
	K8sInternalSvc   ShardStatusMapKeys = "K8sInternalSvc"
	K8sExternalSvc   ShardStatusMapKeys = "K8sExternalSvc"
	K8sInternalSvcIP ShardStatusMapKeys = "K8sInternalSvcIP"
	K8sExternalSvcIP ShardStatusMapKeys = "K8sExternalSvcIP"
	OracleSid        ShardStatusMapKeys = "OracleSid"
	OraclePdb        ShardStatusMapKeys = "OraclePdb"
	Role             ShardStatusMapKeys = "Role"
	DbPasswordSecret ShardStatusMapKeys = "DbPasswordSecret"
	State            ShardStatusMapKeys = "State"
	OpenMode         ShardStatusMapKeys = "OpenMode"
)

type ShardingDatabase

type ShardingDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ShardingDatabaseSpec   `json:"spec,omitempty"`
	Status ShardingDatabaseStatus `json:"status,omitempty"`
}

ShardingDatabase is the Schema for the shardingdatabases API

func (*ShardingDatabase) DeepCopy

func (in *ShardingDatabase) DeepCopy() *ShardingDatabase

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShardingDatabase.

func (*ShardingDatabase) DeepCopyInto

func (in *ShardingDatabase) DeepCopyInto(out *ShardingDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ShardingDatabase) DeepCopyObject

func (in *ShardingDatabase) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ShardingDatabase) GetLastSuccessfulSpec

func (shardingv1 *ShardingDatabase) GetLastSuccessfulSpec() (*ShardingDatabaseSpec, error)

GetLastSuccessfulSpec returns spec from the lass successful reconciliation. Returns nil, nil if there is no lastSuccessfulSpec.

func (*ShardingDatabase) UpdateLastSuccessfulSpec

func (shardingv1 *ShardingDatabase) UpdateLastSuccessfulSpec(kubeClient client.Client) error

UpdateLastSuccessfulSpec updates lastSuccessfulSpec with the current spec.

type ShardingDatabaseList

type ShardingDatabaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ShardingDatabase `json:"items"`
}

ShardingDatabaseList contains a list of ShardingDatabase

func (*ShardingDatabaseList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShardingDatabaseList.

func (*ShardingDatabaseList) DeepCopyInto

func (in *ShardingDatabaseList) DeepCopyInto(out *ShardingDatabaseList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ShardingDatabaseList) DeepCopyObject

func (in *ShardingDatabaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ShardingDatabaseSpec

type ShardingDatabaseSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Shard              []ShardSpec   `json:"shard"`
	Catalog            []CatalogSpec `json:"catalog"`                      // The catalogSpes accept all the catalog parameters
	Gsm                []GsmSpec     `json:"gsm"`                          // The GsmSpec will accept all the Gsm parameter
	StorageClass       string        `json:"storageClass,omitempty"`       // Optional Accept storage class name
	DbImage            string        `json:"dbImage"`                      // Accept DB Image name
	DbImagePullSecret  string        `json:"dbImagePullSecret,omitempty"`  // Optional The name of an image pull secret in case of a private docker repository.
	GsmImage           string        `json:"gsmImage"`                     // Acccept the GSM image name
	GsmImagePullSecret string        `json:"gsmImagePullSecret,omitempty"` // Optional  The name of an image pull secret in case of a private docker repository.
	Secret             string        `json:"secret"`                       //  Secret Name to be used with Shard
	StagePvcName       string        `json:"stagePvcName,omitempty"`       // the Stagepvc  for the backup of cluster
	PortMappings       []PortMapping `json:"portMappings,omitempty"`       // Port mappings for the service that is created. The service is created if there is at least
	Namespace          string        `json:"namespace,omitempty"`          // Target namespace of the application.
	IsDebug            bool          `json:"isDebug,omitempty"`            // Optional parameter to enable logining
	IsExternalSvc      bool          `json:"isExternalSvc,omitempty"`
	IsClone            bool          `json:"isClone,omitempty"`
	IsDataGuard        bool          `json:"isDataGuard,omitempty"`
	ScriptsLocation    string        `json:"scriptsLocation,omitempty"`
	NsConfigMap        string        `json:"nsConfigMap,omitempty"`
	NsSecret           string        `json:"nsSecret,omitempty"`
	IsDeleteOraPvc     bool          `json:"isDeleteOraPvc,omitempty"`
}

ShardingDatabaseSpec defines the desired state of ShardingDatabase

func (*ShardingDatabaseSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShardingDatabaseSpec.

func (*ShardingDatabaseSpec) DeepCopyInto

func (in *ShardingDatabaseSpec) DeepCopyInto(out *ShardingDatabaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShardingDatabaseStatus

type ShardingDatabaseStatus struct {
	Shard   map[string]string `json:"shards,omitempty"`
	Catalog map[string]string `json:"catalogs,omitempty"`
	Gsm     GsmStatus         `json:"gsm,omitempty"`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	CrdStatus []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

To understand Metav1.Condition, please refer the link https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1 ShardingDatabaseStatus defines the observed state of ShardingDatabase

func (*ShardingDatabaseStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShardingDatabaseStatus.

func (*ShardingDatabaseStatus) DeepCopyInto

func (in *ShardingDatabaseStatus) DeepCopyInto(out *ShardingDatabaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SingleInstanceDatabase

type SingleInstanceDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SingleInstanceDatabaseSpec   `json:"spec,omitempty"`
	Status SingleInstanceDatabaseStatus `json:"status,omitempty"`
}

SingleInstanceDatabase is the Schema for the singleinstancedatabases API

func (*SingleInstanceDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabase.

func (*SingleInstanceDatabase) DeepCopyInto

func (in *SingleInstanceDatabase) DeepCopyInto(out *SingleInstanceDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SingleInstanceDatabase) DeepCopyObject

func (in *SingleInstanceDatabase) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SingleInstanceDatabase) Default

func (r *SingleInstanceDatabase) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*SingleInstanceDatabase) SetupWebhookWithManager

func (r *SingleInstanceDatabase) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*SingleInstanceDatabase) ValidateCreate

func (r *SingleInstanceDatabase) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*SingleInstanceDatabase) ValidateDelete

func (r *SingleInstanceDatabase) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*SingleInstanceDatabase) ValidateUpdate

func (r *SingleInstanceDatabase) ValidateUpdate(oldRuntimeObject runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type SingleInstanceDatabaseAdminPassword

type SingleInstanceDatabaseAdminPassword struct {
	SecretName string `json:"secretName"`
	// +kubebuilder:default:="oracle_pwd"
	SecretKey  string `json:"secretKey,omitempty"`
	KeepSecret *bool  `json:"keepSecret,omitempty"`
}

SingleInsatnceAdminPassword defines the secret containing Admin Password mapped to secretKey for Database

func (*SingleInstanceDatabaseAdminPassword) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabaseAdminPassword.

func (*SingleInstanceDatabaseAdminPassword) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SingleInstanceDatabaseImage

type SingleInstanceDatabaseImage struct {
	Version     string `json:"version,omitempty"`
	PullFrom    string `json:"pullFrom"`
	PullSecrets string `json:"pullSecrets,omitempty"`
	PrebuiltDB  bool   `json:"prebuiltDB,omitempty"`
}

SingleInstanceDatabaseImage defines the Image source and pullSecrets for POD

func (*SingleInstanceDatabaseImage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabaseImage.

func (*SingleInstanceDatabaseImage) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SingleInstanceDatabaseInitParams

type SingleInstanceDatabaseInitParams struct {
	SgaTarget          int `json:"sgaTarget,omitempty"`
	PgaAggregateTarget int `json:"pgaAggregateTarget,omitempty"`
	CpuCount           int `json:"cpuCount,omitempty"`
	Processes          int `json:"processes,omitempty"`
}

SingleInstanceDatabaseInitParams defines the Init Parameters

func (*SingleInstanceDatabaseInitParams) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabaseInitParams.

func (*SingleInstanceDatabaseInitParams) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SingleInstanceDatabaseList

type SingleInstanceDatabaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SingleInstanceDatabase `json:"items"`
}

SingleInstanceDatabaseList contains a list of SingleInstanceDatabase

func (*SingleInstanceDatabaseList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabaseList.

func (*SingleInstanceDatabaseList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SingleInstanceDatabaseList) DeepCopyObject

func (in *SingleInstanceDatabaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SingleInstanceDatabasePersistence

type SingleInstanceDatabasePersistence struct {
	Size         string `json:"size,omitempty"`
	StorageClass string `json:"storageClass,omitempty"`
	// +kubebuilder:validation:Enum=ReadWriteOnce;ReadWriteMany
	AccessMode            string `json:"accessMode,omitempty"`
	VolumeName            string `json:"volumeName,omitempty"`
	VolumeClaimAnnotation string `json:"volumeClaimAnnotation,omitempty"`
}

SingleInstanceDatabasePersistence defines the storage size and class for PVC

func (*SingleInstanceDatabasePersistence) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabasePersistence.

func (*SingleInstanceDatabasePersistence) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SingleInstanceDatabaseSpec

type SingleInstanceDatabaseSpec struct {

	// +kubebuilder:validation:Enum=standard;enterprise;express;free
	Edition string `json:"edition,omitempty"`

	// SID must be alphanumeric (no special characters, only a-z, A-Z, 0-9), and no longer than 12 characters.
	// +k8s:openapi-gen=true
	// +kubebuilder:validation:Pattern=`^[a-zA-Z0-9]+$`
	// +kubebuilder:validation:MaxLength:=12
	Sid                   string            `json:"sid,omitempty"`
	Charset               string            `json:"charset,omitempty"`
	Pdbname               string            `json:"pdbName,omitempty"`
	LoadBalancer          bool              `json:"loadBalancer,omitempty"`
	ListenerPort          int               `json:"listenerPort,omitempty"`
	TcpsListenerPort      int               `json:"tcpsListenerPort,omitempty"`
	ServiceAnnotations    map[string]string `json:"serviceAnnotations,omitempty"`
	FlashBack             bool              `json:"flashBack,omitempty"`
	ArchiveLog            bool              `json:"archiveLog,omitempty"`
	ForceLogging          bool              `json:"forceLog,omitempty"`
	EnableTCPS            bool              `json:"enableTCPS,omitempty"`
	TcpsCertRenewInterval string            `json:"tcpsCertRenewInterval,omitempty"`
	DgBrokerConfigured    bool              `json:"dgBrokerConfigured,omitempty"`

	CloneFrom            string `json:"cloneFrom,omitempty"`
	PrimaryDatabaseRef   string `json:"primaryDatabaseRef,omitempty"`
	CreateAsStandby      bool   `json:"createAsStandby,omitempty"`
	ReadinessCheckPeriod int    `json:"readinessCheckPeriod,omitempty"`
	ServiceAccountName   string `json:"serviceAccountName,omitempty"`

	// +k8s:openapi-gen=true
	Replicas int `json:"replicas,omitempty"`

	NodeSelector  map[string]string                   `json:"nodeSelector,omitempty"`
	AdminPassword SingleInstanceDatabaseAdminPassword `json:"adminPassword,omitempty"`
	Image         SingleInstanceDatabaseImage         `json:"image"`
	Persistence   SingleInstanceDatabasePersistence   `json:"persistence,omitempty"`
	InitParams    SingleInstanceDatabaseInitParams    `json:"initParams,omitempty"`
}

SingleInstanceDatabaseSpec defines the desired state of SingleInstanceDatabase

func (*SingleInstanceDatabaseSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabaseSpec.

func (*SingleInstanceDatabaseSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SingleInstanceDatabaseStatus

type SingleInstanceDatabaseStatus struct {
	Nodes         []string `json:"nodes,omitempty"`
	Role          string   `json:"role,omitempty"`
	Status        string   `json:"status,omitempty"`
	Replicas      int      `json:"replicas,omitempty"`
	ReleaseUpdate string   `json:"releaseUpdate,omitempty"`
	// +kubebuilder:default:="false"
	DatafilesPatched     string            `json:"datafilesPatched,omitempty"`
	ConnectString        string            `json:"connectString,omitempty"`
	ClusterConnectString string            `json:"clusterConnectString,omitempty"`
	TcpsConnectString    string            `json:"tcpsConnectString,omitempty"`
	StandbyDatabases     map[string]string `json:"standbyDatabases,omitempty"`
	// +kubebuilder:default:="false"
	DatafilesCreated     string `json:"datafilesCreated,omitempty"`
	Sid                  string `json:"sid,omitempty"`
	Edition              string `json:"edition,omitempty"`
	Charset              string `json:"charset,omitempty"`
	Pdbname              string `json:"pdbName,omitempty"`
	InitSgaSize          int    `json:"initSgaSize,omitempty"`
	InitPgaSize          int    `json:"initPgaSize,omitempty"`
	CloneFrom            string `json:"cloneFrom,omitempty"`
	FlashBack            string `json:"flashBack,omitempty"`
	ArchiveLog           string `json:"archiveLog,omitempty"`
	ForceLogging         string `json:"forceLog,omitempty"`
	OemExpressUrl        string `json:"oemExpressUrl,omitempty"`
	OrdsReference        string `json:"ordsReference,omitempty"`
	PdbConnectString     string `json:"pdbConnectString,omitempty"`
	TcpsPdbConnectString string `json:"tcpsPdbConnectString,omitempty"`
	ApexInstalled        bool   `json:"apexInstalled,omitempty"`
	PrebuiltDB           bool   `json:"prebuiltDB,omitempty"`
	// +kubebuilder:default:=false
	IsTcpsEnabled         bool   `json:"isTcpsEnabled"`
	CertCreationTimestamp string `json:"certCreationTimestamp,omitempty"`
	CertRenewInterval     string `json:"certRenewInterval,omitempty"`
	ClientWalletLoc       string `json:"clientWalletLoc,omitempty"`
	PrimaryDatabase       string `json:"primaryDatabase,omitempty"`
	DgBrokerConfigured    bool   `json:"dgBrokerConfigured,omitempty"`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	InitParams  SingleInstanceDatabaseInitParams  `json:"initParams,omitempty"`
	Persistence SingleInstanceDatabasePersistence `json:"persistence"`
}

SingleInstanceDatabaseStatus defines the observed state of SingleInstanceDatabase

func (*SingleInstanceDatabaseStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleInstanceDatabaseStatus.

func (*SingleInstanceDatabaseStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceSpec

type SourceSpec struct {
	K8sADBBackup K8sADBBackupSpec `json:"k8sADBBackup,omitempty"`
	PointInTime  PITSpec          `json:"pointInTime,omitempty"`
}

func (*SourceSpec) DeepCopy

func (in *SourceSpec) DeepCopy() *SourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec.

func (*SourceSpec) DeepCopyInto

func (in *SourceSpec) DeepCopyInto(out *SourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TDEPwd

type TDEPwd struct {
	Secret PDBSecret `json:"secret"`
}

TDEPwd defines the secret containing TDE Wallet Password mapped to key 'tdePassword' for PDB

func (*TDEPwd) DeepCopy

func (in *TDEPwd) DeepCopy() *TDEPwd

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TDEPwd.

func (*TDEPwd) DeepCopyInto

func (in *TDEPwd) DeepCopyInto(out *TDEPwd)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TDESecret

type TDESecret struct {
	Secret PDBSecret `json:"secret"`
}

TDESecret defines the secret containing TDE Secret to key 'tdeSecret' for PDB

func (*TDESecret) DeepCopy

func (in *TDESecret) DeepCopy() *TDESecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TDESecret.

func (*TDESecret) DeepCopyInto

func (in *TDESecret) DeepCopyInto(out *TDESecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TLSAuthenticationEnum

type TLSAuthenticationEnum string

type TargetSpec

type TargetSpec struct {
	K8sADB K8sADBSpec `json:"k8sADB,omitempty"`
	OCIADB OCIADBSpec `json:"ociADB,omitempty"`
}

TargetSpec defines the spec of the target for backup/restore runs.

func (*TargetSpec) DeepCopy

func (in *TargetSpec) DeepCopy() *TargetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec.

func (*TargetSpec) DeepCopyInto

func (in *TargetSpec) DeepCopyInto(out *TargetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VmNetworkDetails

type VmNetworkDetails struct {
	VcnName      *string `json:"vcnName,omitempty"`
	SubnetName   *string `json:"clientSubnet,omitempty"`
	ScanDnsName  *string `json:"scanDnsName,omitempty"`
	HostName     string  `json:"hostName,omitempty"`
	DomainName   string  `json:"domainName,omitempty"`
	ListenerPort *int    `json:"listenerPort,omitempty"`
	NetworkSG    string  `json:"networkSG,omitempty"`
}

func (*VmNetworkDetails) DeepCopy

func (in *VmNetworkDetails) DeepCopy() *VmNetworkDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmNetworkDetails.

func (*VmNetworkDetails) DeepCopyInto

func (in *VmNetworkDetails) DeepCopyInto(out *VmNetworkDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WalletSpec

type WalletSpec struct {
	Name     *string      `json:"name,omitempty"`
	Password PasswordSpec `json:"password,omitempty"`
}

func (*WalletSpec) DeepCopy

func (in *WalletSpec) DeepCopy() *WalletSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WalletSpec.

func (*WalletSpec) DeepCopyInto

func (in *WalletSpec) DeepCopyInto(out *WalletSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebServerPassword

type WebServerPassword struct {
	Secret CDBSecret `json:"secret"`
}

WebServerPassword defines the secret containing password for Web Server User mapped to key 'webServerPwd' to manage PDB lifecycle

func (*WebServerPassword) DeepCopy

func (in *WebServerPassword) DeepCopy() *WebServerPassword

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebServerPassword.

func (*WebServerPassword) DeepCopyInto

func (in *WebServerPassword) DeepCopyInto(out *WebServerPassword)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebServerUser

type WebServerUser struct {
	Secret CDBSecret `json:"secret"`
}

WebServerUser defines the secret containing Web Server User mapped to key 'webServerUser' to manage PDB lifecycle

func (*WebServerUser) DeepCopy

func (in *WebServerUser) DeepCopy() *WebServerUser

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebServerUser.

func (*WebServerUser) DeepCopyInto

func (in *WebServerUser) DeepCopyInto(out *WebServerUser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL