Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ObjectMetaGVK = schema.GroupVersionKind{Group: "", Version: "v1", Kind: "ObjectMeta"}
Functions ¶
func SchemaToSpec ¶ added in v0.5.0
Types ¶
type Foundry ¶
type Foundry interface {
GetTypeByGVK(gvk schema.GroupVersionKind) (tftypes.Type, error)
}
Foundry is a mechanism to construct tftypes out of OpenAPI specifications
func NewFoundryFromSpecV2 ¶
NewFoundryFromSpecV2 creates a new tftypes.Type foundry from an OpenAPI v2 spec document * spec argument should be a valid OpenAPI v2 JSON document
func NewFoundryFromSpecV3 ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.