Documentation
¶
Index ¶
- func UpdateProductionDeployments(deployType, dest string, draftConfig *config.DraftConfig, ...) error
- type GitHubWorkflow
- type HelmProductionYaml
- func (hpy *HelmProductionYaml) GetServiceName() string
- func (hpy *HelmProductionYaml) LoadFromFile(filePath string) error
- func (hpy *HelmProductionYaml) SetAnnotations(annotations map[string]string)
- func (hpy *HelmProductionYaml) SetServiceType(serviceType string)
- func (hpy *HelmProductionYaml) WriteToFile(filePath string) error
- type ServiceManifest
- type ServiceYaml
- type Workflows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateProductionDeployments ¶
func UpdateProductionDeployments(deployType, dest string, draftConfig *config.DraftConfig, templateWriter templatewriter.TemplateWriter) error
Types ¶
type GitHubWorkflow ¶
type GitHubWorkflow struct {
Name string
On on `yaml:"on"`
Env map[string]string
Jobs map[string]job
}
GitHubWorkflow is a rough struct to allow for yaml editing including deletion of Job steps
type HelmProductionYaml ¶
type HelmProductionYaml struct {
Image image `yaml:"image"`
Service service `yaml:"service"`
}
func (*HelmProductionYaml) GetServiceName ¶
func (hpy *HelmProductionYaml) GetServiceName() string
func (*HelmProductionYaml) LoadFromFile ¶
func (hpy *HelmProductionYaml) LoadFromFile(filePath string) error
func (*HelmProductionYaml) SetAnnotations ¶
func (hpy *HelmProductionYaml) SetAnnotations(annotations map[string]string)
func (*HelmProductionYaml) SetServiceType ¶
func (hpy *HelmProductionYaml) SetServiceType(serviceType string)
func (*HelmProductionYaml) WriteToFile ¶
func (hpy *HelmProductionYaml) WriteToFile(filePath string) error
type ServiceManifest ¶
type ServiceYaml ¶
func (*ServiceYaml) GetServiceName ¶
func (sy *ServiceYaml) GetServiceName() string
func (*ServiceYaml) LoadFromFile ¶
func (sy *ServiceYaml) LoadFromFile(filePath string) error
func (*ServiceYaml) SetAnnotations ¶
func (sy *ServiceYaml) SetAnnotations(annotations map[string]string)
func (*ServiceYaml) SetServiceType ¶
func (sy *ServiceYaml) SetServiceType(serviceType string)
func (*ServiceYaml) WriteToFile ¶
func (hpy *ServiceYaml) WriteToFile(filePath string) error
type Workflows ¶
type Workflows struct {
Dest string
// contains filtered or unexported fields
}
func (*Workflows) CreateWorkflowFiles ¶
func (w *Workflows) CreateWorkflowFiles(deployType string, draftConfig *config.DraftConfig, templateWriter templatewriter.TemplateWriter) error
Click to show internal directories.
Click to hide internal directories.