azure

package
v2.14.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// FinalizerSecurityGroup will instruct the deletion of the security group
	FinalizerSecurityGroup = "kubermatic.io/cleanup-azure-security-group"
	// FinalizerRouteTable will instruct the deletion of the route table
	FinalizerRouteTable = "kubermatic.io/cleanup-azure-route-table"
	// FinalizerSubnet will instruct the deletion of the subnet
	FinalizerSubnet = "kubermatic.io/cleanup-azure-subnet"
	// FinalizerVNet will instruct the deletion of the virtual network
	FinalizerVNet = "kubermatic.io/cleanup-azure-vnet"
	// FinalizerResourceGroup will instruct the deletion of the resource group
	FinalizerResourceGroup = "kubermatic.io/cleanup-azure-resource-group"
	// FinalizerAvailabilitySet will instruct the deletion of the availability set
	FinalizerAvailabilitySet = "kubermatic.io/cleanup-azure-availability-set"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Azure

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

func New

New returns a new Azure provider.

func (*Azure) AddICMPRulesIfRequired

func (a *Azure) AddICMPRulesIfRequired(cluster *kubermaticv1.Cluster) error

func (*Azure) CleanUpCloudProvider

func (a *Azure) CleanUpCloudProvider(cluster *kubermaticv1.Cluster, update provider.ClusterUpdater) (*kubermaticv1.Cluster, error)

func (*Azure) DefaultCloudSpec

func (a *Azure) DefaultCloudSpec(cloud *kubermaticv1.CloudSpec) error

func (*Azure) InitializeCloudProvider

func (a *Azure) InitializeCloudProvider(cluster *kubermaticv1.Cluster, update provider.ClusterUpdater) (*kubermaticv1.Cluster, error)

func (*Azure) ValidateCloudSpec

func (a *Azure) ValidateCloudSpec(cloud kubermaticv1.CloudSpec) error

func (*Azure) ValidateCloudSpecUpdate

func (a *Azure) ValidateCloudSpecUpdate(oldSpec kubermaticv1.CloudSpec, newSpec kubermaticv1.CloudSpec) error

ValidateCloudSpecUpdate verifies whether an update of cloud spec is valid and permitted

type Credentials

type Credentials struct {
	TenantID       string
	SubscriptionID string
	ClientID       string
	ClientSecret   string
}

func GetCredentialsForCluster

func GetCredentialsForCluster(cloud kubermaticv1.CloudSpec, secretKeySelector provider.SecretKeySelectorValueFunc) (Credentials, error)

GetCredentialsForCluster returns the credentials for the passed in cloud spec or an error

Jump to

Keyboard shortcuts

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