uniqname

package
v0.19.7 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Separator = "@"

Separator is a separator between release name and namespace.

Variables

View Source
var ErrValidate = errors.New("failed to validate uniqname")

ErrValidate is an error for failed uniqname validation.

Functions

func Contains added in v0.16.0

func Contains(t UniqName, a []UniqName) bool

Contains searches for uniqname in slice of uniqnames.

Types

type UniqName

type UniqName string

UniqName is an alias for string.

func Generate added in v0.17.0

func Generate(name, namespace string) (UniqName, error)

Generate returns uniqname for provided release name and namespace.

func (UniqName) In added in v0.16.1

func (n UniqName) In(a []UniqName) bool

In searches for uniqname in slice of uniqnames.

func (UniqName) Validate added in v0.16.1

func (n UniqName) Validate() error

Validate validates this object.

Jump to

Keyboard shortcuts

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