agentmap

package
v2.6.0-rc.8 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServicePortAnnotation = agentconfig.DomainPrefix + "inject-service-port"
	ServiceNameAnnotation = agentconfig.DomainPrefix + "inject-service-name"
	ManagerAppName        = "traffic-manager"
	ManagerPortHTTP       = 8081
)

Variables

This section is empty.

Functions

func CapsBase26

func CapsBase26(v uint64) string

CapsBase26 converts the given number into base 26 represented using the letters 'A' to 'Z'

func FindOwnerWorkload

func FindOwnerWorkload(ctx context.Context, obj k8sapi.Object) (k8sapi.Workload, error)

func GenerateForPod

func GenerateForPod(ctx context.Context, pod *core.Pod, env *GeneratorConfig) (*agentconfig.Sidecar, error)

Types

type GeneratorConfig

type GeneratorConfig struct {
	AgentPort           uint16
	APIPort             uint16
	QualifiedAgentImage string
	ManagerNamespace    string
	LogLevel            string
}

Jump to

Keyboard shortcuts

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