Documentation ¶
Overview ¶
+groupName=backup.giantswarm.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme is used by the generated client.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{
Group: group,
Version: version,
}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func NewETCDBackupCRD ¶
func NewETCDBackupCRD() *apiextensionsv1beta1.CustomResourceDefinition
Types ¶
type DeepCopyTime ¶
DeepCopyTime implements the deep copy logic for time.Time which the k8s codegen is not able to generate out of the box.
func (*DeepCopyTime) DeepCopy ¶
func (in *DeepCopyTime) DeepCopy() *DeepCopyTime
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeepCopyTime.
func (*DeepCopyTime) DeepCopyInto ¶
func (in *DeepCopyTime) DeepCopyInto(out *DeepCopyTime)
type ETCDBackup ¶
type ETCDBackup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ETCDBackupSpec `json:"spec"` Status ETCDBackupStatus `json:"status,omitempty" yaml:"status,omitempty"` }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ETCDBackup) DeepCopy ¶
func (in *ETCDBackup) DeepCopy() *ETCDBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackup.
func (*ETCDBackup) DeepCopyInto ¶
func (in *ETCDBackup) DeepCopyInto(out *ETCDBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ETCDBackup) DeepCopyObject ¶
func (in *ETCDBackup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ETCDBackupList ¶
type ETCDBackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ETCDBackup `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ETCDBackupList) DeepCopy ¶
func (in *ETCDBackupList) DeepCopy() *ETCDBackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupList.
func (*ETCDBackupList) DeepCopyInto ¶
func (in *ETCDBackupList) DeepCopyInto(out *ETCDBackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ETCDBackupList) DeepCopyObject ¶
func (in *ETCDBackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ETCDBackupSpec ¶
type ETCDBackupSpec struct { // GuestBackup is a boolean indicating if the tenant clusters have to be backupped GuestBackup bool `json:"guestBackup" yaml:"guestBackup"` }
func (*ETCDBackupSpec) DeepCopy ¶
func (in *ETCDBackupSpec) DeepCopy() *ETCDBackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupSpec.
func (*ETCDBackupSpec) DeepCopyInto ¶
func (in *ETCDBackupSpec) DeepCopyInto(out *ETCDBackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDBackupStatus ¶
type ETCDBackupStatus struct { // map containing the state of the backup for all instances Instances map[string]ETCDInstanceBackupStatusIndex `json:"instances,omitempty" yaml:"instances"` // Status of the whole backup job (can be 'Pending', 'Running'. 'Completed', 'Failed') Status string `json:"status" yaml:"status"` // Timestamp when the first attempt was made StartedTimestamp DeepCopyTime `json:"startedTimestamp,omitempty" yaml:"startedTimestamp"` // Timestamp when the last (final) attempt was made (when the Phase became either 'Completed' or 'Failed' FinishedTimestamp DeepCopyTime `json:"finishedTimestamp,omitempty" yaml:"finishedTimestamp"` }
func (*ETCDBackupStatus) DeepCopy ¶
func (in *ETCDBackupStatus) DeepCopy() *ETCDBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackupStatus.
func (*ETCDBackupStatus) DeepCopyInto ¶
func (in *ETCDBackupStatus) DeepCopyInto(out *ETCDBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDInstanceBackupStatus ¶
type ETCDInstanceBackupStatus struct { // Status of this isntance's backup job (can be 'Pending', 'Running'. 'Completed', 'Failed') Status string `json:"status" yaml:"status"` // Timestamp when the first attempt was made StartedTimestamp DeepCopyTime `json:"startedTimestamp,omitempty" yaml:"startedTimestamp"` // Timestamp when the last (final) attempt was made (when the Phase became either 'Completed' or 'Failed' FinishedTimestamp DeepCopyTime `json:"finishedTimestamp,omitempty" yaml:"finishedTimestamp"` // Latest backup error message LatestError string `json:"latestError,omitempty" yaml:"latestError,omitempty"` // Time took by the backup creation process CreationTime int64 `json:"creationTime,omitempty" yaml:"creationTime,omitempty"` // Time took by the backup encryption process EncryptionTime int64 `json:"encryptionTime,omitempty" yaml:"encryptionTime,omitempty"` // Time took by the backup upload process UploadTime int64 `json:"uploadTime,omitempty" yaml:"uploadTime,omitempty"` // Size of the backup file BackupFileSize int64 `json:"backupFileSize,omitempty" yaml:"backupFileSize,omitempty"` }
func (*ETCDInstanceBackupStatus) DeepCopy ¶
func (in *ETCDInstanceBackupStatus) DeepCopy() *ETCDInstanceBackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDInstanceBackupStatus.
func (*ETCDInstanceBackupStatus) DeepCopyInto ¶
func (in *ETCDInstanceBackupStatus) DeepCopyInto(out *ETCDInstanceBackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDInstanceBackupStatusIndex ¶
type ETCDInstanceBackupStatusIndex struct { // Name of the tenant cluster or 'Control Plane' Name string `json:"name" yaml:"name"` // Status of the V2 backup for this instance V2 ETCDInstanceBackupStatus `json:"v2" yaml:"v2"` // Status of the V3 backup for this instance V3 ETCDInstanceBackupStatus `json:"v3" yaml:"v3"` }
func (*ETCDInstanceBackupStatusIndex) DeepCopy ¶
func (in *ETCDInstanceBackupStatusIndex) DeepCopy() *ETCDInstanceBackupStatusIndex
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDInstanceBackupStatusIndex.
func (*ETCDInstanceBackupStatusIndex) DeepCopyInto ¶
func (in *ETCDInstanceBackupStatusIndex) DeepCopyInto(out *ETCDInstanceBackupStatusIndex)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.