Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfigNotFound = errors.New("configuration file .tfprovidercheck.yaml isn't found") ErrProviderNameIsRequired = errors.New("providers[].name is required") ErrDisallowedProvider = errors.New("this Terraform Provider is disallowed") ErrDisallowedProviderVersion = errors.New("this Terraform Provider version is disallowed") )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(fs afero.Fs) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(_ context.Context, _ *logrus.Entry, param *ParamRun, vout *TerraformVersionOutput) error
type TerraformVersionOutput ¶
type TerraformVersionOutput struct { // https://github.com/hashicorp/terraform/blob/05f877166dec78b571ca36ca4922ece8b83fd0f8/internal/command/version.go#L28-L33 ProviderSelections map[string]string `json:"provider_selections"` }
Click to show internal directories.
Click to hide internal directories.