agent

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CredentialsRBACPrefix = "cluster-api-agent"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct{}

func (Agent) CAPIProviderDeploymentSpec

func (p Agent) CAPIProviderDeploymentSpec(hcluster *hyperv1.HostedCluster, _ *hyperv1.HostedControlPlane) (*appsv1.DeploymentSpec, error)

func (Agent) CAPIProviderPolicyRules

func (Agent) CAPIProviderPolicyRules() []rbacv1.PolicyRule

func (Agent) DeleteCredentials

func (Agent) DeleteCredentials(ctx context.Context, c client.Client,
	hc *hyperv1.HostedCluster,
	controlPlaneNamespace string) error

func (Agent) ReconcileCAPIInfraCR

func (p Agent) ReconcileCAPIInfraCR(ctx context.Context, c client.Client, createOrUpdate upsert.CreateOrUpdateFN,
	hcluster *hyperv1.HostedCluster,
	controlPlaneNamespace string, apiEndpoint hyperv1.APIEndpoint) (client.Object, error)

func (Agent) ReconcileCredentials

func (p Agent) ReconcileCredentials(ctx context.Context, c client.Client, createOrUpdate upsert.CreateOrUpdateFN,
	hcluster *hyperv1.HostedCluster,
	controlPlaneNamespace string) error

TODO add a new method to Platform interface?

func (Agent) ReconcileSecretEncryption

func (Agent) ReconcileSecretEncryption(ctx context.Context, c client.Client, createOrUpdate upsert.CreateOrUpdateFN,
	hcluster *hyperv1.HostedCluster,
	controlPlaneNamespace string) error

Jump to

Keyboard shortcuts

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