civisibility

package
v2.10.0-dev Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTestMode

func IsTestMode() bool

func ResetForTesting added in v2.9.0

func ResetForTesting()

ResetForTesting resets process-global CI Visibility state used by tests.

func SetState

func SetState(state State)

func SetTestMode

func SetTestMode()

Types

type State

type State int
const (
	StateUninitialized State = iota
	StateInitializing
	StateInitialized
	StateExiting
	StateExited
)

func GetState

func GetState() State

Directories

Path Synopsis
Package envconfig contains CI Visibility-specific environment parsing helpers.
Package envconfig contains CI Visibility-specific environment parsing helpers.
net

Jump to

Keyboard shortcuts

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