Documentation
¶
Index ¶
- func Migrate(migrationsDir string, conf *config.Config, logger *logrus.Logger)
- func Run(conf *config.Config, logger *logrus.Logger)
- type Api
- func (c *Api) Authority(w http.ResponseWriter, r *http.Request)
- func (c *Api) CreateGitHubClient() *githubv4.Client
- func (c *Api) Enroll(w http.ResponseWriter, r *http.Request)
- func (c *Api) EnrollHost(hostname string, r *http.Request) (string, error)
- func (c *Api) EnrollUser(w http.ResponseWriter, r *http.Request)
- func (c *Api) GetKnownHosts() (string, error)
- func (c *Api) KnownHosts(w http.ResponseWriter, r *http.Request)
- func (c *Api) RetrieveGitHubUsername(ssoIdentity string) (string, error)
- func (c *Api) StartGitHubUserMappingSyncJob() error
- func (c *Api) Status(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func (*Api) CreateGitHubClient ¶
func (*Api) EnrollUser ¶
func (c *Api) EnrollUser(w http.ResponseWriter, r *http.Request)
func (*Api) GetKnownHosts ¶
func (*Api) KnownHosts ¶
func (c *Api) KnownHosts(w http.ResponseWriter, r *http.Request)
func (*Api) RetrieveGitHubUsername ¶
func (*Api) StartGitHubUserMappingSyncJob ¶
Click to show internal directories.
Click to hide internal directories.