package
0.15.0
Repository: https://github.com/rancher/turtles.git
Documentation: pkg.go.dev

# Functions

Into maps the secret keys from source secret data according to credentials map.
NewAzureProviderSync creates a new mirror object.
NewDefaultSynchronizer returns a new instance of DefaultSynchronizer.
NewGCPProviderSync creates a new mirror object.
NewList creates a new list of only initialized Sync handlers.
NewProviderSync creates a new mirror object.
NewSecretMapperSync creates a new secret mapper object sync.
NewSecretSync creates a new secret object sync.
Patch will only patch mirror object in the cluster.
PatchStatus will only patch the status subresource of the provided object.

# Constants

AppliedSpecHashAnnotation is a spec hash annotation set by CAPI Operator, to prevent infrastructure rollout without spec changes.
DriverNameAnnotation is the annotation key for the cloud provider driver name.
NameAnnotation is the annotation key for the cloud credential secret name.
RancherCredentialsNamespace is the default namespace for cloud provider credentials.

# Structs

B64 is a structure for encoding a secret key as base64.
DefaultSynchronizer is a structure mirroring state of the CAPI Operator Provider object.
Mapping defines a mapping between a source and destination secret keys.
ProviderSync is a structure mirroring state of the CAPI Operator Provider object.
Raw is a structure for storing a secret key without encoding.
SecretMapperSync is a structure mirroring variable secret state of the Rancher secret data.
SecretSync is a structure mirroring variable secret state of the CAPI Operator Provider object.
Template is a structure for rendering a template as a secret value.

# Interfaces

Sync is an inteface for mirroring state of the CAPI Operator Provider object on child objects.

# Type aliases

List contains a list of syncers to apply the syncing logic.