sync

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(runF func(*SyncOptions) error) *cobra.Command

Types

type ManifestObject added in v0.20.0

type ManifestObject struct {
	APIVersion string                 `json:"apiVersion" yaml:"apiVersion"`
	KindValue  string                 `json:"kind" yaml:"kind"`
	Metadata   map[string]interface{} `json:"metadata" yaml:"metadata"`
	Spec       map[string]interface{} `json:"spec" yaml:"spec"`
}

func (*ManifestObject) Kind added in v0.20.0

func (t *ManifestObject) Kind() string

func (*ManifestObject) Validate added in v0.20.0

func (t *ManifestObject) Validate() error

func (*ManifestObject) Version added in v0.20.0

func (t *ManifestObject) Version() string

type SyncOptions

type SyncOptions struct {
	IO *iostreams.IOStreams

	ManifestPath string
}

Jump to

Keyboard shortcuts

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