controllers

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelAppName for discovery.
	LabelAppName = "dioscuri.amazee.io/service-name"
	// LabelAppType for discovery.
	LabelAppType = "dioscuri.amazee.io/type"
	// LabelAppManaged for discovery.
	LabelAppManaged = "dioscuri.amazee.io/managed-by"
)

Variables

This section is empty.

Functions

func ContainsStatus

ContainsStatus check if conditions contains a condition

func ContainsString

func ContainsString(slice []string, s string) bool

ContainsString check if a slice contains a string

func IgnoreNotFound

func IgnoreNotFound(err error) error

IgnoreNotFound will ignore not found errors

func RemoveString

func RemoveString(slice []string, s string) (result []string)

RemoveString remove string from a sliced

Types

type MigratedRoutes added in v0.1.3

type MigratedRoutes struct {
	NewRoute          *routev1.Route
	OldRouteNamespace string
}

MigratedRoutes .

type RouteMigrateReconciler

type RouteMigrateReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Labels map[string]string
}

RouteMigrateReconciler reconciles a RouteMigrate object

func (*RouteMigrateReconciler) Reconcile

func (r *RouteMigrateReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*RouteMigrateReconciler) SetupWithManager

func (r *RouteMigrateReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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