capability

package
v1.0.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SyntheticName                      = "synthetic"
	SyntheticActiveGateEnvCapabilities = "synthetic,beacon_forwarder,beacon_forwarder_synthetic"
)

Variables

View Source
var (
	SyntheticActiveGateResourceRequirements = corev1.ResourceRequirements{
		Limits:   resources.NewResourceList("300m", "1Gi"),
		Requests: resources.NewResourceList("150m", "250Mi"),
	}
)

Functions

func BuildDNSEntryPoint added in v1.0.0

func BuildDNSEntryPoint(dynakubeName, dynakubeNamespace string, capability Capability) string

BuildDNSEntryPoint for give capability

func BuildDNSEntryPointWithoutEnvVars added in v1.0.0

func BuildDNSEntryPointWithoutEnvVars(dynakubeName, dynakubeNamespace string, capability Capability) string

BuildDNSEntryPointWithoutEnvVars for give capability

func BuildServiceDomainName added in v1.0.0

func BuildServiceDomainName(dynakubeName string, namespaceName string, module string) string

BuildServiceDomainName builds service domain name

func BuildServiceHostName added in v1.0.0

func BuildServiceHostName(dynakubeName string, module string) string

BuildServiceHostName converts the name returned by BuildServiceName into the variable name which Kubernetes uses to reference the associated service. For more information see: https://kubernetes.io/docs/concepts/services-networking/service/

func BuildServiceName

func BuildServiceName(dynakubeName string, module string) string

func BuildServiceNameUnderscore added in v1.0.0

func BuildServiceNameUnderscore(dynakubeName string, module string) string

BuildServiceNameUnderscore converts result of BuildServiceName by replacing dashes with underscores to make it env variable compatible because it's only special symbol it supports

func CalculateStatefulSetName

func CalculateStatefulSetName(capability Capability, dynakubeName string) string

Types

type Capability

type Capability interface {
	Enabled() bool
	ShortName() string
	ArgName() string
	Properties() *dynatracev1beta1.CapabilityProperties
}

func GenerateActiveGateCapabilities

func GenerateActiveGateCapabilities(dk *dynatracev1beta1.DynaKube) []Capability

type KubeMonCapability deprecated

type KubeMonCapability struct {
	// contains filtered or unexported fields
}

Deprecated: Use MultiCapability instead

func NewKubeMonCapability

func NewKubeMonCapability(dk *dynatracev1beta1.DynaKube) *KubeMonCapability

Deprecated

func (*KubeMonCapability) ArgName

func (capability *KubeMonCapability) ArgName() string

func (*KubeMonCapability) Enabled

func (capability *KubeMonCapability) Enabled() bool

func (*KubeMonCapability) Properties

func (capability *KubeMonCapability) Properties() *dynatracev1beta1.CapabilityProperties

func (*KubeMonCapability) ShortName

func (capability *KubeMonCapability) ShortName() string

type MultiCapability

type MultiCapability struct {
	// contains filtered or unexported fields
}

func NewMultiCapability

func NewMultiCapability(dk *dynatracev1beta1.DynaKube) *MultiCapability

func (*MultiCapability) ArgName

func (capability *MultiCapability) ArgName() string

func (*MultiCapability) Enabled

func (capability *MultiCapability) Enabled() bool

func (*MultiCapability) Properties

func (capability *MultiCapability) Properties() *dynatracev1beta1.CapabilityProperties

func (*MultiCapability) ShortName

func (capability *MultiCapability) ShortName() string

type RoutingCapability deprecated

type RoutingCapability struct {
	// contains filtered or unexported fields
}

Deprecated: Use MultiCapability instead

func NewRoutingCapability

func NewRoutingCapability(dk *dynatracev1beta1.DynaKube) *RoutingCapability

Deprecated

func (*RoutingCapability) ArgName

func (capability *RoutingCapability) ArgName() string

func (*RoutingCapability) Enabled

func (capability *RoutingCapability) Enabled() bool

func (*RoutingCapability) Properties

func (capability *RoutingCapability) Properties() *dynatracev1beta1.CapabilityProperties

func (*RoutingCapability) ShortName

func (capability *RoutingCapability) ShortName() string

type SyntheticCapability

type SyntheticCapability struct {
	// contains filtered or unexported fields
}

func NewSyntheticCapability

func NewSyntheticCapability(dk *dynatracev1beta1.DynaKube) *SyntheticCapability

func (*SyntheticCapability) ArgName

func (capability *SyntheticCapability) ArgName() string

func (*SyntheticCapability) Enabled

func (capability *SyntheticCapability) Enabled() bool

func (*SyntheticCapability) Properties

func (capability *SyntheticCapability) Properties() *dynatracev1beta1.CapabilityProperties

func (*SyntheticCapability) ShortName

func (capability *SyntheticCapability) ShortName() string

Jump to

Keyboard shortcuts

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