Skip to content

Commit

Permalink
remove unused def types
Browse files Browse the repository at this point in the history
  • Loading branch information
cmonty-paypal committed Jul 17, 2024
1 parent 2622636 commit 2b966a3
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions pkg/sdk/authentication_policies_def.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,67 +4,9 @@ import g "github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/sdk/poc/gen

//go:generate go run ./poc/main.go

type AuthenticationMethodsOption string

var AuthenticationMethodsOptionDef = g.NewQueryStruct("AuthenticationMethods").Text("Method", g.KeywordOptions().SingleQuotes())

const (
AuthenticationMethodsAll AuthenticationMethodsOption = "ALL"
AuthenticationMethodsSaml AuthenticationMethodsOption = "SAML"
AuthenticationMethodsPassword AuthenticationMethodsOption = "PASSWORD"
AuthenticationMethodsOauth AuthenticationMethodsOption = "OAUTH"
AuthenticationMethodsKeyPair AuthenticationMethodsOption = "KEYPAIR"
)

var AllAuthenticationMethods = []AuthenticationMethodsOption{
AuthenticationMethodsAll,
AuthenticationMethodsSaml,
AuthenticationMethodsPassword,
AuthenticationMethodsOauth,
AuthenticationMethodsKeyPair,
}

type MfaAuthenticationMethodsOption string

var MfaAuthenticationMethodsOptionDef = g.NewQueryStruct("MfaAuthenticationMethods").Text("Method", g.KeywordOptions().SingleQuotes())

const (
MfaAuthenticationMethodsAll MfaAuthenticationMethodsOption = "ALL"
MfaAuthenticationMethodsSaml MfaAuthenticationMethodsOption = "SAML"
MfaAuthenticationMethodsPassword MfaAuthenticationMethodsOption = "PASSWORD"
)

var AllMfaAuthenticationMethods = []MfaAuthenticationMethodsOption{
MfaAuthenticationMethodsAll,
MfaAuthenticationMethodsSaml,
MfaAuthenticationMethodsPassword,
}

type MfaEnrollmentOption string

const (
MfaEnrollmentRequired MfaEnrollmentOption = "REQUIRED"
MfaEnrollmentOptional MfaEnrollmentOption = "OPTIONAL"
)

type ClientTypesOption string

var ClientTypesOptionDef = g.NewQueryStruct("ClientTypes").Text("ClientType", g.KeywordOptions().SingleQuotes())

const (
ClientTypesAll ClientTypesOption = "ALL"
ClientTypesSnowflakeUi ClientTypesOption = "SNOWFLAKE_UI"
ClientTypesDrivers ClientTypesOption = "DRIVERS"
ClientTypesSnowSql ClientTypesOption = "SNOWSQL"
)

var AllClientTypes = []ClientTypesOption{
ClientTypesAll,
ClientTypesSnowflakeUi,
ClientTypesDrivers,
ClientTypesSnowSql,
}

var SecurityIntegrationsOptionDef = g.NewQueryStruct("SecurityIntegrationsOption").Text("Name", g.KeywordOptions().SingleQuotes())

var (
Expand Down

0 comments on commit 2b966a3

Please sign in to comment.