controller

package
v0.0.0-...-c6746c1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceControlDefaultName = "melon-controller"

	ControllerDefaultAnnotationsKey = "managed-by"

	ControllerDefaultAnnotationsValue = "melon"
)

Variables

This section is empty.

Functions

func GetAllNamespace

func GetAllNamespace(c client.Client) (*v1.NamespaceList, error)

func SetUp

func SetUp(c client.Client, path string, setUpWhitelist []string) error

func WatchConfig

func WatchConfig(c client.Client, r ...reconcile.Reconciler)

Types

type ReconcileLimitRange

type ReconcileLimitRange struct {
	// client can be used to retrieve objects from the APIServer.
	client.Client
	Path string
}

reconcileReplicaSet reconciles ReplicaSets

func (*ReconcileLimitRange) Reconcile

func (r *ReconcileLimitRange) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

type ReconcileResourceQuota

type ReconcileResourceQuota struct {
	// client can be used to retrieve objects from the APIServer.
	client.Client
	Path string
}

reconcileReplicaSet reconciles ReplicaSets

func (*ReconcileResourceQuota) Reconcile

Jump to

Keyboard shortcuts

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