v1alpha1

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the formol v1alpha1 API group +kubebuilder:object:generate=true +groupName=formol.desmojim.fr

Index

Constants

This section is empty.

Variables

View Source
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"`
}

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 Param

type Param struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type Ref

type Ref struct {
	Name string `json:"name"`
}

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 RepoStatus

type RepoStatus struct {
}

RepoStatus defines the observed state of Repo

type Repository

type Repository struct {
	Name string `json:"name"`
}

Resource references a repsoitory where the backups will be stored

type S3

type S3 struct {
	Server string `json:"server"`
	Bucket string `json:"bucket"`
	// +optional
	Prefix string `json:"prefix,omitempty"`
}

type Step

type Step struct {
	Name   string  `json:"name"`
	Params []Param `json:"params,omitempty"`
}

type Target

type Target struct {
	ApiVersion string `json:"apiVersion"`
	Name       string `json:"name"`
	Kind       string `json:"kind"`
}

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

type TaskSpec

type TaskSpec struct {

	// Foo is an example field of Task. Edit Task_types.go to remove/update
	Steps []Step `json:"steps"`
}

TaskSpec defines the desired state of Task

type TaskStatus

type TaskStatus struct {
}

TaskStatus defines the observed state of Task

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL