Documentation ¶
Index ¶
- Constants
- Variables
- func GetActiveGateEndpointsAsCommunicationHosts(dynakube *dynatracev1beta1.DynaKube) []dtclient.CommunicationHost
- func GetOneAgentCommunicationHosts(dynakube *dynatracev1beta1.DynaKube) []dtclient.CommunicationHost
- func GetPortOrDefault(u *url.URL, defaultPort uint32) (uint32, error)
- type Reconciler
- type ReconcilerBuilder
Constants ¶
View Source
const ( TenantTokenName = "tenant-token" CommunicationEndpointsName = "communication-endpoints" TenantUUIDName = "tenant-uuid" TokenBasePath = "/var/lib/dynatrace/secrets/tokens" TenantTokenMountPoint = TokenBasePath + "/tenant-token" TenantSecretVolumeName = "connection-info-secret" EnvDtServer = "DT_SERVER" EnvDtTenant = "DT_TENANT" )
View Source
const (
DefaultHttpPort = uint32(80)
)
Variables ¶
View Source
var NoOneAgentCommunicationHostsError = errors.New("no communication hosts for OneAgent are available")
Functions ¶
func GetActiveGateEndpointsAsCommunicationHosts ¶
func GetActiveGateEndpointsAsCommunicationHosts(dynakube *dynatracev1beta1.DynaKube) []dtclient.CommunicationHost
func GetOneAgentCommunicationHosts ¶
func GetOneAgentCommunicationHosts(dynakube *dynatracev1beta1.DynaKube) []dtclient.CommunicationHost
Types ¶
type Reconciler ¶
type Reconciler interface { ReconcileActiveGate(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error ReconcileOneAgent(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error }
Click to show internal directories.
Click to hide internal directories.