clusterresource

package
v0.3.37 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 33 Imported by: 0

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(db repositories.RepositoryInterface, executionCluster interfaces.ClusterInterface, scope promutils.Scope) Controller

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

Jump to

Keyboard shortcuts

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