names

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: BSD-3-Clause Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForResource added in v0.9.2

func ForResource(product manifold.Label, id manifold.ID) manifold.Label

ForResource returns a new label combining a product label with a random label for the resource based on its id.

func New

func New(id manifold.ID) (string, string)

New returns a generated name based on the provided id, and its matching label. Names are title cased with spaces between words. Labels are lowercased with hyphens between words Deprecated: for resource names use `ForResource` instead

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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