Documentation ¶
Index ¶
Constants ¶
View Source
const ProviderName = "kubernetes"
ProviderName - provider name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericResourceCache ¶
type GenericResourceCache interface { // Values returns a copy of the contents of the cache. // The slice and its contents should be treated as read-only. Values() []*k8s.GenericResource // Register registers ch to receive a value when Notify is called. Register(chan int, int) }
GenericResourceCache an interface for generic resource cache.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider - kubernetes provider for auto update
func NewProvider ¶
func NewProvider(sender notification.Sender, approvalManager approvals.Manager, cache GenericResourceCache, repo gitrepo.Repo) (*Provider, error)
NewProvider - create new kubernetes based provider
func (*Provider) TrackedImages ¶
func (p *Provider) TrackedImages() ([]*types.TrackedImage, error)
TrackedImages returns a list of tracked images.
type UpdatePlan ¶
type UpdatePlan struct { // Updated deployment version // Deployment v1beta1.Deployment Resource *k8s.GenericResource // Current (last seen cluster version) CurrentVersion string // New version that's already in the deployment NewVersion string }
UpdatePlan - deployment update plan
func (*UpdatePlan) String ¶
func (p *UpdatePlan) String() string
Click to show internal directories.
Click to hide internal directories.