controllers

package
v0.0.0-...-a613b17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagedByLabelKey = "app.kubernetes.io/managed-by"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add will create a new VC Agent Controller and add this to the Manager for reconciling

Types

type ObjectListItemsConversion

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

type VcAgentReconciler

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

func NewVcAgentReconciler

func NewVcAgentReconciler(client client.Client, apiReader client.Reader, scheme *runtime.Scheme, config *rest.Config, log logr.Logger) *VcAgentReconciler

NewVcAgentReconciler initializes a new VcAgentReconciler instance

func (*VcAgentReconciler) Reconcile

func (r *VcAgentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

+kubebuilder:rbac:groups=agents.vc.io,resources=vcagent,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=daemonsets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=pods;secrets;configmaps;services;serviceaccounts,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=agents.vc.io,resources=vcagent/status,verbs=get;update;patch +kubebuilder:rbac:groups=agents.vc.io,resources=vcagent/finalizers,verbs=update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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