importer

package
v3.7.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const AppJSONV1GeneratorName = "app-json/v1"

Variables

This section is empty.

Functions

func NewCmdAppJSON

func NewCmdAppJSON(fullName string, f *clientcmd.Factory, in io.Reader, out, errout io.Writer) *cobra.Command

NewCmdAppJSON imports an app.json file (schema described here: https://devcenter.heroku.com/articles/app-json-schema) as a template.

func NewCmdImport

func NewCmdImport(fullName string, f *clientcmd.Factory, in io.Reader, out, errout io.Writer) *cobra.Command

NewCmdImport exposes commands for modifying objects.

Types

type AppJSONOptions

type AppJSONOptions struct {
	Action configcmd.BulkAction

	In        io.Reader
	Filenames []string

	BaseImage  string
	Generator  string
	AsTemplate string

	PrintObject    func(runtime.Object) error
	OutputVersions []schema.GroupVersion

	Namespace string
	Client    templateclient.TemplateInterface
}

func (*AppJSONOptions) Complete

func (o *AppJSONOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, args []string) error

func (*AppJSONOptions) Run

func (o *AppJSONOptions) Run() error

func (*AppJSONOptions) Validate

func (o *AppJSONOptions) Validate() error

Jump to

Keyboard shortcuts

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