Help us shape the future of Go! Take the 2026 Go Developer Survey

applicationlifecycle

package
v0.4.20 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireApproval

func RequireApproval(operation string, approved bool) error

Types

type Result

type Result struct {
	ContractVersion string `json:"contract_version"`
	Operation       string `json:"operation"`
	Target          string `json:"target,omitempty"`
	Application     string `json:"application,omitempty"`
	Environment     string `json:"environment,omitempty"`
	State           string `json:"state"`
	Verified        bool   `json:"verified"`
	Detail          string `json:"detail,omitempty"`
}

func NewResult

func NewResult(operation, application, environment, state string, verified bool) Result

func (Result) WithTarget

func (r Result) WithTarget(target string) Result

Jump to

Keyboard shortcuts

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