Help us shape the future of Go! Take the 2026 Go Developer Survey

render

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2019 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIServerNamespace      = "tigera-system"
	APIServerTLSSecretName  = "tigera-apiserver-certs"
	APIServerSecretKeyName  = "apiserver.key"
	APIServerSecretCertName = "apiserver.crt"
)
View Source
const (
	ManagerNamespace      = "tigera-console"
	ManagerTlsSecretName  = "manager-tls"
	ManagerSecretKeyName  = "key"
	ManagerSecretCertName = "cert"
)
View Source
const (
	CalicoRegistry = "docker.io/calico/"
	TigeraRegistry = "quay.io/tigera/"
)

Default registries for Calico and Tigera.

View Source
const (
	NodeImageNameCalico            = "node:v3.8.1"
	CNIImageName                   = "cni:v3.8.1"
	KubeControllersImageNameCalico = "kube-controllers:v3.8.1"
	FlexVolumeImageName            = "pod2daemon-flexvol:v3.8.1"
)

This section contains images used when installing open-source Calico.

View Source
const (
	// Overrides for Calico.
	NodeImageNameTigera            = "cnx-node:nft-1fd1d3"
	KubeControllersImageNameTigera = "kube-controllers:v2.4.2"

	// API server images.
	APIServerImageName   = "cnx-apiserver:v2.5.0"
	QueryServerImageName = "cnx-queryserver:v2.4.0"

	// Compliance images.
	ComplianceControllerImage  = "compliance-controller:v2.4.2"
	ComplianceReporterImage    = "compliance-reporter:v2.4.2"
	ComplianceServerImage      = "compliance-server:v2.4.2"
	ComplianceSnapshotterImage = "compliance-snapshotter:v2.4.2"
	ComplianceBenchmarkerImage = "compliance-benchmarker:v2.5.0"

	// Intrusion detection images.
	IntrusionDetectionControllerImageName   = "intrusion-detection-controller:v2.4.2"
	IntrusionDetectionJobInstallerImageName = "intrusion-detection-job-installer:v2.4.2"

	// Console images.
	ConsoleManagerImageName = "cnx-manager:v2.4.2"
	ConsoleProxyImageName   = "cnx-manager-proxy:v2.4.2"
	ConsoleEsProxyImageName = "es-proxy:v2.4.0"
)

This section contains images used when installing Tigera Secure.

View Source
const (
	ComplianceNamespace = "tigera-compliance"
)
View Source
const (
	IntrusionDetectionNamespace = "tigera-intrusion-detection"
)
View Source
const (
	Optional = true
)

Variables

This section is empty.

Functions

func KubeControllers

func KubeControllers(cr *operator.Installation) *kubeControllersComponent

func ParseEndpoint

func ParseEndpoint(endpoint string) (string, string, string, error)

ParseEndpoint parses an endpoint of the form scheme://host:port and returns the components.

func SetTestLogger

func SetTestLogger(l logr.Logger)

Types

type Component

type Component interface {
	// Objects returns all objects this component contains.
	Objects() []runtime.Object

	// Ready returns true if the component is ready to be created.
	Ready() bool
}

func APIServer

func APIServer(registry string, tlsKeyPair *corev1.Secret, pullSecrets []*corev1.Secret, openshift bool) Component

func Compliance

func Compliance(
	registry string,
	m *operatorv1.MonitoringConfiguration,
	pullSecrets []*corev1.Secret,
	openshift bool,
) Component

func Console

func Console(
	cr *operator.Console,
	monitoring *operator.MonitoringConfiguration,
	tlsKeyPair *corev1.Secret,
	pullSecrets []*corev1.Secret,
	openshift bool,
	registry string,
) Component

func CustomResourceDefinitions

func CustomResourceDefinitions(cr *operator.Installation) Component

func IntrusionDetection

func IntrusionDetection(
	registry string,
	m *operatorv1.MonitoringConfiguration,
	pullSecrets []*corev1.Secret,
	openshift bool,
) Component

func Namespaces

func Namespaces(cr *operator.Installation, openshift bool, pullSecrets []*corev1.Secret) Component

func Node

func Node(cr *operator.Installation, openshift bool) Component

Node creates the node daemonset and other resources for the daemonset to operate normally.

func PriorityClassDefinitions

func PriorityClassDefinitions(cr *operator.Installation) Component

type Renderer

type Renderer interface {
	Render() []Component
}

A Renderer is capable of generating components to be installed on the cluster.

func Calico

func Calico(cr *operator.Installation, pullSecrets []*corev1.Secret, openshift bool) Renderer

Jump to

Keyboard shortcuts

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