types

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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NaavikName             = "naavik"
	NamespaceIstioSystem   = "istio-system"
	AssetAliasMetaDataKey  = "assetAlias"
	SourceIdentityKey      = "sourceIdentity"
	DestinationIdentityKey = "destinationIdentity"

	StateCheckerNone     = "none"
	ConfigResolverSecret = "secret"

	IncludeInboundPortsAnnotation = "admiral.io/inboundPorts"

	// TrafficConfig related constants.
	TransactionIDKey        = "transactionID"
	RevisionNumberKey       = "revisionNumber"
	CreatedByKey            = "createdBy"
	CreatedTypeKey          = "createdType"
	CreatedForKey           = "createdFor"
	CreatedForEnvKey        = "createdForEnv"
	CreatedForTrafficEnvKey = "createdForTrafficEnv"
	EnvKey                  = "env"
	IsDisabledKey           = "isDisabled"
	IsTrue                  = "true"
	IsFalse                 = "false"

	AppEnvKey = "APP_ENV"

	EnvDev     = "dev"
	EnvDefault = "default"

	// Feature Names.
	FeatureVirtualService FeatureName = "virtualservice"
	FeatureThrottleFilter FeatureName = "throttlefilter"

	// Rollout/Deployment labels.
	AppLabelKey = "app"
	EnvLabelKey = "env"
)

Variables

This section is empty.

Functions

func GetHost

func GetHost(env, asset, suffix string) string

Types

type EventType

type EventType string
const (
	Add    EventType = "Add"
	Update EventType = "Update"
	Delete EventType = "Delete"
)

func (EventType) String

func (et EventType) String() string

type FeatureName

type FeatureName string

func (FeatureName) String

func (f FeatureName) String() string

type MatchCondition

type MatchCondition string
const (
	EXACT    MatchCondition = "exact"
	PREFIX   MatchCondition = "prefix"
	SUFFIX   MatchCondition = "suffix"
	CONTAINS MatchCondition = "contains"
	REGEX    MatchCondition = "regex"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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