Documentation ¶
Overview ¶
Package tide provides the utilities for installing and removing the wave operator and all of its dependencies.
The WaveEnvironment custom resource contains metadata about the installation of wave-operator that is used at time of removal.
Index ¶
Constants ¶
View Source
const ( WaveOperatorDeployment = "wave-operator" WaveOperatorChart = "wave-operator" WaveOperatorRepository = "https://charts.spot.io" WaveOperatorVersion = "" // empty string indicates latest chart version WaveOperatorValues = "" CertManagerChart = "cert-manager" CertManagerRepository = "https://charts.jetstack.io" CertManagerVersion = "v1.3.1" CertManagerValues = "installCRDs: true" ConfigIsOceanClusterProvisioned = "isOceanClusterProvisioned" ConfigIsK8sProvisioned = "isK8sProvisioned" ConfigInitialWaveOperatorImage = "initialWaveOperatorImage" )
View Source
const AnnotationPrefix = "tide.wave.spot.io"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment interface { EnvironmentGetter EnvironmentSaver }
type EnvironmentGetter ¶
type EnvironmentGetter interface {
GetConfiguration() (*v1alpha1.WaveEnvironment, error)
}
type EnvironmentSaver ¶
type EnvironmentSaver interface {
SaveConfiguration(env *v1alpha1.WaveEnvironment) error
}
type FakeEnvironment ¶
type FakeEnvironment struct {
Env v1alpha1.WaveEnvironment
}
func (*FakeEnvironment) GetConfiguration ¶
func (f *FakeEnvironment) GetConfiguration() (*v1alpha1.WaveEnvironment, error)
func (*FakeEnvironment) SaveConfiguration ¶
func (f *FakeEnvironment) SaveConfiguration(env *v1alpha1.WaveEnvironment) error
type Manager ¶
type Manager interface { EnvironmentGetter SetWaveInstallSpec(spec install.InstallSpec) error SetConfiguration(config map[string]interface{}) (*v1alpha1.WaveEnvironment, error) DeleteConfiguration(deleteEnvironmentCRD bool) error Create(env v1alpha1.WaveEnvironment) error Delete() error CreateTideRBAC() error DeleteTideRBAC() error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.