v1beta1

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: UPL-1.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

	// 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 AutonomousDatabaseWallet

type AutonomousDatabaseWallet struct {
	WalletName     string         `json:"walletName,omitempty"`
	WalletPassword PasswordSource `json:"walletPassword,omitempty"`
}

func (*AutonomousDatabaseWallet) DeepCopy

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

func (*AutonomousDatabaseWallet) DeepCopyInto

func (in *AutonomousDatabaseWallet) DeepCopyInto(out *AutonomousDatabaseWallet)

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

type AutonomousDatabases

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

	Spec   AutonomousDatabasesSpec   `json:"spec,omitempty"`
	Status AutonomousDatabasesStatus `json:"status,omitempty"`
}

AutonomousDatabases is the Schema for the autonomousdatabases API

func (*AutonomousDatabases) DeepCopy

func (in *AutonomousDatabases) DeepCopy() *AutonomousDatabases

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

func (*AutonomousDatabases) DeepCopyInto

func (in *AutonomousDatabases) DeepCopyInto(out *AutonomousDatabases)

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

func (*AutonomousDatabases) DeepCopyObject

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

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

func (*AutonomousDatabases) Default

func (r *AutonomousDatabases) Default()

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

func (*AutonomousDatabases) SetupWebhookWithManager

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

func (*AutonomousDatabases) ValidateCreate

func (r *AutonomousDatabases) ValidateCreate() error

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

func (*AutonomousDatabases) ValidateDelete

func (r *AutonomousDatabases) ValidateDelete() error

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

func (*AutonomousDatabases) ValidateUpdate

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

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

type AutonomousDatabasesList

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

AutonomousDatabasesList contains a list of AutonomousDatabases

func (*AutonomousDatabasesList) DeepCopy

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

func (*AutonomousDatabasesList) DeepCopyInto

func (in *AutonomousDatabasesList) DeepCopyInto(out *AutonomousDatabasesList)

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

func (*AutonomousDatabasesList) DeepCopyObject

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

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

type AutonomousDatabasesSpec

type AutonomousDatabasesSpec struct {
	AdbId                OCID           `json:"id,omitempty"`
	CompartmentId        OCID           `json:"compartmentId,omitempty"`
	DisplayName          string         `json:"displayName,omitempty"`
	DbName               string         `json:"dbName,omitempty"`
	DbWorkload           string         `json:"dbWorkload,omitempty"`
	IsDedicated          bool           `json:"isDedicated,omitempty"`
	DbVersion            string         `json:"dbVersion,omitempty"`
	DataStorageSizeInTBs int            `json:"dataStorageSizeInTBs,omitempty"`
	CpuCoreCount         int            `json:"cpuCoreCount,omitempty"`
	AdminPassword        PasswordSource `json:"adminPassword,omitempty"`
	IsAutoScalingEnabled bool           `json:"isAutoScalingEnabled,omitempty"`
	IsFreeTier           bool           `json:"isFreeTier,omitempty"`
	LicenseModel         string         `json:"licenseModel,omitempty"`
	TagResources         `json:",inline"`
	Wallet               AutonomousDatabaseWallet `json:"wallet,omitempty"`
}

AutonomousDatabasesSpec defines the desired state of AutonomousDatabases

func (*AutonomousDatabasesSpec) DeepCopy

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

func (*AutonomousDatabasesSpec) DeepCopyInto

func (in *AutonomousDatabasesSpec) DeepCopyInto(out *AutonomousDatabasesSpec)

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

type AutonomousDatabasesStatus

type AutonomousDatabasesStatus struct {
	OsokStatus OSOKStatus `json:"status"`
}

AutonomousDatabasesStatus defines the observed state of AutonomousDatabases

func (*AutonomousDatabasesStatus) DeepCopy

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

func (*AutonomousDatabasesStatus) DeepCopyInto

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

type CreateBackupPolicyDetails

type CreateBackupPolicyDetails struct {

	// Specifies if automatic backups are enabled.
	IsEnabled bool `json:"isEnabled,omitempty"`

	// The start of a 30-minute window of time in which daily, automated backups occur.
	// This should be in the format of the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.
	// At some point in the window, the system may incur a brief service disruption as the backup is performed.
	WindowStartTime string `json:"windowStartTime,omitempty"`

	// Number of days to retain an automatic backup.
	RetentionInDays int `json:"retentionInDays,omitempty"`

	TagResources `json:",inline,omitempty"`
}

func (*CreateBackupPolicyDetails) DeepCopy

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

func (*CreateBackupPolicyDetails) DeepCopyInto

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

type CreateConfigurationDetails

type CreateConfigurationDetails struct {
	// Configuration Id
	Id OCID `json:"id,omitempty"`
}

CreateConfigurationDetails The Configuration for the DB System.

func (*CreateConfigurationDetails) DeepCopy

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

func (*CreateConfigurationDetails) DeepCopyInto

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

type CreateDbSystemSourceDetails

type CreateDbSystemSourceDetails struct {
	JsonData   string `json:"jsonData,omitempty"`
	SourceType string `json:"sourceType,omitempty"`
}

CreateDbSystemSourceDetails Parameters detailing how to provision the initial data of the system.

func (*CreateDbSystemSourceDetails) DeepCopy

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

func (*CreateDbSystemSourceDetails) DeepCopyInto

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

type CreateMaintenanceDetails

type CreateMaintenanceDetails struct {

	// The start of the 2 hour maintenance window.
	// This string is of the format: "{day-of-week} {time-of-day}".
	// "{day-of-week}" is a case-insensitive string like "mon", "tue", &c.
	// "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.
	WindowStartTime string `json:"windowStartTime,omitempty"`
}

CreateMaintenanceDetails The Maintenance Policy for the DB System.

func (*CreateMaintenanceDetails) DeepCopy

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

func (*CreateMaintenanceDetails) DeepCopyInto

func (in *CreateMaintenanceDetails) DeepCopyInto(out *CreateMaintenanceDetails)

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

type MapValue

type MapValue map[string]string

func (MapValue) DeepCopy

func (in MapValue) DeepCopy() MapValue

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

func (MapValue) DeepCopyInto

func (in MapValue) DeepCopyInto(out *MapValue)

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

type MySqlDbSystem

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

	Spec   MySqlDbSystemSpec   `json:"spec,omitempty"`
	Status MySqlDbSystemStatus `json:"status,omitempty"`
}

MySqlDbSystem is the Schema for the mysqldbsystems API

func (*MySqlDbSystem) DeepCopy

func (in *MySqlDbSystem) DeepCopy() *MySqlDbSystem

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

func (*MySqlDbSystem) DeepCopyInto

func (in *MySqlDbSystem) DeepCopyInto(out *MySqlDbSystem)

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

func (*MySqlDbSystem) DeepCopyObject

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

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

type MySqlDbSystemList

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

MySqlDbSystemList contains a list of MySqlDbSystem

func (*MySqlDbSystemList) DeepCopy

func (in *MySqlDbSystemList) DeepCopy() *MySqlDbSystemList

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

func (*MySqlDbSystemList) DeepCopyInto

func (in *MySqlDbSystemList) DeepCopyInto(out *MySqlDbSystemList)

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

func (*MySqlDbSystemList) DeepCopyObject

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

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

type MySqlDbSystemSpec

type MySqlDbSystemSpec struct {
	MySqlDbSystemId OCID           `json:"id,omitempty"`
	CompartmentId   OCID           `json:"compartmentId,omitempty"`
	ShapeName       string         `json:"shapeName,omitempty"`
	SubnetId        OCID           `json:"subnetId,omitempty"`
	AdminUsername   UsernameSource `json:"adminUsername,omitempty"`
	AdminPassword   PasswordSource `json:"adminPassword,omitempty"`
	DisplayName     string         `json:"displayName,omitempty"`
	// +kubebuilder:validation:MinLength:=1
	// +kubebuilder:validation:MaxLength:=400
	Description        string `json:"description,omitempty"`
	AvailabilityDomain string `json:"availabilityDomain,omitempty"`
	// +kubebuilder:default:=FAULT-DOMAIN-1
	FaultDomain  string `json:"faultDomain,omitempty"`
	MysqlVersion string `json:"mysqlVersion,omitempty"`
	// +kubebuilder:validation:Minimum:=50
	// +kubebuilder:validation:Maximum:=65536
	DataStorageSizeInGBs int    `json:"dataStorageSizeInGBs,omitempty"`
	HostnameLabel        string `json:"hostnameLabel,omitempty"`
	IpAddress            string `json:"ipAddress,omitempty"`
	IsHighlyAvailable    bool   `json:"isHighlyAvailable,omitempty"`
	// +kubebuilder:validation:Minimum:=1024
	// +kubebuilder:validation:Maximum:=65535
	Port int `json:"port,omitempty"`
	// +kubebuilder:validation:Minimum:=1024
	// +kubebuilder:validation:Maximum:=65535
	PortX           int                         `json:"portX,omitempty"`
	ConfigurationId CreateConfigurationDetails  `json:"configuration,omitempty"`
	BackupPolicy    CreateBackupPolicyDetails   `json:"backupPolicy,omitempty"`
	Source          CreateDbSystemSourceDetails `json:"source,omitempty"`
	Maintenance     CreateMaintenanceDetails    `json:"maintenance,omitempty"`
	TagResources    `json:",inline,omitempty"`
}

MySqlDbSystemSpec defines the desired state of MySqlDbSystem

func (*MySqlDbSystemSpec) DeepCopy

func (in *MySqlDbSystemSpec) DeepCopy() *MySqlDbSystemSpec

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

func (*MySqlDbSystemSpec) DeepCopyInto

func (in *MySqlDbSystemSpec) DeepCopyInto(out *MySqlDbSystemSpec)

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

type MySqlDbSystemStatus

type MySqlDbSystemStatus struct {
	OsokStatus OSOKStatus `json:"status"`
}

MySqlDbSystemStatus defines the observed state of MySqlDbSystem

func (*MySqlDbSystemStatus) DeepCopy

func (in *MySqlDbSystemStatus) DeepCopy() *MySqlDbSystemStatus

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

func (*MySqlDbSystemStatus) DeepCopyInto

func (in *MySqlDbSystemStatus) DeepCopyInto(out *MySqlDbSystemStatus)

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

type OCID

type OCID string

+kubebuilder:validation:MaxLength=255 +kubebuilder:validation:MinLength=1

type OSOKCondition

type OSOKCondition struct {
	Type               OSOKConditionType  `json:"type"`
	Status             v1.ConditionStatus `json:"status"`
	LastTransitionTime *metav1.Time       `json:"lastTransitionTime,omitempty"`
	Message            string             `json:"message,omitempty"`
	Reason             string             `json:"reason,omitempty"`
}

func (*OSOKCondition) DeepCopy

func (in *OSOKCondition) DeepCopy() *OSOKCondition

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

func (*OSOKCondition) DeepCopyInto

func (in *OSOKCondition) DeepCopyInto(out *OSOKCondition)

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

type OSOKConditionType

type OSOKConditionType string
const (
	Provisioning OSOKConditionType = "Provisioning"
	Active       OSOKConditionType = "Active"
	Failed       OSOKConditionType = "Failed"
	Terminating  OSOKConditionType = "Terminating"
	Updating     OSOKConditionType = "Updating"
)

type OSOKStatus

type OSOKStatus struct {
	Conditions  []OSOKCondition `json:"conditions,omitempty"`
	Ocid        OCID            `json:"ocid,omitempty"`
	Message     string          `json:"message,omitempty"`
	Reason      string          `json:"reason,omitempty"`
	CreatedAt   *metav1.Time    `json:"createdAt,omitempty"`
	UpdatedAt   *metav1.Time    `json:"updatedAt,omitempty"`
	RequestedAt *metav1.Time    `json:"requestedAt,omitempty"`
	DeletedAt   *metav1.Time    `json:"deletedAt,omitempty"`
}

func (*OSOKStatus) DeepCopy

func (in *OSOKStatus) DeepCopy() *OSOKStatus

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

func (*OSOKStatus) DeepCopyInto

func (in *OSOKStatus) DeepCopyInto(out *OSOKStatus)

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

type PasswordSource

type PasswordSource struct {
	Secret SecretSource `json:"secret,omitempty"`
}

func (*PasswordSource) DeepCopy

func (in *PasswordSource) DeepCopy() *PasswordSource

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

func (*PasswordSource) DeepCopyInto

func (in *PasswordSource) DeepCopyInto(out *PasswordSource)

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

type SecretSource

type SecretSource struct {
	SecretName string `json:"secretName,omitempty"`
}

func (*SecretSource) DeepCopy

func (in *SecretSource) DeepCopy() *SecretSource

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

func (*SecretSource) DeepCopyInto

func (in *SecretSource) DeepCopyInto(out *SecretSource)

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

type Stream

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

	Spec   StreamSpec   `json:"spec,omitempty"`
	Status StreamStatus `json:"status,omitempty"`
}

Stream is the Schema for the streams API

func (*Stream) DeepCopy

func (in *Stream) DeepCopy() *Stream

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

func (*Stream) DeepCopyInto

func (in *Stream) DeepCopyInto(out *Stream)

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

func (*Stream) DeepCopyObject

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

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

type StreamList

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

StreamList contains a list of Stream

func (*StreamList) DeepCopy

func (in *StreamList) DeepCopy() *StreamList

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

func (*StreamList) DeepCopyInto

func (in *StreamList) DeepCopyInto(out *StreamList)

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

func (*StreamList) DeepCopyObject

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

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

type StreamSpec

type StreamSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	StreamId      OCID   `json:"Id,omitempty"`
	CompartmentId OCID   `json:"compartmentId,omitempty"`
	Name          string `json:"name,omitempty"`
	// +kubebuilder:validation:Minimum=1
	Partitions int `json:"partitions,omitempty"`
	// +kubebuilder:validation:Maximum=167
	// +kubebuilder:validation:Minimum=24
	RetentionInHours int  `json:"retentionInHours,omitempty"`
	StreamPoolId     OCID `json:"streamPoolId,omitempty"`
	TagResources     `json:",inline"`
}

StreamSpec defines the desired state of Stream

func (*StreamSpec) DeepCopy

func (in *StreamSpec) DeepCopy() *StreamSpec

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

func (*StreamSpec) DeepCopyInto

func (in *StreamSpec) DeepCopyInto(out *StreamSpec)

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

type StreamStatus

type StreamStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	OsokStatus OSOKStatus `json:"status"`
}

StreamStatus defines the observed state of Stream

func (*StreamStatus) DeepCopy

func (in *StreamStatus) DeepCopy() *StreamStatus

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

func (*StreamStatus) DeepCopyInto

func (in *StreamStatus) DeepCopyInto(out *StreamStatus)

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

type TagResources

type TagResources struct {
	FreeFormTags map[string]string   `json:"freeformTags,omitempty"`
	DefinedTags  map[string]MapValue `json:"definedTags,omitempty"`
}

func (*TagResources) DeepCopy

func (in *TagResources) DeepCopy() *TagResources

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

func (*TagResources) DeepCopyInto

func (in *TagResources) DeepCopyInto(out *TagResources)

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

type UsernameSource

type UsernameSource struct {
	Secret SecretSource `json:"secret,omitempty"`
}

func (*UsernameSource) DeepCopy

func (in *UsernameSource) DeepCopy() *UsernameSource

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

func (*UsernameSource) DeepCopyInto

func (in *UsernameSource) DeepCopyInto(out *UsernameSource)

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