worker

package
v0.0.0-...-c23fa6d Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

Types

type ContainerBuilder

type ContainerBuilder struct {
	resource.ContainerBuilder
	// contains filtered or unexported fields
}

func NewWorkerContainerBuilder

func NewWorkerContainerBuilder(
	image string,
	imagePullPolicy corev1.PullPolicy,
	zookeeperDiscoveryZNode string,
	resourceSpec *dolphinv1alpha1.ResourcesSpec,
	envConfigName string,
	configConfigMapName string,
	dbParams *resource.DatabaseParams,
) *ContainerBuilder

func (*ContainerBuilder) ContainerEnv

func (c *ContainerBuilder) ContainerEnv() []corev1.EnvVar

func (*ContainerBuilder) ContainerEnvFromSource

func (c *ContainerBuilder) ContainerEnvFromSource() []corev1.EnvFromSource

func (*ContainerBuilder) ContainerName

func (c *ContainerBuilder) ContainerName() string

func (*ContainerBuilder) ContainerPorts

func (c *ContainerBuilder) ContainerPorts() []corev1.ContainerPort

func (*ContainerBuilder) LivenessProbe

func (c *ContainerBuilder) LivenessProbe() *corev1.Probe

func (*ContainerBuilder) ReadinessProbe

func (c *ContainerBuilder) ReadinessProbe() *corev1.Probe

func (*ContainerBuilder) VolumeMount

func (c *ContainerBuilder) VolumeMount() []corev1.VolumeMount

type RoleWorkerRequirements

type RoleWorkerRequirements struct {
	// contains filtered or unexported fields
}

func NewRoleWorkerRequirements

func NewRoleWorkerRequirements(scheme *runtime.Scheme, instance *dolphinv1alpha1.DolphinschedulerCluster,
	roleLabels map[string]string, client client.Client) *RoleWorkerRequirements

func (*RoleWorkerRequirements) MergeConfig

func (r *RoleWorkerRequirements) MergeConfig() map[string]any

func (*RoleWorkerRequirements) RegisterResources

func (r *RoleWorkerRequirements) RegisterResources(ctx context.Context) map[string][]core.ResourceReconciler

type StatefulSetBuilderRequirements

type StatefulSetBuilderRequirements struct {
	core.WorkloadResourceRequirements
	// contains filtered or unexported fields
}

func (*StatefulSetBuilderRequirements) Build

Jump to

Keyboard shortcuts

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