Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { StorageFile string PublicKey string GRPCPort int HTTPPort int PodNamespace string TokenSyncPeriod string }
func (Config) TokenSyncPeriodDuration ¶
type GithubOAuthConfig ¶
type GithubOAuthConfig struct { ClientID string `yaml:"client_id" json:"clientId" envconfig:"CLIENT_ID"` ClientSecret string `yaml:"client_secret" json:"clientSecret" envconfig:"CLIENT_SECRET"` Scopes []string `yaml:"scopes" json:"scopes" envconfig:"SCOPES"` RedirectURL string `yaml:"redirect_url" json:"redirectUrl" envconfig:"REDIRECT_URL"` }
func (*GithubOAuthConfig) GetConfig ¶
func (cfg *GithubOAuthConfig) GetConfig() *oauth2.Config
Click to show internal directories.
Click to hide internal directories.