scope

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope string
const (
	LegacyScope     Scope = "legacy"
	NamespacedScope Scope = "namespaced"
	ClusterScope    Scope = "cluster"

	DefaultScope = LegacyScope
)

func AsScope

func AsScope(s string) (Scope, bool)

func (Scope) IsCluster

func (s Scope) IsCluster() bool

func (Scope) IsNamespaced

func (s Scope) IsNamespaced() bool

func (Scope) String

func (s Scope) String() string

Jump to

Keyboard shortcuts

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