Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var K8sCesServiceDiscoveryLabels = map[string]string{"app": "ces", "app.kubernetes.io/name": "k8s-service-discovery"}
Functions ¶
func ContainsChars ¶
func GetAppLabel ¶ added in v1.3.0
func HasDoguLabel ¶ added in v1.3.0
func IsMaintenanceModeActive ¶ added in v1.3.0
func IsMaintenanceModeActive(ctx context.Context, globalConfigRepo GlobalConfigRepository) (bool, error)
Types ¶
type ExposedPort ¶ added in v1.3.0
type ExposedPort struct { Protocol corev1.Protocol `json:"protocol"` Port int32 `json:"port"` TargetPort int32 `json:"targetPort"` }
func (ExposedPort) String ¶ added in v1.3.0
func (ep ExposedPort) String() string
type ExposedPorts ¶ added in v1.3.0
type ExposedPorts []ExposedPort
type GlobalConfigRepository ¶ added in v1.3.0
type GlobalConfigRepository interface { Get(context.Context) (libconfig.GlobalConfig, error) Watch(context.Context, ...libconfig.WatchFilter) (<-chan repository.GlobalConfigWatchResult, error) Update(ctx context.Context, globalConfig libconfig.GlobalConfig) (libconfig.GlobalConfig, error) }
Click to show internal directories.
Click to hide internal directories.