reconciler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GenerateInputsAnnKey = "secretgen.k14s.io/generate-inputs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateReconciler

type CertificateReconciler struct {
	// contains filtered or unexported fields
}

func NewCertificateReconciler

func NewCertificateReconciler(sgClient sgclient.Interface,
	coreClient kubernetes.Interface, log logr.Logger) *CertificateReconciler

func (*CertificateReconciler) Reconcile

func (r *CertificateReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

type GenerateInputs

type GenerateInputs struct {
	// contains filtered or unexported fields
}

func (GenerateInputs) Add

func (i GenerateInputs) Add(anns map[string]string)

func (GenerateInputs) IsChanged

func (i GenerateInputs) IsChanged(anns map[string]string) bool

type PasswordReconciler

type PasswordReconciler struct {
	// contains filtered or unexported fields
}

func NewPasswordReconciler

func NewPasswordReconciler(sgClient sgclient.Interface,
	coreClient kubernetes.Interface, log logr.Logger) *PasswordReconciler

func (*PasswordReconciler) Reconcile

func (r *PasswordReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

type RSAKeyReconciler

type RSAKeyReconciler struct {
	// contains filtered or unexported fields
}

func NewRSAKeyReconciler

func NewRSAKeyReconciler(sgClient sgclient.Interface,
	coreClient kubernetes.Interface, log logr.Logger) *RSAKeyReconciler

func (*RSAKeyReconciler) Reconcile

func (r *RSAKeyReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

type SSHKeyReconciler

type SSHKeyReconciler struct {
	// contains filtered or unexported fields
}

func NewSSHKeyReconciler

func NewSSHKeyReconciler(sgClient sgclient.Interface,
	coreClient kubernetes.Interface, log logr.Logger) *SSHKeyReconciler

func (*SSHKeyReconciler) Reconcile

func (r *SSHKeyReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

type Secret

type Secret struct {
	// contains filtered or unexported fields
}

func NewSecret

func NewSecret(owner metav1.Object, values map[string][]byte) *Secret

func (*Secret) ApplySecret added in v0.2.0

func (p *Secret) ApplySecret(otherSecret *corev1.Secret)

func (*Secret) ApplyTemplate

func (p *Secret) ApplyTemplate(template sgv1alpha1.SecretTemplate) error

func (*Secret) ApplyTemplates

func (p *Secret) ApplyTemplates(defaultTpl sgv1alpha1.SecretTemplate,
	customTpl *sgv1alpha1.SecretTemplate) error

func (*Secret) AsSecret

func (p *Secret) AsSecret() *corev1.Secret

func (*Secret) AssociteExistingSecret added in v0.2.0

func (p *Secret) AssociteExistingSecret(otherSecret *corev1.Secret)

type SecretExportReconciler added in v0.2.0

type SecretExportReconciler struct {
	// contains filtered or unexported fields
}

func NewSecretExportReconciler added in v0.2.0

func NewSecretExportReconciler(sgClient sgclient.Interface,
	coreClient kubernetes.Interface, log logr.Logger) *SecretExportReconciler

func (*SecretExportReconciler) AttachWatches added in v0.2.0

func (r *SecretExportReconciler) AttachWatches(controller controller.Controller) error

func (*SecretExportReconciler) Reconcile added in v0.2.0

func (r *SecretExportReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

type SecretRequestReconciler added in v0.2.0

type SecretRequestReconciler struct {
	// contains filtered or unexported fields
}

func NewSecretRequestReconciler added in v0.2.0

func NewSecretRequestReconciler(sgClient sgclient.Interface,
	coreClient kubernetes.Interface, log logr.Logger) *SecretRequestReconciler

func (*SecretRequestReconciler) AttachWatches added in v0.2.0

func (r *SecretRequestReconciler) AttachWatches(controller controller.Controller) error

func (*SecretRequestReconciler) Reconcile added in v0.2.0

type Status

type Status struct {
	// contains filtered or unexported fields
}

func (*Status) IsReconcileSucceeded added in v0.2.0

func (s *Status) IsReconcileSucceeded() bool

func (*Status) Result

func (s *Status) Result() sgv1alpha1.GenericStatus

func (*Status) SetReconcileCompleted

func (s *Status) SetReconcileCompleted(err error)

func (*Status) SetReconciling

func (s *Status) SetReconciling(meta metav1.ObjectMeta)

func (*Status) WithReconcileCompleted

func (s *Status) WithReconcileCompleted(result reconcile.Result, err error) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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