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
Click to show internal directories.
Click to hide internal directories.