env

package
v0.0.0-...-a9f80de Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

package env keeps calls for global flags or configuration in one place

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSIntegrationTestEnabled

func AWSIntegrationTestEnabled() bool

AWSIntegrationTestEnabled returns true if we should run the integration tests

func AWSOIDCProviderARN

func AWSOIDCProviderARN() string

AWSOIDCProviderARN is the URL of the OIDC provider for our EKS cluster

func AWSOIDCProviderURL

func AWSOIDCProviderURL() string

AWSOIDCProviderURL is the URL of the OIDC provider for our EKS cluster

func AWSPrincipalPermissionsBoundaryARN

func AWSPrincipalPermissionsBoundaryARN() string

AWSPrincipalPermissionsBoundaryARN is the arn of the policy that limits permissions

func AWSRDSSecurityGroupID

func AWSRDSSecurityGroupID() string

AWSRDSSecurityGroupID returns security group to assign to RDS provisioned resources

func AWSRDSSubnetGroupName

func AWSRDSSubnetGroupName() string

AWSRDSSubnetGroupName returns the subnet to provision RDS resources into

func AWSRedisSecurityGroupID

func AWSRedisSecurityGroupID() string

AWSRedisSecurityGroupID returns security group to assign to Redis provisioned resources

func AWSRedisSubnetGroupName

func AWSRedisSubnetGroupName() string

AWSRedisSubnetGroupName returns the subnet to provision Redis resources into

func AWSRoleArn

func AWSRoleArn() string

func ClusterName

func ClusterName() string

ClusterName returns the name of the cluster. panics if missing.

func ImageRegistryCredentialsRenewalInterval

func ImageRegistryCredentialsRenewalInterval() time.Duration

func MustGet

func MustGet(key string) string

MustGet is a panicy version of os.Getenv

Types

This section is empty.

Jump to

Keyboard shortcuts

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