Documentation ¶
Index ¶
- Constants
- type Agent
- func (p Agent) CAPIProviderDeploymentSpec(hcluster *hyperv1.HostedCluster, _ *hyperv1.HostedControlPlane) (*appsv1.DeploymentSpec, error)
- func (Agent) CAPIProviderPolicyRules() []rbacv1.PolicyRule
- func (Agent) DeleteCredentials(ctx context.Context, c client.Client, hc *hyperv1.HostedCluster, ...) error
- func (p Agent) ReconcileCAPIInfraCR(ctx context.Context, c client.Client, createOrUpdate upsert.CreateOrUpdateFN, ...) (client.Object, error)
- func (p Agent) ReconcileCredentials(ctx context.Context, c client.Client, createOrUpdate upsert.CreateOrUpdateFN, ...) error
- func (Agent) ReconcileSecretEncryption(ctx context.Context, c client.Client, createOrUpdate upsert.CreateOrUpdateFN, ...) error
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) 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 ¶
Click to show internal directories.
Click to hide internal directories.