k8s

package
v0.0.0-...-4cb8388 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SuccessSynced is used as part of the Event 'reason' when a Installation is synced
	SuccessSynced = "Synced"

	// MessageResourceSynced is the message used for an Event fired when a Installation
	// is synced successfully
	MessageResourceSynced = "Installation synced successfully"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller holds runtime dependencies to clients and business logic modules and implements reconciliation loop.

func NewController

func NewController(kubeClientset *kubernetes.Clientset, kubeInformerFactory kubeinformers.SharedInformerFactory,
	internalInformerFactory informers.SharedInformerFactory, kymaOperation KymaOperation,
	conditionManager conditionmanager.Interface, internalClientset *internalClientset.Clientset) *Controller

NewController .

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

Run .

type KymaOperation

type KymaOperation interface {
	InstallKyma(installationData *config.InstallationData, overrideData overrides.OverrideData) error
	UninstallKyma(installationData *config.InstallationData) error
}

KymaOperation defines the contract for possible operations on Kyma

Jump to

Keyboard shortcuts

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