templating

package
v0.9.20 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetManagedAnnotationKeys

func GetManagedAnnotationKeys(secret *v1.Secret, fieldOwner string) ([]string, error)

func GetManagedLabelKeys

func GetManagedLabelKeys(secret *v1.Secret, fieldOwner string) ([]string, error)

Types

type Parser

type Parser struct {
	Exec         template.ExecFunc
	DataMap      map[string][]byte
	Client       client.Client
	TargetSecret *v1.Secret
}

func (*Parser) MergeConfigMap

func (p *Parser) MergeConfigMap(ctx context.Context, namespace string, tpl esv1beta1.TemplateFrom) error

func (*Parser) MergeLiteral

func (p *Parser) MergeLiteral(_ context.Context, tpl esv1beta1.TemplateFrom) error

func (*Parser) MergeMap

func (p *Parser) MergeMap(tplMap map[string]string, target esv1beta1.TemplateTarget) error

func (*Parser) MergeSecret

func (p *Parser) MergeSecret(ctx context.Context, namespace string, tpl esv1beta1.TemplateFrom) error

func (*Parser) MergeTemplateFrom

func (p *Parser) MergeTemplateFrom(ctx context.Context, namespace string, template *esv1beta1.ExternalSecretTemplate) error

Jump to

Keyboard shortcuts

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