gitifold

package
v0.0.0-...-f15e98c Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Gitifold 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 DexClient

type DexClient struct {
	Secret string
	ID     string
	URI    string
	Name   string
}

type DexConfig

type DexConfig struct {
	Domain  string
	Ldap    string
	DNBase  string
	Clients []DexClient
}

type GitConfig

type GitConfig struct {
	Name         string
	Namespace    string
	Domain       string
	NoReplyEmail string
	SecretKey    string
	Token        string
	DBPassword   string
	LFSSecret    string
	OauthSecret  string
	OathSecret   string
}

type ReconcileGitifold

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

ReconcileGitifold reconciles a Gitifold object

func (*ReconcileGitifold) Reconcile

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

Reconcile reads that state of the cluster for a Gitifold object and makes changes based on the state read and what is in the Gitifold.Spec TODO(user): Modify this Reconcile function to implement your Controller logic. This example creates a Pod as an example Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

Jump to

Keyboard shortcuts

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