Documentation ¶
Index ¶
- Constants
- func AdjustOcpPermissionsIfNecessary() env.Func
- func DeleteAgentCRIfPresent() env.Func
- func DeployAgentCr(agent *v1.InstanaAgent) e2etypes.StepFunc
- func EnsureAgentNamespaceDeletion() env.Func
- func NewAgentCr(t *testing.T) v1.InstanaAgent
- func SetupOperatorDevBuild() e2etypes.StepFunc
- func ValidateAgentMultiBackendConfiguration() e2etypes.StepFunc
- func WaitForAgentDaemonSetToBecomeReady() e2etypes.StepFunc
- func WaitForAgentSuccessfulBackendConnection() e2etypes.StepFunc
- func WaitForDeploymentToBecomeReady(name string) e2etypes.StepFunc
- type ContainerRegistry
- type InstanaBackend
- type InstanaTestConfig
- type OperatorImage
Constants ¶
View Source
const AgentCustomResourceName string = "instana-agent"
View Source
const AgentDaemonSetName string = "instana-agent"
View Source
const InstanaAgentConfigSecretName string = "instana-agent-config"
View Source
const InstanaNamespace string = "instana-agent"
View Source
const InstanaOperatorDeploymentName string = "controller-manager"
View Source
const K8sensorDeploymentName string = "instana-agent-k8sensor"
Variables ¶
This section is empty.
Functions ¶
func AdjustOcpPermissionsIfNecessary ¶
On OpenShift we need to ensure the instana-agent service account gets permission to the privilged security context This action is only necessary once per OCP cluster as it is not tight to a namespace, but to a cluster
func DeleteAgentCRIfPresent ¶
func DeployAgentCr ¶
func DeployAgentCr(agent *v1.InstanaAgent) e2etypes.StepFunc
func EnsureAgentNamespaceDeletion ¶
DeleteAgentNamespace ensures a proper cleanup of existing instana agent installations. The namespace cannot be just deleted in all scenarios, as finalizers on the agent CR might block the namespace termination
func WaitForDeploymentToBecomeReady ¶
Assess functions
Types ¶
type ContainerRegistry ¶
type InstanaBackend ¶
type InstanaTestConfig ¶
type InstanaTestConfig struct { ContainerRegistry *ContainerRegistry InstanaBackend *InstanaBackend OperatorImage *OperatorImage }
var InstanaTestCfg InstanaTestConfig
type OperatorImage ¶
Click to show internal directories.
Click to hide internal directories.