config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LatticeGatewayControllerName = "application-networking.k8s.aws/gateway-api-controller"
)

Variables

View Source
var AccountID = "yyyyyy"
View Source
var Region = "us-east-2"
View Source
var VpcID = "vpc-xxxx"

TODO endpoint, region

Functions

func ConfigInit

func ConfigInit()

func GetLogLevel

func GetLogLevel() string

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