factory

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigMap

func NewConfigMap(rc *reconcile.Context, xstore *polardbxv1.XStore, cmType convention.ConfigMapType) (*corev1.ConfigMap, error)

func NewService

func NewService(xstore *polardbxv1.XStore, serviceType convention.ServiceType) *corev1.Service

Types

type ExtraPodFactoryGalaxy

type ExtraPodFactoryGalaxy struct {
	Delegate factory.ExtraPodFactory
}

func (*ExtraPodFactoryGalaxy) Command

func (f *ExtraPodFactoryGalaxy) Command(ctx *factory.PodFactoryContext, container string) []string

func (*ExtraPodFactoryGalaxy) ExtraAnnotations

func (f *ExtraPodFactoryGalaxy) ExtraAnnotations(ctx *factory.PodFactoryContext) map[string]string

func (*ExtraPodFactoryGalaxy) ExtraLabels

func (f *ExtraPodFactoryGalaxy) ExtraLabels(ctx *factory.PodFactoryContext) map[string]string

func (*ExtraPodFactoryGalaxy) NewAffinity

func (*ExtraPodFactoryGalaxy) NewEnvs

func (*ExtraPodFactoryGalaxy) NewPorts

func (f *ExtraPodFactoryGalaxy) NewPorts(ctx *factory.PodFactoryContext, allocated map[string]int) (map[string][]corev1.ContainerPort, error)

func (*ExtraPodFactoryGalaxy) NewProbes

func (f *ExtraPodFactoryGalaxy) NewProbes(ctx *factory.PodFactoryContext, container string) *factory.ProbeSpec

func (*ExtraPodFactoryGalaxy) NewResources

func (*ExtraPodFactoryGalaxy) NewVolumeMounts

func (f *ExtraPodFactoryGalaxy) NewVolumeMounts(ctx *factory.PodFactoryContext) (map[string][]corev1.VolumeMount, error)

func (*ExtraPodFactoryGalaxy) NewVolumes

func (*ExtraPodFactoryGalaxy) WorkDir

func (f *ExtraPodFactoryGalaxy) WorkDir(ctx *factory.PodFactoryContext, container string) string

Jump to

Keyboard shortcuts

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