Documentation
¶
Index ¶
- func AddGitHubFlags(flags *[]cli.Flag)
- func AddHttpFlags(flags *[]cli.Flag)
- func AddHttpsFlags(flags *[]cli.Flag)
- func AddMongoFlags(flags *[]cli.Flag)
- func AddOktaFlags(flags *[]cli.Flag)
- func AddPostgresFlags(flags *[]cli.Flag)
- type GitHubOpts
- type HttpOpts
- type HttpsOpts
- type MongoOpts
- type OktaOpts
- type PostgresOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGitHubFlags ¶
func AddGitHubFlags(flags *[]cli.Flag)
func AddHttpFlags ¶
func AddHttpFlags(flags *[]cli.Flag)
func AddHttpsFlags ¶
func AddHttpsFlags(flags *[]cli.Flag)
func AddMongoFlags ¶
func AddMongoFlags(flags *[]cli.Flag)
func AddOktaFlags ¶
func AddOktaFlags(flags *[]cli.Flag)
AddOktaFlags adds the Okta-specific command line arguments to the cobra.Command.
func AddPostgresFlags ¶
func AddPostgresFlags(flags *[]cli.Flag)
Types ¶
type GitHubOpts ¶
func GetGitHubOpts ¶
func GetGitHubOpts(c *cli.Context) *GitHubOpts
func NewDefaultGitHubOpts ¶
func NewDefaultGitHubOpts() *GitHubOpts
NewDefaultGitHubOpts returns a new GitHubOpts with default values
type HttpOpts ¶
type HttpOpts struct {
HttpPort int
}
func GetHttpOpts ¶
func GetHttpOpts(c *cli.Context) *HttpOpts
func NewDefaultHttpOpts ¶
func NewDefaultHttpOpts() *HttpOpts
type HttpsOpts ¶
func GetHttpsOpts ¶
func GetHttpsOpts(c *cli.Context) *HttpsOpts
func NewDefaultHttpsOpts ¶
func NewDefaultHttpsOpts() *HttpsOpts
type MongoOpts ¶
func GetMongoOpts ¶
func GetMongoOpts(c *cli.Context) *MongoOpts
func NewDefaultMongoOpts ¶
func NewDefaultMongoOpts() *MongoOpts
type OktaOpts ¶
type OktaOpts struct { OktaClientID string OktaClientIDFile string OktaClientSecret string OktaClientSecretFile string OktaIssuer string OktaRedirectURL string OktaLogoutRedirectURL string OktaAPIPath string }
OktaOpts is the options for accessing Okta
func GetOktaOpts ¶
func GetOktaOpts(c *cli.Context) *OktaOpts
GetOktaOpts parses the cobra.Command and returns the OktaOpts.
func NewDefaultOktaOpts ¶
func NewDefaultOktaOpts() *OktaOpts
NewDefaultOktaOpts returns a new OktaOpts with default values
type PostgresOpts ¶
type PostgresOpts struct { PostgresHost string PostgresPort int PostgresUsername string PostgresPassword string PostgresDBName string }
func GetPostgresOpts ¶
func GetPostgresOpts(c *cli.Context) *PostgresOpts
func NewDefaultPostgresOpts ¶
func NewDefaultPostgresOpts() *PostgresOpts
func (*PostgresOpts) ConnectionString ¶
func (p *PostgresOpts) ConnectionString() string
func (*PostgresOpts) ConnectionStringWithoutDBName ¶
func (p *PostgresOpts) ConnectionStringWithoutDBName() string
Click to show internal directories.
Click to hide internal directories.