module

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChartConfigFilename  = "Chart.yaml"
	ModuleConfigFilename = "module.yaml"
)
View Source
const (
	ExamplesKey = "x-examples"
	ArrayObject = "array"
	ObjectKey   = "object"
)

Variables

This section is empty.

Functions

func ComposeValuesFromSchemas

func ComposeValuesFromSchemas(m *Module) (chartutil.Values, error)

func RunRender

func RunRender(m *Module, values chartutil.Values, objectStore *storage.UnstructuredObjectStore) error

func SplitAt

func SplitAt(substring string) func(data []byte, atEOF bool) (advance int, token []byte, err error)

func ToCamel

func ToCamel(s string) string

ToCamel converts a string to CamelCase

func ToLowerCamel

func ToLowerCamel(s string) string

ToLowerCamel converts a string to lowerCamelCase

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func NewModule

func NewModule(path string) (*Module, error)

func (*Module) GetChart

func (m *Module) GetChart() *chart.Chart

func (*Module) GetMetadata

func (m *Module) GetMetadata() *chart.Metadata

func (*Module) GetName

func (m *Module) GetName() string

func (*Module) GetNamespace

func (m *Module) GetNamespace() string

func (*Module) GetObjectStore

func (m *Module) GetObjectStore() *storage.UnstructuredObjectStore

func (*Module) GetPath

func (m *Module) GetPath() string

func (*Module) GetStorage

func (m *Module) GetStorage() map[storage.ResourceIndex]storage.StoreObject

func (*Module) String

func (m *Module) String() string

type ModuleList

type ModuleList []*Module

type OpenAPIValuesGenerator

type OpenAPIValuesGenerator struct {
	// contains filtered or unexported fields
}

func NewOpenAPIValuesGenerator

func NewOpenAPIValuesGenerator(schema *spec.Schema) *OpenAPIValuesGenerator

func (*OpenAPIValuesGenerator) Do

func (g *OpenAPIValuesGenerator) Do() (map[string]any, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL