externalsecret

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExternalSecret

NewExternalSecret returns a new instance for secret synchronization.

Types

type ExternalSecret

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

func (*ExternalSecret) CleanUp

func (es *ExternalSecret) CleanUp() error

CleanUp represents when the component generates cache information, implement this method to clean datas. This method will be automatically called by the syncer after each tuning is completed.

func (*ExternalSecret) CreateSecret

func (es *ExternalSecret) CreateSecret(ctx context.Context, secretReq component.SecretRequest) error

CreateSecret creates the secret synchronization object, the synchronization result of the secret depends on the space type in the destination environment. If the space type of the request is Kubernetes then is a Secret name else is a folder name on Host.

func (*ExternalSecret) GetComponentMachineAccount added in v0.4.2

func (es *ExternalSecret) GetComponentMachineAccount() *component.MachineAccount

func (*ExternalSecret) RemoveSecret

func (es *ExternalSecret) RemoveSecret(ctx context.Context, secretReq component.SecretRequest) error

RemoveSecret removes the secret object from the dest environment of the request.

Jump to

Keyboard shortcuts

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