Documentation ¶
Index ¶
- type Templates
- func (t *Templates) GetDockerfile() ([]byte, error)
- func (t *Templates) GetDockerfileTemplate() ([]byte, error)
- func (t *Templates) GetDockerignore() ([]byte, error)
- func (t *Templates) GetGitignore() ([]byte, error)
- func (t *Templates) GetManifest() ([]byte, error)
- func (t *Templates) GetManifestHelpers() ([]byte, error)
- func (t *Templates) GetReadme() ([]byte, error)
- func (t *Templates) GetRunScript() ([]byte, error)
- func (t *Templates) GetSchema() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Templates ¶
func NewTemplates ¶
func (*Templates) GetDockerfile ¶
GetDockerfile returns the default Dockerfile for invocation images.
func (*Templates) GetDockerfileTemplate ¶
GetDockerfileTemplate returns a template.Dockerfile file for use in new bundles.
func (*Templates) GetDockerignore ¶
GetDockerignore returns a .dockerignore file for use in new bundles.
func (*Templates) GetGitignore ¶
GetGitignore returns a .gitignore file for use in new bundles.
func (*Templates) GetManifest ¶
GetManifest returns a porter.yaml template file for use in new bundles.
func (*Templates) GetManifestHelpers ¶
GetHelpers returns a helpers.sh template file for use in new bundles.
func (*Templates) GetRunScript ¶
GetRunScript returns a run script template for invocation images.
Click to show internal directories.
Click to hide internal directories.