phases

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexOf

func IndexOf(value Phase) int

func IsEqual

func IsEqual(value, valid string) bool

Types

type Phase

type Phase string
const (
	Alpha            Phase = "alpha"
	Beta             Phase = "beta"
	ReleaseCandidate Phase = "rc"
	Release          Phase = "release"

	Unknown Phase = ""
)

func ValueOf

func ValueOf(value string) Phase

func Values

func Values() []Phase

func (Phase) IsRelease

func (p Phase) IsRelease() bool

func (Phase) String

func (p Phase) String() string

Jump to

Keyboard shortcuts

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