values

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name       = "values"
	ConfigRepo = "config"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger

	GitHubToken    string
	Installation   string
	ProjectVersion string
	VaultClient    *vaultapi.Client
}

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