sched

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 12 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, namespace string) (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) Render added in v0.2.0

func (mf Manifests) Render(logger logr.Logger, options RenderOptions) (Manifests, error)

func (Manifests) ToCreatableObjects

func (mf Manifests) ToCreatableObjects(cli client.Client, log logr.Logger) []deployer.WaitableObject

func (Manifests) ToDeletableObjects

func (mf Manifests) ToDeletableObjects(cli client.Client, log logr.Logger) []deployer.WaitableObject

func (Manifests) ToObjects

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

type RenderOptions added in v0.2.0

type RenderOptions struct {
	Replicas          int32
	PullIfNotPresent  bool
	ProfileName       string
	CacheResyncPeriod time.Duration
}

Jump to

Keyboard shortcuts

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