Documentation ¶
Index ¶
Constants ¶
View Source
const ( YAMLSeparator = "\n---\n" NotesFileNameSuffix = ".txt" )
Variables ¶
View Source
var DefaultFilters = []util.FilterFunc{ util.LicenseFilter, util.FormatterFilter, util.SpaceFilter, }
Functions ¶
This section is empty.
Types ¶
type LocalRenderer ¶
type LocalRenderer struct { Opts *RendererOptions Chart *chart.Chart Started bool }
LocalRenderer load chart from local file system
func (*LocalRenderer) Init ¶
func (lr *LocalRenderer) Init() error
func (*LocalRenderer) RenderManifest ¶
func (lr *LocalRenderer) RenderManifest(valsYaml string) (string, error)
type RemoteRenderer ¶
type RemoteRenderer struct { Opts *RendererOptions Chart *chart.Chart Started bool }
func (*RemoteRenderer) Init ¶
func (rr *RemoteRenderer) Init() error
func (*RemoteRenderer) RenderManifest ¶
func (rr *RemoteRenderer) RenderManifest(valsYaml string) (string, error)
type Renderer ¶
Renderer is responsible for rendering helm chart with new values. For using RenderManifest, we must invoke Init firstly.
func NewLocalRenderer ¶
func NewLocalRenderer(opts ...RendererOption) (Renderer, error)
func NewRemoteRenderer ¶
func NewRemoteRenderer(opts ...RendererOption) (Renderer, error)
type RendererOption ¶
type RendererOption func(*RendererOptions)
func WithDir ¶
func WithDir(dir string) RendererOption
func WithFS ¶
func WithFS(f fs.FS) RendererOption
func WithName ¶
func WithName(name string) RendererOption
func WithNamespace ¶
func WithNamespace(ns string) RendererOption
func WithRepoURL ¶
func WithRepoURL(repo string) RendererOption
func WithVersion ¶
func WithVersion(version string) RendererOption
type RendererOptions ¶
Click to show internal directories.
Click to hide internal directories.