manifests

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 20 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ComponentAPI                      = "api"
	ComponentSchedulerPlugin          = "sched"
	ComponentResourceTopologyExporter = "rte"
)
View Source
const (
	SubComponentSchedulerPluginScheduler  = "scheduler"
	SubComponentSchedulerPluginController = "controller"
)

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 string) (*appsv1.DaemonSet, error)

func Deployment

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

func Namespace

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

func NodeResourceTopologyMatchArgsFromData

func NodeResourceTopologyMatchArgsFromData(data []byte) (*apiconfig.NodeResourceTopologyMatchArgs, error)

func NodeResourceTopologyMatchArgsToData

func NodeResourceTopologyMatchArgsToData(ma *apiconfig.NodeResourceTopologyMatchArgs) ([]byte, error)

func SerializeObject

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

func ServiceAccount

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

func UpdateClusterRoleBinding

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

func UpdateResourceTopologyExporterCommand

func UpdateResourceTopologyExporterCommand(args []string, vars map[string]string, plat platform.Platform) []string

func UpdateResourceTopologyExporterDaemonSet

func UpdateResourceTopologyExporterDaemonSet(plat platform.Platform, ds *appsv1.DaemonSet, cm *corev1.ConfigMap, pullIfNotPresent bool) *appsv1.DaemonSet

func UpdateRoleBinding

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

func UpdateSchedulerConfigNamespaces

func UpdateSchedulerConfigNamespaces(logger tlog.Logger, cm *corev1.ConfigMap, NodeResourcesNamespace string) *corev1.ConfigMap

func UpdateSchedulerPluginControllerDeployment

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

func UpdateSchedulerPluginSchedulerDeployment

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

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