secretmgr

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretManager

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

SecretManager manages the serets in a run-namespace for the controller.

func NewSecretManager

func NewSecretManager(secretHelper secrets.SecretHelper) SecretManager

NewSecretManager creates secrets in the run namesapce

func (SecretManager) CopyAll

func (s SecretManager) CopyAll(ctx context.Context, pipelineRun k8s.PipelineRun) (string, []string, error)

CopyAll copies the required secrets of a pipeline run to the respective run namespace.

Jump to

Keyboard shortcuts

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