ports

package
v1.0.10-0...-97022f8 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentAPIsPort                 InstanaAgentPort = "agent-apis"
	AgentAPIsPortNumber           int32            = 42699
	OpenTelemetryLegacyPort       InstanaAgentPort = "otlp-legacy"
	OpenTelemetryLegacyPortNumber int32            = 55680
	OpenTelemetryGRPCPort         InstanaAgentPort = "otlp-grpc"
	OpenTelemetryGRPCPortNumber   int32            = 4317
	OpenTelemetryHTTPPort         InstanaAgentPort = "otlp-http"
	OpenTelemetryHTTPPortNumber   int32            = 4318
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanaAgentPort

type InstanaAgentPort string

func (InstanaAgentPort) IsEnabled

func (p InstanaAgentPort) IsEnabled(openTelemetrySettings instanav1.OpenTelemetry) bool

func (InstanaAgentPort) PortNumber

func (p InstanaAgentPort) PortNumber() int32

func (InstanaAgentPort) String

func (p InstanaAgentPort) String() string

type PortsBuilder

type PortsBuilder interface {
	GetServicePorts(ports ...InstanaAgentPort) []corev1.ServicePort
	GetContainerPorts(ports ...InstanaAgentPort) []corev1.ContainerPort
}

func NewPortsBuilder

func NewPortsBuilder(agent *instanav1.InstanaAgent) PortsBuilder

Jump to

Keyboard shortcuts

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