Documentation ¶
Index ¶
- Constants
- func NewCmdAppJSON(fullName string, f *clientcmd.Factory, in io.Reader, out, errout io.Writer) *cobra.Command
- func NewCmdDockerCompose(fullName string, f *clientcmd.Factory, in io.Reader, out, errout io.Writer) *cobra.Command
- func NewCmdImport(fullName string, f *clientcmd.Factory, in io.Reader, out, errout io.Writer) *cobra.Command
- type AppJSONOptions
- type DockerComposeOptions
Constants ¶
View Source
const AppJSONV1GeneratorName = "app-json/v1"
View Source
const DockerComposeV1GeneratorName = "docker-compose/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.
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 []unversioned.GroupVersion Namespace string Client client.TemplateConfigsNamespacer }
func (*AppJSONOptions) Run ¶
func (o *AppJSONOptions) Run() error
func (*AppJSONOptions) Validate ¶
func (o *AppJSONOptions) Validate() error
type DockerComposeOptions ¶
type DockerComposeOptions struct { Action configcmd.BulkAction In io.Reader Filenames []string Generator string AsTemplate string PrintObject func(runtime.Object) error OutputVersions []unversioned.GroupVersion Namespace string Client client.TemplateConfigsNamespacer }
func (*DockerComposeOptions) Run ¶
func (o *DockerComposeOptions) Run() error
func (*DockerComposeOptions) Validate ¶
func (o *DockerComposeOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.