Documentation ¶
Index ¶
- type AWSSecretController
- type SyncContext
- func (c *SyncContext) SecretsManagerSecretToKubernetesData(ref v1alpha1.SecretsManagerSecretRef) (map[string][]byte, error)
- func (c *SyncContext) SecretsManagerSecretToKubernetesStringData(ref v1alpha1.SecretsManagerSecretRef) (map[string]string, error)
- func (c *SyncContext) String(secretId string, versionId string) (*string, *string, error)
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)
Click to show internal directories.
Click to hide internal directories.