nto

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 14 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, images map[string]string, setDefaultSecurityContext bool) Params

Jump to

Keyboard shortcuts

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