credential

package
v14.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName      = "credential-default"
	DefaultNamespace = "giantswarm"
)
View Source
const (
	// AWSOperatorArnKey is the key in the Secret under which the ARN for the
	// aws-operator role is held.
	AWSOperatorArnKey = "aws.awsoperator.arn"
)

Variables

This section is empty.

Functions

func GetDefaultARN

func GetDefaultARN(ctx context.Context, k8sClient kubernetes.Interface) (string, error)

GetDefaultARN is used only by the bridgezone resource. It should be removed when the resource is removed.

func IsArnNotFoundError

func IsArnNotFoundError(err error) bool

IsArnNotFoundError asserts arnNotFound.

func IsCredentialNameEmptyError

func IsCredentialNameEmptyError(err error) bool

IsArnNotFoundError asserts credentialNameEmpty.

func IsCredentialNamespaceEmptyError

func IsCredentialNamespaceEmptyError(err error) bool

IsArnNotFoundError asserts credentialNamespaceEmpty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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