v1alpha2

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 25

Documentation

Index

Constants

View Source
const (
	App              = "app"
	Chart            = "chart"
	Release          = "release"
	Name             = "name"
	Label            = "label"
	OwnerKind        = "ownerKind"
	OwnerName        = "ownerName"
	TargetKind       = "targetKind"
	TargetName       = "targetName"
	Role             = "role"
	CreateTime       = "createTime"
	UpdateTime       = "updateTime"
	StartTime        = "startTime"
	LastScheduleTime = "lastScheduleTime"
	Annotation       = "Annotation"
	Keyword          = "keyword"
	UserFacing       = "userfacing"
	Status           = "status"
	Owner            = "owner"

	StatusRunning            = "running"
	StatusPaused             = "paused"
	StatusPending            = "pending"
	StatusUpdating           = "updating"
	StatusStopped            = "stopped"
	StatusFailed             = "failed"
	StatusBound              = "bound"
	StatusLost               = "lost"
	StatusComplete           = "completed"
	StatusWarning            = "warning"
	StatusUnschedulable      = "unschedulable"
	Deployments              = "deployments"
	DaemonSets               = "daemonsets"
	Roles                    = "roles"
	Workspaces               = "workspaces"
	WorkspaceRoles           = "workspaceroles"
	CronJobs                 = "cronjobs"
	ConfigMaps               = "configmaps"
	Ingresses                = "ingresses"
	Jobs                     = "jobs"
	PersistentVolumeClaims   = "persistentvolumeclaims"
	Pods                     = "pods"
	Secrets                  = "secrets"
	Services                 = "services"
	StatefulSets             = "statefulsets"
	HorizontalPodAutoscalers = "horizontalpodautoscalers"
	Applications             = "applications"
	Nodes                    = "nodes"
	Namespaces               = "namespaces"
	StorageClasses           = "storageclasses"
	ClusterRoles             = "clusterroles"
	S2iBuilderTemplates      = "s2ibuildertemplates"
	S2iBuilders              = "s2ibuilders"
	S2iRuns                  = "s2iruns"
)

Variables

This section is empty.

Functions

func FuzzyMatch

func FuzzyMatch(m map[string]string, key, value string) bool

func ObjectMetaCompare

func ObjectMetaCompare(left, right metav1.ObjectMeta, compareField string) bool

func ObjectMetaExactlyMath

func ObjectMetaExactlyMath(key, value string, item metav1.ObjectMeta) bool

func ObjectMetaFuzzyMath

func ObjectMetaFuzzyMath(key, value string, item metav1.ObjectMeta) bool

Types

type Interface

type Interface interface {
	Get(namespace, name string) (interface{}, error)
	Search(namespace string, conditions *params.Conditions, orderBy string, reverse bool) ([]interface{}, error)
}

Jump to

Keyboard shortcuts

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