state

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseURL added in v0.8.0

func BaseURL(ctx context.Context) string

func CommitSHA added in v0.7.0

func CommitSHA(ctx context.Context) string

func ConfigFilePath added in v0.13.0

func ConfigFilePath(ctx context.Context) string

func EvaluationID added in v0.13.1

func EvaluationID(ctx context.Context) string

func IsDryRun added in v0.5.0

func IsDryRun(ctx context.Context) bool

func LockForProcessing added in v0.12.4

func LockForProcessing(ctx context.Context) func()

func MergeRequestID added in v0.6.0

func MergeRequestID(ctx context.Context) string

func MergeRequestIDInt added in v0.6.0

func MergeRequestIDInt(ctx context.Context) int

func MergeRequestIDUint added in v0.12.6

func MergeRequestIDUint(ctx context.Context) uint64

func ProjectID added in v0.6.0

func ProjectID(ctx context.Context) string

func Provider added in v0.8.0

func Provider(ctx context.Context) string

func ShouldUpdatePipeline added in v0.7.0

func ShouldUpdatePipeline(ctx context.Context) (bool, string)

func StartTime added in v0.13.0

func StartTime(ctx context.Context) time.Time

func Token added in v0.8.0

func Token(ctx context.Context) string

func WithBaseURL added in v0.8.0

func WithBaseURL(ctx context.Context, value string) context.Context

func WithCommitSHA added in v0.7.0

func WithCommitSHA(ctx context.Context, sha string) context.Context

func WithConfigFilePath added in v0.13.0

func WithConfigFilePath(ctx context.Context, value string) context.Context

func WithDryRun added in v0.7.0

func WithDryRun(ctx context.Context, dry bool) context.Context

func WithEvaluationID added in v0.13.1

func WithEvaluationID(ctx context.Context, id string) context.Context

func WithMergeRequestID added in v0.12.0

func WithMergeRequestID(ctx context.Context, id string) context.Context

func WithProjectID added in v0.7.0

func WithProjectID(ctx context.Context, value string) context.Context

func WithProvider added in v0.8.0

func WithProvider(ctx context.Context, value string) context.Context

func WithStartTime added in v0.13.0

func WithStartTime(ctx context.Context, now time.Time) context.Context

func WithToken added in v0.8.0

func WithToken(ctx context.Context, value string) context.Context

func WithUpdatePipeline added in v0.7.0

func WithUpdatePipeline(ctx context.Context, update bool, pattern string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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