clusterauthorizer

package
v0.0.0-...-b534984 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AzureCredentialSecretName      = "azure-credentials"
	AzureCredentialSecretNameSpace = "kube-system"
)

Variables

This section is empty.

Functions

func GetTokenCredential

func GetTokenCredential(environment *azureclient.AROEnvironment) (azcore.TokenCredential, error)

func NewAzRefreshableAuthorizer

func NewAzRefreshableAuthorizer(log *logrus.Entry, azEnv *azureclient.AROEnvironment, client client.Client) (*azRefreshableAuthorizer, error)

NewAzRefreshableAuthorizer returns a new refreshable authorizer using Cluster Service Principal.

Types

type Credentials

type Credentials struct {
	ClientID     []byte
	ClientSecret []byte
	TenantID     []byte
}

Jump to

Keyboard shortcuts

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