Documentation ¶
Index ¶
- type SchemaRepository
- func (r *SchemaRepository) GetSchema(resourceType string) (*resource.Schema, bool)
- func (r *SchemaRepository) Init(providerName, providerVersion string, schema map[string]providers.Schema) error
- func (r *SchemaRepository) SetDiscriminantFunc(typ string, fn func(self, res *resource.Resource) bool)
- func (r SchemaRepository) SetFlags(typ string, flags ...resource.Flags)
- func (r *SchemaRepository) SetHumanReadableAttributesFunc(typ string, ...)
- func (r *SchemaRepository) SetNormalizeFunc(typ string, normalizeFunc func(res *resource.Resource))
- func (r *SchemaRepository) UpdateSchema(typ string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaRepository ¶
type SchemaRepository struct {
// contains filtered or unexported fields
}
func NewSchemaRepository ¶
func NewSchemaRepository() *SchemaRepository
func (*SchemaRepository) GetSchema ¶
func (r *SchemaRepository) GetSchema(resourceType string) (*resource.Schema, bool)
func (*SchemaRepository) SetDiscriminantFunc ¶
func (r *SchemaRepository) SetDiscriminantFunc(typ string, fn func(self, res *resource.Resource) bool)
func (SchemaRepository) SetFlags ¶
func (r SchemaRepository) SetFlags(typ string, flags ...resource.Flags)
func (*SchemaRepository) SetHumanReadableAttributesFunc ¶
func (*SchemaRepository) SetNormalizeFunc ¶
func (r *SchemaRepository) SetNormalizeFunc(typ string, normalizeFunc func(res *resource.Resource))
func (*SchemaRepository) UpdateSchema ¶
func (r *SchemaRepository) UpdateSchema(typ string, schemasMutators map[string]func(attributeSchema *resource.AttributeSchema))
Click to show internal directories.
Click to hide internal directories.