team

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainTeam = "main"

Functions

func Add

func Add(mgr manager.Manager, clientFn func(team string) (concourse.Client, error)) error

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

Types

type ReconcileTeam

type ReconcileTeam struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileTeam reconciles a Teams object

func (*ReconcileTeam) Reconcile

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

Reconcile reads that state of the cluster for a Team object and makes changes based on the state read Automatically generate RBAC rules to allow the Controller to read and write Team resources +kubebuilder:rbac:groups=concourse.k8s.io,resources=teams,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=concourse.k8s.io,resources=teams/status,verbs=get;update;patch

Jump to

Keyboard shortcuts

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