configuration

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "configuration"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	Logger micrologger.Logger

	K8sClient   k8sclient.Interface
	VaultClient *vaultapi.Client

	SharedConfigRepository  shared.ConfigRepository
	ConfigRepoSSHCredential ssh.Credential
	GitHubToken             string
	RepositoryName          string
	RepositoryRef           string
	Installation            string
	UniqueApp               bool
}

type Handler

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

func New

func New(config Config) (*Handler, error)

func (*Handler) EnsureCreated

func (h *Handler) EnsureCreated(ctx context.Context, obj interface{}) error

func (*Handler) EnsureDeleted

func (h *Handler) EnsureDeleted(ctx context.Context, obj interface{}) error

func (*Handler) Name

func (h *Handler) Name() string

Jump to

Keyboard shortcuts

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