state

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitSHA added in v0.7.0

func CommitSHA(ctx context.Context) string

func ContextWithMergeRequestID

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

func IsDryRun added in v0.5.0

func IsDryRun(ctx context.Context) bool

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 ShouldUpdatePipeline added in v0.7.0

func ShouldUpdatePipeline(ctx context.Context) bool

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 WithProjectID added in v0.7.0

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

func WithUpdatePipeline added in v0.7.0

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