Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArgAnalyticCSVOutputFilePath = &cobraviper.StringArgument{
ArgumentName: "csv-file",
Usage: "File path of the output csv file",
}
View Source
var ArgAnalyticGoogleOAuthClientCredentialsJSONFilePath = &cobraviper.StringArgument{
ArgumentName: "google-client-credentials-file",
Usage: "File path of client_credentials.json, the file can be downloaded from https://console.developers.google.com, under \"Credentials\"",
DefaultValue: "./client_credentials.json",
}
View Source
var ArgAnalyticGoogleOAuthTokenFilePath = &cobraviper.StringArgument{
ArgumentName: "google-token-file",
Usage: "File path of oauth token file in json format",
DefaultValue: "./token.json",
}
View Source
var ArgAnalyticGoogleSpreadsheetID = &cobraviper.StringArgument{
ArgumentName: "google-spreadsheet-id",
Usage: "The ID of the spreadsheet to update",
}
View Source
var ArgAnalyticGoogleSpreadsheetRange = &cobraviper.StringArgument{
ArgumentName: "google-spreadsheet-range",
Usage: "The A1 notation of a range to search for a logical table of data.",
}
View Source
var ArgAnalyticOutputType = &cobraviper.StringArgument{
ArgumentName: "output-type",
Usage: "Output format of the report, currently supports csv and google-sheets",
DefaultValue: "csv",
}
View Source
var ArgAnalyticPeriod = &cobraviper.StringArgument{
ArgumentName: "period",
Usage: "The period of the report",
}
View Source
var ArgAnalyticPortalAppID = &cobraviper.StringArgument{
ArgumentName: "portal-app-id",
Usage: "The portal authgear app id",
DefaultValue: "accounts",
}
View Source
var ArgAnalyticRedisURL = &cobraviper.StringArgument{
ArgumentName: "analytic-redis-url",
EnvName: "ANALYTIC_REDIS_URL",
Usage: "Analytic Redis URL",
}
View Source
var ArgApexDomain = &cobraviper.StringArgument{
ArgumentName: "apex-domain",
Usage: "The apex domain of the domain. It must NOT contain a port number.",
}
View Source
var ArgAppHostSuffix = &cobraviper.StringArgument{
ArgumentName: "app-host-suffix",
Usage: "App host suffix",
}
View Source
var ArgAuditDatabaseSchema = &cobraviper.StringArgument{
ArgumentName: "audit-database-schema",
EnvName: "AUDIT_DATABASE_SCHEMA",
Usage: "Audit Database schema",
}
View Source
var ArgAuditDatabaseURL = &cobraviper.StringArgument{
ArgumentName: "audit-database-url",
EnvName: "AUDIT_DATABASE_URL",
Usage: "Audit Database URL",
}
View Source
var ArgDataJSONFilePath = &cobraviper.StringArgument{
ArgumentName: "data-json-file",
Short: "f",
Usage: "File path of the database config source data JSON file",
}
View Source
var ArgDatabaseSchema = &cobraviper.StringArgument{
ArgumentName: "database-schema",
EnvName: "DATABASE_SCHEMA",
Usage: "Database schema",
}
View Source
var ArgDatabaseURL = &cobraviper.StringArgument{
ArgumentName: "database-url",
EnvName: "DATABASE_URL",
Usage: "Database URL",
}
View Source
var ArgDefaultDomainSuffix = &cobraviper.StringArgument{
ArgumentName: "default-domain-suffix",
Usage: "e.g. .localhost It must NOT contain a port number.",
}
View Source
var ArgDomain = &cobraviper.StringArgument{
ArgumentName: "domain",
Usage: "It must NOT contain a port number.",
}
View Source
var ArgFeatureConfigFilePath = &cobraviper.StringArgument{
ArgumentName: "file",
Usage: "Feature config file path",
}
View Source
var ArgInputDirectoryPath = &cobraviper.StringArgument{
ArgumentName: "input-directory",
Short: "i",
Usage: "File path of the input directory",
}
View Source
var ArgKubeconfig = &cobraviper.StringArgument{
ArgumentName: "kubeconfig",
EnvName: "KUBECONFIG",
Usage: "Path to kubeconfig",
}
View Source
var ArgNamespace = &cobraviper.StringArgument{
ArgumentName: "namespace",
EnvName: "NAMESPACE",
Usage: "Namespace",
}
View Source
var ArgOutputDirectoryPath = &cobraviper.StringArgument{
ArgumentName: "output-directory",
Short: "o",
Usage: "File path of the output directory",
}
View Source
var ArgPlanName = &cobraviper.StringArgument{
ArgumentName: "plan-name",
Usage: "Plan name",
}
View Source
var ArgPlanNameForAppUpdate = &cobraviper.StringArgument{
ArgumentName: "plan-name",
Usage: "Plan name",
DefaultValue: "custom",
}
View Source
var ArgPosthogAPIKey = &cobraviper.StringArgument{
ArgumentName: "posthog-api-key",
EnvName: "POSTHOG_API_KEY",
Usage: "Posthog API Key",
}
View Source
var ArgPosthogEndpoint = &cobraviper.StringArgument{
ArgumentName: "posthog-endpoint",
EnvName: "POSTHOG_ENDPOINT",
Usage: "Posthog endpoint",
}
View Source
var ArgStripeSecretKey = &cobraviper.StringArgument{
ArgumentName: "stripe-secret-key",
EnvName: "STRIPE_SECRET_KEY",
Usage: "Stripe secret key",
}
View Source
var Root = &cobra.Command{ Use: "authgear-portal", Version: version.Version, }
Functions ¶
func GetBinder ¶
func GetBinder() *cobraviper.Binder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.