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 ¶
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 ¶
func (t *TopologyConfigDriver) SetCustomConfig(inf *topology_workloads.TopologyBaseInfraWorkload)
Click to show internal directories.
Click to hide internal directories.