engine

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

func SetTracer

func SetTracer(tracer tracing.Tracer) Option

SetTracer sets the tracer to use.

func WithKubectl

func WithKubectl(kubectl kube.Kubectl) Option

WithKubectl allows to override kubectl wrapper implementation.

func WithLogr

func WithLogr(log logr.Logger) Option

type StopFunc

type StopFunc func()

type SyncEngine added in v0.5.4

type SyncEngine interface {
	// Synchronizes resources in the cluster
	Sync(ctx context.Context, opts ...sync.SyncOpt) ([]common.ResourceSyncResult, error)
}

func NewEngine

func NewEngine(src, dest cache.ClusterCache, opts ...Option) SyncEngine

NewEngine creates new instances of the GitOps engine

Jump to

Keyboard shortcuts

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