Documentation
¶
Index ¶
- Constants
- func ComposeValuesFromSchemas(m *Module, globalSchema *spec.Schema) (chartutil.Values, error)
- func GetModuleName(moduleYamlFile *ModuleYaml, chartYamlFile *ChartYaml) string
- func IsSymlink(fi os.FileInfo) bool
- func LoadModuleAsChart(moduleName, dir string) (*chart.Chart, error)
- func RunRender(m *Module, values chartutil.Values, ...) error
- func ToCamel(s string) string
- func ToLowerCamel(s string) string
- func Walk(root string, walkFn filepath.WalkFunc) error
- type ChartYaml
- type Module
- func (m *Module) GetChart() *chart.Chart
- func (m *Module) GetMetadata() *chart.Metadata
- func (m *Module) GetModuleConfig() *config.ModuleConfig
- func (m *Module) GetName() string
- func (m *Module) GetNamespace() string
- func (m *Module) GetObjectStore() *storage.UnstructuredObjectStore
- func (m *Module) GetPath() string
- func (m *Module) GetStorage() map[storage.ResourceIndex]storage.StoreObject
- func (m *Module) GetWerfFile() string
- func (m *Module) MergeRootConfig(cfg *config.RootConfig)
- func (m *Module) String() string
- type ModuleList
- type ModuleYaml
- type OpenAPIValuesGenerator
Constants ¶
View Source
const ( ChartConfigFilename = "Chart.yaml" ModuleConfigFilename = "module.yaml" )
View Source
const ( DmtDefault = "x-dmt-default" ExamplesDefault = "x-examples" ExampleDefault = "x-example" ArrayObject = "array" ObjectKey = "object" )
Variables ¶
This section is empty.
Functions ¶
func GetModuleName ¶ added in v0.1.10
func GetModuleName(moduleYamlFile *ModuleYaml, chartYamlFile *ChartYaml) string
func IsSymlink ¶ added in v0.0.29
IsSymlink is used to determine if the fileinfo is a symbolic link.
func LoadModuleAsChart ¶ added in v0.0.29
LoadModuleAsChart loads a module as a chart default helm loader couldn't be used without Chart.yaml, but deckhouse module could exist without this file, deckhouse will create it automatically
func ToLowerCamel ¶
ToLowerCamel converts a string to lowerCamelCase
func Walk ¶ added in v0.0.29
Walk walks the file tree rooted at root, calling walkFn for each file or directory in the tree, including root. All errors that arise visiting files and directories are filtered by walkFn. The files are walked in lexical order, which makes the output deterministic but means that for very large directories Walk can be inefficient. Walk follows symbolic links.
Types ¶
type ChartYaml ¶ added in v0.1.10
func ParseChartFile ¶ added in v0.1.10
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) GetMetadata ¶
func (*Module) GetModuleConfig ¶ added in v0.1.0
func (m *Module) GetModuleConfig() *config.ModuleConfig
func (*Module) GetNamespace ¶
func (*Module) GetObjectStore ¶
func (m *Module) GetObjectStore() *storage.UnstructuredObjectStore
func (*Module) GetStorage ¶
func (m *Module) GetStorage() map[storage.ResourceIndex]storage.StoreObject
func (*Module) GetWerfFile ¶ added in v0.0.29
func (*Module) MergeRootConfig ¶ added in v0.1.0
func (m *Module) MergeRootConfig(cfg *config.RootConfig)
type ModuleList ¶
type ModuleList []*Module
type ModuleYaml ¶ added in v0.1.10
func ParseModuleConfigFile ¶ added in v0.1.10
func ParseModuleConfigFile(path string) (*ModuleYaml, error)
type OpenAPIValuesGenerator ¶
type OpenAPIValuesGenerator struct {
// contains filtered or unexported fields
}
func NewOpenAPIValuesGenerator ¶
func NewOpenAPIValuesGenerator(schema *spec.Schema) *OpenAPIValuesGenerator
Directories
¶
Path | Synopsis |
---|---|
Package reggen generates text based on regex definitions based on the reggen library by Lucas Jones https://github.com/lucasjones/reggen/blob/master/reggen.go
|
Package reggen generates text based on regex definitions based on the reggen library by Lucas Jones https://github.com/lucasjones/reggen/blob/master/reggen.go |
Click to show internal directories.
Click to hide internal directories.