Documentation ¶
Index ¶
- func NewTeamResource() resource.Resource
- func TeamResourceToPortBody(ctx context.Context, state *TeamModel) (*cli.Team, error)
- func TeamSchema() map[string]schema.Attribute
- type TeamModel
- type TeamResource
- func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTeamResource ¶
func TeamResourceToPortBody ¶
func TeamSchema ¶
Types ¶
type TeamModel ¶
type TeamModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Users []types.String `tfsdk:"users"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` ProviderName types.String `tfsdk:"provider_name"` }
type TeamResource ¶
type TeamResource struct {
// contains filtered or unexported fields
}
func (*TeamResource) Configure ¶
func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TeamResource) Create ¶
func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TeamResource) Delete ¶
func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TeamResource) ImportState ¶
func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TeamResource) Metadata ¶
func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TeamResource) Read ¶
func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TeamResource) Schema ¶
func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TeamResource) Update ¶
func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.