Documentation ¶
Index ¶
- type Attributes
- type Computer
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 Generic ¶ added in v1.18.0
type Generic struct { Type export.ResourceType Descriptor export.ResourceDescriptor }
func NewGeneric ¶ added in v1.18.0
func NewGeneric(resourceType export.ResourceType) *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.