func()

in ec/provider.go [129:175]


func (p *Provider) Schema(_ context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse) {
	resp.Schema = schema.Schema{
		Attributes: map[string]schema.Attribute{
			"endpoint": schema.StringAttribute{
				Description: fmt.Sprintf(endpointDesc, api.ESSEndpoint),
				Optional:    true,
				Validators: []validator.String{
					validators.IsURLWithSchemeValidator(validURLSchemes),
				},
			},
			"apikey": schema.StringAttribute{
				Description: apikeyDesc,
				Optional:    true,
				Sensitive:   true,
			},
			"username": schema.StringAttribute{
				Description: usernameDesc,
				Optional:    true,
			},
			"password": schema.StringAttribute{
				Description: passwordDesc,
				Optional:    true,
				Sensitive:   true,
			},
			"insecure": schema.BoolAttribute{
				Description: insecureDesc,
				Optional:    true,
			},
			"timeout": schema.StringAttribute{
				Description: timeoutDesc,
				Optional:    true,
			},
			"verbose": schema.BoolAttribute{
				Description: verboseDesc,
				Optional:    true,
			},
			"verbose_credentials": schema.BoolAttribute{
				Description: verboseCredsDesc,
				Optional:    true,
			},
			"verbose_file": schema.StringAttribute{
				Description: timeoutDesc,
				Optional:    true,
			},
		},
	}
}