azure

package
v1.235.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewACRIntegration

func NewACRIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)

NewACRIntegration creates an ACR integration from config.

func NewAKSIntegration

func NewAKSIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)

NewAKSIntegration creates an AKS integration from config.

Types

type ACRIntegration

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

ACRIntegration implements the azure/acr integration type.

func (*ACRIntegration) Cleanup

func (a *ACRIntegration) Cleanup(_ context.Context) error

Cleanup removes ACR Docker config entries for this integration's registry. Logout runs without credentials, so the provider's cloud is not known here: the registry's login server is removed for every Azure cloud. RemoveAuth leaves registries without an auths entry alone, so only entries that exist are touched.

func (*ACRIntegration) Environment

func (a *ACRIntegration) Environment() (map[string]string, error)

Environment returns environment variables contributed by this ACR integration.

func (*ACRIntegration) ExchangeCredentials

func (a *ACRIntegration) ExchangeCredentials(ctx context.Context, creds types.ICredentials) (*types.OCICredentials, error)

ExchangeCredentials mints credentials for this configured ACR registry without writing Docker state.

func (*ACRIntegration) Execute

func (a *ACRIntegration) Execute(ctx context.Context, creds types.ICredentials) error

Execute performs ACR login for the configured registry.

func (*ACRIntegration) GetIdentity

func (a *ACRIntegration) GetIdentity() string

GetIdentity returns the identity name this integration uses.

func (*ACRIntegration) GetRegistry

func (a *ACRIntegration) GetRegistry() *schema.Registry

GetRegistry returns the configured registry.

func (*ACRIntegration) Kind

func (a *ACRIntegration) Kind() string

Kind returns "azure/acr".

type AKSIntegration

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

AKSIntegration implements the azure/aks integration type.

func (*AKSIntegration) Cleanup

func (a *AKSIntegration) Cleanup(_ context.Context) error

Cleanup removes kubeconfig entries for this integration's cluster.

func (*AKSIntegration) Environment

func (a *AKSIntegration) Environment() (map[string]string, error)

Environment returns environment variables contributed by this AKS integration.

func (*AKSIntegration) Execute

func (a *AKSIntegration) Execute(ctx context.Context, creds types.ICredentials) error

Execute performs AKS kubeconfig provisioning for the configured cluster.

func (*AKSIntegration) GetCluster

func (a *AKSIntegration) GetCluster() *schema.Cluster

GetCluster returns the configured cluster.

func (*AKSIntegration) GetIdentity

func (a *AKSIntegration) GetIdentity() string

GetIdentity returns the identity name this integration uses.

func (*AKSIntegration) Kind

func (a *AKSIntegration) Kind() string

Kind returns "azure/aks".

Jump to

Keyboard shortcuts

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