Documentation ¶
Index ¶
- func GenerateSecrets(ctx context.Context, projectRef, branch string, fsys afero.Fs) error
- func GetGitBranch(fsys afero.Fs) string
- func NewJWTToken(ref, role string, expiry time.Time) *jwt.Token
- func Run(ctx context.Context, projectRef, format string, names CustomName, ...) error
- type CustomClaims
- type CustomName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSecrets ¶
func GetGitBranch ¶
func NewJWTToken ¶
Types ¶
type CustomClaims ¶
type CustomName ¶
type CustomName struct { DbHost string `env:"db.host,default=NEXT_PUBLIC_SUPABASE_URL"` DbPassword string `env:"db.password,default=SUPABASE_DB_PASSWORD"` JWTSecret string `env:"db.password,default=SUPABASE_AUTH_JWT_SECRET"` AnonKey string `env:"auth.anon_key,default=SUPABASE_AUTH_ANON_KEY"` ServiceRoleKey string `env:"auth.service_role_key,default=SUPABASE_AUTH_SERVICE_ROLE_KEY"` }
Click to show internal directories.
Click to hide internal directories.