container

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerConfig

type ContainerConfig struct {
	// Envoy container configuration
	Name               string
	Image              string
	ConfigBasePath     string
	ConfigFileName     string
	ConfigVolume       string
	TLSBasePath        string
	TLSVolume          string
	NodeID             string
	ClusterID          string
	ClientCertSecret   string
	ExtraArgs          []string
	Resources          corev1.ResourceRequirements
	AdminBindAddress   string
	AdminPort          int32
	AdminAccessLogPath string
	Ports              []corev1.ContainerPort
	LivenessProbe      operatorv1alpha1.ProbeSpec
	ReadinessProbe     operatorv1alpha1.ProbeSpec

	// Init manager container configuration
	InitManagerImage string
	XdssHost         string
	XdssPort         int
	APIVersion       string

	// Shutdown manager container configuration
	ShutdownManagerEnabled       bool
	ShutdownManagerPort          int32
	ShutdownManagerImage         string
	ShutdownManagerDrainSeconds  int64
	ShutdownManagerDrainStrategy defaults.DrainStrategy
}

func (*ContainerConfig) Containers

func (cc *ContainerConfig) Containers() []corev1.Container

func (*ContainerConfig) InitContainers

func (cc *ContainerConfig) InitContainers() []corev1.Container

func (*ContainerConfig) Volumes

func (cc *ContainerConfig) Volumes() []corev1.Volume

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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