manifests

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 26 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ComponentAPI                      = "api"
	ComponentSchedulerPlugin          = "sched"
	ComponentResourceTopologyExporter = "rte"
	ComponentNodeFeatureDiscovery     = "nfd"
)
View Source
const (
	SubComponentSchedulerPluginScheduler            = "scheduler"
	SubComponentSchedulerPluginController           = "controller"
	SubComponentNodeFeatureDiscoveryTopologyUpdater = "topologyupdater"
)
View Source
const (
	ContainerNameRTE                = "resource-topology-exporter"
	ContainerNameNFDTopologyUpdater = "nfd-topology-updater"
)
View Source
const (
	SchedulerConfigFileName = "scheduler-config.yaml" // TODO duplicate from yaml
	SchedulerPluginName     = "NodeResourceTopologyMatch"
)

Variables

This section is empty.

Functions

func ClusterRole

func ClusterRole(component, subComponent string) (*rbacv1.ClusterRole, error)

func ClusterRoleBinding

func ClusterRoleBinding(component, subComponent string) (*rbacv1.ClusterRoleBinding, error)

func ConfigMap

func ConfigMap(component, subComponent string) (*corev1.ConfigMap, error)

func DaemonSet

func DaemonSet(component, subComponent string, namespace string) (*appsv1.DaemonSet, error)

func Deployment

func Deployment(component, subComponent, namespace string) (*appsv1.Deployment, error)

func DeserializeObjectFromData added in v0.8.0

func DeserializeObjectFromData(data []byte) (runtime.Object, error)

func MachineConfig added in v0.0.12

func MachineConfig(component string, ver platform.Version) (*machineconfigv1.MachineConfig, error)

func Namespace

func Namespace(component string) (*corev1.Namespace, error)

func RenderObjects added in v0.12.2

func RenderObjects(objs []client.Object, w io.Writer) error

func Role added in v0.0.9

func Role(component, subComponent, namespace string) (*rbacv1.Role, error)

func RoleBinding added in v0.0.9

func RoleBinding(component, subComponent, namespace string) (*rbacv1.RoleBinding, error)

func SecurityContextConstraint added in v0.0.12

func SecurityContextConstraint(component string) (*securityv1.SecurityContextConstraints, error)

func SerializeObject

func SerializeObject(obj runtime.Object, out io.Writer) error

func SerializeObjectToData added in v0.8.0

func SerializeObjectToData(obj runtime.Object) ([]byte, error)

func Service added in v0.5.0

func Service(component, subComponent, namespace string) (*corev1.Service, error)

func ServiceAccount

func ServiceAccount(component, subComponent, namespace string) (*corev1.ServiceAccount, error)

Types

type ConfigCacheParams added in v0.12.2

type ConfigCacheParams struct {
	ResyncPeriodSeconds *int64
}

type ConfigParams added in v0.12.2

type ConfigParams struct {
	ProfileName string // can't be empty, so no need for pointer
	Cache       *ConfigCacheParams
}

func DecodeSchedulerProfilesFromData added in v0.12.2

func DecodeSchedulerProfilesFromData(data []byte) ([]ConfigParams, error)

func FindSchedulerProfileByName added in v0.12.2

func FindSchedulerProfileByName(profileParams []ConfigParams, schedulerName string) *ConfigParams

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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