capability

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 6 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:   kubeobjects.NewResources("300m", "1Gi"),
		Requests: kubeobjects.NewResources("150m", "250Mi"),
	}
)

Functions

func BuildProxySecretName

func BuildProxySecretName(dynakubeName string) string

func BuildServiceName

func BuildServiceName(dynakubeName string, module string) string

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 added in v0.11.0

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

func NewSyntheticCapability added in v0.11.0

func NewSyntheticCapability(dk *dynatracev1beta1.DynaKube) *SyntheticCapability

func (*SyntheticCapability) ArgName added in v0.11.0

func (capability *SyntheticCapability) ArgName() string

func (*SyntheticCapability) Enabled added in v0.11.0

func (capability *SyntheticCapability) Enabled() bool

func (*SyntheticCapability) Properties added in v0.11.0

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

func (*SyntheticCapability) ShortName added in v0.11.0

func (capability *SyntheticCapability) ShortName() string

Jump to

Keyboard shortcuts

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