Documentation ¶
Index ¶
- func ConditionSchema() map[string]schema.Attribute
- func NewScorecardResource() resource.Resource
- func RuleSchema() map[string]schema.Attribute
- func ScorecardSchema() map[string]schema.Attribute
- type Condition
- type Query
- type Rule
- type ScorecardModel
- type ScorecardResource
- func (r *ScorecardResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ScorecardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ScorecardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ScorecardResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ScorecardResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ScorecardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ScorecardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ScorecardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConditionSchema ¶
func NewScorecardResource ¶
func RuleSchema ¶
func ScorecardSchema ¶
Types ¶
type ScorecardModel ¶
type ScorecardModel struct { ID types.String `tfsdk:"id"` Identifier types.String `tfsdk:"identifier"` Blueprint types.String `tfsdk:"blueprint"` Title types.String `tfsdk:"title"` Rules []Rule `tfsdk:"rules"` CreatedAt types.String `tfsdk:"created_at"` CreatedBy types.String `tfsdk:"created_by"` UpdatedAt types.String `tfsdk:"updated_at"` UpdatedBy types.String `tfsdk:"updated_by"` }
type ScorecardResource ¶
type ScorecardResource struct {
// contains filtered or unexported fields
}
func (*ScorecardResource) Configure ¶
func (r *ScorecardResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ScorecardResource) Create ¶
func (r *ScorecardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ScorecardResource) Delete ¶
func (r *ScorecardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ScorecardResource) ImportState ¶
func (r *ScorecardResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ScorecardResource) Metadata ¶
func (r *ScorecardResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ScorecardResource) Read ¶
func (r *ScorecardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ScorecardResource) Schema ¶
func (r *ScorecardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ScorecardResource) Update ¶
func (r *ScorecardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.