manifests

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 27 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ComponentAPI                      = "api"
	ComponentSchedulerPlugin          = "sched"
	ComponentResourceTopologyExporter = "rte"
	ComponentNodeFeatureDiscovery     = "nfd"
)
View Source
const (
	SubComponentSchedulerPluginScheduler            = "scheduler"
	SubComponentSchedulerPluginController           = "controller"
	SubComponentNodeFeatureDiscoveryMaster          = "master"
	SubComponentNodeFeatureDiscoveryTopologyUpdater = "topologyupdater"
)
View Source
const (
	RTEConfigMapName = "rte-config"
)

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, plat platform.Platform, 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 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)

func UpdateClusterRoleBinding

func UpdateClusterRoleBinding(crb *rbacv1.ClusterRoleBinding, serviceAccount, namespace string)

func UpdateMachineConfig added in v0.0.12

func UpdateMachineConfig(mc *machineconfigv1.MachineConfig, name string, mcpSelector *metav1.LabelSelector)

func UpdateMetricsPort added in v0.0.12

func UpdateMetricsPort(ds *appsv1.DaemonSet, pNum int)

func UpdateNFDMasterDeployment added in v0.5.0

func UpdateNFDMasterDeployment(ds *appsv1.Deployment, pullIfNotPresent bool)

func UpdateNFDTopologyUpdaterDaemonSet added in v0.5.0

func UpdateNFDTopologyUpdaterDaemonSet(ds *appsv1.DaemonSet, pullIfNotPresent bool, nodeSelector *metav1.LabelSelector)

func UpdateResourceTopologyExporterContainerConfig added in v0.2.0

func UpdateResourceTopologyExporterContainerConfig(podSpec *corev1.PodSpec, cnt *corev1.Container, configMapName string)

func UpdateResourceTopologyExporterDaemonSet

func UpdateResourceTopologyExporterDaemonSet(ds *appsv1.DaemonSet, configMapName string, pullIfNotPresent bool, nodeSelector *metav1.LabelSelector)

func UpdateRoleBinding

func UpdateRoleBinding(rb *rbacv1.RoleBinding, serviceAccount, namespace string)

func UpdateSchedulerPluginControllerDeployment

func UpdateSchedulerPluginControllerDeployment(dp *appsv1.Deployment, pullIfNotPresent bool)

func UpdateSchedulerPluginSchedulerDeployment

func UpdateSchedulerPluginSchedulerDeployment(dp *appsv1.Deployment, pullIfNotPresent bool)

func UpdateSecurityContextConstraint added in v0.0.12

func UpdateSecurityContextConstraint(scc *securityv1.SecurityContextConstraints, sa *corev1.ServiceAccount)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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