Documentation ¶
Index ¶
- func NewConfigMap(rc *reconcile.Context, xstore *polardbxv1.XStore, ...) (*corev1.ConfigMap, error)
- func NewService(xstore *polardbxv1.XStore, serviceType convention.ServiceType) *corev1.Service
- type ExtraPodFactoryGalaxy
- func (f *ExtraPodFactoryGalaxy) Command(ctx *factory.PodFactoryContext, container string) []string
- func (f *ExtraPodFactoryGalaxy) ExtraAnnotations(ctx *factory.PodFactoryContext) map[string]string
- func (f *ExtraPodFactoryGalaxy) ExtraLabels(ctx *factory.PodFactoryContext) map[string]string
- func (f *ExtraPodFactoryGalaxy) NewAffinity(ctx *factory.PodFactoryContext) *corev1.Affinity
- func (f *ExtraPodFactoryGalaxy) NewEnvs(ctx *factory.PodFactoryContext) (map[string][]corev1.EnvVar, error)
- func (f *ExtraPodFactoryGalaxy) NewPorts(ctx *factory.PodFactoryContext, allocated map[string]int) (map[string][]corev1.ContainerPort, error)
- func (f *ExtraPodFactoryGalaxy) NewProbes(ctx *factory.PodFactoryContext, container string) *factory.ProbeSpec
- func (f *ExtraPodFactoryGalaxy) NewResources(ctx *factory.PodFactoryContext, container string) corev1.ResourceRequirements
- func (f *ExtraPodFactoryGalaxy) NewVolumeMounts(ctx *factory.PodFactoryContext) (map[string][]corev1.VolumeMount, error)
- func (f *ExtraPodFactoryGalaxy) NewVolumes(ctx *factory.PodFactoryContext, volumes []polardbxv1xstore.HostPathVolume) ([]corev1.Volume, error)
- func (f *ExtraPodFactoryGalaxy) WorkDir(ctx *factory.PodFactoryContext, container string) string
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 (f *ExtraPodFactoryGalaxy) NewAffinity(ctx *factory.PodFactoryContext) *corev1.Affinity
func (*ExtraPodFactoryGalaxy) NewEnvs ¶
func (f *ExtraPodFactoryGalaxy) NewEnvs(ctx *factory.PodFactoryContext) (map[string][]corev1.EnvVar, error)
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 (f *ExtraPodFactoryGalaxy) NewResources(ctx *factory.PodFactoryContext, container string) corev1.ResourceRequirements
func (*ExtraPodFactoryGalaxy) NewVolumeMounts ¶
func (f *ExtraPodFactoryGalaxy) NewVolumeMounts(ctx *factory.PodFactoryContext) (map[string][]corev1.VolumeMount, error)
func (*ExtraPodFactoryGalaxy) NewVolumes ¶
func (f *ExtraPodFactoryGalaxy) NewVolumes(ctx *factory.PodFactoryContext, volumes []polardbxv1xstore.HostPathVolume) ([]corev1.Volume, error)
func (*ExtraPodFactoryGalaxy) WorkDir ¶
func (f *ExtraPodFactoryGalaxy) WorkDir(ctx *factory.PodFactoryContext, container string) string
Click to show internal directories.
Click to hide internal directories.