Documentation ¶
Index ¶
- Constants
- Variables
- func ActionType(action string) string
- func AppendBaseTags(tags ...string)
- func Builder(builder string) string
- func CacheKey(ck string) string
- func ClusterName(cluster string) string
- func Collection(collection string) string
- func Collector(collector string) string
- func ComponentName(component string) string
- func EdgeType(et string) string
- func Entity(name string) string
- func GetBaseTags() []string
- func GetBaseTagsWith(optTags ...string) []string
- func GetDefaultTags(ctx context.Context) []string
- func Label(label string) string
- func MakeTag(tag string, value string) string
- func RunID(uuid string) string
- func S3Bucket(bucket string) string
- func S3Key(key string) string
- func SetupBaseTags()
- func Storage(storage string) string
- type BasesTags
Constants ¶
View Source
const ( ActionTypeTag = "action" CollectorTag = "collector" DumperS3BucketTag = "s3_bucket" DumperS3keyTag = "s3_key" DumperWorkerNumberTag = "worker_number" DumperWriterTypeTag = "writer_type" WaitTag = "wait" LabelTag = "label" CollectionTag = "collection" BuilderTag = "builder" StorageTag = "storage" CacheKeyTag = "cache_key" EdgeTypeTag = "edge_type" )
View Source
const ( StorageJanusGraph = "janusgraph" StorageMongoDB = "mongodb" StorageMemCache = "memcache" )
View Source
const ( EntityPods = "pods" EntityRoles = "roles" EntityRolebindings = "rolebindings" EntityNodes = "nodes" EntityEndpoints = "endpoints" EntityClusterRoles = "clusterroles" EntityClusterRolebindings = "clusterrolebindings" )
Variables ¶
View Source
var ( RunIdTag = log.FieldRunIDKey CollectorClusterTag = log.FieldClusterKey DumperFilePathTag = log.FieldPathKey EntityTag = log.FieldEntityKey CompenentTag = log.FieldComponentKey )
Functions ¶
func ActionType ¶ added in v1.3.1
func AppendBaseTags ¶ added in v1.3.1
func AppendBaseTags(tags ...string)
func ClusterName ¶ added in v1.3.1
func Collection ¶
func ComponentName ¶ added in v1.6.0
func GetBaseTags ¶ added in v1.3.1
func GetBaseTags() []string
func GetBaseTagsWith ¶ added in v1.3.1
func GetDefaultTags ¶ added in v1.6.0
func SetupBaseTags ¶ added in v1.3.1
func SetupBaseTags()
Types ¶
Click to show internal directories.
Click to hide internal directories.