status

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package status manages deployment status updates so that humans can better understand the current state of the underlying systems. E.g. this status operator function may create and update pull request comments for preview deployments in Github.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Cac *cache.Cache
	Env envvar.Env
	Git *github.Client
	Log logger.Interface
	Pol *policy.Policy
}

type Status

type Status struct {
	// contains filtered or unexported fields
}

func New

func New(c Config) *Status

func (*Status) Active

func (s *Status) Active() bool

Active defines this worker handler to only be executed within the testing environment, because we do not allow preview deployments to be injected in e.g. staging nor production.

func (*Status) Ensure

func (s *Status) Ensure() error

Jump to

Keyboard shortcuts

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