zeus_topology_config_drivers

package
v0.1.20-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapDriver

type ConfigMapDriver struct {
}

func (*ConfigMapDriver) SetConfigMaps

func (cm *ConfigMapDriver) SetConfigMaps(cmDriver *v1.ConfigMap)

type ContainerDriver

type ContainerDriver struct {
	v1Core.Container
	AppendEnvVars []v1Core.EnvVar
}

func (*ContainerDriver) CreateEnvVarKeyValue

func (cd *ContainerDriver) CreateEnvVarKeyValue(k, v string) v1Core.EnvVar

func (*ContainerDriver) SetContainerConfigs

func (cd *ContainerDriver) SetContainerConfigs(cont *v1Core.Container)

type DeploymentDriver

type DeploymentDriver struct {
	ContainerDrivers map[string]ContainerDriver
}

func NewDeploymentDriver

func NewDeploymentDriver() DeploymentDriver

func (*DeploymentDriver) SetDeploymentConfigs

func (d *DeploymentDriver) SetDeploymentConfigs(sts *v1.Deployment)

type IngressDriver

type IngressDriver struct {
	NginxAuthURL string
}

func (*IngressDriver) SetIngressConfigs

func (i *IngressDriver) SetIngressConfigs(ing *v1.Ingress)

type ServiceDriver

type ServiceDriver struct {
	ExtendPorts []v1.ServicePort
}

func (*ServiceDriver) AddNginxTargetPort

func (s *ServiceDriver) AddNginxTargetPort(portName, targetPortName string)

func (*ServiceDriver) SetServiceConfigs

func (s *ServiceDriver) SetServiceConfigs(svc *v1.Service)

type StatefulSetDriver

type StatefulSetDriver struct {
	ContainerDrivers map[string]ContainerDriver
}

func NewStatefulSetDriver

func NewStatefulSetDriver() StatefulSetDriver

func (*StatefulSetDriver) SetStatefulSetConfigs

func (s *StatefulSetDriver) SetStatefulSetConfigs(sts *v1.StatefulSet)

type TopologyConfigDriver

type TopologyConfigDriver struct {
	*IngressDriver
	*StatefulSetDriver
	*ServiceDriver
	*DeploymentDriver
}

func (*TopologyConfigDriver) SetCustomConfig

Jump to

Keyboard shortcuts

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