Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Prefix to use for autogenerated namespace name Prefix string // Inject indicates whether to add sidecar injection label to this namespace Inject bool // Revision is the namespace of custom injector instance Revision string // Labels to be applied to namespace Labels map[string]string }
Config contains configuration information about the namespace instance
type Instance ¶
type Instance interface { Name() string SetLabel(key, value string) error RemoveLabel(key string) error Prefix() string Labels() (map[string]string, error) }
Instance represents an allocated namespace that can be used to create config, or deploy components in.
func ClaimOrFail ¶
ClaimOrFail calls Claim and fails test if it returns error
type Static ¶
type Static string
Static is a namespace that may or may not exist. It is used for configuration purposes only
func (Static) RemoveLabel ¶
func (*Static) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.