func New(version string) func() *schema.Provider {
	return func() *schema.Provider {
		p := &schema.Provider{
			Schema: map[string]*schema.Schema{
				"gitcrypt_key_base64": &schema.Schema{
					Type:     schema.TypeString,
					Required: true,
					DefaultFunc: schema.MultiEnvDefaultFunc([]string{
						"GIT_CRYPT_KEY_BASE64",
						"KEY_BASE64",
					}, nil),
				},
			},
			DataSourcesMap: map[string]*schema.Resource{
				"gitcrypt_encrypted_file": dataSourceEncryptedFile(),
			},
			ResourcesMap: map[string]*schema.Resource{},
		}
		p.ConfigureContextFunc = configure(version, p)

		return p
	}
}
// New git-crypt provider
New git-crypt provider
// New git - crypt provider
func New(version string) func() *schema.Provider {
	return func() *schema.Provider {
		p := &schema.Provider{
			Schema: map[string]*schema.Schema{
				"gitcrypt_key_base64": &schema.Schema{
					Type:     schema.TypeString,
					Required: true,
					DefaultFunc: schema.MultiEnvDefaultFunc([]string{
						"GIT_CRYPT_KEY_BASE64",
						"KEY_BASE64",
					}, nil),
				},
			},
			DataSourcesMap: map[string]*schema.Resource{
				"gitcrypt_encrypted_file": dataSourceEncryptedFile(),
			},
			ResourcesMap: map[string]*schema.Resource{},
		}
		p.ConfigureContextFunc = configure(version, p)
		return p
	}
}
func New ( version string ) func ( ) * schema . Provider { return func ( ) * schema . Provider { p := & schema . Provider { Schema : map [ string ] * schema . Schema { " " : & schema . Schema { Type : schema . TypeString , Required : true , DefaultFunc : schema . MultiEnvDefaultFunc ( [ ] string { " " , " " , } , nil ) , } , } , DataSourcesMap : map [ string ] * schema . Resource { " " : dataSourceEncryptedFile ( ) , } , ResourcesMap : map [ string ] * schema . Resource { } , } p . ConfigureContextFunc = configure ( version , p ) return p } }
New git-crypt provider
New git - crypt provider