config

package
v1.0.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	REGION                          = "REGION"
	CLUSTER_VPC_ID                  = "CLUSTER_VPC_ID"
	CLUSTER_NAME                    = "CLUSTER_NAME"
	DEFAULT_SERVICE_NETWORK         = "DEFAULT_SERVICE_NETWORK"
	ENABLE_SERVICE_NETWORK_OVERRIDE = "ENABLE_SERVICE_NETWORK_OVERRIDE"
	AWS_ACCOUNT_ID                  = "AWS_ACCOUNT_ID"
)
View Source
const (
	LatticeGatewayControllerName = "application-networking.k8s.aws/gateway-api-controller"
)

Variables

View Source
var AccountID = ""
View Source
var ClusterName = ""
View Source
var DefaultServiceNetwork = ""
View Source
var Region = ""
View Source
var ServiceNetworkOverrideMode = false
View Source
var VpcID = ""

Functions

func ConfigInit

func ConfigInit() error

Types

type EC2Metadata

type EC2Metadata interface {
	Region() (string, error)
	VpcID() (string, error)
	AccountId() (string, error)
}

func NewEC2Metadata

func NewEC2Metadata(session *session.Session) EC2Metadata

NewEC2Metadata constructs new EC2Metadata implementation.

Jump to

Keyboard shortcuts

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