config

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

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

	NoDefaultServiceNetwork    = ""
	NO_DEFAULT_SERVICE_NETWORK = "NO_DEFAULT_SERVICE_NETWORK"
)

Variables

View Source
var AccountID = "yyyyyy"
View Source
var DefaultServiceNetwork = NoDefaultServiceNetwork
View Source
var Region = "us-west-2"
View Source
var VpcID = "vpc-xxxx"

TODO endpoint, region

Functions

func ConfigInit

func ConfigInit()

func GetClusterLocalGateway added in v0.0.11

func GetClusterLocalGateway() (string, error)

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