agent

package
v0.0.0-...-3fb797e Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MinThreadiness     = 1
	MaxThreadiness     = 10
	DefaultThreadiness = 1
)

Variables

View Source
var (
	// desired annotation key and value for secrets synchronization.
	// may be override by commandline flags
	CertSyncAnnotationKey = "certsync.istio.io/autosync"
	CertSyncAnnotationVal = "true"
)

Functions

This section is empty.

Types

type Agent

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

func (*Agent) Initialize

func (a *Agent) Initialize(opts InitOptions)

func (*Agent) Run

func (a *Agent) Run(stopCh <-chan struct{})

Run will start the controller. stopCh channel is used to send interrupt signal to stop it.

type InitOptions

type InitOptions struct {
	CertDir       string
	KubeConfig    string
	AnnotationKey string
	AnnotationVal string
	Thread        int
}

Jump to

Keyboard shortcuts

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