Documentation ¶
Index ¶
- type Archive
- type ChartServer
- type GitHubArchive
- type GitRemote
- type HelmReleaser
- func (h HelmReleaser) CreateContext(dir string, scmToken string) (*HelmReleaserContext, error)
- func (h *HelmReleaser) MergeValuesFromChart(filename string) error
- func (h HelmReleaser) Render(context HelmReleaserContext, dir string) error
- func (h HelmReleaser) RenderString(context HelmReleaserContext, in string) (string, error)
- func (h *HelmReleaser) WriteToFile(filename string, overwrite bool) error
- type HelmReleaserContext
- type HelmRepo
- type Image
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct {
GitHub *GitHubArchive `yaml:"github,omitempty"`
}
type ChartServer ¶
type GitHubArchive ¶
type HelmReleaser ¶
type HelmReleaser struct { ChartVersion string `yaml:"chartVersion,omitempty"` AppVersion string `yaml:"appVersion,omitempty"` Description string `yaml:"description,omitempty"` Home string `yaml:"home,omitempty"` Icon string `yaml:"icon,omitempty"` Maintainers []string `yaml:"maintainers,omitempty"` Name string `yaml:"name,omitempty"` Sources []string `yaml:"sources,omitempty"` Images []Image `yaml:"images,omitempty"` Snapshot Snapshot `yaml:"snapshot,omitempty"` Archive *Archive `yaml:"archive,omitempty"` HelmRepo *HelmRepo `yaml:"helmRepo,omitempty"` }
func CreateDefault ¶
func CreateDefault() *HelmReleaser
func ReadFromFile ¶
func ReadFromFile(filename string) (*HelmReleaser, error)
func (HelmReleaser) CreateContext ¶
func (h HelmReleaser) CreateContext(dir string, scmToken string) (*HelmReleaserContext, error)
CreateContext will create a context that can be used to render The dir param should be the path in the git repo, not the temp directory
func (*HelmReleaser) MergeValuesFromChart ¶
func (h *HelmReleaser) MergeValuesFromChart(filename string) error
func (HelmReleaser) Render ¶
func (h HelmReleaser) Render(context HelmReleaserContext, dir string) error
func (HelmReleaser) RenderString ¶
func (h HelmReleaser) RenderString(context HelmReleaserContext, in string) (string, error)
func (*HelmReleaser) WriteToFile ¶
func (h *HelmReleaser) WriteToFile(filename string, overwrite bool) error
type HelmReleaserContext ¶
type HelmReleaserContext struct { Major int64 Minor int64 Patch int64 Tag string GitRemote GitRemote // contains filtered or unexported fields }
func (HelmReleaserContext) GetChangelog ¶
func (c HelmReleaserContext) GetChangelog() string
type HelmRepo ¶
type HelmRepo struct {
ChartServer *ChartServer `yaml:"chartServer,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.