Documentation
¶
Index ¶
- Constants
- func CupdateCacheStatus(status string) attribute.KeyValue
- func CupdateWorkflowJobName(name string) attribute.KeyValue
- func CupdateWorkflowName(name string) attribute.KeyValue
- func CupdateWorkflowStepName(name string) attribute.KeyValue
- func Init(ctx context.Context, target string, insecure bool) (func(context.Context) error, error)
Constants ¶
View Source
const ( CupdateCacheStatusHit string = "hit" CupdateCacheStatusMiss string = "miss" CupdateCacheStatusError string = "error" CupdateCacheStatusUncached string = "uncached" )
View Source
const ( CupdateWorkflowRunSpanName = "cupdate.workflow.run" CupdateWorkflowNameKey = attribute.Key("cupdate.workflow.name") )
View Source
const ( CupdateWorkflowJobRunSpanName = "cupdate.workflow.job.run" CupdateWorkflowJobNameKey = attribute.Key("cupdate.workflow.job.name") )
View Source
const ( CupdateWorkflowStepRunSpanName = "cupdate.workflow.step.run" CupdateWorkflowStepPostRunSpanName = "cupdate.workflow.step.post-run" CupdateWorkflowStepNameKey = attribute.Key("cupdate.workflow.step.name") )
View Source
const CupdateCacheStatusKey = attribute.Key("cupdate.cache.status")
View Source
const ( // DefaultScope is the scope used by Cupdate by default. DefaultScope string = "github.com/AlexGustafsson/cupdate" )
Variables ¶
This section is empty.
Functions ¶
func CupdateCacheStatus ¶
CupdateWorkflowStepName returns an attribute for a cached entry's status.
func CupdateWorkflowJobName ¶
CupdateWorkflowStepName returns an attribute for a workflow job's name.
func CupdateWorkflowName ¶
CupdateWorkflowStepName returns an attribute for a workflow's name.
func CupdateWorkflowStepName ¶
CupdateWorkflowStepName returns an attribute for a workflow step's name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.