snapshotcontroller

package
v0.1.51 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileOperatorDeployment

func ReconcileOperatorDeployment(
	deployment *appsv1.Deployment,
	params *Params,
	platformType hyperv1.PlatformType,
	setDefaultSecurityContext bool) error

func ReconcileOperatorRole

func ReconcileOperatorRole(
	role *rbacv1.Role,
	params *Params) error

func ReconcileOperatorRoleBinding

func ReconcileOperatorRoleBinding(
	roleBinding *rbacv1.RoleBinding,
	params *Params) error

func ReconcileOperatorServiceAccount

func ReconcileOperatorServiceAccount(
	sa *corev1.ServiceAccount,
	params *Params) error

Types

type Params

type Params struct {
	OwnerRef                        config.OwnerRef
	SnapshotControllerOperatorImage string
	SnapshotControllerImage         string
	SnapshotWebhookImage            string
	AvailabilityProberImage         string
	Version                         string
	config.DeploymentConfig
}

func NewParams

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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