clusterresource

package
v1.1.56 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 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 LastModTimeCache

type LastModTimeCache = map[FileName]time.Time

type NamespaceCache

type NamespaceCache = map[NamespaceName]LastModTimeCache

type NamespaceName

type NamespaceName = string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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