scope

package
v1.2.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package scope implements field types that represent different scopes for resource types. For example, a resource may be valid at the global scope in that applies to all Calico nodes, or may be at a node scope in that applies to a specific node.

The internal representation is an integer, but the JSON serialization of these values is a string.

Index

Constants

View Source
const (
	Undefined Scope = ""
	Global          = "global"
	Node            = "node"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope string

Jump to

Keyboard shortcuts

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