metadata

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 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 SetNameAndUID added in v0.5.0

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

SetNameAndUID sets the name and UID for an object if that isn't set automatically

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
}

Jump to

Keyboard shortcuts

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