Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=consul.f110.dev
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AWSCredential
- type BackupStorageGCSSpec
- type BackupStorageMinIOSpec
- type ConsulBackup
- type ConsulBackupList
- type ConsulBackupSpec
- type ConsulBackupStatus
- type ConsulBackupStatusHistory
- type ConsulBackupStorageSpec
- type GCPCredential
- type ObjectReference
Constants ¶
This section is empty.
Variables ¶
var ( SchemaBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemaBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "consul.f110.dev", Version: "v1alpha1"}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type AWSCredential ¶
type AWSCredential struct { AccessKeyID *corev1.SecretKeySelector `json:"accessKeyID"` SecretAccessKey *corev1.SecretKeySelector `json:"secretAccessKey"` }
func (*AWSCredential) DeepCopy ¶
func (in *AWSCredential) DeepCopy() *AWSCredential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSCredential.
func (*AWSCredential) DeepCopyInto ¶
func (in *AWSCredential) DeepCopyInto(out *AWSCredential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageGCSSpec.
func (*BackupStorageGCSSpec) DeepCopyInto ¶
func (in *BackupStorageGCSSpec) DeepCopyInto(out *BackupStorageGCSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupStorageMinIOSpec ¶
type BackupStorageMinIOSpec struct { Service *ObjectReference `json:"service"` 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageMinIOSpec.
func (*BackupStorageMinIOSpec) DeepCopyInto ¶
func (in *BackupStorageMinIOSpec) DeepCopyInto(out *BackupStorageMinIOSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsulBackup ¶
type ConsulBackup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConsulBackupSpec `json:"spec,omitempty"` Status ConsulBackupStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status
func (*ConsulBackup) DeepCopy ¶
func (in *ConsulBackup) DeepCopy() *ConsulBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulBackup.
func (*ConsulBackup) DeepCopyInto ¶
func (in *ConsulBackup) DeepCopyInto(out *ConsulBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConsulBackup) DeepCopyObject ¶
func (in *ConsulBackup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConsulBackupList ¶
type ConsulBackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ConsulBackup `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ConsulBackupList) DeepCopy ¶
func (in *ConsulBackupList) DeepCopy() *ConsulBackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulBackupList.
func (*ConsulBackupList) DeepCopyInto ¶
func (in *ConsulBackupList) DeepCopyInto(out *ConsulBackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConsulBackupList) DeepCopyObject ¶
func (in *ConsulBackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConsulBackupSpec ¶
type ConsulBackupSpec struct { IntervalInSecond int `json:"intervalInSeconds"` MaxBackups int `json:"maxBackups"` Service corev1.LocalObjectReference `json:"service"` Storage ConsulBackupStorageSpec `json:"storage,omitempty"` }
func (*ConsulBackupSpec) DeepCopy ¶
func (in *ConsulBackupSpec) DeepCopy() *ConsulBackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulBackupSpec.
func (*ConsulBackupSpec) DeepCopyInto ¶
func (in *ConsulBackupSpec) DeepCopyInto(out *ConsulBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsulBackupStatus ¶
type ConsulBackupStatus struct { Succeeded bool `json:"succeeded"` LastSucceededTime *metav1.Time `json:"lastSucceededTime,omitempty"` History []ConsulBackupStatusHistory `json:"backupStatusHistory,omitempty"` }
func (*ConsulBackupStatus) DeepCopy ¶
func (in *ConsulBackupStatus) DeepCopy() *ConsulBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulBackupStatus.
func (*ConsulBackupStatus) DeepCopyInto ¶
func (in *ConsulBackupStatus) DeepCopyInto(out *ConsulBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulBackupStatusHistory.
func (*ConsulBackupStatusHistory) DeepCopyInto ¶
func (in *ConsulBackupStatusHistory) DeepCopyInto(out *ConsulBackupStatusHistory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsulBackupStorageSpec ¶
type ConsulBackupStorageSpec struct { MinIO *BackupStorageMinIOSpec `json:"minio,omitempty"` GCS *BackupStorageGCSSpec `json:"gcs,omitempty"` }
func (*ConsulBackupStorageSpec) DeepCopy ¶
func (in *ConsulBackupStorageSpec) DeepCopy() *ConsulBackupStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsulBackupStorageSpec.
func (*ConsulBackupStorageSpec) DeepCopyInto ¶
func (in *ConsulBackupStorageSpec) DeepCopyInto(out *ConsulBackupStorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GCPCredential ¶
type GCPCredential struct {
ServiceAccountJSON *corev1.SecretKeySelector `json:"serviceAccountJSON,omitempty"`
}
func (*GCPCredential) DeepCopy ¶
func (in *GCPCredential) DeepCopy() *GCPCredential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPCredential.
func (*GCPCredential) DeepCopyInto ¶
func (in *GCPCredential) DeepCopyInto(out *GCPCredential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectReference ¶
type ObjectReference struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` }
func (*ObjectReference) DeepCopy ¶
func (in *ObjectReference) DeepCopy() *ObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (*ObjectReference) DeepCopyInto ¶
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.