sched

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceOpenShift = "openshift-topology-aware-scheduler"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifests

type Manifests struct {
	// common
	Crd       *apiextensionv1.CustomResourceDefinition
	Namespace *corev1.Namespace
	// controller
	SAController  *corev1.ServiceAccount
	CRController  *rbacv1.ClusterRole
	CRBController *rbacv1.ClusterRoleBinding
	RBController  *rbacv1.RoleBinding
	DPController  *appsv1.Deployment
	// scheduler proper
	SAScheduler  *corev1.ServiceAccount
	CRScheduler  *rbacv1.ClusterRole
	CRBScheduler *rbacv1.ClusterRoleBinding
	RBScheduler  *rbacv1.RoleBinding
	DPScheduler  *appsv1.Deployment
	ConfigMap    *corev1.ConfigMap
	// contains filtered or unexported fields
}

func GetManifests

func GetManifests(plat platform.Platform) (Manifests, error)

func New added in v0.0.9

func New(plat platform.Platform) Manifests

func (Manifests) Clone

func (mf Manifests) Clone() Manifests

func (Manifests) ToCreatableObjects

func (mf Manifests) ToCreatableObjects(hp *deployer.Helper, log tlog.Logger) []deployer.WaitableObject

func (Manifests) ToDeletableObjects

func (mf Manifests) ToDeletableObjects(hp *deployer.Helper, log tlog.Logger) []deployer.WaitableObject

func (Manifests) ToObjects

func (mf Manifests) ToObjects() []client.Object

func (Manifests) Update

func (mf Manifests) Update(logger tlog.Logger, options UpdateOptions) Manifests

type UpdateOptions

type UpdateOptions struct {
	Replicas               int32
	NodeResourcesNamespace string
	PullIfNotPresent       bool
}

Jump to

Keyboard shortcuts

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