utils

package
v0.0.0-...-59d7cbf Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvoyFilterUtilInterface

type EnvoyFilterUtilInterface interface {
	GetName(prefix string, filterName string, suffix string) string
}

func EnvoyFilterUtil

func EnvoyFilterUtil() EnvoyFilterUtilInterface

type ResourceInterface

type ResourceInterface interface {
	GetWorkloadIdentifier(objectMetadata metav1.ObjectMeta) string
	IsResourceMeshEnabled(objectMetadata metav1.ObjectMeta) bool
	IsResourceIgnored(objectMetadata metav1.ObjectMeta) bool
	IsSyncEnabled(objectMetadata metav1.ObjectMeta) bool
	GetEnv(objectMetadata metav1.ObjectMeta, name string, namespace string) string
}

func ResourceUtil

func ResourceUtil() ResourceInterface

type TrafficConfigInterface

type TrafficConfigInterface interface {
	GetIdentity() string
	GetIdentityLowerCase() string
	GetRevision() string
	GetTransactionID() string
	GetEnv() string
	GetWorkloadEnvs() []string
	GetEdgeService() *admiralv1.EdgeService
	GetQuotaGroup() *admiralv1.QuotaGroup
	IsIgnored() bool
	IsDisabled() bool
	GetTrafficConfig() *admiralv1.TrafficConfig
}

Jump to

Keyboard shortcuts

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