miganalytic

package
v0.0.0-...-a5e3609 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MiBSuffix       = "Mi"
	MiB             = 1048576
	RequeueInterval = 10
)
View Source
const (
	InvalidPlanRef = "InvalidPlanRef"
	Postponed      = "Postponed"
)

Types

View Source
const (
	Supported    = "Supported"
	NotSupported = "NotSupported"
	NotSet       = "NotSet"
	NotFound     = "NotFound"
	KeyError     = "KeyError"
	TestFailed   = "TestFailed"
)

Reasons

View Source
const (
	True  = migapi.True
	False = migapi.False
)

Statuses

View Source
const (
	Critical = migapi.Critical
)

Categories

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new MigAnalytic 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.

func GetRegistryInfo

func GetRegistryInfo(major, minor int, client compat.Client) (string, error)

Types

type AnalyticPredicate

type AnalyticPredicate struct {
	predicate.Funcs
}

func (AnalyticPredicate) Create

func (AnalyticPredicate) Delete

func (AnalyticPredicate) Update

type ReconcileMigAnalytic

type ReconcileMigAnalytic struct {
	client.Client
	record.EventRecorder
	// contains filtered or unexported fields
}

ReconcileMigAnalytic reconciles a MigAnalytic object

func (*ReconcileMigAnalytic) Reconcile

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

Jump to

Keyboard shortcuts

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