customizations

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 20 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseAccountExtension

type DatabaseAccountExtension struct {
}

func (*DatabaseAccountExtension) ClassifyError

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

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

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 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 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