controllers

package
v0.0.0-...-ff289a2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 76 Imported by: 0

Documentation

Index

Constants

View Source
const AdminSecretKey = ".spec.adminSecret"

Variables

View Source
var TestResourceGroupPrefix = "rg-prime"

Functions

func AddFinalizer

func AddFinalizer(o metav1.Object, finalizer string)

AddFinalizer accepts a metav1 object and adds the provided finalizer if not present.

func AddFinalizerAndUpdate

func AddFinalizerAndUpdate(ctx context.Context, client client.Client, finalizer string, o client.Object) error

AddFinalizerAndUpdate removes a finalizer from a runtime object and attempts to update that object in the API server. It returns an error if either operation failed.

func AddFinalizerIfPossible

func AddFinalizerIfPossible(o runtime.Object, finalizer string) error

AddFinalizerIfPossible tries to convert a runtime object to a metav1 object and add the provided finalizer. It returns an error if the provided object cannot provide an accessor.

func ConvertToStatus

func ConvertToStatus(instance runtime.Object) *v1alpha1.StatusedObject

ConvertToStatus takes a runtime.Object and attempts to convert it to an object with an ASOStatus field

func DeleteIfFound

func DeleteIfFound(ctx context.Context, client client.Client, obj client.Object) error

func EnsureDelete

func EnsureDelete(ctx context.Context, t *testing.T, tc TestContext, instance client.Object)

EnsureDelete deletes the instance and waits for it to be gone or timeout

func EnsureInstance

func EnsureInstance(ctx context.Context, t *testing.T, tc TestContext, instance client.Object)

EnsureInstance creates the instance and waits for it to exist or timeout

func EnsureInstanceWithResult

func EnsureInstanceWithResult(ctx context.Context, t *testing.T, tc TestContext, instance client.Object, message string, provisioned bool)

func EnsureSecrets

func EnsureSecrets(ctx context.Context, t *testing.T, tc TestContext, instance runtime.Object, secretClient secrets.SecretClient, secretKey secrets.SecretKey)

func EnsureSecretsWithValue

func EnsureSecretsWithValue(ctx context.Context, t *testing.T, tc TestContext, instance runtime.Object, secretclient secrets.SecretClient, secretKey secrets.SecretKey, secretSubKey string, secretvalue string)

func Fetch

func Fetch(ctx context.Context, client client.Client, namespacedName types.NamespacedName, obj client.Object, log logr.Logger) error

Fetch retrieves an object by namespaced name from the API server and puts the contents in the runtime.Object parameter. TODO(ace): refactor onto base reconciler struct

func GenerateAlphaNumTestResourceName

func GenerateAlphaNumTestResourceName(id string) string

GenerateAlphaNumTestResourceName returns an alpha-numeric resource name

func GenerateAlphaNumTestResourceNameWithRandom

func GenerateAlphaNumTestResourceNameWithRandom(id string, rc int) string

GenerateAlphaNumTestResourceNameWithRandom returns an alpha-numeric resource name with a random string appended

func GenerateRandomSshPublicKeyString

func GenerateRandomSshPublicKeyString() string

GenerateRandomSshPublicKeyString returns a random string of SSH public key data

func GenerateTestResourceName

func GenerateTestResourceName(id string) string

GenerateTestResourceName returns a resource name

func GenerateTestResourceNameWithRandom

func GenerateTestResourceNameWithRandom(id string, rc int) string

GenerateTestResourceNameWithRandom returns a resource name with a random string appended

func HasFinalizer

func HasFinalizer(o metav1.Object, finalizer string) bool

HasFinalizer accepts a metav1 object and returns true if the the object has the provided finalizer.

func RegisterReconcilers

func RegisterReconcilers(mgr manager.Manager, scheme *runtime.Scheme, secretClient secrets.SecretClient) error

func RegisterWebhooks

func RegisterWebhooks(mgr manager.Manager) error

func RemoveFinalizer

func RemoveFinalizer(o metav1.Object, finalizer string)

RemoveFinalizer accepts a metav1 object and removes the provided finalizer if present.

func RemoveFinalizerAndUpdate

func RemoveFinalizerAndUpdate(ctx context.Context, client client.Client, finalizer string, o client.Object) error

RemoveFinalizerAndUpdate removes a finalizer from a runtime object and attempts to update that object in the API server. It returns an error if either operation failed.

func RemoveFinalizerIfPossible

func RemoveFinalizerIfPossible(o client.Object, finalizer string) error

RemoveFinalizerIfPossible tries to convert a runtime object to a metav1 object and remove the provided finalizer. It returns an error if the provided object cannot provide an accessor.

func RequireInstance

func RequireInstance(ctx context.Context, t *testing.T, tc TestContext, instance client.Object)

func RequireInstanceWithResult

func RequireInstanceWithResult(ctx context.Context, t *testing.T, tc TestContext, instance client.Object, message string, provisioned bool)

Types

type APIMAPIReconciler

type APIMAPIReconciler struct {
	Reconciler *AsyncReconciler
}

APIMAPIReconciler reconciles a APIM object

func (*APIMAPIReconciler) Reconcile

func (r *APIMAPIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile attempts to set the desired state snapshot representation of the service in k8s

func (*APIMAPIReconciler) SetupWithManager

func (r *APIMAPIReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager initializes the control loop for this operator

type ApimServiceReconciler

type ApimServiceReconciler struct {
	Reconciler *AsyncReconciler
}

ApimServiceReconciler reconciles a ApimService object

func (*ApimServiceReconciler) Reconcile

func (r *ApimServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile function does the main reconciliation loop of the operator

func (*ApimServiceReconciler) SetupWithManager

func (r *ApimServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager function sets up the functions with the controller

type AppInsightsApiKeyReconciler

type AppInsightsApiKeyReconciler struct {
	Reconciler *AsyncReconciler
}

AppInsightsApiKeyReconciler reconciles a AppInsightsApiKey object

func (*AppInsightsApiKeyReconciler) Reconcile

func (*AppInsightsApiKeyReconciler) SetupWithManager

func (r *AppInsightsApiKeyReconciler) SetupWithManager(mgr ctrl.Manager) error

type AppInsightsReconciler

type AppInsightsReconciler struct {
	Reconciler *AsyncReconciler
}

AppInsightsReconciler reconciles a AppInsights object

func (*AppInsightsReconciler) Reconcile

func (r *AppInsightsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile attempts to set the desired state snapshot representation of the service in k8s

func (*AppInsightsReconciler) SetupWithManager

func (r *AppInsightsReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager initializes the control loop for this operator

type AsyncReconciler

type AsyncReconciler struct {
	client.Client
	AzureClient resourcemanager.ARMClient
	Telemetry   telemetry.TelemetryClient
	Recorder    record.EventRecorder
	Scheme      *runtime.Scheme
}

AsyncReconciler is a generic reconciler for Azure resources. It reconciles Kubernetes objects which require long running operations in Azure.

func (*AsyncReconciler) Reconcile

func (r *AsyncReconciler) Reconcile(ctx context.Context, req ctrl.Request, obj client.Object) (result ctrl.Result, err error)

Reconcile reconciles the change request

type AzureLoadBalancerReconciler

type AzureLoadBalancerReconciler struct {
	Reconciler *AsyncReconciler
}

AzureLoadBalancerReconciler reconciles a AzureLoadBalancer object

func (*AzureLoadBalancerReconciler) Reconcile

func (*AzureLoadBalancerReconciler) SetupWithManager

func (r *AzureLoadBalancerReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureNetworkInterfaceReconciler

type AzureNetworkInterfaceReconciler struct {
	Reconciler *AsyncReconciler
}

AzureNetworkInterfaceReconciler reconciles a AzureNetworkInterface object

func (*AzureNetworkInterfaceReconciler) Reconcile

func (*AzureNetworkInterfaceReconciler) SetupWithManager

func (r *AzureNetworkInterfaceReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzurePublicIPAddressReconciler

type AzurePublicIPAddressReconciler struct {
	Reconciler *AsyncReconciler
}

AzurePublicIPAddressReconciler reconciles a AzurePublicIPAddress object

func (*AzurePublicIPAddressReconciler) Reconcile

func (*AzurePublicIPAddressReconciler) SetupWithManager

func (r *AzurePublicIPAddressReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureSQLManagedUserReconciler

type AzureSQLManagedUserReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSQLManagedUserReconciler reconciles a AzureSQLManagedUser object

func (*AzureSQLManagedUserReconciler) Reconcile

func (*AzureSQLManagedUserReconciler) SetupWithManager

func (r *AzureSQLManagedUserReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureSQLUserReconciler

type AzureSQLUserReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSQLUserReconciler reconciles a AzureSQLUser object

func (*AzureSQLUserReconciler) Reconcile

func (r *AzureSQLUserReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AzureSQLUserReconciler) SetupWithManager

func (r *AzureSQLUserReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager runs reconcile loop with manager

type AzureSQLVNetRuleReconciler

type AzureSQLVNetRuleReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSQLVNetRuleReconciler reconciles a AzureSQLVNetRule object

func (*AzureSQLVNetRuleReconciler) Reconcile

func (*AzureSQLVNetRuleReconciler) SetupWithManager

func (r *AzureSQLVNetRuleReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureSqlActionReconciler

type AzureSqlActionReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSqlActionReconciler reconciles a AzureSqlAction object

func (*AzureSqlActionReconciler) Reconcile

Reconcile function runs the actual reconcilation loop of the controller

func (*AzureSqlActionReconciler) SetupWithManager

func (r *AzureSqlActionReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureSqlDatabaseReconciler

type AzureSqlDatabaseReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSqlDatabaseReconciler reconciles a AzureSqlDatabase object

func (*AzureSqlDatabaseReconciler) Reconcile

Reconcile function does the main reconciliation loop of the operator

func (*AzureSqlDatabaseReconciler) SetupWithManager

func (r *AzureSqlDatabaseReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager function sets up the functions with the controller

type AzureSqlFailoverGroupReconciler

type AzureSqlFailoverGroupReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSqlFailoverGroupReconciler reconciles a AzureSqlFailoverGroup object

func (*AzureSqlFailoverGroupReconciler) Reconcile

Reconcile function does the main reconciliation loop of the operator

func (*AzureSqlFailoverGroupReconciler) SetupWithManager

func (r *AzureSqlFailoverGroupReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureSqlFirewallRuleReconciler

type AzureSqlFirewallRuleReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSqlFirewallRuleReconciler reconciles a AzureSqlFirewallRule object

func (*AzureSqlFirewallRuleReconciler) Reconcile

func (r *AzureSqlFirewallRuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)

Reconcile function does the main reconciliation loop of the operator

func (*AzureSqlFirewallRuleReconciler) SetupWithManager

func (r *AzureSqlFirewallRuleReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager function sets up the functions with the controller

type AzureSqlServerReconciler

type AzureSqlServerReconciler struct {
	Reconciler *AsyncReconciler
}

AzureSqlServerReconciler reconciles an AzureSqlServer object

func (*AzureSqlServerReconciler) Reconcile

func (*AzureSqlServerReconciler) SetupWithManager

func (r *AzureSqlServerReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureVMScaleSetReconciler

type AzureVMScaleSetReconciler struct {
	Reconciler *AsyncReconciler
}

AzureVMScaleSetReconciler reconciles a AzureVMScaleSet object

func (*AzureVMScaleSetReconciler) Reconcile

func (*AzureVMScaleSetReconciler) SetupWithManager

func (r *AzureVMScaleSetReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureVirtualMachineExtensionReconciler

type AzureVirtualMachineExtensionReconciler struct {
	Reconciler *AsyncReconciler
}

AzureVirtualMachineExtensionReconciler reconciles a AzureVirtualMachineExtension object

func (*AzureVirtualMachineExtensionReconciler) Reconcile

func (*AzureVirtualMachineExtensionReconciler) SetupWithManager

func (r *AzureVirtualMachineExtensionReconciler) SetupWithManager(mgr ctrl.Manager) error

type AzureVirtualMachineReconciler

type AzureVirtualMachineReconciler struct {
	Reconciler *AsyncReconciler
}

AzureVirtualMachineReconciler reconciles a AzureVirtualMachine object

func (*AzureVirtualMachineReconciler) Reconcile

func (*AzureVirtualMachineReconciler) SetupWithManager

func (r *AzureVirtualMachineReconciler) SetupWithManager(mgr ctrl.Manager) error

type BlobContainerReconciler

type BlobContainerReconciler struct {
	Reconciler *AsyncReconciler
}

BlobContainerReconciler reconciles a BlobContainer object

func (*BlobContainerReconciler) Reconcile

func (r *BlobContainerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*BlobContainerReconciler) SetupWithManager

func (r *BlobContainerReconciler) SetupWithManager(mgr ctrl.Manager) error

type ConsumerGroupReconciler

type ConsumerGroupReconciler struct {
	Reconciler *AsyncReconciler
}

ConsumerGroupReconciler reconciles a ConsumerGroup object

func (*ConsumerGroupReconciler) Reconcile

func (r *ConsumerGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reconciler for consumergroup

func (*ConsumerGroupReconciler) SetupWithManager

func (r *ConsumerGroupReconciler) SetupWithManager(mgr ctrl.Manager) error

type CosmosDBReconciler

type CosmosDBReconciler struct {
	Reconciler *AsyncReconciler
}

CosmosDBReconciler reconciles a CosmosDB object

func (*CosmosDBReconciler) Reconcile

func (r *CosmosDBReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile function does the main reconciliation loop of the operator

func (*CosmosDBReconciler) SetupWithManager

func (r *CosmosDBReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller functions

type CosmosDBSQLDatabaseReconciler

type CosmosDBSQLDatabaseReconciler struct {
	Reconciler *AsyncReconciler
}

CosmosDBSQLDatabaseReconciler reconciles a CosmosDB SQL Database object

func (*CosmosDBSQLDatabaseReconciler) Reconcile

Reconcile function does the main reconciliation loop of the operator

func (*CosmosDBSQLDatabaseReconciler) SetupWithManager

func (r *CosmosDBSQLDatabaseReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller functions

type EventhubNamespaceReconciler

type EventhubNamespaceReconciler struct {
	Reconciler *AsyncReconciler
}

EventhubNamespaceReconciler reconciles a EventhubNamespace object

func (*EventhubNamespaceReconciler) Reconcile

Reconcile reconciler for eventhubnamespace

func (*EventhubNamespaceReconciler) SetupWithManager

func (r *EventhubNamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the functions for the controller

type EventhubReconciler

type EventhubReconciler struct {
	client.Client
	Log             logr.Logger
	Recorder        record.EventRecorder
	Scheme          *runtime.Scheme
	EventHubManager eventhubsresourcemanager.EventHubManager
	SecretClient    secrets.SecretClient
	Reconciler      *AsyncReconciler
}

EventhubReconciler reconciles a Eventhub object

func (*EventhubReconciler) Reconcile

func (r *EventhubReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile function does the main reconciliation loop of the operator

func (*EventhubReconciler) SetupWithManager

func (r *EventhubReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager binds the reconciler to a manager instance

type KeyVaultKeyReconciler

type KeyVaultKeyReconciler struct {
	Reconciler *AsyncReconciler
}

KeyVaultKeyReconciler reconciles a KeyVaultKey object

func (*KeyVaultKeyReconciler) Reconcile

func (r *KeyVaultKeyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*KeyVaultKeyReconciler) SetupWithManager

func (r *KeyVaultKeyReconciler) SetupWithManager(mgr ctrl.Manager) error

type KeyVaultReconciler

type KeyVaultReconciler struct {
	Reconciler *AsyncReconciler
}

KeyVaultReconciler reconciles a KeyVault object

func (*KeyVaultReconciler) Reconcile

func (r *KeyVaultReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile function runs the actual reconcilation loop of the controller

func (*KeyVaultReconciler) SetupWithManager

func (r *KeyVaultReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller functions

type MySQLAADUserReconciler

type MySQLAADUserReconciler struct {
	Reconciler *AsyncReconciler
}

MySQLAADUserReconciler reconciles a MySQLAADUser object

func (*MySQLAADUserReconciler) Reconcile

func (r *MySQLAADUserReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MySQLAADUserReconciler) SetupWithManager

func (r *MySQLAADUserReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager runs reconcile loop with manager

type MySQLDatabaseReconciler

type MySQLDatabaseReconciler struct {
	Reconciler *AsyncReconciler
}

MySQLDatabaseReconciler reconciles a MySQLDatabase object

func (*MySQLDatabaseReconciler) Reconcile

func (r *MySQLDatabaseReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MySQLDatabaseReconciler) SetupWithManager

func (r *MySQLDatabaseReconciler) SetupWithManager(mgr ctrl.Manager) error

type MySQLFirewallRuleReconciler

type MySQLFirewallRuleReconciler struct {
	Reconciler *AsyncReconciler
}

MySQLFirewallRuleReconciler reconciles a MySQLFirewallRule object

func (*MySQLFirewallRuleReconciler) Reconcile

func (*MySQLFirewallRuleReconciler) SetupWithManager

func (r *MySQLFirewallRuleReconciler) SetupWithManager(mgr ctrl.Manager) error

type MySQLServerAdministratorReconciler

type MySQLServerAdministratorReconciler struct {
	Reconciler *AsyncReconciler
}

MySQLServerAdministratorReconciler reconciles a MySQLServerAdministrator object

func (*MySQLServerAdministratorReconciler) Reconcile

func (*MySQLServerAdministratorReconciler) SetupWithManager

func (r *MySQLServerAdministratorReconciler) SetupWithManager(mgr ctrl.Manager) error

type MySQLServerReconciler

type MySQLServerReconciler struct {
	Reconciler *AsyncReconciler
}

MySQLServerReconciler reconciles a MySQLServer object

func (*MySQLServerReconciler) Reconcile

func (r *MySQLServerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MySQLServerReconciler) SetupWithManager

func (r *MySQLServerReconciler) SetupWithManager(mgr ctrl.Manager) error

type MySQLUserReconciler

type MySQLUserReconciler struct {
	Reconciler *AsyncReconciler
}

MySQLUserReconciler reconciles a MySQLUser object

func (*MySQLUserReconciler) Reconcile

func (r *MySQLUserReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MySQLUserReconciler) SetupWithManager

func (r *MySQLUserReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager runs reconcile loop with manager

type MySQLVNetRuleReconciler

type MySQLVNetRuleReconciler struct {
	Reconciler *AsyncReconciler
}

MySQLVNetRuleReconciler reconciles a MySQLVNetRule object

func (*MySQLVNetRuleReconciler) Reconcile

func (r *MySQLVNetRuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*MySQLVNetRuleReconciler) SetupWithManager

func (r *MySQLVNetRuleReconciler) SetupWithManager(mgr ctrl.Manager) error

type PostgreSQLDatabaseReconciler

type PostgreSQLDatabaseReconciler struct {
	Reconciler *AsyncReconciler
}

PostgreSQLDatabaseReconciler reconciles a PostgreSQLDatabase object

func (*PostgreSQLDatabaseReconciler) Reconcile

func (*PostgreSQLDatabaseReconciler) SetupWithManager

func (r *PostgreSQLDatabaseReconciler) SetupWithManager(mgr ctrl.Manager) error

type PostgreSQLFirewallRuleReconciler

type PostgreSQLFirewallRuleReconciler struct {
	Reconciler *AsyncReconciler
}

PostgreSQLFirewallRuleReconciler reconciles a PostgreSQLFirewallRule object

func (*PostgreSQLFirewallRuleReconciler) Reconcile

func (*PostgreSQLFirewallRuleReconciler) SetupWithManager

func (r *PostgreSQLFirewallRuleReconciler) SetupWithManager(mgr ctrl.Manager) error

type PostgreSQLServerReconciler

type PostgreSQLServerReconciler struct {
	Reconciler *AsyncReconciler
}

PostgreSQLServerReconciler reconciles a PostgreSQLServer object

func (*PostgreSQLServerReconciler) Reconcile

func (*PostgreSQLServerReconciler) SetupWithManager

func (r *PostgreSQLServerReconciler) SetupWithManager(mgr ctrl.Manager) error

type PostgreSQLUserReconciler

type PostgreSQLUserReconciler struct {
	Reconciler *AsyncReconciler
}

PostgreSQLUserReconciler reconciles a PSQLUser object

func (*PostgreSQLUserReconciler) Reconcile

func (*PostgreSQLUserReconciler) SetupWithManager

func (r *PostgreSQLUserReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager runs reconcile loop with manager

type PostgreSQLVNetRuleReconciler

type PostgreSQLVNetRuleReconciler struct {
	Reconciler *AsyncReconciler
}

PostgreSQLVNetRuleReconciler reconciles a PostgreSQLVNetRule object

func (*PostgreSQLVNetRuleReconciler) Reconcile

func (*PostgreSQLVNetRuleReconciler) SetupWithManager

func (r *PostgreSQLVNetRuleReconciler) SetupWithManager(mgr ctrl.Manager) error

type RedisCacheActionReconciler

type RedisCacheActionReconciler struct {
	Reconciler *AsyncReconciler
}

RedisCacheActionReconciler reconciles a RedisCacheAction object

func (*RedisCacheActionReconciler) Reconcile

func (*RedisCacheActionReconciler) SetupWithManager

func (r *RedisCacheActionReconciler) SetupWithManager(mgr ctrl.Manager) error

type RedisCacheFirewallRuleReconciler

type RedisCacheFirewallRuleReconciler struct {
	Reconciler *AsyncReconciler
}

RedisCacheFirewallRuleReconciler reconciles a RedisCacheFirewallRule object

func (*RedisCacheFirewallRuleReconciler) Reconcile

func (*RedisCacheFirewallRuleReconciler) SetupWithManager

func (r *RedisCacheFirewallRuleReconciler) SetupWithManager(mgr ctrl.Manager) error

type RedisCacheReconciler

type RedisCacheReconciler struct {
	Reconciler *AsyncReconciler
}

RedisCacheReconciler reconciles a RedisCache object

func (*RedisCacheReconciler) Reconcile

func (r *RedisCacheReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*RedisCacheReconciler) SetupWithManager

func (r *RedisCacheReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller functions

type ResourceGroupReconciler

type ResourceGroupReconciler struct {
	client.Client
	Telemetry            telemetry.Telemetry
	Recorder             record.EventRecorder
	Reconciler           *AsyncReconciler
	ResourceGroupManager resourcegroupsresourcemanager.ResourceGroupManager
}

ResourceGroupReconciler reconciles a ResourceGroup object

func (*ResourceGroupReconciler) Reconcile

func (r *ResourceGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile function does the main reconciliation loop of the operator

func (*ResourceGroupReconciler) SetupWithManager

func (r *ResourceGroupReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager function sets up the functions with the controller

type StorageAccountReconciler

type StorageAccountReconciler struct {
	Reconciler *AsyncReconciler
}

StorageAccountReconciler reconciles a Storage Account object

func (*StorageAccountReconciler) Reconcile

Reconcile function does the main reconciliation loop of the operator

func (*StorageAccountReconciler) SetupWithManager

func (r *StorageAccountReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller functions

type TestContext

type TestContext struct {
	// contains filtered or unexported fields
}

type VirtualNetworkReconciler

type VirtualNetworkReconciler struct {
	Reconciler *AsyncReconciler
}

VirtualNetworkReconciler reconciles a VirtualNetwork object

func (*VirtualNetworkReconciler) Reconcile

Reconcile function does the main reconciliation loop of the operator

func (*VirtualNetworkReconciler) SetupWithManager

func (r *VirtualNetworkReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager function sets up the functions with the controller

Jump to

Keyboard shortcuts

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