credential

package
v7.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 6 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 GetARN

func GetARN(k8sClient kubernetes.Interface, cr v1alpha1.Cluster) (string, error)

func GetDefaultARN

func GetDefaultARN(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