nto

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileClusterNodeTuningOperatorMetricsService

func ReconcileClusterNodeTuningOperatorMetricsService(svc *corev1.Service, ownerRef config.OwnerRef) error

func ReconcileClusterNodeTuningOperatorServiceMonitor

func ReconcileClusterNodeTuningOperatorServiceMonitor(sm *prometheusoperatorv1.ServiceMonitor, clusterID string, metricsSet metrics.MetricsSet, ownerRef config.OwnerRef) error

func ReconcileDeployment

func ReconcileDeployment(dep *appsv1.Deployment, params Params) error

func ReconcileRole

func ReconcileRole(role *rbacv1.Role, ownerRef config.OwnerRef) error

func ReconcileRoleBinding

func ReconcileRoleBinding(rb *rbacv1.RoleBinding, ownerRef config.OwnerRef) error

func ReconcileServiceAccount

func ReconcileServiceAccount(sa *corev1.ServiceAccount, ownerRef config.OwnerRef) error

Types

type Images

type Images struct {
	NodeTuningOperator string
	NodeTunedContainer string
}

type Params

type Params struct {
	ReleaseVersion          string
	AvailabilityProberImage string
	HostedClusterName       string
	Images                  Images
	DeploymentConfig        config.DeploymentConfig
	OwnerRef                config.OwnerRef
}

func NewParams

func NewParams(hcp *hyperv1.HostedControlPlane, version string, releaseImageProvider *imageprovider.ReleaseImageProvider, userReleaseImageProvider *imageprovider.ReleaseImageProvider, setDefaultSecurityContext bool) Params

Jump to

Keyboard shortcuts

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