gitrepo

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SecretTokenName is the name of the secret entry containing the token
	SecretTokenName = "token"
	// SecretHostKeysName is the name of the secret entry containing the SSH host keys
	SecretHostKeysName = "hostKeys"
	// SecretEndpointName is the name of the secret entry containing the api endpoint
	SecretEndpointName = "endpoint"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new GitRepo Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileGitRepo

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

ReconcileGitRepo reconciles a GitRepo object

func (*ReconcileGitRepo) Reconcile

func (r *ReconcileGitRepo) Reconcile(request reconcile.Request) (reconcile.Result, error)

ATTENTION: do not manipulate the spec here, this will lead to loops, as the specs are defined in the gitrepotemplates of the other CRDs (tenant, cluster).

Jump to

Keyboard shortcuts

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