controllers

package
v0.5.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSecretController

type AWSSecretController struct {
	Name string

	// This Client, initialized using mgr.Client() above, is a split Client
	// that reads objects from the cache and writes to the apiserver
	Client client.Client
	Scheme *runtime.Scheme

	SyncContext *SyncContext
	Log         *logr.Logger
}

AWSSecretController reconciles a AWSSecret object

func (*AWSSecretController) Reconcile

func (r *AWSSecretController) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a AWSSecret object and makes changes based on the state read and what is in the AWSSecret.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will .

func (*AWSSecretController) SetupWithManager

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

type SyncContext

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

func (*SyncContext) SecretsManagerSecretToKubernetesData

func (c *SyncContext) SecretsManagerSecretToKubernetesData(ref v1alpha1.SecretsManagerSecretRef) (map[string][]byte, error)

func (*SyncContext) SecretsManagerSecretToKubernetesStringData

func (c *SyncContext) SecretsManagerSecretToKubernetesStringData(ref v1alpha1.SecretsManagerSecretRef) (map[string]string, error)

func (*SyncContext) String

func (c *SyncContext) String(secretId string, versionId string) (*string, *string, error)

Jump to

Keyboard shortcuts

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