Skip to content

Commit

Permalink
comment out unimplemented types
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed Jun 1, 2021
1 parent 5858d6e commit d516c23
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
21 changes: 14 additions & 7 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ type CreateResourceRequest struct {
// This configuration may contain unknown values if a user uses
// interpolation or other functionality that would prevent Terraform
// from knowing the value at request time.
Config Config
// TODO uncomment when implemented
// Config Config

// Plan is the planned state for the resource.
Plan Plan
// TODO uncomment when implemented
// Plan Plan
}

// ReadResourceRequest represents a request for the provider to read a
Expand All @@ -48,7 +50,8 @@ type ReadResourceRequest struct {

// State is the current state of the resource prior to the Read
// operation.
State State
// TODO uncomment when implemented
// State State
}

// UpdateResourceRequest represents a request for the provider to update a
Expand All @@ -60,14 +63,17 @@ type UpdateResourceRequest struct {
// This configuration may contain unknown values if a user uses
// interpolation or other functionality that would prevent Terraform
// from knowing the value at request time.
Config Config
// TODO uncomment when implemented
// Config Config

// Plan is the planned state for the resource.
Plan Plan
// TODO uncomment when implemented
// Plan Plan

// State is the current state of the resource prior to the Update
// operation.
State State
// TODO uncomment when implemented
// State State
}

// DeleteResourceRequest represents a request for the provider to delete a
Expand All @@ -79,5 +85,6 @@ type DeleteResourceRequest struct {
// This configuration may contain unknown values if a user uses
// interpolation or other functionality that would prevent Terraform
// from knowing the value at request time.
Config Config
// TODO uncomment when implemented
// Config Config
}
9 changes: 6 additions & 3 deletions response.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ type CreateResourceResponse struct {
// State is the state of the resource following the Create operation.
// This field is pre-populated from CreateResourceRequest.Plan and
// should be set during the resource's Create operation.
State State
// TODO uncomment when implemented
// State State

// Diagnostics report errors or warnings related to creating the
// resource. An empty slice indicates a successful operation with no
Expand Down Expand Up @@ -124,7 +125,8 @@ type ReadResourceResponse struct {
// State is the state of the resource following the Read operation.
// This field is pre-populated from ReadResourceRequest.State and
// should be set during the resource's Read operation.
State State
// TODO uncomment when implemented
// State State

// Diagnostics report errors or warnings related to reading the
// resource. An empty slice indicates a successful operation with no
Expand Down Expand Up @@ -182,7 +184,8 @@ type UpdateResourceResponse struct {
// State is the state of the resource following the Update operation.
// This field is pre-populated from UpdateResourceRequest.Plan and
// should be set during the resource's Update operation.
State State
// TODO uncomment when implemented
// State State

// Diagnostics report errors or warnings related to updating the
// resource. An empty slice indicates a successful operation with no
Expand Down

0 comments on commit d516c23

Please sign in to comment.