apply

package
v0.55.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

View Source
const Duration1d = time.Hour * 24
View Source
const Duration7d = time.Hour * 24 * 7

Variables

This section is empty.

Functions

func DeleteAll

func DeleteAll(kv *v1.KubeVirt,
	stores util.Stores,
	clientset kubecli.KubevirtClient,
	aggregatorclient install.APIServiceInterface,
	expectations *util.Expectations) error

func GetCADuration added in v0.41.0

func GetCADuration(config *k8sv1.KubeVirtSelfSignConfiguration) *metav1.Duration

func GetCARenewBefore added in v0.41.0

func GetCARenewBefore(config *k8sv1.KubeVirtSelfSignConfiguration) *metav1.Duration

func GetCertDuration added in v0.41.0

func GetCertDuration(config *k8sv1.KubeVirtSelfSignConfiguration) *metav1.Duration

func GetCertRenewBefore added in v0.41.0

func GetCertRenewBefore(config *k8sv1.KubeVirtSelfSignConfiguration) *metav1.Duration

func GetExpectedGeneration added in v0.41.0

func GetExpectedGeneration(required runtime.Object, previousGenerations []k6tv1.GenerationStatus) int64

func SetGeneration added in v0.41.0

func SetGeneration(generations *[]k6tv1.GenerationStatus, actual runtime.Object)

Types

type CanaryUpgradeStatus added in v0.49.0

type CanaryUpgradeStatus string
const (
	CanaryUpgradeStatusStarted                 CanaryUpgradeStatus = "started"
	CanaryUpgradeStatusUpgradingDaemonSet      CanaryUpgradeStatus = "upgrading daemonset"
	CanaryUpgradeStatusWaitingDaemonSetRollout CanaryUpgradeStatus = "waiting for daemonset rollout"
	CanaryUpgradeStatusSuccessful              CanaryUpgradeStatus = "successful"
	CanaryUpgradeStatusFailed                  CanaryUpgradeStatus = "failed"
)

type Customizer

type Customizer struct {
	Patches []v1.CustomizeComponentsPatch
	// contains filtered or unexported fields
}

func NewCustomizer

func NewCustomizer(customizations v1.CustomizeComponents) (*Customizer, error)

func (*Customizer) Apply

func (c *Customizer) Apply(targetStrategy *install.Strategy) error

func (*Customizer) GenericApplyPatches

func (c *Customizer) GenericApplyPatches(objects interface{}) error

func (*Customizer) GetPatches

func (c *Customizer) GetPatches() []v1.CustomizeComponentsPatch

func (*Customizer) GetPatchesForResource

func (c *Customizer) GetPatchesForResource(resourceType, name string) []v1.CustomizeComponentsPatch

func (*Customizer) Hash added in v0.40.0

func (c *Customizer) Hash() string

type Reconciler

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

func NewReconciler

func NewReconciler(kv *v1.KubeVirt, targetStrategy *install.Strategy, stores util.Stores, clientset kubecli.KubevirtClient, aggregatorclient install.APIServiceInterface, expectations *util.Expectations, recorder record.EventRecorder) (*Reconciler, error)

func (*Reconciler) Sync

Jump to

Keyboard shortcuts

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