Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the database.sample v1alpha1 API group +kubebuilder:object:generate=true +groupName=database.sample.third.party
Index ¶
- Variables
- type BackupRepo
- type Database
- type DatabaseBackup
- type DatabaseBackupList
- type DatabaseBackupSpec
- type DatabaseBackupStatus
- type DatabaseCluster
- type DatabaseClusterList
- type DatabaseClusterSpec
- type DatabaseClusterStatus
- type DatabaseList
- type DatabaseSpec
- type DatabaseStatus
- type ManualTrigger
- type ScheduledTrigger
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "database.sample.third.party", 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 BackupRepo ¶
type BackupRepo struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
SecretName string `json:"secretName,omitempty"`
ServiceEndpoint string `json:"serviceEndpoint,omitempty"`
AuthEndpoint string `json:"authEndpoint,omitempty"`
BucketNamePrefix string `json:"bucketNamePrefix,omitempty"`
}
func (*BackupRepo) DeepCopy ¶
func (in *BackupRepo) DeepCopy() *BackupRepo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRepo.
func (*BackupRepo) DeepCopyInto ¶
func (in *BackupRepo) DeepCopyInto(out *BackupRepo)
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"`
}
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseBackup ¶
type DatabaseBackup struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DatabaseBackupSpec `json:"spec,omitempty"`
Status DatabaseBackupStatus `json:"status,omitempty"`
}
func (*DatabaseBackup) DeepCopy ¶
func (in *DatabaseBackup) DeepCopy() *DatabaseBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseBackup.
func (*DatabaseBackup) DeepCopyInto ¶
func (in *DatabaseBackup) DeepCopyInto(out *DatabaseBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseBackup) DeepCopyObject ¶
func (in *DatabaseBackup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseBackupList ¶
type DatabaseBackupList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DatabaseBackup `json:"items"`
}
func (*DatabaseBackupList) DeepCopy ¶
func (in *DatabaseBackupList) DeepCopy() *DatabaseBackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseBackupList.
func (*DatabaseBackupList) DeepCopyInto ¶
func (in *DatabaseBackupList) DeepCopyInto(out *DatabaseBackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseBackupList) DeepCopyObject ¶
func (in *DatabaseBackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseBackupSpec ¶
type DatabaseBackupSpec struct {
Repos []BackupRepo `json:"repos"`
ManualTrigger ManualTrigger `json:"manualTrigger"`
ScheduledTrigger ScheduledTrigger `json:"scheduledTrigger"`
}
func (*DatabaseBackupSpec) DeepCopy ¶
func (in *DatabaseBackupSpec) DeepCopy() *DatabaseBackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseBackupSpec.
func (*DatabaseBackupSpec) DeepCopyInto ¶
func (in *DatabaseBackupSpec) DeepCopyInto(out *DatabaseBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseBackupStatus ¶
type DatabaseBackupStatus struct {
Conditions []metav1.Condition `json:"conditions"`
Jobs []string `json:"jobs,omitempty"`
}
func (*DatabaseBackupStatus) DeepCopy ¶
func (in *DatabaseBackupStatus) DeepCopy() *DatabaseBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseBackupStatus.
func (*DatabaseBackupStatus) DeepCopyInto ¶
func (in *DatabaseBackupStatus) DeepCopyInto(out *DatabaseBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseCluster ¶
type DatabaseCluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DatabaseClusterSpec `json:"spec,omitempty"`
Status DatabaseClusterStatus `json:"status,omitempty"`
}
DatabaseCluster is the Schema for the databaseclusters API
func (*DatabaseCluster) DeepCopy ¶
func (in *DatabaseCluster) DeepCopy() *DatabaseCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseCluster.
func (*DatabaseCluster) DeepCopyInto ¶
func (in *DatabaseCluster) DeepCopyInto(out *DatabaseCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseCluster) DeepCopyObject ¶
func (in *DatabaseCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseClusterList ¶
type DatabaseClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DatabaseCluster `json:"items"`
}
DatabaseClusterList contains a list of DatabaseCluster
func (*DatabaseClusterList) DeepCopy ¶
func (in *DatabaseClusterList) DeepCopy() *DatabaseClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseClusterList.
func (*DatabaseClusterList) DeepCopyInto ¶
func (in *DatabaseClusterList) DeepCopyInto(out *DatabaseClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseClusterList) DeepCopyObject ¶
func (in *DatabaseClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseClusterSpec ¶
type DatabaseClusterSpec struct {
//+kubebuilder:validation:Minimum=0
//+kubebuilder:default:=1
AmountPods int32 `json:"amountPods"`
}
DatabaseClusterSpec defines the desired state of DatabaseCluster
func (*DatabaseClusterSpec) DeepCopy ¶
func (in *DatabaseClusterSpec) DeepCopy() *DatabaseClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseClusterSpec.
func (*DatabaseClusterSpec) DeepCopyInto ¶
func (in *DatabaseClusterSpec) DeepCopyInto(out *DatabaseClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseClusterStatus ¶
type DatabaseClusterStatus struct {
}
DatabaseClusterStatus defines the observed state of DatabaseCluster
func (*DatabaseClusterStatus) DeepCopy ¶
func (in *DatabaseClusterStatus) DeepCopy() *DatabaseClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseClusterStatus.
func (*DatabaseClusterStatus) DeepCopyInto ¶
func (in *DatabaseClusterStatus) DeepCopyInto(out *DatabaseClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseList ¶
type DatabaseList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Database `json:"items"`
}
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 {
User string `json:"user,omitempty"`
Password string `json:"password,omitempty"`
Url string `json:"url,omitempty"`
Certificate string `json:"certificate,omitempty"`
}
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 {
}
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 ManualTrigger ¶
type ManualTrigger struct {
Enabled bool `json:"enabled,omitempty"`
Time string `json:"time,omitempty"`
Repo string `json:"repo,omitempty"`
}
func (*ManualTrigger) DeepCopy ¶
func (in *ManualTrigger) DeepCopy() *ManualTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualTrigger.
func (*ManualTrigger) DeepCopyInto ¶
func (in *ManualTrigger) DeepCopyInto(out *ManualTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledTrigger ¶
type ScheduledTrigger struct {
Enabled bool `json:"enabled,omitempty"`
Schedule string `json:"schedule,omitempty"`
Repo string `json:"repo,omitempty"`
}
func (*ScheduledTrigger) DeepCopy ¶
func (in *ScheduledTrigger) DeepCopy() *ScheduledTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledTrigger.
func (*ScheduledTrigger) DeepCopyInto ¶
func (in *ScheduledTrigger) DeepCopyInto(out *ScheduledTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.