Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the formol v1alpha1 API group +kubebuilder:object:generate=true +groupName=formol.desmojim.fr
Index ¶
- Constants
- Variables
- type Backend
- type BackupConfiguration
- func (in *BackupConfiguration) DeepCopy() *BackupConfiguration
- func (in *BackupConfiguration) DeepCopyInto(out *BackupConfiguration)
- func (in *BackupConfiguration) DeepCopyObject() runtime.Object
- func (r *BackupConfiguration) Default()
- func (r *BackupConfiguration) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *BackupConfiguration) ValidateCreate() error
- func (r *BackupConfiguration) ValidateDelete() error
- func (r *BackupConfiguration) ValidateUpdate(old runtime.Object) error
- type BackupConfigurationList
- type BackupConfigurationSpec
- type BackupConfigurationStatus
- type BackupSession
- func (in *BackupSession) DeepCopy() *BackupSession
- func (in *BackupSession) DeepCopyInto(out *BackupSession)
- func (in *BackupSession) DeepCopyObject() runtime.Object
- func (r *BackupSession) Default()
- func (r *BackupSession) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *BackupSession) ValidateCreate() error
- func (r *BackupSession) ValidateDelete() error
- func (r *BackupSession) ValidateUpdate(old runtime.Object) error
- type BackupSessionList
- type BackupSessionSpec
- type BackupSessionStatus
- type Function
- type FunctionList
- type Hook
- type Keep
- type Ref
- type Repo
- type RepoList
- type RepoSpec
- type RepoStatus
- type Repository
- type RestoreSession
- type RestoreSessionList
- type RestoreSessionSpec
- type RestoreSessionStatus
- type S3
- type SessionState
- type Step
- type Target
- type TargetStatus
Constants ¶
const ( New SessionState = "New" Running SessionState = "Running" Success SessionState = "Success" Failure SessionState = "Failure" Deleted SessionState = "Deleted" TARGET_NAME string = "TARGET_NAME" RESTORESESSION_NAMESPACE string = "RESTORESESSION_NAMESPACE" RESTORESESSION_NAME string = "RESTORESESSION_NAME" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "formol.desmojim.fr", 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 Backend ¶
type Backend struct {
S3 `json:"s3"`
}
func (*Backend) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfiguration ¶
type BackupConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupConfigurationSpec `json:"spec,omitempty"` Status BackupConfigurationStatus `json:"status,omitempty"` }
BackupConfiguration is the Schema for the backupconfigurations API +kubebuilder:object:root=true +kubebuilder:resource:shortName="bc" +kubebuilder:subresource:status
func (*BackupConfiguration) DeepCopy ¶ added in v0.1.2
func (in *BackupConfiguration) DeepCopy() *BackupConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfiguration.
func (*BackupConfiguration) DeepCopyInto ¶ added in v0.1.2
func (in *BackupConfiguration) DeepCopyInto(out *BackupConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfiguration) DeepCopyObject ¶ added in v0.1.2
func (in *BackupConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupConfiguration) Default ¶ added in v0.8.0
func (r *BackupConfiguration) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*BackupConfiguration) SetupWebhookWithManager ¶ added in v0.8.0
func (r *BackupConfiguration) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*BackupConfiguration) ValidateCreate ¶ added in v0.8.0
func (r *BackupConfiguration) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*BackupConfiguration) ValidateDelete ¶ added in v0.8.0
func (r *BackupConfiguration) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*BackupConfiguration) ValidateUpdate ¶ added in v0.8.0
func (r *BackupConfiguration) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type BackupConfigurationList ¶
type BackupConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupConfiguration `json:"items"` }
BackupConfigurationList contains a list of BackupConfiguration
func (*BackupConfigurationList) DeepCopy ¶ added in v0.1.2
func (in *BackupConfigurationList) DeepCopy() *BackupConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationList.
func (*BackupConfigurationList) DeepCopyInto ¶ added in v0.1.2
func (in *BackupConfigurationList) DeepCopyInto(out *BackupConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupConfigurationList) DeepCopyObject ¶ added in v0.1.2
func (in *BackupConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupConfigurationSpec ¶
type BackupConfigurationSpec struct { // Foo is an example field of BackupConfiguration. Edit BackupConfiguration_types.go to remove/update Repository `json:"repository"` // +optional Suspend *bool `json:"suspend,omitempty"` // +optional Schedule string `json:"schedule,omitempty"` // +kubebuilder:validation:MinItems=1 Targets []Target `json:"targets"` // +optional Keep `json:"keep,omitempty"` }
BackupConfigurationSpec defines the desired state of BackupConfiguration
func (*BackupConfigurationSpec) DeepCopy ¶ added in v0.1.2
func (in *BackupConfigurationSpec) DeepCopy() *BackupConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationSpec.
func (*BackupConfigurationSpec) DeepCopyInto ¶ added in v0.1.2
func (in *BackupConfigurationSpec) DeepCopyInto(out *BackupConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupConfigurationStatus ¶
type BackupConfigurationStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file LastBackupTime *metav1.Time `json:"lastBackupTime,omitempty"` Suspended bool `json:"suspended"` ActiveCronJob bool `json:"activeCronJob"` ActiveSidecar bool `json:"activeSidecar"` }
BackupConfigurationStatus defines the observed state of BackupConfiguration
func (*BackupConfigurationStatus) DeepCopy ¶ added in v0.1.2
func (in *BackupConfigurationStatus) DeepCopy() *BackupConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationStatus.
func (*BackupConfigurationStatus) DeepCopyInto ¶ added in v0.1.2
func (in *BackupConfigurationStatus) DeepCopyInto(out *BackupConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSession ¶
type BackupSession struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupSessionSpec `json:"spec,omitempty"` Status BackupSessionStatus `json:"status,omitempty"` }
BackupSession is the Schema for the backupsessions API
func (*BackupSession) DeepCopy ¶ added in v0.1.2
func (in *BackupSession) DeepCopy() *BackupSession
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSession.
func (*BackupSession) DeepCopyInto ¶ added in v0.1.2
func (in *BackupSession) DeepCopyInto(out *BackupSession)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupSession) DeepCopyObject ¶ added in v0.1.2
func (in *BackupSession) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupSession) Default ¶ added in v0.6.0
func (r *BackupSession) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*BackupSession) SetupWebhookWithManager ¶ added in v0.6.0
func (r *BackupSession) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*BackupSession) ValidateCreate ¶ added in v0.6.0
func (r *BackupSession) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*BackupSession) ValidateDelete ¶ added in v0.6.0
func (r *BackupSession) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*BackupSession) ValidateUpdate ¶ added in v0.6.0
func (r *BackupSession) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type BackupSessionList ¶
type BackupSessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupSession `json:"items"` }
BackupSessionList contains a list of BackupSession
func (*BackupSessionList) DeepCopy ¶ added in v0.1.2
func (in *BackupSessionList) DeepCopy() *BackupSessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSessionList.
func (*BackupSessionList) DeepCopyInto ¶ added in v0.1.2
func (in *BackupSessionList) DeepCopyInto(out *BackupSessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupSessionList) DeepCopyObject ¶ added in v0.1.2
func (in *BackupSessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupSessionSpec ¶
type BackupSessionSpec struct { // Foo is an example field of BackupSession. Edit BackupSession_types.go to remove/update Ref `json:"ref"` }
BackupSessionSpec defines the desired state of BackupSession
func (*BackupSessionSpec) DeepCopy ¶ added in v0.1.2
func (in *BackupSessionSpec) DeepCopy() *BackupSessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSessionSpec.
func (*BackupSessionSpec) DeepCopyInto ¶ added in v0.1.2
func (in *BackupSessionSpec) DeepCopyInto(out *BackupSessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSessionStatus ¶
type BackupSessionStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional SessionState `json:"state,omitempty"` // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // +optional Targets []TargetStatus `json:"target,omitempty"` // +optional Keep string `json:"keep,omitempty"` }
BackupSessionStatus defines the observed state of BackupSession
func (*BackupSessionStatus) DeepCopy ¶ added in v0.1.2
func (in *BackupSessionStatus) DeepCopy() *BackupSessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSessionStatus.
func (*BackupSessionStatus) DeepCopyInto ¶ added in v0.1.2
func (in *BackupSessionStatus) DeepCopyInto(out *BackupSessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Function ¶
type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec corev1.Container `json:"spec,omitempty"` }
Function is the Schema for the functions API
func (*Function) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶ added in v0.1.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionList ¶
type FunctionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Function `json:"items"` }
FunctionList contains a list of Function
func (*FunctionList) DeepCopy ¶ added in v0.1.2
func (in *FunctionList) DeepCopy() *FunctionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.
func (*FunctionList) DeepCopyInto ¶ added in v0.1.2
func (in *FunctionList) DeepCopyInto(out *FunctionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionList) DeepCopyObject ¶ added in v0.1.2
func (in *FunctionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Hook ¶ added in v0.7.1
func (*Hook) DeepCopy ¶ added in v0.7.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hook.
func (*Hook) DeepCopyInto ¶ added in v0.7.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Keep ¶ added in v0.7.0
type Keep struct { Last int32 `json:"last,omitempty"` Daily int32 `json:"daily,omitempty"` Weekly int32 `json:"weekly,omitempty"` Monthly int32 `json:"monthly,omitempty"` Yearly int32 `json:"yearly,omitempty"` }
func (*Keep) DeepCopy ¶ added in v0.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keep.
func (*Keep) DeepCopyInto ¶ added in v0.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ref ¶
type Ref struct {
Name string `json:"name"`
}
func (*Ref) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ref.
func (*Ref) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repo ¶
type Repo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RepoSpec `json:"spec,omitempty"` Status RepoStatus `json:"status,omitempty"` }
Repo is the Schema for the repoes API
func (*Repo) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repo.
func (*Repo) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repo) DeepCopyObject ¶ added in v0.1.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepoList ¶
type RepoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repo `json:"items"` }
RepoList contains a list of Repo
func (*RepoList) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoList.
func (*RepoList) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepoList) DeepCopyObject ¶ added in v0.1.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepoSpec ¶
type RepoSpec struct { // Foo is an example field of Repo. Edit Repo_types.go to remove/update Backend `json:"backend"` RepositorySecrets string `json:"repositorySecrets"` }
RepoSpec defines the desired state of Repo
func (*RepoSpec) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoSpec.
func (*RepoSpec) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoStatus ¶
type RepoStatus struct { }
RepoStatus defines the observed state of Repo
func (*RepoStatus) DeepCopy ¶ added in v0.1.2
func (in *RepoStatus) DeepCopy() *RepoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoStatus.
func (*RepoStatus) DeepCopyInto ¶ added in v0.1.2
func (in *RepoStatus) DeepCopyInto(out *RepoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository ¶
type Repository struct {
Name string `json:"name"`
}
Resource references a repsoitory where the backups will be stored
func (*Repository) DeepCopy ¶ added in v0.1.2
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶ added in v0.1.2
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreSession ¶ added in v0.8.0
type RestoreSession struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RestoreSessionSpec `json:"spec,omitempty"` Status RestoreSessionStatus `json:"status,omitempty"` }
RestoreSession is the Schema for the restoresessions API
func (*RestoreSession) DeepCopy ¶ added in v0.8.0
func (in *RestoreSession) DeepCopy() *RestoreSession
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSession.
func (*RestoreSession) DeepCopyInto ¶ added in v0.8.0
func (in *RestoreSession) DeepCopyInto(out *RestoreSession)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreSession) DeepCopyObject ¶ added in v0.8.0
func (in *RestoreSession) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RestoreSessionList ¶ added in v0.8.0
type RestoreSessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RestoreSession `json:"items"` }
RestoreSessionList contains a list of RestoreSession
func (*RestoreSessionList) DeepCopy ¶ added in v0.8.0
func (in *RestoreSessionList) DeepCopy() *RestoreSessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSessionList.
func (*RestoreSessionList) DeepCopyInto ¶ added in v0.8.0
func (in *RestoreSessionList) DeepCopyInto(out *RestoreSessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreSessionList) DeepCopyObject ¶ added in v0.8.0
func (in *RestoreSessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RestoreSessionSpec ¶ added in v0.8.0
type RestoreSessionSpec struct {
BackupSessionRef metav1.ObjectMeta `json:"backupSessionRef"`
}
RestoreSessionSpec defines the desired state of RestoreSession
func (*RestoreSessionSpec) DeepCopy ¶ added in v0.8.0
func (in *RestoreSessionSpec) DeepCopy() *RestoreSessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSessionSpec.
func (*RestoreSessionSpec) DeepCopyInto ¶ added in v0.8.0
func (in *RestoreSessionSpec) DeepCopyInto(out *RestoreSessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreSessionStatus ¶ added in v0.8.0
type RestoreSessionStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional SessionState `json:"state,omitempty"` // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // +optional Targets []TargetStatus `json:"target,omitempty"` }
RestoreSessionStatus defines the observed state of RestoreSession
func (*RestoreSessionStatus) DeepCopy ¶ added in v0.8.0
func (in *RestoreSessionStatus) DeepCopy() *RestoreSessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSessionStatus.
func (*RestoreSessionStatus) DeepCopyInto ¶ added in v0.8.0
func (in *RestoreSessionStatus) DeepCopyInto(out *RestoreSessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3 ¶
type S3 struct { Server string `json:"server"` Bucket string `json:"bucket"` // +optional Prefix string `json:"prefix,omitempty"` }
func (*S3) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3.
func (*S3) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionState ¶ added in v0.8.0
type SessionState string
type Step ¶
type Step struct { Name string `json:"name"` Namespace string `json:"namespace"` Env []corev1.EnvVar `json:"env"` }
func (*Step) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
func (*Step) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { // +kubebuilder:validation:Enum=Deployment;Task Kind string `json:"kind"` Name string `json:"name"` // +optional BeforeBackup []Hook `json:"beforeBackup,omitempty"` // +optional AfterBackup []Hook `json:"afterBackup,omitempty"` // +optional ApiVersion string `json:"apiVersion,omitempty"` // +optional VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` // +optional Paths []string `json:"paths,omitempty"` // +optional // +kubebuilder:validation:MinItems=1 Steps []Step `json:"steps,omitempty"` }
func (*Target) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetStatus ¶ added in v0.7.0
type TargetStatus struct { Name string `json:"name"` Kind string `json:"kind"` // +optional SessionState `json:"state,omitempty"` // +optional SnapshotId string `json:"snapshotId,omitempty"` // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // +optional Duration *metav1.Duration `json:"duration,omitempty"` }
func (*TargetStatus) DeepCopy ¶ added in v0.7.0
func (in *TargetStatus) DeepCopy() *TargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatus.
func (*TargetStatus) DeepCopyInto ¶ added in v0.7.0
func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.