customizations

package
v2.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CassandraClusterExtension added in v2.19.0

type CassandraClusterExtension struct {
}

func (*CassandraClusterExtension) ClassifyError added in v2.19.0

ClassifyError evaluates the provided error, returning details including whether it is fatal or can be retried. cloudError is the error returned from ARM. apiVersion is the ARM API version used for the request. log is a logger that can be used for telemetry. next is the default classification implementation to call. Returns CloudErrorDetails with classification and an error if classification itself fails.

func (*CassandraClusterExtension) GetExtendedResources added in v2.19.0

func (extension *CassandraClusterExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type CassandraDataCenterExtension added in v2.19.0

type CassandraDataCenterExtension struct {
}

func (*CassandraDataCenterExtension) GetExtendedResources added in v2.19.0

func (extension *CassandraDataCenterExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

func (*CassandraDataCenterExtension) PreReconcileOwnerCheck added in v2.19.0

PreReconcileOwnerCheck does a pre-reconcile check to see if the owner of a resource is in a state that permits the resource to be reconciled. For a limited number of resources, the state of their owner can block all access to the resource, including GETs. One example is a Kusto Cluster, where you can't even GET the database if the cluster is powered off. Prefer to implement PreReconciliationChecker unless you specifically need to avoid GETs on the resource itself. ARM resources should implement this to avoid reconciliation attempts that cannot possibly succeed. Returns ProceedWithReconcile if the reconciliation should go ahead. Returns BlockReconcile and a human-readable reason if the reconciliation should be skipped. ctx is the current operation context. owner is the owner of the resource about to be reconciled. The owner's status will be freshly updated. May be nil if the resource has no owner, or if it has been referenced via ARMID directly. resourceResolver helps resolve resource references. armClient allows access to ARM for any required queries. log is the logger for the current operation. next is the next (nested) implementation to call.

type DatabaseAccountExtension

type DatabaseAccountExtension struct {
}

func (*DatabaseAccountExtension) ClassifyError added in v2.7.0

ClassifyError evaluates the provided error, returning whether it is fatal or can be retried. A "ServiceUnavailable" error would usually be retryable, but in the case of DatabaseAccount, when coupled with a "high demand" message, it means that the region is capacity constrained and cannot have DatabseAccounts allocated. If we retry on this error CosmosDB will start returning a new BadRequest error stating DatabaseAccount is in a failed provisioning state because the previous attempt to create it was not successful. Please delete the previous instance before attempting to recreate this account." Since we can't retry anyway, we mark the original ServiceUnavailable error as fatal so the user has a clearer error message. cloudError is the error returned from ARM. apiVersion is the ARM API version used for the request. log is a logger than can be used for telemetry. next is the next implementation to call.

func (*DatabaseAccountExtension) ExportKubernetesSecrets added in v2.11.0

func (ext *DatabaseAccountExtension) ExportKubernetesSecrets(
	ctx context.Context,
	obj genruntime.MetaObject,
	additionalSecrets set.Set[string],
	armClient *genericarmclient.GenericClient,
	log logr.Logger,
) (*genruntime.KubernetesSecretExportResult, error)

func (*DatabaseAccountExtension) GetExtendedResources

func (extension *DatabaseAccountExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

func (*DatabaseAccountExtension) PreReconcileCheck added in v2.8.0

PreReconcileCheck does a pre-reconcile check to see if the resource is in a state that can be reconciled. ARM resources should implement this to avoid reconciliation attempts that cannot possibly succeed. Returns ProceedWithReconcile if the reconciliation should go ahead. Returns BlockReconcile and a human-readable reason if the reconciliation should be skipped. ctx is the current operation context. obj is the resource about to be reconciled. The resource's State will be freshly updated. kubeClient allows access to the cluster for any required queries. armClient allows access to ARM for any required queries. log is the logger for the current operation. next is the next (nested) implementation to call.

type FirewallRuleExtension added in v2.14.0

type FirewallRuleExtension struct {
}

func (*FirewallRuleExtension) GetExtendedResources added in v2.14.0

func (extension *FirewallRuleExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type MongoClusterExtension added in v2.14.0

type MongoClusterExtension struct {
}

func (*MongoClusterExtension) GetExtendedResources added in v2.14.0

func (extension *MongoClusterExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type MongodbDatabaseCollectionExtension

type MongodbDatabaseCollectionExtension struct {
}

func (*MongodbDatabaseCollectionExtension) GetExtendedResources

func (extension *MongodbDatabaseCollectionExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type MongodbDatabaseCollectionThroughputSettingExtension

type MongodbDatabaseCollectionThroughputSettingExtension struct {
}

func (*MongodbDatabaseCollectionThroughputSettingExtension) GetExtendedResources

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type MongodbDatabaseExtension

type MongodbDatabaseExtension struct {
}

func (*MongodbDatabaseExtension) ClassifyError

ClassifyError evaluates the provided error, returning whether it is fatal or can be retried. A BadRequest (400) is normally fatal, but Mongodb Databases may return 400 if database creation is attempted while the parent account is still being created, so we make BadRequest retryable for this case. cloudError is the error returned from ARM. next is the next implementation to call.

func (*MongodbDatabaseExtension) GetExtendedResources

func (extension *MongodbDatabaseExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type MongodbDatabaseThroughputSettingExtension

type MongodbDatabaseThroughputSettingExtension struct {
}

func (*MongodbDatabaseThroughputSettingExtension) GetExtendedResources

func (extension *MongodbDatabaseThroughputSettingExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type MongodbRoleDefinitionExtension added in v2.14.0

type MongodbRoleDefinitionExtension struct {
}

func (*MongodbRoleDefinitionExtension) GetExtendedResources added in v2.14.0

func (extension *MongodbRoleDefinitionExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type MongodbUserDefinitionExtension added in v2.12.0

type MongodbUserDefinitionExtension struct {
}

func (*MongodbUserDefinitionExtension) GetExtendedResources added in v2.12.0

func (extension *MongodbUserDefinitionExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlDatabaseContainerExtension

type SqlDatabaseContainerExtension struct {
}

func (*SqlDatabaseContainerExtension) GetExtendedResources

func (extension *SqlDatabaseContainerExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlDatabaseContainerStoredProcedureExtension

type SqlDatabaseContainerStoredProcedureExtension struct {
}

func (*SqlDatabaseContainerStoredProcedureExtension) GetExtendedResources

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlDatabaseContainerThroughputSettingExtension

type SqlDatabaseContainerThroughputSettingExtension struct {
}

func (*SqlDatabaseContainerThroughputSettingExtension) GetExtendedResources

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlDatabaseContainerTriggerExtension

type SqlDatabaseContainerTriggerExtension struct {
}

func (*SqlDatabaseContainerTriggerExtension) GetExtendedResources

func (extension *SqlDatabaseContainerTriggerExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlDatabaseContainerUserDefinedFunctionExtension

type SqlDatabaseContainerUserDefinedFunctionExtension struct {
}

func (*SqlDatabaseContainerUserDefinedFunctionExtension) GetExtendedResources

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlDatabaseExtension

type SqlDatabaseExtension struct {
}

func (*SqlDatabaseExtension) ClassifyError

ClassifyError evaluates the provided error, returning whether it is fatal or can be retried. A BadRequest (400) is normally fatal, but CosmosDB Databases may return 400 if database creation is attempted while the parent account is still being created, so we make BadRequest retryable for this case. cloudError is the error returned from ARM. next is the next implementation to call.

func (*SqlDatabaseExtension) GetExtendedResources

func (extension *SqlDatabaseExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlDatabaseThroughputSettingExtension

type SqlDatabaseThroughputSettingExtension struct {
}

func (*SqlDatabaseThroughputSettingExtension) GetExtendedResources

func (extension *SqlDatabaseThroughputSettingExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

type SqlRoleAssignmentExtension

type SqlRoleAssignmentExtension struct {
}

func (*SqlRoleAssignmentExtension) ClassifyError

ClassifyError evaluates the provided error, returning whether it is fatal or can be retried. A BadRequest (400) is normally fatal, but CosmosDB SQL Role Assignments may return 400 if role creation is attempted before AAD has had a chance to propagate the identity being used. We make BadRequest retryable for this case. cloudError is the error returned from ARM. next is the next implementation to call.

func (*SqlRoleAssignmentExtension) GetExtendedResources

func (extension *SqlRoleAssignmentExtension) GetExtendedResources() []genruntime.KubernetesResource

GetExtendedResources Returns the KubernetesResource slice for Resource versions

Jump to

Keyboard shortcuts

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