Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the controller-config v1 API group +kubebuilder:object:generate=true +groupName=controller-config.operator.kube-stager.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "controller-config.operator.kube-stager.io", Version: "v1"} // 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 JobConfig ¶
type JobConfig struct { // The deadline seconds for the completion of the job - it will fail if it's not complete in this amount of time //+kubebuilder:default:=600 //+optional DeadlineSeconds int32 `json:"deadlineSeconds,omitempty"` // The TTL seconds for the job - The job will be cleaned up after this time //+kubebuilder:default:=600 //+optional TtlSeconds int32 `json:"ttlSeconds,omitempty"` // The backofflimit for the job. The job is allowed to fail this many times //+kubebuilder:default:=3 //+optional BackoffLimit int32 `json:"backoffLimit,omitempty"` }
func (*JobConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobConfig.
func (*JobConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectConfig ¶
type ProjectConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // ControllerManagerConfigurationSpec returns the contfigurations for controllers //+optional cfg.ControllerManagerConfigurationSpec `json:",inline"` // The DSN for Sentry if sentry is used to capture errors //+optional SentryDsn string `json:"sentryDsn,omitempty"` // The config for the init job. The backofflimit defaults to 0 since retrying a half way complete failed init can //cause unexpected results if the job is not prepared for this //+optional InitJobConfig JobConfig `json:"initJobConfig,omitempty"` // The config for the init job //+optional MigrationJobConfig JobConfig `json:"migrationJobConfig,omitempty"` // The config for the init job //+optional BackupJobConfig JobConfig `json:"backupJobConfig,omitempty"` }
ProjectConfig is the Schema for the projectconfigs API
func (*ProjectConfig) DeepCopy ¶
func (in *ProjectConfig) DeepCopy() *ProjectConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfig.
func (*ProjectConfig) DeepCopyInto ¶
func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectConfig) DeepCopyObject ¶
func (in *ProjectConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.