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, streams genericclioptions.IOStreams) *cobra.Command
NewCmdAppJSON imports an app.json file (schema described here: https://devcenter.heroku.com/articles/app-json-schema) as a template.
Types ¶
type AppJSONOptions ¶
type AppJSONOptions struct { PrintFlags *genericclioptions.PrintFlags Printer printers.ResourcePrinter BaseImage string Generator string AsTemplate string OutputVersionStr string OutputVersions []schema.GroupVersion Namespace string RESTMapper meta.RESTMapper DynamicClient dynamic.Interface Client rest.Interface genericclioptions.IOStreams resource.FilenameOptions }
func NewAppJSONOptions ¶
func NewAppJSONOptions(streams genericclioptions.IOStreams) *AppJSONOptions
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.