Documentation ¶
Index ¶
- Constants
- func GetARN(k8sClient kubernetes.Interface, cr infrastructurev1alpha2.AWSCluster) (string, error)
- func GetDefaultARN(k8sClient kubernetes.Interface) (string, error)
- func IsArnNotFoundError(err error) bool
- func IsCredentialNameEmptyError(err error) bool
- func IsCredentialNamespaceEmptyError(err error) bool
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 infrastructurev1alpha2.AWSCluster) (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 ¶
IsArnNotFoundError asserts arnNotFound.
func IsCredentialNameEmptyError ¶
IsArnNotFoundError asserts credentialNameEmpty.
func IsCredentialNamespaceEmptyError ¶
IsArnNotFoundError asserts credentialNamespaceEmpty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.