common

package
v0.0.0-...-435c516 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebhookAPIVersion       = "/webhook/v1"
	UpgradeServerPort       = "4221"
	WebhookDefaultPort      = "4222"
	WebhookAPIBucketService = WebhookAPIVersion + "/bucketsrv"
	WebhookAPIUpdate        = WebhookAPIVersion + "/update"
)

Constants for the webhook endpoints

Variables

View Source
var Runtimes = map[string]Runtime{
	"K8S":       OperatorRuntimeK8s,
	"EKS":       OperatorRuntimeEKS,
	"OPENSHIFT": OperatorRuntimeOpenshift,
	"RANCHER":   OperatorRuntimeRancher,
}

Runtimes is a map of the supported Kubernetes runtimes

Functions

This section is empty.

Types

type Runtime

type Runtime string

Runtime type to for Operator runtime

const (
	// OperatorRuntimeEnv tells us which runtime we have. (EKS, Rancher, OpenShift, etc...)
	OperatorRuntimeEnv = "MINIO_OPERATOR_RUNTIME"
	// OperatorRuntimeK8s is the default runtime when no specific runtime is set
	OperatorRuntimeK8s Runtime = "K8S"
	// OperatorRuntimeEKS is the EKS runtime flag
	OperatorRuntimeEKS Runtime = "EKS"
	// OperatorRuntimeOpenshift is the Openshift runtime flag
	OperatorRuntimeOpenshift Runtime = "OPENSHIFT"
	// OperatorRuntimeRancher is the Rancher runtime flag
	OperatorRuntimeRancher Runtime = "RANCHER"
)

Jump to

Keyboard shortcuts

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