model

package
v0.0.0-...-93c2be4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesList

type KubernetesList interface {
	runtime.Object
	GetItems() []KubernetesObject
	GetContinue() string
}

type KubernetesObject

type KubernetesObject interface {
	runtime.Object
	metav1.Object
	GetObjectMeta() *metav1.ObjectMeta
	SetObjectMeta(*metav1.ObjectMeta)
	GetMesh() string
	SetMesh(string)
	GetSpec() map[string]interface{}
	SetSpec(map[string]interface{})
	Scope() Scope
}

type Scope

type Scope string
const (
	ScopeNamespace Scope = "namespace"
	ScopeCluster   Scope = "cluster"
)

Jump to

Keyboard shortcuts

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