Documentation ¶
Index ¶
- func AWS(schemaDirectoryPath string) (plugin.Provider, error)
- func Azure(schemaDirectoryPath string) (plugin.Provider, error)
- func CheckAllFilesGenerated(t *testing.T, actual, expected map[string][]byte)
- func GeneratePackageFilesFromSchema(schemaPath string, genPackageFunc GenPkgSignature) (map[string][]byte, error)
- func GetSchema(schemaDirectoryPath, providerName string) ([]byte, error)
- func Kubernetes(schemaDirectoryPath string) (plugin.Provider, error)
- func LoadFiles(dir, lang string, files []string) (map[string][]byte, error)
- func NewHost(schemaDirectoryPath string) plugin.Host
- func Random(schemaDirectoryPath string) (plugin.Provider, error)
- func ValidateFileEquality(t *testing.T, actual, expected map[string][]byte)
- type GenPkgSignature
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAllFilesGenerated ¶ added in v2.18.1
CheckAllFilesGenerated ensures that the set of expected and actual files generated are exactly equivalent.
func GeneratePackageFilesFromSchema ¶ added in v2.11.1
func GeneratePackageFilesFromSchema(schemaPath string, genPackageFunc GenPkgSignature) (map[string][]byte, error)
GeneratePackageFilesFromSchema loads a schema and generates files using the provided GeneratePackage function.
func Kubernetes ¶ added in v2.8.1
Types ¶
Click to show internal directories.
Click to hide internal directories.