Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bee ¶ added in v1.0.8
type Bee struct { Environment terra.Environment Status map[terra.Release]status.Status ContainerLogsURL string }
Bee encapsulates operational information about a BEE
type Bees ¶
type Bees interface { DeleteWith(name string, options DeleteOptions) (*Bee, error) CreateWith(options CreateOptions) (*Bee, error) ProvisionWith(name string, options ProvisionOptions) (*Bee, 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) (map[terra.Release]status.Status, error) ResetStatefulSets(env terra.Environment) (map[terra.Release]status.Status, error) RefreshBeeGenerator() error }
type CreateOptions ¶
type CreateOptions struct { NamePrefix string Owner string GenerateName bool Template string ProvisionOptions }
type DeleteOptions ¶
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 }
type ProvisionOptions ¶ added in v1.0.7
type ProvisionOptions struct { // Name within the context of ProvisionOptions is just the name of the environment. // In the context of CreateOptions, it means the name of the environment *to create*. Name string SyncGeneratorOnly bool WaitHealthy bool WaitHealthTimeoutSeconds int PinOptions PinOptions Seed bool SeedOptions seed.SeedOptions ExportLogsOnFailure bool }
Click to show internal directories.
Click to hide internal directories.