bee

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bees

type Bees interface {
	DeleteWith(name string, options DeleteOptions) (terra.Environment, error)
	CreateWith(options CreateOptions) (terra.Environment, error)
	GetBee(name string) (terra.Environment, error)
	GetTemplate(templateName string) (terra.Environment, error)
	Seeder() seed.Seeder
	FilterBees(filter terra.EnvironmentFilter) ([]terra.Environment, error)
	PinVersions(bee terra.Environment, overrides PinOptions) error
	UnpinVersions(bee terra.Environment) error
	SyncEnvironmentGenerator(env terra.Environment) error
	SyncArgoAppsIn(env terra.Environment, options ...argocd.SyncOption) error
	ResetStatefulSets(env terra.Environment) error
	RefreshBeeGenerator() error
}

func NewBees

func NewBees(argocd argocd.ArgoCD, stateLoader terra.StateLoader, seeder seed.Seeder, cleanup cleanup.Cleanup, kubectl kubectl.Kubectl) (Bees, error)

type CreateOptions

type CreateOptions struct {
	Name              string
	NamePrefix        string
	Owner             string
	GenerateName      bool
	Template          string
	SyncGeneratorOnly bool
	WaitHealthy       bool
	PinOptions        PinOptions
	Seed              bool
	SeedOptions       seed.SeedOptions
}

type DeleteOptions

type DeleteOptions struct {
	Unseed bool
}

type PinOptions added in v0.0.61

type PinOptions struct {
	// Flags holds global-to-the-environment overrides like --terra-helmfile-ref, firecloud-develop-ref, --build-number
	Flags struct {
		// TerraHelmfileRef the ref the environments Argo app generator should use
		TerraHelmfileRef string
		// FirecloudDevelopRef the ref the environments Argo app generator should use
		FirecloudDevelopRef string
	}
	// FileOverrides holds overrides for individual releases, loaded from a YAML or JSON file
	FileOverrides map[string]terra.VersionOverride
}

Directories

Path Synopsis
Package cleanup contains logic for cleaning up Bee cloud resources when BEEs are deleted
Package cleanup contains logic for cleaning up Bee cloud resources when BEEs are deleted

Jump to

Keyboard shortcuts

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