visibility

package
v0.0.0-...-2b915d2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance string

Instance defines whether a given config or service is exported to local namespace, some set of namespaces, or all namespaces or none

const (
	// Private implies namespace local config
	Private Instance = "."
	// Public implies config is visible to all
	Public Instance = "*"
	// None implies service is visible to no one. Used for services only
	None Instance = "~"
)

func (Instance) Validate

func (v Instance) Validate() (errs error)

Validate a visibility value ( ./*/~/some namespace name which is DNS1123 label)

Jump to

Keyboard shortcuts

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