Documentation
¶
Overview ¶
Package generator generates language-specific schemas for Crossplane and Kubernetes resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
Language() string
GenerateFromCRD(ctx context.Context, fs afero.Fs, runner runner.SchemaRunner) (afero.Fs, error)
GenerateFromOpenAPI(ctx context.Context, fs afero.Fs, runner runner.SchemaRunner) (afero.Fs, error)
}
Interface generates schemas for a specific language.
func AllLanguages ¶
func AllLanguages() []Interface
AllLanguages returns generators for all supported languages.
Click to show internal directories.
Click to hide internal directories.