model

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance interface {
	String() string
	Object(m *runtime.Scheme) (runtime.Object, error)
	IsBase() bool
	Unity(other Instance) error
}

Instance defines Model Interface

func NewBase

func NewBase(v cue.Value) (Instance, error)

NewBase create a base instance

func NewOther

func NewOther(v cue.Value) (Instance, error)

NewOther create a non-base instance

Jump to

Keyboard shortcuts

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