state

package
v0.12.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 5 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 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 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 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 WithDryRun added in v0.7.0

func WithDryRun(ctx context.Context, dry bool) 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 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