metadata

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup added in v0.4.0

func Cleanup(md Metadata, silent bool) error

silent specifies if the ID should be printed, when chaining commands silence all but the last command to print the ID only once

func InitObject added in v0.4.0

func InitObject(obj meta.Object, c *client.Client) error

InitObject shall be run in all New{Kind} methods. This method should be private once possible (the runtime objects should move into this pkg)

func Success added in v0.4.0

func Success(md Metadata) error

Should be returned as the last command when creating objects

Types

type Metadata

type Metadata interface {
	meta.Object
	ObjectPath() string
	Save() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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