Documentation ¶
Index ¶
Constants ¶
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) AttachWatches ¶
func (r *CertificateReconciler) AttachWatches(controller controller.Controller) error
AttachWatches adds starts watches this reconciler requires.
type ClientLoader ¶
type ClientLoader interface {
Client(ctx context.Context, saName, saNamespace string) (client.Client, error)
}
ClientLoader allows Kubernetes Clients to be loaded from a Service Account.
type GenerateInputs ¶
type GenerateInputs struct {
// contains filtered or unexported fields
}
type JSONPath ¶
type JSONPath string
JSONPath represents a jsonpath parsable string surrounded in open/close syntax "$( )".
func (JSONPath) EvaluateWith ¶
EvaluateWith an expression with respect to values and return the result.
func (JSONPath) ToK8sJSONPath ¶
ToK8sJSONPath converts the syntax open close syntax "$( )" to "{ }".
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) AttachWatches ¶
func (r *PasswordReconciler) AttachWatches(controller controller.Controller) error
AttachWatches adds starts watches this reconciler requires.
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) AttachWatches ¶
func (r *RSAKeyReconciler) AttachWatches(controller controller.Controller) error
AttachWatches adds starts watches this reconciler requires.
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) AttachWatches ¶
func (r *SSHKeyReconciler) AttachWatches(controller controller.Controller) error
AttachWatches adds starts watches this reconciler requires.
type SecretTemplateReconciler ¶
type SecretTemplateReconciler struct {
// contains filtered or unexported fields
}
SecretTemplateReconciler watches for SecretTemplate Resources and generates a new secret from a set of input resources.
func NewSecretTemplateReconciler ¶
func NewSecretTemplateReconciler(client client.Client, loader ClientLoader, secretTracker Tracker, log logr.Logger) *SecretTemplateReconciler
NewSecretTemplateReconciler create a new SecretTemplate Reconciler
func (*SecretTemplateReconciler) AttachWatches ¶
func (r *SecretTemplateReconciler) AttachWatches(controller controller.Controller) error
AttachWatches adds starts watches this reconciler requires.
type ServiceAccountLoader ¶
type ServiceAccountLoader struct {
// contains filtered or unexported fields
}
ServiceAccountLoader allows the construction of a k8s client from a Service Account
func NewServiceAccountLoader ¶
func NewServiceAccountLoader(manager TokenManager) *ServiceAccountLoader
NewServiceAccountLoader creates a new ServiceAccountLoader
type TokenManager ¶
type TokenManager interface {
GetServiceAccountToken(ctx context.Context, namespace, name string, tr *authv1.TokenRequest) (*authv1.TokenRequest, error)
}
TokenManager handles getting a valid token for a given ServiceAccount.
type Tracker ¶
type Tracker interface { Track(tracking types.NamespacedName, tracked ...types.NamespacedName) UntrackAll(tracking types.NamespacedName) GetTracking(tracked types.NamespacedName) []types.NamespacedName }
Tracker allows a tracking resource to track multiple other resources