Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func ApplyLintRules(module utils.Module, values string, ...) error
 - func ComposeValuesFromSchemas(m utils.Module) ([]string, error)
 - func Run(tmpDir string, m utils.Module) 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(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() ([]string, error)
func (*FileController) SaveValues ¶
func (f *FileController) SaveValues() 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          []string
	Chart           *chart.Chart
	ValuesValidator *validation.ValuesValidator
}
    func NewModuleController ¶
func NewModuleController(m utils.Module, values []string) *ModuleController
func (*ModuleController) Run ¶
func (c *ModuleController) Run() error
func (*ModuleController) RunRender ¶
func (c *ModuleController) RunRender(values string, 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.