changedetector

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const KustomizeHashKey = "kustomize"
View Source
const SpinnakerConfigHashKey = "config"

Variables

View Source
var Generators = []Generator{
	&configChangeDetectorGenerator{},
	&exposeLbChangeDetectorGenerator{},
	&x509ChangeDetectorGenerator{},
}

Functions

This section is empty.

Types

type ChangeDetector

type ChangeDetector interface {
	IsSpinnakerUpToDate(ctx context.Context, svc interfaces.SpinnakerService) (bool, error)
	AlwaysRun() bool
}

type CompositeChangeDetectorGenerator

type CompositeChangeDetectorGenerator struct{}

func (*CompositeChangeDetectorGenerator) NewChangeDetector

func (g *CompositeChangeDetectorGenerator) NewChangeDetector(client client.Client, log logr.Logger, evtRecorder record.EventRecorder) (ChangeDetector, error)

type Generator

type Generator interface {
	NewChangeDetector(client client.Client, log logr.Logger, evtRecorder record.EventRecorder) (ChangeDetector, error)
}

Jump to

Keyboard shortcuts

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