manifests

package
v0.0.6 Latest Latest
Warning

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

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

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 added in v0.0.6

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

func ConfigMap added in v0.0.6

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

func DaemonSet added in v0.0.6

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

func Deployment added in v0.0.6

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

func KubeSchedulerConfigurationFromData added in v0.0.6

func KubeSchedulerConfigurationFromData(data []byte) (*kubeschedulerconfigv1beta1.KubeSchedulerConfiguration, error)

func KubeSchedulerConfigurationToData added in v0.0.6

func KubeSchedulerConfigurationToData(sc *kubeschedulerconfigv1beta1.KubeSchedulerConfiguration) ([]byte, error)

func Namespace

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

func NodeResourceTopologyMatchArgsFromData added in v0.0.6

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

func NodeResourceTopologyMatchArgsToData added in v0.0.6

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

func SchedulerCRD added in v0.0.6

func SerializeObject

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

func ServiceAccount

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

func UpdateClusterRoleBinding added in v0.0.6

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 added in v0.0.6

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

func UpdateSchedulerConfigNamespaces added in v0.0.6

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

func UpdateSchedulerPluginControllerDeployment added in v0.0.6

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

func UpdateSchedulerPluginSchedulerDeployment added in v0.0.6

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