config

package
v0.0.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

	UnknownInput = ""
)
View Source
const (
	NO_DEFAULT_SERVICE_NETWORK      = "NO_DEFAULT_SERVICE_NETWORK"
	REGION                          = "REGION"
	CLUSTER_VPC_ID                  = "CLUSTER_VPC_ID"
	CLUSTER_NAME                    = "CLUSTER_NAME"
	CLUSTER_LOCAL_GATEWAY           = "CLUSTER_LOCAL_GATEWAY"
	AWS_ACCOUNT_ID                  = "AWS_ACCOUNT_ID"
	TARGET_GROUP_NAME_LEN_MODE      = "TARGET_GROUP_NAME_LEN_MODE"
	GATEWAY_API_CONTROLLER_LOGLEVEL = "GATEWAY_API_CONTROLLER_LOGLEVEL"
)

Variables

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

Functions

func ConfigInit

func ConfigInit() error

func GetClusterLocalGateway added in v0.0.11

func GetClusterLocalGateway() (string, 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