cvo

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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileDeployment

func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, deploymentConfig config.DeploymentConfig, controlPlaneImage, image, cliImage, availabilityProberImage, clusterID string, updateService configv1.URL, platformType hyperv1.PlatformType, oauthEnabled, enableCVOManagementClusterMetricsAccess bool) error

func ReconcileRole added in v0.1.17

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

func ReconcileRoleBinding added in v0.1.17

func ReconcileRoleBinding(rb *rbacv1.RoleBinding, role *rbacv1.Role, ownerRef config.OwnerRef, namespace string) error

func ReconcileService

func ReconcileService(svc *corev1.Service, owner config.OwnerRef) error

func ReconcileServiceAccount added in v0.1.17

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

func ReconcileServiceMonitor

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

func ResourcesToRemove

func ResourcesToRemove(platformType hyperv1.PlatformType) []client.Object

Types

type CVOParams

type CVOParams struct {
	Image                   string
	ControlPlaneImage       string
	CLIImage                string
	AvailabilityProberImage string
	ClusterID               string
	OwnerRef                config.OwnerRef
	DeploymentConfig        config.DeploymentConfig
	PlatformType            hyperv1.PlatformType
}

func NewCVOParams

func NewCVOParams(hcp *hyperv1.HostedControlPlane, releaseImageProvider *imageprovider.ReleaseImageProvider, setDefaultSecurityContext, enableCVOManagementClusterMetricsAccess bool) *CVOParams

Jump to

Keyboard shortcuts

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