Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyFixer ¶
type DummyFixer struct{}
func (DummyFixer) FixDefinition ¶
func (d DummyFixer) FixDefinition(_ context.Context, req FixDefinitionRequest) (*FixDefinitionResponse, error)
func (DummyFixer) FixReferenceOrigins ¶
func (d DummyFixer) FixReferenceOrigins(_ context.Context, req FixReferenceOriginsRequest) (*FixReferenceOriginsResponse, error)
type FixDefinitionRequest ¶
type FixDefinitionResponse ¶
type FixDefinitionResponse struct { // The updated raw HCL content of this block definition RawContent []byte }
type FixReferenceOriginsResponse ¶
type FixReferenceOriginsResponse struct { // The updated raw HCL contents of each reference origin RawContents [][]byte }
type Fixer ¶
type Fixer interface { FixReferenceOrigins(context.Context, FixReferenceOriginsRequest) (*FixReferenceOriginsResponse, error) FixDefinition(context.Context, FixDefinitionRequest) (*FixDefinitionResponse, error) }
type ProviderFixer ¶
type ProviderFixer struct {
// contains filtered or unexported fields
}
func NewProviderFixer ¶
func NewProviderFixer(c tfclient.Client) (*ProviderFixer, error)
func (ProviderFixer) FixDefinition ¶
func (p ProviderFixer) FixDefinition(ctx context.Context, req FixDefinitionRequest) (*FixDefinitionResponse, error)
func (ProviderFixer) FixReferenceOrigins ¶
func (p ProviderFixer) FixReferenceOrigins(ctx context.Context, req FixReferenceOriginsRequest) (*FixReferenceOriginsResponse, error)
Click to show internal directories.
Click to hide internal directories.