Documentation ¶
Index ¶
- Constants
- func VisitResource(res *schema.Resource)
- func VisitSchema(sch *schema.Schema)
- func VisitSchemaMap(schemata map[string]*schema.Schema) map[string]*schema.Schema
- type Attributes
- type Computer
- type Deprecated
- type Generic
- func (me *Generic) Create(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
- func (me *Generic) Delete(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
- func (me *Generic) Read(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
- func (me *Generic) ReadForSettings(ctx context.Context, d *schema.ResourceData, m any, sttngs settings.Settings) diag.Diagnostics
- func (me *Generic) Resource() *schema.Resource
- func (me *Generic) Service(m any) settings.CRUDService[settings.Settings]
- func (me *Generic) Settings() settings.Settings
- func (me *Generic) Update(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
- type MarshalPreparer
- type Sibling
- type Siblings
Constants ¶
View Source
const ( CredValDefault = iota CredValIAM CredValNone )
Variables ¶
This section is empty.
Functions ¶
func VisitResource ¶ added in v1.35.0
func VisitSchema ¶ added in v1.35.0
Types ¶
type Attributes ¶ added in v1.18.0
func NewAttributes ¶ added in v1.18.0
func NewAttributes(m map[string]string) Attributes
func (Attributes) Keys ¶ added in v1.18.0
func (attributes Attributes) Keys() []string
func (Attributes) MatchingKeys ¶ added in v1.18.0
func (attributes Attributes) MatchingKeys(key string) []string
func (Attributes) Siblings ¶ added in v1.18.0
func (attributes Attributes) Siblings(key string) Siblings
type Deprecated ¶ added in v1.36.0
type Deprecated interface {
Deprecated() string
}
type Generic ¶ added in v1.18.0
type Generic struct { Type export.ResourceType Descriptor export.ResourceDescriptor CredentialValidation int }
func NewGeneric ¶ added in v1.18.0
func NewGeneric(resourceType export.ResourceType, credVal ...int) *Generic
func (*Generic) Create ¶ added in v1.18.0
func (me *Generic) Create(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
func (*Generic) Delete ¶ added in v1.18.0
func (me *Generic) Delete(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
func (*Generic) Read ¶ added in v1.18.0
func (me *Generic) Read(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
func (*Generic) ReadForSettings ¶ added in v1.31.0
func (me *Generic) ReadForSettings(ctx context.Context, d *schema.ResourceData, m any, sttngs settings.Settings) diag.Diagnostics
func (*Generic) Update ¶ added in v1.18.0
func (me *Generic) Update(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics
type MarshalPreparer ¶ added in v1.18.0
Click to show internal directories.
Click to hide internal directories.