mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
672 B
27 lines
672 B
package deploy
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/kubernetes/deployment-manager/common"
|
|
)
|
|
|
|
// Deployment describes a deployment of a package.
|
|
type Deployment struct {
|
|
// Name is the Deployment name. Autogenerated if empty.
|
|
Name string
|
|
// Filename is the filename for the base deployment.
|
|
Filename string
|
|
// Imports is a list of imported files.
|
|
Imports []string
|
|
// Properties to pass into the template.
|
|
Properties map[string]interface{}
|
|
// Input is a file containing templates. It may be os.Stdin.
|
|
Input *os.File
|
|
// Repository is the location of the templates.
|
|
Repository string
|
|
|
|
// The template, typically generated by the Deployment.
|
|
Template *common.Template
|
|
}
|