customizations

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 17 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 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) ExportKubernetesResources

func (ext *DatabaseAccountExtension) ExportKubernetesResources(
	ctx context.Context,
	obj genruntime.MetaObject,
	armClient *genericarmclient.GenericClient,
	log logr.Logger,
) ([]client.Object, error)

func (*DatabaseAccountExtension) GetExtendedResources

func (extension *DatabaseAccountExtension) 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 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