Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the formol v1alpha1 API group +kubebuilder:object:generate=true +groupName=formol.desmojim.fr
Index ¶
- Variables
- type Backend
- type BackupConfiguration
- type BackupConfigurationList
- type BackupConfigurationSpec
- type BackupConfigurationStatus
- type BackupSession
- type BackupSessionList
- type BackupSessionSpec
- type BackupSessionStatus
- type Function
- type FunctionList
- type Param
- type Ref
- type Repo
- type RepoList
- type RepoSpec
- type RepoStatus
- type Repository
- type S3
- type Step
- type Target
- type Task
- type TaskList
- type TaskSpec
- type TaskStatus
Constants ¶
This section is empty.
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 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
type BackupConfigurationList ¶
type BackupConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupConfiguration `json:"items"` }
BackupConfigurationList contains a list of BackupConfiguration
type BackupConfigurationSpec ¶
type BackupConfigurationSpec struct { // Foo is an example field of BackupConfiguration. Edit BackupConfiguration_types.go to remove/update Repository `json:"repository"` Task string `json:"task,omitempty"` Schedule string `json:"schedule"` Target `json:"target"` // +optional VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` Path []string `json:"paths"` // +optional Suspend *bool `json:"suspend,omitempty"` }
BackupConfigurationSpec defines the desired state of BackupConfiguration
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"` }
BackupConfigurationStatus defines the observed state of BackupConfiguration
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
type BackupSessionList ¶
type BackupSessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupSession `json:"items"` }
BackupSessionList contains a list of BackupSession
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
type BackupSessionStatus ¶
type BackupSessionStatus struct { }
BackupSessionStatus defines the observed state of BackupSession
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
type FunctionList ¶
type FunctionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Function `json:"items"` }
FunctionList contains a list of Function
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
type RepoList ¶
type RepoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repo `json:"items"` }
RepoList contains a list of Repo
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
type Repository ¶
type Repository struct {
Name string `json:"name"`
}
Resource references a repsoitory where the backups will be stored
type Task ¶
type Task struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TaskSpec `json:"spec,omitempty"` Status TaskStatus `json:"status,omitempty"` }
Task is the Schema for the tasks API
type TaskList ¶
type TaskList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Task `json:"items"` }
TaskList contains a list of Task