Documentation ¶
Index ¶
- Constants
- Variables
- func BuildDNSEntryPoint(dynakubeName, dynakubeNamespace string, capability Capability) string
- func BuildDNSEntryPointWithoutEnvVars(dynakubeName, dynakubeNamespace string, capability Capability) string
- func BuildServiceDomainName(dynakubeName string, namespaceName string, module string) string
- func BuildServiceHostName(dynakubeName string, module string) string
- func BuildServiceName(dynakubeName string, module string) string
- func BuildServiceNameUnderscore(dynakubeName string, module string) string
- func CalculateStatefulSetName(capability Capability, dynakubeName string) string
- type Capability
- type KubeMonCapabilitydeprecated
- type MultiCapability
- type RoutingCapabilitydeprecated
- type SyntheticCapability
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
BuildServiceDomainName builds service domain name
func BuildServiceHostName ¶ added in v1.0.0
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 BuildServiceNameUnderscore ¶ added in v1.0.0
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) Properties ¶
func (capability *KubeMonCapability) Properties() *dynatracev1beta1.CapabilityProperties
type MultiCapability ¶
type MultiCapability struct {
// contains filtered or unexported fields
}
func NewMultiCapability ¶
func NewMultiCapability(dk *dynatracev1beta1.DynaKube) *MultiCapability
func (*MultiCapability) Properties ¶
func (capability *MultiCapability) Properties() *dynatracev1beta1.CapabilityProperties
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) Properties ¶
func (capability *RoutingCapability) Properties() *dynatracev1beta1.CapabilityProperties
type SyntheticCapability ¶
type SyntheticCapability struct {
// contains filtered or unexported fields
}
func NewSyntheticCapability ¶
func NewSyntheticCapability(dk *dynatracev1beta1.DynaKube) *SyntheticCapability
func (*SyntheticCapability) Properties ¶
func (capability *SyntheticCapability) Properties() *dynatracev1beta1.CapabilityProperties
Click to show internal directories.
Click to hide internal directories.