Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(pipelineInfo *model.PipelineInfo, kubeUtil *kube.Kube, rdWatcher watcher.RadixDeploymentWatcher, featureProviders []FeatureProvider) *deployHandler
Types ¶
type ExternalDNSFeatureProvider ¶
type ExternalDNSFeatureProvider struct{}
ExternalDNSFeatureProvider handles external DNS configuration
func (*ExternalDNSFeatureProvider) IsEnabledForEnvironment ¶
func (d *ExternalDNSFeatureProvider) IsEnabledForEnvironment(envName string, ra radixv1.RadixApplication, activeRd radixv1.RadixDeployment) bool
func (*ExternalDNSFeatureProvider) Mutate ¶
func (d *ExternalDNSFeatureProvider) Mutate(target, source radixv1.RadixDeployment) error
type FeatureProvider ¶
type FeatureProvider interface { // Check if feature is enabled for the specified environment by inspecting RadixApplication and active RadixDeployment (if set) IsEnabledForEnvironment(envName string, ra radixv1.RadixApplication, activeRd radixv1.RadixDeployment) bool // Mutates target with fields from source Mutate(target, source radixv1.RadixDeployment) error }
FeatureProvider provides methods for checking and mutating Radix features
Click to show internal directories.
Click to hide internal directories.