Documentation ¶
Index ¶
- type FileMap
- type Loader
- func (l *Loader) FromFS(ctx context.Context, src fs.FS) (FileMap, error)
- func (l *Loader) FromFolder(ctx context.Context, path string) (FileMap, error)
- func (l *Loader) FromImage(ctx context.Context, image v1.Image) (m FileMap, err error)
- func (l *Loader) FromPulledImage(ctx context.Context, ref string) (FileMap, error)
- type Saver
- type TemplateTestValidator
- type TemplateTransformer
- type Transformer
- type TransformerList
- type Validator
- type ValidatorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct{}
func (*Loader) FromFolder ¶
FromFolder returns a FileMap containing contents from the given path.
type TemplateTestValidator ¶
type TemplateTestValidator struct {
// contains filtered or unexported fields
}
func NewTemplateTestValidator ¶
func NewTemplateTestValidator( fixturesFolderPath string, packageContentLoader packageContentLoader, packageManifestLoader packageManifestLoader, ) *TemplateTestValidator
type TemplateTransformer ¶
type TemplateTransformer struct {
TemplateContext manifestsv1alpha1.TemplateContext
}
Runs a go-template transformer on all .yml or .yaml files.
type Transformer ¶
type TransformerList ¶
type TransformerList []Transformer
Applies a list of BytesTransformer to the given content.
type ValidatorList ¶
type ValidatorList []Validator
Runs a list of Validator over the given content.
Click to show internal directories.
Click to hide internal directories.