Documentation ¶
Index ¶
- type Templates
- func (t *Templates) GetCredentialSetJSON() ([]byte, error)
- func (t *Templates) GetCredentialSetYAML() ([]byte, error)
- 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) GetParameterSetJSON() ([]byte, error)
- func (t *Templates) GetParameterSetYAML() ([]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) GetCredentialSetJSON ¶ added in v1.0.1
GetCredentialSetJSON returns a credential-set.schema.json template file to define new credential set.
func (*Templates) GetCredentialSetYAML ¶ added in v1.0.1
GetCredentialSetYAML returns a credential-set.yaml template file to define new credential set.
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) GetParameterSetJSON ¶ added in v1.0.1
GetParameterSetJSON returns a parameter-set.schema.json template file to define new parameter set.
func (*Templates) GetParameterSetYAML ¶ added in v1.0.1
GetParameterSetYAML returns a parameter-set.yaml template file to define new parameter set.
func (*Templates) GetRunScript ¶
GetRunScript returns a run script template for invocation images.