Documentation ¶
Index ¶
Constants ¶
View Source
const ( Role = common.Master MainContainerName = util.ContainerComponent("master-server") )
Variables ¶
This section is empty.
Functions ¶
func NewMasterRole ¶
func NewMasterRole( client *client.Client, image *opgoutil.Image, clusterConfigSpec *dolphinv1alpha1.ClusterConfigSpec, clusterOperation *commonsv1alpha1.ClusterOperationSpec, apiRoleSpec *dolphinv1alpha1.RoleSpec, roleInfo reconciler.RoleInfo) *common.RoleReconciler
Types ¶
type MasterRoleResourceReconcilerBuilder ¶
type MasterRoleResourceReconcilerBuilder struct {
// contains filtered or unexported fields
}
func (*MasterRoleResourceReconcilerBuilder) ResourceReconcilers ¶
func (a *MasterRoleResourceReconcilerBuilder) 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.