worker

package
v0.0.0-...-c3f5ad8 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Role              = common.Worker
	MainContainerName = util.ContainerComponent("worker-server")
)

Variables

This section is empty.

Functions

func NewWorkerRole

func NewWorkerRole(
	client *client.Client,
	image *opgoutil.Image,
	clusterConfigSpec *dolphinv1alpha1.ClusterConfigSpec,
	clusterOperation *commonsv1alpha1.ClusterOperationSpec,
	apiRoleSpec *dolphinv1alpha1.RoleSpec,
	roleInfo reconciler.RoleInfo,
) *common.RoleReconciler

Types

type WorkerRoleResourceReconcilerBuilder

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

func (*WorkerRoleResourceReconcilerBuilder) ResourceReconcilers

func (a *WorkerRoleResourceReconcilerBuilder) ResourceReconcilers(
	ctx context.Context,
	replicas *int32,
	roleGroupInfo *reconciler.RoleGroupInfo,
	overrides *commonsv1alpha1.OverridesSpec,
	roleGroupConfig *commonsv1alpha1.RoleGroupConfigSpec,
) []reconciler.Reconciler

Buile implements common.RoleReconcilerBuilder. api server role has resources below: - deployment - service

Jump to

Keyboard shortcuts

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