Documentation ¶
Index ¶
- Constants
- func ApplyLintRules(module utils.Module, values chartutil.Values, ...) error
- func ComposeValuesFromSchemas(m utils.Module) ([]chartutil.Values, error)
- func Run(tmpDir string, m utils.Module) (err error)
- func SplitAt(substring string) func(data []byte, atEOF bool) (advance int, token []byte, err error)
- type FileController
- type InteractionsCounter
- type ModuleController
- type Node
- type OpenAPIValuesGenerator
- type SchemaNode
- type Task
- type Worker
Constants ¶
View Source
const ( // Variations add ability to create variants for tests matrix ConstantVariation string = "__ConstantChoices__" RangeVariation string = "__RangeChoices__" // Item works like variation arguments to include special variants of values EmptyItem string = "__EmptyItem__" )
View Source
const ( ExamplesKey = "x-examples" ArrayObject = "array" ObjectKey = "object" )
Variables ¶
This section is empty.
Functions ¶
func ApplyLintRules ¶
Types ¶
type FileController ¶
func LoadConfiguration ¶
func LoadConfiguration(m utils.Module, path, prefix, dir string) (FileController, error)
func (*FileController) Close ¶
func (f *FileController) Close()
func (*FileController) FindAll ¶
func (f *FileController) FindAll()
func (*FileController) ReturnValues ¶
func (f *FileController) ReturnValues() ([]chartutil.Values, error)
type InteractionsCounter ¶
type InteractionsCounter struct {
// contains filtered or unexported fields
}
func (*InteractionsCounter) Inc ¶
func (c *InteractionsCounter) Inc()
func (*InteractionsCounter) Zero ¶
func (c *InteractionsCounter) Zero() bool
type ModuleController ¶
type ModuleController struct { Module utils.Module Values []chartutil.Values // contains filtered or unexported fields }
func NewModuleController ¶
func NewModuleController(m utils.Module, values []chartutil.Values) *ModuleController
func (*ModuleController) Run ¶
func (c *ModuleController) Run() error
func (*ModuleController) RunRender ¶
func (c *ModuleController) RunRender(values chartutil.Values, objectStore *storage.UnstructuredObjectStore) (lintError error)
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() ([]interface{}, error)
type SchemaNode ¶
Click to show internal directories.
Click to hide internal directories.