Documentation ¶
Index ¶
Constants ¶
View Source
const KOC_KEY = "eppppi.github.io/koc"
const KOC_PREFIX = "eppppi/koc/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sObjAntCarrier ¶
OpenTelemetry carrier using annotation of kubernetes object TODO: metav1.Objectだけじゃなくてruntime.Object(?)(ReplicaSetとか)でもいいようにしたい
func NewK8sAntCarrierFromInterface ¶ added in v0.2.0
func NewK8sAntCarrierFromInterface(objInterface interface{}) (*K8sObjAntCarrier, error)
func NewK8sAntCarrierFromObj ¶ added in v0.2.0
func NewK8sAntCarrierFromObj(obj metav1.Object) (*K8sObjAntCarrier, error)
func (*K8sObjAntCarrier) Get ¶
func (objCarrier *K8sObjAntCarrier) Get(key string) string
func (*K8sObjAntCarrier) Keys ¶
func (objCarrier *K8sObjAntCarrier) Keys() []string
func (*K8sObjAntCarrier) Set ¶
func (objCarrier *K8sObjAntCarrier) Set(key string, value string)
type K8sObjAntCarrier2 ¶ added in v0.4.0
type K8sObjAntCarrier2 struct {
// contains filtered or unexported fields
}
func NewK8sAntCarrier2FromObj ¶ added in v0.4.0
func NewK8sAntCarrier2FromObj(mp map[string]string) *K8sObjAntCarrier2
func (*K8sObjAntCarrier2) Get ¶ added in v0.4.0
func (objCarrier *K8sObjAntCarrier2) Get(key string) string
func (*K8sObjAntCarrier2) Keys ¶ added in v0.4.0
func (objCarrier *K8sObjAntCarrier2) Keys() []string
func (*K8sObjAntCarrier2) Set ¶ added in v0.4.0
func (objCarrier *K8sObjAntCarrier2) Set(key string, value string)
Click to show internal directories.
Click to hide internal directories.