frigga

package module
v0.0.0-...-e5f9f08 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 23 modules, 25 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

frigga-go

Circle CI codecov.io

A selective Golang port of Netflix's Frigga project.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Names

type Names struct {
	Group        string
	Cluster      string
	App          string
	Stack        string
	Detail       string
	Push         string
	Sequence     string
	Countries    string
	DevPhase     string
	Hardware     string
	Partners     string
	Revision     string
	UsedBy       string
	RedBlackSwap string
	Zone         string
}

Names is a deconstruction of a Frigga-specced name.

func Parse

func Parse(name string) (*Names, error)

Parse converts a potentially Frigga string into a Names struct.

func (*Names) SequenceInt

func (n *Names) SequenceInt() int

SequenceInt converts a string Sequence value into an int. This is a slight departure from the standard Frigga spec in that it doesn't enforce using a numerical sequence number.

func (*Names) String

func (n *Names) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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