credential

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientIDKey         = "azure.azureoperator.clientid"
	ClientSecretKey     = "azure.azureoperator.clientsecret"
	SubscriptionIDKey   = "azure.azureoperator.subscriptionid"
	TenantIDKey         = "azure.azureoperator.tenantid"
	PartnerIDKey        = "azure.azureoperator.partnerid"
	SecretLabel         = "giantswarm.io/managed-by=credentiald"
	CredentialNamespace = "giantswarm"
	CredentialDefault   = "credential-default"
)

Variables

This section is empty.

Functions

func GetAzureClientSetsByCluster added in v1.0.3

func GetAzureClientSetsByCluster(k8sclient kubernetes.Interface, g8sclient versioned.Interface) (map[string]*client.AzureClientSet, error)

func GetAzureClientSetsFromCredentialSecrets

func GetAzureClientSetsFromCredentialSecrets(k8sclient kubernetes.Interface) (map[*client.AzureClientSetConfig]*client.AzureClientSet, error)

func GetAzureClientSetsFromCredentialSecretsBySubscription

func GetAzureClientSetsFromCredentialSecretsBySubscription(k8sclient kubernetes.Interface) (map[string]*client.AzureClientSet, error)

func GetAzureConfigFromSecret

func GetAzureConfigFromSecret(credential *v1.Secret) (*client.AzureClientSetConfig, error)

func GetAzureConfigFromSecretName added in v1.0.3

func GetAzureConfigFromSecretName(k8sClient kubernetes.Interface, name string, namespace string) (*client.AzureClientSetConfig, error)

func GetCredentialSecrets

func GetCredentialSecrets(k8sClient kubernetes.Interface) (secrets []v1.Secret, err error)

func IsInvalidConfigFoundError

func IsInvalidConfigFoundError(err error) bool

IsInvalidConfigFoundError asserts invalidConfig.

func IsMissingValue

func IsMissingValue(err error) bool

IsMissingValue asserts missingValueError.

Types

This section is empty.

Jump to

Keyboard shortcuts

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