Documentation ¶
Index ¶
- Constants
- func APICRD() (*apiextensionv1.CustomResourceDefinition, error)
- func ClusterRole(component, subComponent string) (*rbacv1.ClusterRole, error)
- func ClusterRoleBinding(component, subComponent string) (*rbacv1.ClusterRoleBinding, error)
- func ConfigMap(component, subComponent string) (*corev1.ConfigMap, error)
- func DaemonSet(component string) (*appsv1.DaemonSet, error)
- func Deployment(component, subComponent string) (*appsv1.Deployment, error)
- func KubeSchedulerConfigurationFromData(data []byte) (*kubeschedulerconfigv1beta1.KubeSchedulerConfiguration, error)
- func KubeSchedulerConfigurationToData(sc *kubeschedulerconfigv1beta1.KubeSchedulerConfiguration) ([]byte, error)
- func Namespace(component string) (*corev1.Namespace, error)
- func NodeResourceTopologyMatchArgsFromData(data []byte) (*apiconfig.NodeResourceTopologyMatchArgs, error)
- func NodeResourceTopologyMatchArgsToData(ma *apiconfig.NodeResourceTopologyMatchArgs) ([]byte, error)
- func SchedulerCRD() (*apiextensionv1.CustomResourceDefinition, error)
- func SerializeObject(obj runtime.Object, out io.Writer) error
- func ServiceAccount(component, subComponent string) (*corev1.ServiceAccount, error)
- func UpdateClusterRoleBinding(crb *rbacv1.ClusterRoleBinding, serviceAccount, namespace string) *rbacv1.ClusterRoleBinding
- func UpdateResourceTopologyExporterCommand(args []string, vars map[string]string, plat platform.Platform) []string
- func UpdateResourceTopologyExporterDaemonSet(plat platform.Platform, ds *appsv1.DaemonSet, cm *corev1.ConfigMap, ...) *appsv1.DaemonSet
- func UpdateRoleBinding(rb *rbacv1.RoleBinding, serviceAccount, namespace string) *rbacv1.RoleBinding
- func UpdateSchedulerConfigNamespaces(logger tlog.Logger, cm *corev1.ConfigMap, NodeResourcesNamespace string) *corev1.ConfigMap
- func UpdateSchedulerPluginControllerDeployment(dp *appsv1.Deployment, pullIfNotPresent bool) *appsv1.Deployment
- func UpdateSchedulerPluginSchedulerDeployment(dp *appsv1.Deployment, pullIfNotPresent bool) *appsv1.Deployment
Constants ¶
View Source
const ( ComponentAPI = "api" ComponentSchedulerPlugin = "sched" ComponentResourceTopologyExporter = "rte" )
View Source
const ( SubComponentSchedulerPluginScheduler = "scheduler" SubComponentSchedulerPluginController = "controller" )
Variables ¶
This section is empty.
Functions ¶
func APICRD ¶
func APICRD() (*apiextensionv1.CustomResourceDefinition, error)
func ClusterRole ¶
func ClusterRole(component, subComponent string) (*rbacv1.ClusterRole, error)
func ClusterRoleBinding ¶
func ClusterRoleBinding(component, subComponent string) (*rbacv1.ClusterRoleBinding, error)
func Deployment ¶
func Deployment(component, subComponent string) (*appsv1.Deployment, error)
func KubeSchedulerConfigurationFromData ¶
func KubeSchedulerConfigurationFromData(data []byte) (*kubeschedulerconfigv1beta1.KubeSchedulerConfiguration, error)
func KubeSchedulerConfigurationToData ¶
func KubeSchedulerConfigurationToData(sc *kubeschedulerconfigv1beta1.KubeSchedulerConfiguration) ([]byte, error)
func NodeResourceTopologyMatchArgsFromData ¶
func NodeResourceTopologyMatchArgsFromData(data []byte) (*apiconfig.NodeResourceTopologyMatchArgs, error)
func NodeResourceTopologyMatchArgsToData ¶
func NodeResourceTopologyMatchArgsToData(ma *apiconfig.NodeResourceTopologyMatchArgs) ([]byte, error)
func SchedulerCRD ¶
func SchedulerCRD() (*apiextensionv1.CustomResourceDefinition, error)
func ServiceAccount ¶
func ServiceAccount(component, subComponent string) (*corev1.ServiceAccount, error)
func UpdateClusterRoleBinding ¶
func UpdateClusterRoleBinding(crb *rbacv1.ClusterRoleBinding, serviceAccount, namespace string) *rbacv1.ClusterRoleBinding
func UpdateRoleBinding ¶
func UpdateRoleBinding(rb *rbacv1.RoleBinding, serviceAccount, namespace string) *rbacv1.RoleBinding
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.
Click to show internal directories.
Click to hide internal directories.