agentk

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func New

func New(kasClient agentrpc.KasClient, engineFactory GitOpsEngineFactory, k8sClientGetter resource.RESTClientGetter) *Agent

func (*Agent) Run

func (a *Agent) Run(ctx context.Context) error

type DefaultGitOpsEngineFactory

type DefaultGitOpsEngineFactory struct {
	KubeClientConfig *rest.Config
}

func (*DefaultGitOpsEngineFactory) New

type GitOpsEngineFactory

type GitOpsEngineFactory interface {
	New(...cache.UpdateSettingsFunc) engine.GitOpsEngine
}

Jump to

Keyboard shortcuts

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