clusterresource

package
v1.1.124 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 51 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrategicMergeFrom added in v0.1.7

func StrategicMergeFrom(obj runtime.Object) client.Patch

StrategicMergeFrom creates a Patch using the strategic-merge-patch strategy with the given object as base.

Types

type Controller

type Controller interface {
	Sync(ctx context.Context) error
	Run()
}

The clusterresource Controller manages applying desired templatized kubernetes resource files as resources in the execution kubernetes cluster.

func NewClusterResourceController

func NewClusterResourceController(adminDataProvider interfaces.FlyteAdminDataProvider, listTargets executionclusterIfaces.ListTargetsInterface, scope promutils.Scope) Controller

func NewClusterResourceControllerFromConfig added in v0.6.118

func NewClusterResourceControllerFromConfig(ctx context.Context, scope promutils.Scope, configuration runtimeInterfaces.Configuration) (Controller, error)

type FileName

type FileName = string

type NamespaceCache

type NamespaceCache = map[NamespaceName]TemplateChecksums

type NamespaceName

type NamespaceName = string

type ResourceSyncStats added in v1.1.105

type ResourceSyncStats struct {
	Created      int
	Updated      int
	AlreadyThere int
	Errored      int
}

ResourceSyncStats is a simple struct to track the number of resources created, updated, already there, and errored

func (*ResourceSyncStats) Add added in v1.1.105

func (m *ResourceSyncStats) Add(other ResourceSyncStats)

Add adds the values of the other ResourceSyncStats to this one

type TemplateChecksums added in v1.1.57

type TemplateChecksums = map[FileName][16]byte

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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