Documentation ¶
Index ¶
- Constants
- func Annotations(instance v1alpha1.OpAMPBridge, configMap *v1.ConfigMap, ...) map[string]string
- func Build(params manifests.Params) ([]client.Object, error)
- func ConfigMap(params manifests.Params) (*corev1.ConfigMap, error)
- func Container(cfg config.Config, logger logr.Logger, opampBridge v1alpha1.OpAMPBridge) corev1.Container
- func Deployment(params manifests.Params) *appsv1.Deployment
- func Service(params manifests.Params) *corev1.Service
- func ServiceAccount(params manifests.Params) *corev1.ServiceAccount
- func ServiceAccountName(instance v1alpha1.OpAMPBridge) string
- func Volumes(cfg config.Config, opampBridge v1alpha1.OpAMPBridge) []corev1.Volume
Constants ¶
View Source
const (
ComponentOpAMPBridge = "opentelemetry-opamp-bridge"
)
View Source
const (
OpAMPBridgeFilename = "remoteconfiguration.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func Annotations ¶ added in v0.96.0
func Annotations(instance v1alpha1.OpAMPBridge, configMap *v1.ConfigMap, filterAnnotations []string) map[string]string
Annotations returns the annotations for the OPAmpBridge Pod.
func Container ¶
func Container(cfg config.Config, logger logr.Logger, opampBridge v1alpha1.OpAMPBridge) corev1.Container
Container builds a container for the given OpAMPBridge.
func Deployment ¶
func Deployment(params manifests.Params) *appsv1.Deployment
Deployment builds the deployment for the given instance.
func ServiceAccount ¶
func ServiceAccount(params manifests.Params) *corev1.ServiceAccount
ServiceAccount returns the service account for the given instance.
func ServiceAccountName ¶
func ServiceAccountName(instance v1alpha1.OpAMPBridge) string
ServiceAccountName returns the name of the existing or self-provisioned service account to use for the given instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.