Documentation ¶
Index ¶
Constants ¶
View Source
const GroupName = "consul.f110.dev"
Variables ¶
View Source
var ( GroupVersion = metav1.GroupVersion{Group: GroupName, Version: "v1alpha1"} SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme SchemaGroupVersion = schema.GroupVersion{Group: "consul.f110.dev", Version: "v1alpha1"} )
Functions ¶
This section is empty.
Types ¶
type AWSCredential ¶
type AWSCredential struct { AccessKeyID *corev1.SecretKeySelector `json:"accessKeyID,omitempty"` SecretAccessKey *corev1.SecretKeySelector `json:"secretAccessKey,omitempty"` }
func (*AWSCredential) DeepCopy ¶
func (in *AWSCredential) DeepCopy() *AWSCredential
func (*AWSCredential) DeepCopyInto ¶
func (in *AWSCredential) DeepCopyInto(out *AWSCredential)
type BackupStorageGCSSpec ¶
type BackupStorageGCSSpec struct { Bucket string `json:"bucket,omitempty"` Path string `json:"path,omitempty"` Credential *GCPCredential `json:"credential,omitempty"` }
func (*BackupStorageGCSSpec) DeepCopy ¶
func (in *BackupStorageGCSSpec) DeepCopy() *BackupStorageGCSSpec
func (*BackupStorageGCSSpec) DeepCopyInto ¶
func (in *BackupStorageGCSSpec) DeepCopyInto(out *BackupStorageGCSSpec)
type BackupStorageMinIOSpec ¶
type BackupStorageMinIOSpec struct { Service *ObjectReference `json:"service,omitempty"` Credential AWSCredential `json:"credential"` Bucket string `json:"bucket"` Path string `json:"path"` Secure bool `json:"secure,omitempty"` }
func (*BackupStorageMinIOSpec) DeepCopy ¶
func (in *BackupStorageMinIOSpec) DeepCopy() *BackupStorageMinIOSpec
func (*BackupStorageMinIOSpec) DeepCopyInto ¶
func (in *BackupStorageMinIOSpec) DeepCopyInto(out *BackupStorageMinIOSpec)
type ConsulBackup ¶
type ConsulBackup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ConsulBackupSpec `json:"spec"` Status ConsulBackupStatus `json:"status"` }
func (*ConsulBackup) DeepCopy ¶
func (in *ConsulBackup) DeepCopy() *ConsulBackup
func (*ConsulBackup) DeepCopyInto ¶
func (in *ConsulBackup) DeepCopyInto(out *ConsulBackup)
func (*ConsulBackup) DeepCopyObject ¶
func (in *ConsulBackup) DeepCopyObject() runtime.Object
type ConsulBackupList ¶
type ConsulBackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ConsulBackup `json:"items"` }
func (*ConsulBackupList) DeepCopy ¶
func (in *ConsulBackupList) DeepCopy() *ConsulBackupList
func (*ConsulBackupList) DeepCopyInto ¶
func (in *ConsulBackupList) DeepCopyInto(out *ConsulBackupList)
func (*ConsulBackupList) DeepCopyObject ¶
func (in *ConsulBackupList) DeepCopyObject() runtime.Object
type ConsulBackupSpec ¶
type ConsulBackupSpec struct { IntervalInSeconds int `json:"intervalInSeconds"` MaxBackups int `json:"maxBackups"` Service corev1.LocalObjectReference `json:"service"` Storage ConsulBackupStorageSpec `json:"storage"` }
func (*ConsulBackupSpec) DeepCopy ¶
func (in *ConsulBackupSpec) DeepCopy() *ConsulBackupSpec
func (*ConsulBackupSpec) DeepCopyInto ¶
func (in *ConsulBackupSpec) DeepCopyInto(out *ConsulBackupSpec)
type ConsulBackupStatus ¶
type ConsulBackupStatus struct { Succeeded bool `json:"succeeded"` LastSucceededTime *metav1.Time `json:"lastSucceededTime,omitempty"` BackupStatusHistory []ConsulBackupStatusHistory `json:"backupStatusHistory"` }
func (*ConsulBackupStatus) DeepCopy ¶
func (in *ConsulBackupStatus) DeepCopy() *ConsulBackupStatus
func (*ConsulBackupStatus) DeepCopyInto ¶
func (in *ConsulBackupStatus) DeepCopyInto(out *ConsulBackupStatus)
type ConsulBackupStatusHistory ¶
type ConsulBackupStatusHistory struct { Succeeded bool `json:"succeeded,omitempty"` ExecuteTime *metav1.Time `json:"executeTime,omitempty"` Path string `json:"path,omitempty"` Message string `json:"message,omitempty"` }
func (*ConsulBackupStatusHistory) DeepCopy ¶
func (in *ConsulBackupStatusHistory) DeepCopy() *ConsulBackupStatusHistory
func (*ConsulBackupStatusHistory) DeepCopyInto ¶
func (in *ConsulBackupStatusHistory) DeepCopyInto(out *ConsulBackupStatusHistory)
type ConsulBackupStorageSpec ¶
type ConsulBackupStorageSpec struct { MinIO *BackupStorageMinIOSpec `json:"minio,omitempty"` GCS *BackupStorageGCSSpec `json:"gcs,omitempty"` }
func (*ConsulBackupStorageSpec) DeepCopy ¶
func (in *ConsulBackupStorageSpec) DeepCopy() *ConsulBackupStorageSpec
func (*ConsulBackupStorageSpec) DeepCopyInto ¶
func (in *ConsulBackupStorageSpec) DeepCopyInto(out *ConsulBackupStorageSpec)
type GCPCredential ¶
type GCPCredential struct {
ServiceAccountJSON *corev1.SecretKeySelector `json:"serviceAccountJSON,omitempty"`
}
func (*GCPCredential) DeepCopy ¶
func (in *GCPCredential) DeepCopy() *GCPCredential
func (*GCPCredential) DeepCopyInto ¶
func (in *GCPCredential) DeepCopyInto(out *GCPCredential)
type ObjectReference ¶
type ObjectReference struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` }
func (*ObjectReference) DeepCopy ¶
func (in *ObjectReference) DeepCopy() *ObjectReference
func (*ObjectReference) DeepCopyInto ¶
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
Click to show internal directories.
Click to hide internal directories.