controllers

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Now = time.Now

Now stubbed out to allow testing.

Functions

This section is empty.

Types

type Auths added in v0.3.5

type Auths struct {
	Cred map[string]RegistryCred `json:"auths"`
}

type ConfigMapRedeployReconciler added in v0.3.5

type ConfigMapRedeployReconciler struct {
	client.Client
	Scheme             *runtime.Scheme
	Log                logr.Logger
	ConfigMapName      string
	ConfigMapNamespace string
}

func (*ConfigMapRedeployReconciler) Reconcile added in v0.3.5

func (*ConfigMapRedeployReconciler) SetupWithManager added in v0.3.5

func (c *ConfigMapRedeployReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DefaultStorageClassReconciler added in v0.3.4

type DefaultStorageClassReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

DefaultStorageClassReconciler reconciles a DefaultStorageClass object

func (*DefaultStorageClassReconciler) Reconcile added in v0.3.4

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. the DefaultStorageClass object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*DefaultStorageClassReconciler) SetupWithManager added in v0.3.4

func (r *DefaultStorageClassReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type JobReconciler added in v0.3.4

type JobReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

JobReconciler manages additional features on jobs

func (*JobReconciler) Reconcile added in v0.3.4

func (r *JobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*JobReconciler) SetupWithManager added in v0.3.4

func (r *JobReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type LicenseReconciler added in v0.3.4

type LicenseReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger
}

LicenseReconciler reconciles a License object

func (*LicenseReconciler) Reconcile added in v0.3.4

func (r *LicenseReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*LicenseReconciler) SetupWithManager added in v0.3.4

func (r *LicenseReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NamespaceReconciler added in v0.3.4

type NamespaceReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

NamespaceReconciler reconciles a Namespace object

func (*NamespaceReconciler) Reconcile added in v0.3.4

func (r *NamespaceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*NamespaceReconciler) SetupWithManager added in v0.3.4

func (r *NamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type PodReconciler added in v0.3.4

type PodReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

PodReconciler reconciles a Namespace object

func (*PodReconciler) Reconcile added in v0.3.4

func (r *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*PodReconciler) SetupWithManager added in v0.3.4

func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type PodSweeperReconciler added in v0.4.0

type PodSweeperReconciler struct {
	client.Client
	Log         logr.Logger
	Scheme      *runtime.Scheme
	DeleteAfter time.Duration
}

PodSweeperReconciler reconciles a Pod object

func (*PodSweeperReconciler) Reconcile added in v0.4.0

func (r *PodSweeperReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcilee

func (*PodSweeperReconciler) SetupWithManager added in v0.4.0

func (r *PodSweeperReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type RedeploySecretReconciler added in v0.3.5

type RedeploySecretReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

RedeploySecretReconciler reconciles a Secret object for specified applications

func (*RedeploySecretReconciler) Reconcile added in v0.3.5

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*RedeploySecretReconciler) SetupWithManager added in v0.3.5

func (r *RedeploySecretReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type RegistryCred added in v0.3.5

type RegistryCred struct {
	Auth     string `json:"auth"`
	Password string `json:"password"`
	Username string `json:"username"`
	Email    string `json:"email"`
}

type RegistryCredentialsReconciler added in v0.3.5

type RegistryCredentialsReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

RegistryCredentialsReconciler reconciles a RegistryCredential object

func (*RegistryCredentialsReconciler) Reconcile added in v0.3.5

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*RegistryCredentialsReconciler) SetupWithManager added in v0.3.5

func (r *RegistryCredentialsReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SecretReconciler added in v0.3.4

type SecretReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

SecretReconciler reconciles a Namespace object

func (*SecretReconciler) Reconcile added in v0.3.4

func (r *SecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*SecretReconciler) SetupWithManager added in v0.3.4

func (r *SecretReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SecretSyncReconciler added in v0.3.4

type SecretSyncReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

SecretSyncReconciler reconciles a SecretSync object

func (*SecretSyncReconciler) Reconcile added in v0.3.4

func (r *SecretSyncReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*SecretSyncReconciler) SetupWithManager added in v0.3.4

func (r *SecretSyncReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ServiceAccountReconciler added in v0.3.4

type ServiceAccountReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ServiceAccountReconciler reconciles a SecretSync object

func (*ServiceAccountReconciler) Reconcile added in v0.3.4

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretSync object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*ServiceAccountReconciler) SetupWithManager added in v0.3.4

func (r *ServiceAccountReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type StatefulSetResizeReconciler added in v0.3.4

type StatefulSetResizeReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

StatefulSetResizeReconciler reconciles a StatefulSetResize object

func (*StatefulSetResizeReconciler) Reconcile added in v0.3.4

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the StatefulSetResize object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*StatefulSetResizeReconciler) SetupWithManager added in v0.3.4

func (r *StatefulSetResizeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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