master

package
v0.0.0-...-00e4979 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerManager

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

func NewControllerManager

func NewControllerManager(clusterName, serviceClusterIPRange, clusterCIDRS string,
	resourceRequirements corev1.ResourceRequirements) ControllerManager

func (*ControllerManager) BuilderContainer

func (controllerManager *ControllerManager) BuilderContainer() corev1.Container

type Master

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

func NewMaster

func NewMaster(namespacedName types.NamespacedName, settings v1alpha1.ControlPlaneMaster, loadBalancerHostnames []string,
	resourcesManager ResourcesManager) (*Master, error)

func (*Master) BuildDeployment

func (master *Master) BuildDeployment() *appsv1.Deployment

func (*Master) EqualDeployment

func (master *Master) EqualDeployment(deployment *appsv1.Deployment) (bool, error)

type ResourcesManager

type ResourcesManager struct{}

func NewResourceSplitter

func NewResourceSplitter() ResourcesManager

type Scheduler

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

func NewScheduler

func NewScheduler(resourceRequirements corev1.ResourceRequirements) Scheduler

func (*Scheduler) BuilderContainer

func (scheduler *Scheduler) BuilderContainer() corev1.Container

Jump to

Keyboard shortcuts

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