v1alpha1

package
v0.5.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "oracle.db.anthosapis.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
)

Functions

This section is empty.

Types

type Backup

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

	Spec   BackupSpec   `json:"spec,omitempty"`
	Status BackupStatus `json:"status,omitempty"`
}

Backup is the Schema for the backups API.

func (*Backup) BackupSpec

func (i *Backup) BackupSpec() *commonv1alpha1.BackupSpec

BackpSpec defines the common specifications for a Backup.

func (*Backup) BackupStatus

func (i *Backup) BackupStatus() *commonv1alpha1.BackupStatus

BackupScheduleStatus defines the common status for a BackupSchedule.

func (*Backup) DeepCopy

func (in *Backup) DeepCopy() *Backup

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

func (*Backup) DeepCopyInto

func (in *Backup) DeepCopyInto(out *Backup)

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

func (*Backup) DeepCopyObject

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

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

func (*Backup) SectionSize

func (backup *Backup) SectionSize() int32

type BackupList

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

BackupList contains a list of Backup.

func (*BackupList) DeepCopy

func (in *BackupList) DeepCopy() *BackupList

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

func (*BackupList) DeepCopyInto

func (in *BackupList) DeepCopyInto(out *BackupList)

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

func (*BackupList) DeepCopyObject

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

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

type BackupMode

type BackupMode string

BackupMode describes how a backup be managed by the operator.

const (
	// VerifyExists means the operator will verify the existence of a backup
	// instead of creating a new backup.
	VerifyExists BackupMode = "VerifyExists"
)

type BackupReference

type BackupReference struct {
	// `namespace` is the namespace in which the backup object is created.
	// +required
	Namespace string `json:"namespace,omitempty"`
	// `name` is the name of the backup.
	// +required
	Name string `json:"name,omitempty"`
}

func (*BackupReference) DeepCopy

func (in *BackupReference) DeepCopy() *BackupReference

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

func (*BackupReference) DeepCopyInto

func (in *BackupReference) DeepCopyInto(out *BackupReference)

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

type BackupSchedule

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

	Spec   BackupScheduleSpec   `json:"spec,omitempty"`
	Status BackupScheduleStatus `json:"status,omitempty"`
}

BackupSchedule is the Schema for the backupschedules API.

func (*BackupSchedule) BackupScheduleSpec

func (i *BackupSchedule) BackupScheduleSpec() *commonv1alpha1.BackupScheduleSpec

BackupScheduleSpec defines the common specifications for a BackupSchedule.

func (*BackupSchedule) BackupScheduleStatus

func (i *BackupSchedule) BackupScheduleStatus() *commonv1alpha1.BackupScheduleStatus

BackupScheduleStatus defines the common status for a BackupSchedule.

func (*BackupSchedule) DeepCopy

func (in *BackupSchedule) DeepCopy() *BackupSchedule

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

func (*BackupSchedule) DeepCopyInto

func (in *BackupSchedule) DeepCopyInto(out *BackupSchedule)

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

func (*BackupSchedule) DeepCopyObject

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

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

type BackupScheduleList

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

BackupScheduleList contains a list of BackupSchedule.

func (*BackupScheduleList) DeepCopy

func (in *BackupScheduleList) DeepCopy() *BackupScheduleList

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

func (*BackupScheduleList) DeepCopyInto

func (in *BackupScheduleList) DeepCopyInto(out *BackupScheduleList)

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

func (*BackupScheduleList) DeepCopyObject

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

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

type BackupScheduleSpec

type BackupScheduleSpec struct {
	commonv1alpha1.BackupScheduleSpec `json:",inline"`

	// BackupSpec defines the Backup that will be created on the provided schedule.
	BackupSpec BackupSpec `json:"backupSpec"`

	// BackupLabels define the desired labels that scheduled backups will be created with.
	// +optional
	BackupLabels map[string]string `json:"backupLabels,omitempty"`
}

func (*BackupScheduleSpec) DeepCopy

func (in *BackupScheduleSpec) DeepCopy() *BackupScheduleSpec

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

func (*BackupScheduleSpec) DeepCopyInto

func (in *BackupScheduleSpec) DeepCopyInto(out *BackupScheduleSpec)

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

type BackupScheduleStatus

type BackupScheduleStatus struct {
	commonv1alpha1.BackupScheduleStatus `json:",inline"`
}

BackupScheduleStatus defines the observed state of BackupSchedule.

func (*BackupScheduleStatus) DeepCopy

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

func (*BackupScheduleStatus) DeepCopyInto

func (in *BackupScheduleStatus) DeepCopyInto(out *BackupScheduleStatus)

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

type BackupSpec

type BackupSpec struct {
	// Backup specs that are common across all database engines.
	commonv1alpha1.BackupSpec `json:",inline"`

	// Mode specifies how this backup will be managed by the operator.
	// if it is not set, the operator tries to create a backup based on the specifications.
	// if it is set to VerifyExists, the operator verifies the existence of a backup.
	// +optional
	// +kubebuilder:validation:Enum=VerifyExists
	Mode BackupMode `json:"mode,omitempty"`

	// Backup sub-type, which is only relevant for a Physical backup type
	// (e.g. RMAN). If omitted, the default of Instance(Level) is assumed.
	// Supported options at this point are: Instance or Database level backups.
	// +kubebuilder:validation:Enum=Instance;Database;Tablespace;Datafile
	// +optional
	Subtype string `json:"subType,omitempty"`

	// VolumeSnapshotClass points to a particular CSI driver and is used
	// for taking a volume snapshot. If requested here at the Backup
	// level, this setting overrides the platform default as well
	// as the default set via the Config (global user preferences).
	VolumeSnapshotClass string `json:"volumeSnapshotClass,omitempty"`

	// For a Physical backup this slice can be used to indicate what
	// PDBs, schemas, tablespaces or tables to back up.
	// +optional
	BackupItems []string `json:"backupItems,omitempty"`

	// For a Physical backup the choices are Backupset and Image Copies.
	// Backupset is the default, but if Image Copies are required,
	// flip this flag to false.
	// +optional
	Backupset *bool `json:"backupset,omitempty"`

	// For a Physical backup, optionally turn on compression,
	// by flipping this flag to true. The default is false.
	Compressed bool `json:"compressed,omitempty"`

	// For a Physical backup, optionally turn on an additional "check
	// logical" option. The default is off.
	// +optional
	CheckLogical bool `json:"checkLogical,omitempty"`

	// For a Physical backup, optionally indicate a degree of parallelism
	// also known as DOP.
	// +optional
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=100
	Dop int32 `json:"dop,omitempty"`

	// For a Physical backup, optionally specify an incremental level.
	// The default is 0 (the whole database).
	// +optional
	Level int32 `json:"level,omitempty"`

	// For a Physical backup, optionally specify filesperset.
	// The default depends on a type of backup, generally 64.
	// +optional
	Filesperset int32 `json:"filesperset,omitempty"`

	// For a Physical backup, optionally specify a section size in various
	// units (K M G).
	// +optional
	SectionSize resource.Quantity `json:"sectionSize,omitempty"`

	// For a Physical backup, optionally specify the time threshold.
	// If a threshold is reached, the backup request would time out and
	// error out. The threshold is expressed in minutes.
	// Don't include the unit (minutes), just the integer.
	// +optional
	TimeLimitMinutes int32 `json:"timeLimitMinutes,omitempty"`

	// For a Physical backup, optionally specify a local backup dir.
	// If omitted, /u03/app/oracle/rman is assumed.
	// +optional
	LocalPath string `json:"localPath,omitempty"`

	// If set up ahead of time, the backup sets of a physical backup can be
	// optionally transferred to a GCS bucket.
	// A user is to ensure proper write access to the bucket from within the
	// Oracle Operator.
	// +optional
	// +kubebuilder:validation:Pattern=`^gs:\/\/.+$`
	GcsPath string `json:"gcsPath,omitempty"`

	// Similar to GcsPath but specify a Gcs directory.
	// The backup sets of physical backup will be transferred to this GcsDir under a folder named .backup.Spec.Name.
	// This field is usually set in .backupSchedule.Spec.backSpec to specify a GcsDir which all scheduled backups will be uploaded to.
	// A user is to ensure proper write access to the bucket from within the
	// Oracle Operator.
	// +optional
	// +kubebuilder:validation:Pattern=`^gs:\/\/.+$`
	GcsDir string `json:"gcsDir,omitempty"`
}

BackupSpec defines the desired state of Backup.

func (*BackupSpec) DeepCopy

func (in *BackupSpec) DeepCopy() *BackupSpec

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

func (*BackupSpec) DeepCopyInto

func (in *BackupSpec) DeepCopyInto(out *BackupSpec)

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

type BackupStatus

type BackupStatus struct {
	// Backup status that is common across all database engines.
	commonv1alpha1.BackupStatus `json:",inline"`
	GcsPath                     string `json:"gcsPath,omitempty"`
	BackupID                    string `json:"backupid,omitempty"`
	BackupTime                  string `json:"backuptime,omitempty"`
	// +optional
	StartTime *metav1.Time `json:"startTime,omitempty"`
	// +optional
	Duration *metav1.Duration `json:"duration,omitempty"`
}

BackupStatus defines the observed state of Backup.

func (*BackupStatus) DeepCopy

func (in *BackupStatus) DeepCopy() *BackupStatus

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

func (*BackupStatus) DeepCopyInto

func (in *BackupStatus) DeepCopyInto(out *BackupStatus)

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

type Config

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

	Spec   ConfigSpec   `json:"spec,omitempty"`
	Status ConfigStatus `json:"status,omitempty"`
}

Config is the Schema for the configs API.

func (*Config) DeepCopy

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

func (*Config) DeepCopyObject

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

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

type ConfigList

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

ConfigList contains a list of Config.

func (*ConfigList) DeepCopy

func (in *ConfigList) DeepCopy() *ConfigList

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

func (*ConfigList) DeepCopyInto

func (in *ConfigList) DeepCopyInto(out *ConfigList)

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

func (*ConfigList) DeepCopyObject

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

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

type ConfigSpec

type ConfigSpec struct {
	commonv1alpha1.ConfigSpec `json:",inline"`
}

ConfigSpec defines the desired state of Config.

func (*ConfigSpec) DeepCopy

func (in *ConfigSpec) DeepCopy() *ConfigSpec

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

func (*ConfigSpec) DeepCopyInto

func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)

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

type ConfigStatus

type ConfigStatus struct {
}

ConfigStatus defines the observed state of Config.

func (*ConfigStatus) DeepCopy

func (in *ConfigStatus) DeepCopy() *ConfigStatus

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

func (*ConfigStatus) DeepCopyInto

func (in *ConfigStatus) DeepCopyInto(out *ConfigStatus)

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

type CronAnything

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

	Spec   CronAnythingSpec   `json:"spec,omitempty"`
	Status CronAnythingStatus `json:"status,omitempty"`
}

CronAnything is the Schema for the CronAnything API.

func (*CronAnything) CronAnythingSpec

func (i *CronAnything) CronAnythingSpec() *commonv1alpha1.CronAnythingSpec

CronAnythingSpec defines the common specifications for a CronAnything.

func (*CronAnything) CronAnythingStatus

func (i *CronAnything) CronAnythingStatus() *commonv1alpha1.CronAnythingStatus

CronAnythingStatus defines the common status for a CronAnything.

func (*CronAnything) DeepCopy

func (in *CronAnything) DeepCopy() *CronAnything

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

func (*CronAnything) DeepCopyInto

func (in *CronAnything) DeepCopyInto(out *CronAnything)

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

func (*CronAnything) DeepCopyObject

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

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

type CronAnythingList

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

CronAnythingList contains a list of CronAnything.

func (*CronAnythingList) DeepCopy

func (in *CronAnythingList) DeepCopy() *CronAnythingList

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

func (*CronAnythingList) DeepCopyInto

func (in *CronAnythingList) DeepCopyInto(out *CronAnythingList)

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

func (*CronAnythingList) DeepCopyObject

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

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

type CronAnythingSpec

type CronAnythingSpec struct {
	// CronAnythingSpec represents the database engine agnostic
	// part of the spec describing the desired state of an CronAnything.
	commonv1alpha1.CronAnythingSpec `json:",inline"`
}

CronAnythingSpec defines the desired state of CronAnything.

func (*CronAnythingSpec) DeepCopy

func (in *CronAnythingSpec) DeepCopy() *CronAnythingSpec

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

func (*CronAnythingSpec) DeepCopyInto

func (in *CronAnythingSpec) DeepCopyInto(out *CronAnythingSpec)

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

type CronAnythingStatus

type CronAnythingStatus struct {
	// CronAnythingStatus represents the database engine agnostic
	// part of the status describing the observed state of an CronAnything.
	commonv1alpha1.CronAnythingStatus `json:",inline"`
}

CronAnythingStatus defines the observed state of CronAnything.

func (*CronAnythingStatus) DeepCopy

func (in *CronAnythingStatus) DeepCopy() *CronAnythingStatus

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

func (*CronAnythingStatus) DeepCopyInto

func (in *CronAnythingStatus) DeepCopyInto(out *CronAnythingStatus)

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

type DataGuardOutput

type DataGuardOutput struct {
	// LastUpdateTime is the last time the DataGuardOutput updated based on DB
	// Data Guard utility output.
	// +required
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`

	// StatusOutput is the output of "show configuration" and "show database <standby DB unique name>".
	StatusOutput []string `json:"statusOutput"`
}

DataGuardOutput shows Data Guard utility output.

func (*DataGuardOutput) DeepCopy

func (in *DataGuardOutput) DeepCopy() *DataGuardOutput

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

func (*DataGuardOutput) DeepCopyInto

func (in *DataGuardOutput) DeepCopyInto(out *DataGuardOutput)

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

type Database

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

	Spec   DatabaseSpec   `json:"spec,omitempty"`
	Status DatabaseStatus `json:"status,omitempty"`
}

Database is the Schema for the databases API.

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject

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

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

type DatabaseList

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

DatabaseList contains a list of Database.

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject

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

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

type DatabaseSpec

type DatabaseSpec struct {
	// Database specs that are common across all database engines.
	commonv1alpha1.DatabaseSpec `json:",inline"`

	// AdminPassword is the password for the sys admin of the database.
	// +optional
	// +kubebuilder:validation:MaxLength=30
	// +kubebuilder:validation:MinLength=5
	AdminPassword string `json:"admin_password,omitempty"`

	// AdminPasswordGsmSecretRef is a reference to the secret object containing
	// sensitive information to pass to config agent.
	// This field is optional, and may be empty if plaintext password is used.
	// +optional
	AdminPasswordGsmSecretRef *commonv1alpha1.GsmSecretReference `json:"adminPasswordGsmSecretRef,omitempty"`

	// Users specifies an optional list of users to be created in this database.
	// +optional
	Users []UserSpec `json:"users"`
}

DatabaseSpec defines the desired state of Database.

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type DatabaseStatus

type DatabaseStatus struct {
	// Database status that is common across all database engines.
	commonv1alpha1.DatabaseStatus `json:",inline"`

	// List of user names.
	UserNames []string `json:"usernames,omitempty"`

	// UserResourceVersions is a map of username to user resource version
	// (plaintext or GSM). For GSM Resource version, use format:
	// "projects/{ProjectId}/secrets/{SecretId}/versions/{Version}".
	UserResourceVersions map[string]string `json:"UserResourceVersions,omitempty"`

	// ObservedGeneration is the latest generation observed by the controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// IsChangeApplied indicates whether database changes have been applied
	// +optional
	IsChangeApplied metav1.ConditionStatus `json:"isChangeApplied,omitempty"`
}

DatabaseStatus defines the observed state of Database.

func (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

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

type Export

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

	Spec   ExportSpec   `json:"spec,omitempty"`
	Status ExportStatus `json:"status,omitempty"`
}

Export is the Schema for the exports API.

func (*Export) DeepCopy

func (in *Export) DeepCopy() *Export

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

func (*Export) DeepCopyInto

func (in *Export) DeepCopyInto(out *Export)

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

func (*Export) DeepCopyObject

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

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

type ExportList

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

ExportList contains a list of Export.

func (*ExportList) DeepCopy

func (in *ExportList) DeepCopy() *ExportList

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

func (*ExportList) DeepCopyInto

func (in *ExportList) DeepCopyInto(out *ExportList)

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

func (*ExportList) DeepCopyObject

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

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

type ExportSpec

type ExportSpec struct {
	// Instance is the resource name within namespace to export from.
	// +required
	Instance string `json:"instance"`

	// DatabaseName is the database resource name within Instance to export from.
	// +required
	DatabaseName string `json:"databaseName"`

	// Type of the Export. If omitted, the default of DataPump is assumed.
	// +kubebuilder:validation:Enum=DataPump
	// +optional
	Type string `json:"type,omitempty"`

	// ExportObjectType is the type of objects to export. If omitted, the default
	// of Schemas is assumed.
	// Supported options at this point are: Schemas or Tables.
	// +kubebuilder:validation:Enum=Schemas;Tables
	// +optional
	ExportObjectType string `json:"exportObjectType,omitempty"`

	// ExportObjects are objects, schemas or tables, exported by DataPump.
	// +required
	ExportObjects []string `json:"exportObjects,omitempty"`

	// GcsPath is a full path in GCS bucket to transfer exported files to.
	// A user is to ensure proper write access to the bucket from within the
	// Oracle Operator.
	// +required
	GcsPath string `json:"gcsPath,omitempty"`

	// GcsLogPath is an optional full path in GCS. If set up ahead of time, export
	// logs can be optionally transferred to set GCS bucket. A user is to ensure
	// proper write access to the bucket from within the Oracle Operator.
	// +optional
	GcsLogPath string `json:"gcsLogPath,omitempty"`

	// FlashbackTime is an optional time. If this time is set, the SCN that most
	// closely matches the time is found, and this SCN is used to enable the
	// Flashback utility. The export operation is performed with data that is
	// consistent up to this SCN.
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	// +optional
	FlashbackTime *metav1.Time `json:"flashbackTime,omitempty"`
}

ExportSpec defines the desired state of Export

func (*ExportSpec) DeepCopy

func (in *ExportSpec) DeepCopy() *ExportSpec

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

func (*ExportSpec) DeepCopyInto

func (in *ExportSpec) DeepCopyInto(out *ExportSpec)

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

type ExportStatus

type ExportStatus struct {
	// Conditions represents the latest available observations
	// of the export's current state.
	// +listType=map
	// +listMapKey=type
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

ExportStatus defines the observed state of Export.

func (*ExportStatus) DeepCopy

func (in *ExportStatus) DeepCopy() *ExportStatus

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

func (*ExportStatus) DeepCopyInto

func (in *ExportStatus) DeepCopyInto(out *ExportStatus)

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

type Import

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

	Spec   ImportSpec   `json:"spec,omitempty"`
	Status ImportStatus `json:"status,omitempty"`
}

Import is the Schema for the imports API.

func (*Import) DeepCopy

func (in *Import) DeepCopy() *Import

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

func (*Import) DeepCopyInto

func (in *Import) DeepCopyInto(out *Import)

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

func (*Import) DeepCopyObject

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

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

type ImportList

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

ImportList contains a list of Import.

func (*ImportList) DeepCopy

func (in *ImportList) DeepCopy() *ImportList

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

func (*ImportList) DeepCopyInto

func (in *ImportList) DeepCopyInto(out *ImportList)

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

func (*ImportList) DeepCopyObject

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

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

type ImportSpec

type ImportSpec struct {
	// Instance is the resource name within same namespace to import into.
	// +required
	Instance string `json:"instance,omitempty"`

	// DatabaseName is the database resource name within Instance to import into.
	// +required
	DatabaseName string `json:"databaseName,omitempty"`

	// Type of the Import. If not specified, the default of DataPump is assumed,
	// which is the only supported option currently.
	// +kubebuilder:validation:Enum=DataPump
	// +optional
	Type string `json:"type,omitempty"`

	// GcsPath is a full path to the input file in GCS containing import data.
	// A user is to ensure proper write access to the bucket from within the
	// Oracle Operator.
	// +required
	GcsPath string `json:"gcsPath,omitempty"`

	// GcsLogPath is an optional path in GCS to copy import log to.
	// A user is to ensure proper write access to the bucket from within the
	// Oracle Operator.
	// +optional
	GcsLogPath string `json:"gcsLogPath,omitempty"`

	// Options is a map of options and their values for usage with the
	// specified Import Type. Right now this is only supported for passing
	// additional impdp specific options.
	// +optional
	Options map[string]string `json:"options,omitempty"`
}

ImportSpec defines the desired state of Import.

func (*ImportSpec) DeepCopy

func (in *ImportSpec) DeepCopy() *ImportSpec

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

func (*ImportSpec) DeepCopyInto

func (in *ImportSpec) DeepCopyInto(out *ImportSpec)

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

type ImportStatus

type ImportStatus struct {
	// Conditions represents the latest available observations
	// of the import's current state.
	// +listType=map
	// +listMapKey=type
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

ImportStatus defines the observed state of Import.

func (*ImportStatus) DeepCopy

func (in *ImportStatus) DeepCopy() *ImportStatus

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

func (*ImportStatus) DeepCopyInto

func (in *ImportStatus) DeepCopyInto(out *ImportStatus)

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

type Instance

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

	Spec   InstanceSpec   `json:"spec,omitempty"`
	Status InstanceStatus `json:"status,omitempty"`
}

Instance is the Schema for the instances API.

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) InstanceSpec

func (i *Instance) InstanceSpec() commonv1alpha1.InstanceSpec

InstanceSpec defines the common specifications for an Instance.

func (*Instance) InstanceStatus

func (i *Instance) InstanceStatus() commonv1alpha1.InstanceStatus

InstanceStatus defines the common status for an Instance.

type InstanceList

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

InstanceList contains a list of Instance.

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

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

func (*InstanceList) DeepCopyInto

func (in *InstanceList) DeepCopyInto(out *InstanceList)

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

func (*InstanceList) DeepCopyObject

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

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

type InstanceReference

type InstanceReference struct {
	// `name` is the name of a database instance.
	// +required
	Name string `json:"name,omitempty"`
}

InstanceReference represents a database instance Reference. It has enough information to retrieve a database instance object.

func (*InstanceReference) DeepCopy

func (in *InstanceReference) DeepCopy() *InstanceReference

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

func (*InstanceReference) DeepCopyInto

func (in *InstanceReference) DeepCopyInto(out *InstanceReference)

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

type InstanceSpec

type InstanceSpec struct {
	// InstanceSpec represents the database engine agnostic
	// part of the spec describing the desired state of an Instance.
	commonv1alpha1.InstanceSpec `json:",inline"`

	// Restore and recovery request details.
	// This section should normally be commented out unless an actual
	// restore/recovery is required.
	// +optional
	Restore *RestoreSpec `json:"restore,omitempty"`

	// DatabaseUID represents an OS UID of a user running a database.
	// +optional
	DatabaseUID *int64 `json:"databaseUID,omitempty"`

	// DatabaseGID represents an OS group ID of a user running a database.
	// +optional
	DatabaseGID *int64 `json:"databaseGID,omitempty"`

	// DBDomain is an optional attribute to set a database domain.
	// +optional
	DBDomain string `json:"dbDomain,omitempty"`

	// CDBName is the intended name of the CDB attribute. If the CDBName is
	// different from the original name (with which the CDB was created) the
	// CDB will be renamed.  The CDBName should meet Oracle SID requirements:
	// uppercase, alphanumeric, max 8 characters, and not start with a number.
	// +optional
	// +kubebuilder:validation:MaxLength=8
	// +kubebuilder:validation:Pattern=^[A-Z][A-Z0-9]*$
	CDBName string `json:"cdbName,omitempty"`

	// DBUniqueName represents a unique database name that would be
	// set for a database (if not provided, as a default,
	// the [_generic|_<zone name>] will be appended to a DatabaseName).
	// +optional
	DBUniqueName string `json:"dbUniqueName,omitempty"`

	// CharacterSet used to create a database (the default is AL32UTF8).
	// +optional
	CharacterSet string `json:"characterSet,omitempty"`

	// MemoryPercent represents the percentage of memory that should be allocated
	// for Oracle SGA (default is 25%).
	// +optional
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	MemoryPercent int `json:"memoryPercent,omitempty"`

	// ReplicationSettings provides configuration for initializing an
	// instance as a standby for the specified primary instance. These
	// settings can only be used when initializing an instance, adding them
	// to an already created instance is an error. Once a standby is
	// created with these settings you may promote the standby to its own
	// independent instance by removing these settings.
	// DBUniqueName must be set when initializing a standby instance.
	// +optional
	ReplicationSettings *ReplicationSettings `json:"replicationSettings,omitempty"`

	// EnableDnfs enables configuration of Oracle's dNFS functionality.
	// +optional
	EnableDnfs bool `json:"enableDnfs,omitempty"`
}

InstanceSpec defines the desired state of Instance.

func (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

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

func (*InstanceSpec) DeepCopyInto

func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)

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

type InstanceStatus

type InstanceStatus struct {
	// InstanceStatus represents the database engine agnostic
	// part of the status describing the observed state of an Instance.
	commonv1alpha1.InstanceStatus `json:",inline"`

	// List of database names (e.g. PDBs) hosted in the Instance.
	DatabaseNames []string `json:"databasenames,omitempty"`

	// Last backup ID.
	BackupID string `json:"backupid,omitempty"`

	// +optional
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	LastRestoreTime *metav1.Time `json:"lastRestoreTime,omitempty"`

	// CurrentParameters stores the last successfully set instance parameters.
	CurrentParameters map[string]string `json:"currentParameters,omitempty"`

	// LastDatabaseIncarnation stores the parent incarnation number
	LastDatabaseIncarnation string `json:"lastDatabaseIncarnation,omitempty"`

	// CurrentDatabaseIncarnation stores the current incarnation number
	CurrentDatabaseIncarnation string `json:"currentDatabaseIncarnation,omitempty"`

	// CurrentReplicationSettings stores the current replication settings of the
	// standby instance. Standby data replication uses it to promote a standby
	// instance. It will be updated to match with spec.replicationSettings before
	// promotion. It will be removed once data replication is completed.
	// +optional
	CurrentReplicationSettings *ReplicationSettings `json:"currentReplicationSettings,omitempty"`

	// DataGuardOutput stores the latest Data Guard utility status output.
	// +optional
	DataGuardOutput *DataGuardOutput `json:"dataGuardOutput,omitempty"`

	// LastFailedParameterUpdate is used to avoid getting into the failed
	// parameter update loop.
	LastFailedParameterUpdate map[string]string `json:"lastFailedParameterUpdate,omitempty"`

	// ActiveImages stores the stable images used by the active containers.
	ActiveImages map[string]string `json:"ActiveImages,omitempty"`

	// LastFailedImages stores the images which failed the last patching workflow..
	LastFailedImages map[string]string `json:"LastFailedImages,omitempty"`

	// CurrentActiveStateMachine stores the name of the state machine currently active.
	CurrentActiveStateMachine string `json:"CurrentActiveStateMachine,omitempty"`

	// LockedByController is a shared lock field granting exclusive access
	// to maintenance operations to only one controller.
	// Empty value means unlocked.
	// Non-empty value contains the name of the owning controller.
	// +optional
	LockedByController string `json:"lockedBy,omitempty"`

	// DnfsEnabled stores whether dNFS has already been enabled or not.
	DnfsEnabled bool `json:"DnfsEnabled,omitempty"`
}

InstanceStatus defines the observed state of Instance.

func (*InstanceStatus) DeepCopy

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

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

type PITR

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

	Spec   PITRSpec   `json:"spec,omitempty"`
	Status PITRStatus `json:"status,omitempty"`
}

PITR is the Schema for the PITR API

func (*PITR) DeepCopy

func (in *PITR) DeepCopy() *PITR

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

func (*PITR) DeepCopyInto

func (in *PITR) DeepCopyInto(out *PITR)

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

func (*PITR) DeepCopyObject

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

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

type PITRList

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

PITRList contains a list of PITR

func (*PITRList) DeepCopy

func (in *PITRList) DeepCopy() *PITRList

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

func (*PITRList) DeepCopyInto

func (in *PITRList) DeepCopyInto(out *PITRList)

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

func (*PITRList) DeepCopyObject

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

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

type PITRReference

type PITRReference struct {
	// `namespace` is the namespace in which the PITR object is created.
	// +required
	Namespace string `json:"namespace,omitempty"`
	// `name` is the name of the PITR.
	// +required
	Name string `json:"name,omitempty"`
}

func (*PITRReference) DeepCopy

func (in *PITRReference) DeepCopy() *PITRReference

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

func (*PITRReference) DeepCopyInto

func (in *PITRReference) DeepCopyInto(out *PITRReference)

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

type PITRRestoreSpec

type PITRRestoreSpec struct {
	// Incarnation number to restore to. This is optional, default to current incarnation.
	// +optional
	Incarnation string `json:"incarnation,omitempty"`

	// Timestamp to restore to.
	// +optional
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	Timestamp *metav1.Time `json:"timestamp,omitempty"`

	// SCN to restore to.
	// +optional
	SCN string `json:"scn,omitempty"`

	// PITRRef specifies the PITR object from which to read backup data.
	// +optional
	PITRRef *PITRReference `json:"pitrRef,omitempty"`
}

func (*PITRRestoreSpec) DeepCopy

func (in *PITRRestoreSpec) DeepCopy() *PITRRestoreSpec

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

func (*PITRRestoreSpec) DeepCopyInto

func (in *PITRRestoreSpec) DeepCopyInto(out *PITRRestoreSpec)

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

type PITRSpec

type PITRSpec struct {
	// Images defines PITR service agent images.
	// This is a required map that allows a customer to specify GCR images.
	// +required
	Images map[string]string `json:"images"`

	// InstanceRef references to the instance that the PITR applies to.
	// +required
	InstanceRef *InstanceReference `json:"instanceRef"`

	// StorageURI is the URI to store PITR backups and redo logs.
	// Currently only gs:// (GCS) schemes are supported.
	// +required
	StorageURI string `json:"storageURI,omitempty"`

	// Schedule is a cron-style expression of the schedule on which Backup will
	// be created for PITR. For allowed syntax, see en.wikipedia.org/wiki/Cron and
	// godoc.org/github.com/robfig/cron. Default to backup every 4 hours.
	// +optional
	BackupSchedule string `json:"backupSchedule,omitempty"`
}

PITRSpec defines the desired state of PITR

func (*PITRSpec) DeepCopy

func (in *PITRSpec) DeepCopy() *PITRSpec

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

func (*PITRSpec) DeepCopyInto

func (in *PITRSpec) DeepCopyInto(out *PITRSpec)

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

type PITRStatus

type PITRStatus struct {
	// BackupTotal stores the total number of current existing backups managed
	// by a PITR.
	// +optional
	BackupTotal int `json:"backupTotal"`

	// AvailableRecoveryWindowTime represents the actual PITR recoverable time
	// ranges for an instance in the current timeline/incarnation.
	// +optional
	AvailableRecoveryWindowTime []TimeWindow `json:"availableRecoveryWindowTime,omitempty"`

	// AvailableRecoveryWindowSCN represents the actual PITR recoverable
	// SCN ranges for an instance in the current timeline/incarnation.
	// +optional
	AvailableRecoveryWindowSCN []SCNWindow `json:"availableRecoveryWindowSCN,omitempty"`

	// CurrentDatabaseIncarnation stores the current database incarnation number
	// for the PITR enabled instance.
	// +optional
	CurrentDatabaseIncarnation string `json:"currentDatabaseIncarnation,omitempty"`

	// Conditions represents the latest available observations
	// of the PITR's current state.
	// +listType=map
	// +listMapKey=type
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

PITRStatus defines the observed state of PITR

func (*PITRStatus) DeepCopy

func (in *PITRStatus) DeepCopy() *PITRStatus

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

func (*PITRStatus) DeepCopyInto

func (in *PITRStatus) DeepCopyInto(out *PITRStatus)

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

type PrivilegeSpec

type PrivilegeSpec string

PrivilegeSpec defines the desired state of roles and privileges.

type Release

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

	Spec   ReleaseSpec   `json:"spec,omitempty"`
	Status ReleaseStatus `json:"status,omitempty"`
}

Release is the Schema for the releases API.

func (*Release) DeepCopy

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

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

func (*Release) DeepCopyObject

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

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

type ReleaseList

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

ReleaseList contains a list of Release.

func (*ReleaseList) DeepCopy

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto

func (in *ReleaseList) DeepCopyInto(out *ReleaseList)

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

func (*ReleaseList) DeepCopyObject

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

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

type ReleaseSpec

type ReleaseSpec struct {
	Version string `json:"version"`
}

ReleaseSpec defines the desired state of Release.

func (*ReleaseSpec) DeepCopy

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto

func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)

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

type ReleaseStatus

type ReleaseStatus struct {
}

ReleaseStatus defines the observed state of Release.

func (*ReleaseStatus) DeepCopy

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

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

func (*ReleaseStatus) DeepCopyInto

func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)

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

type ReplicationSettings

type ReplicationSettings struct {
	// PrimaryHost is the hostname of the primary's listener.
	// +required
	PrimaryHost string `json:"primaryHost"`
	// PrimaryPort is the port of the primary's listener.
	// +required
	PrimaryPort int32 `json:"primaryPort"`
	// PrimaryServiceName is the service name of the primary
	// database on the listener at PrimaryHost:PrimaryPort.
	// +required
	PrimaryServiceName string `json:"primaryServiceName"`
	// PrimaryUser specifies the user name and credential to authenticate to the primary database as.
	// +required
	PrimaryUser commonv1alpha1.UserSpec `json:"primaryUser"`
	// PasswordFileURI is the URI to a copy of the primary's
	// password file for establishing an active dataguard connection.
	// Currently only gs:// (GCS) schemes are supported.
	// +required
	PasswordFileURI string `json:"passwordFileURI"`
	// BackupURI is the URI to a copy of the primary's RMAN backup.
	// Standby will be created from this backup when provided.
	// Currently only gs:// (GCS) schemes are supported.
	// +optional
	BackupURI string `json:"backupURI"`
}

ReplicationSettings provides configuration for initializing an instance as a standby for the specified primary instance. These settings can only be used when initializing an instance, adding them to an already created instance is an error. Once a standby is created with these settings you may promote the standby to its own independent instance by removing these settings.

func (*ReplicationSettings) DeepCopy

func (in *ReplicationSettings) DeepCopy() *ReplicationSettings

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

func (*ReplicationSettings) DeepCopyInto

func (in *ReplicationSettings) DeepCopyInto(out *ReplicationSettings)

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

type RestoreSpec

type RestoreSpec struct {
	// Backup type to restore from.
	// Oracle only supports: Snapshot or Physical.
	// +optional
	// +kubebuilder:validation:Enum=Snapshot;Physical
	BackupType commonv1alpha1.BackupType `json:"backupType,omitempty"`

	// Backup ID to restore from.
	// +optional
	BackupID string `json:"backupId,omitempty"`

	// Backup reference to restore from.
	// +optional
	BackupRef *BackupReference `json:"backupRef,omitempty"`

	// Point In Time Recovery restore spec.
	// +optional
	PITRRestore *PITRRestoreSpec `json:"pitrRestore,omitempty"`

	// Similar to a (physical) backup, optionally indicate a degree
	// of parallelism, also known as DOP.
	// +optional
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=100
	Dop int32 `json:"dop,omitempty"`

	// Restore time limit.
	// Optional field defaulting to three times the backup time limit.
	// Don't include the unit (minutes), just the integer.
	// +optional
	// +kubebuilder:validation:Minimum=0
	TimeLimitMinutes int32 `json:"timeLimitMinutes,omitempty"`

	// To overwrite an existing, up and running instance,
	// an explicit athorization is required. This is safeguard to avoid
	// accidentally destroying a perfectly healthy (status=Ready) instance.
	// +kubebuilder:validation:Enum=true;false
	// +optional
	Force bool `json:"force,omitempty"`

	// Request version as a date-time to avoid accidental triggering of
	// a restore operation when reapplying an older version of a resource file.
	// If at least one restore operation has occurred, any further restore
	// operation that have the same RequestTime or earlier than the last Restore
	// operation will be ignored.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	RequestTime metav1.Time `json:"requestTime"`
}

RestoreSpec defines optional restore and recovery attributes.

func (*RestoreSpec) DeepCopy

func (in *RestoreSpec) DeepCopy() *RestoreSpec

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

func (*RestoreSpec) DeepCopyInto

func (in *RestoreSpec) DeepCopyInto(out *RestoreSpec)

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

type SCNWindow

type SCNWindow struct {
	// Begin SCN.
	// +required
	Begin string `json:"begin,omitempty"`

	// End SCN.
	// +required
	End string `json:"end,omitempty"`
}

func (*SCNWindow) DeepCopy

func (in *SCNWindow) DeepCopy() *SCNWindow

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

func (*SCNWindow) DeepCopyInto

func (in *SCNWindow) DeepCopyInto(out *SCNWindow)

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

type Service

type Service string

Service is an Oracle Operator provided service.

type TimeWindow

type TimeWindow struct {
	// Begin time.
	// +required
	Begin metav1.Time `json:"begin,omitempty"`

	// End time.
	// +required
	End metav1.Time `json:"end,omitempty"`
}

func (*TimeWindow) DeepCopy

func (in *TimeWindow) DeepCopy() *TimeWindow

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

func (*TimeWindow) DeepCopyInto

func (in *TimeWindow) DeepCopyInto(out *TimeWindow)

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

type UserSpec

type UserSpec struct {
	// User specs that are common across all database engines.
	commonv1alpha1.UserSpec `json:",inline"`

	// Privileges specifies an optional list of privileges to grant to the user.
	// +optional
	Privileges []PrivilegeSpec `json:"privileges"`
}

UserSpec defines the desired state of the Database Users.

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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