Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emulator ¶
type Emulator struct {
// contains filtered or unexported fields
}
Emulator is used to generate dummy CRs based on an OpenAPI schema.
func (*Emulator) GenerateDummyCR ¶
func (e *Emulator) GenerateDummyCR(gvk schema.GroupVersionKind, schema *spec.Schema) (*unstructured.Unstructured, error)
GenerateDummyCR generates a dummy CR based on the provided schema.
Click to show internal directories.
Click to hide internal directories.