Documentation ¶
Index ¶
Constants ¶
View Source
const (
KubeSchedulerConfigKey = "config.json"
)
Variables ¶
This section is empty.
Functions ¶
func ReconcileConfig ¶
func ReconcileDeployment ¶
func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, config config.DeploymentConfig, image string, featureGates []string, policy configv1.ConfigMapNameReference) error
Types ¶
type KubeSchedulerParams ¶
type KubeSchedulerParams struct { FeatureGate *configv1.FeatureGate `json:"featureGate"` Scheduler *configv1.Scheduler `json:"scheduler"` OwnerRef config.OwnerRef `json:"ownerRef"` HyperkubeImage string `json:"hyperkubeImage"` config.DeploymentConfig `json:",inline"` }
func NewKubeSchedulerParams ¶
func NewKubeSchedulerParams(ctx context.Context, hcp *hyperv1.HostedControlPlane, images map[string]string, globalConfig config.GlobalConfig) *KubeSchedulerParams
func (*KubeSchedulerParams) FeatureGates ¶
func (p *KubeSchedulerParams) FeatureGates() []string
func (*KubeSchedulerParams) SchedulerPolicy ¶
func (p *KubeSchedulerParams) SchedulerPolicy() configv1.ConfigMapNameReference
Click to show internal directories.
Click to hide internal directories.