Documentation ¶
Index ¶
- func GetResourceSchema() *schema.Schema
- func NewResource() resource.Resource
- type Resource
- func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *Resource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceSchema ¶
func NewResource ¶
Types ¶
type Resource ¶
type Resource struct {
framework.BaseResource
}
func (*Resource) Create ¶
func (r *Resource) Create( ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse, )
func (*Resource) Delete ¶
func (r *Resource) Delete( ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse, )
func (*Resource) ImportState ¶
func (r *Resource) ImportState( ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse, )
func (*Resource) Read ¶
func (r *Resource) Read( ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse, )
func (*Resource) Update ¶
func (r *Resource) Update( ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse, )
type ResourceModel ¶
type ResourceModel struct { ID types.String `tfsdk:"id"` Invitee types.String `tfsdk:"invitee"` InvitedBy types.String `tfsdk:"invited_by"` OrganizationID types.String `tfsdk:"organization_id"` ProjectsIDs types.Set `tfsdk:"projects_ids"` Nonce types.String `tfsdk:"nonce"` Message types.String `tfsdk:"message"` Created types.String `tfsdk:"created"` Updated types.String `tfsdk:"updated"` Roles types.Set `tfsdk:"roles"` State types.String `tfsdk:"state"` }
Click to show internal directories.
Click to hide internal directories.