tag

package
v1.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ActionTypeTag         = "action"
	CollectorTag          = "collector"
	CollectorClusterTag   = "cluster"
	DumperS3BucketTag     = "s3_bucket"
	DumperS3keyTag        = "s3_key"
	DumperFilePathTag     = "file_path"
	DumperWorkerNumberTag = "worker_number"
	DumperWriterTypeTag   = "writer_type"
	EntityTag             = "entity"
	WaitTag               = "wait"
	RunIdTag              = "run_id"
	IngestionRunIdTag     = "ingestion_run_id"
	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

This section is empty.

Functions

func ActionType added in v1.3.1

func ActionType(action string) string

func AppendBaseTags added in v1.3.1

func AppendBaseTags(tags ...string)

func Builder

func Builder(builder string) string

func CacheKey

func CacheKey(ck string) string

func ClusterName added in v1.3.1

func ClusterName(cluster string) string

func Collection

func Collection(collection string) string

func Collector

func Collector(collector string) string

func EdgeType

func EdgeType(et string) string

func Entity

func Entity(name string) string

func GetBaseTags added in v1.3.1

func GetBaseTags() []string

func GetBaseTagsWith added in v1.3.1

func GetBaseTagsWith(optTags ...string) []string

func IngestionRunID added in v1.3.1

func IngestionRunID(uuid string) string

func Label

func Label(label string) string

func MakeTag added in v1.3.1

func MakeTag(tag string, value string) string

func RunID

func RunID(uuid string) string

func S3Bucket added in v1.3.1

func S3Bucket(bucket string) string

func S3Key added in v1.3.1

func S3Key(key string) string

func SetupBaseTags added in v1.3.1

func SetupBaseTags()

func Storage

func Storage(storage string) string

Types

type BasesTags added in v1.3.1

type BasesTags struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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