Documentation ¶
Index ¶
Constants ¶
View Source
const AppJSONV1GeneratorName = "app-json/v1"
Variables ¶
This section is empty.
Functions ¶
func NewCmdAppJSON ¶
func NewCmdAppJSON(fullName string, f kcmdutil.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 kcmdutil.Factory, streams genericclioptions.IOStreams) *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) Run ¶
func (o *AppJSONOptions) Run() error
func (*AppJSONOptions) Validate ¶
func (o *AppJSONOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.