Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubSession ¶
type GithubSession struct { Context context.Context StaticToken oauth2.TokenSource OauthClient *http.Client GitClient *github.Client }
func InitializeGithubAPI ¶
func InitializeGithubAPI() (GithubSession, error)
func (GithubSession) CreateWebhookRepo ¶
func (g GithubSession) CreateWebhookRepo(org, repo, hookName, hookUrl, hookSecret string, hookEvents []string) error
func (GithubSession) UpdateWebhook ¶
func (g GithubSession) UpdateWebhook(owner, repo, hookName, hookUrl, lastHookUrl, hookSecret string, hookEvents []string) error
type K8sSession ¶
type K8sSession struct { Config *rest.Config ClientSet *kubernetes.Clientset }
func InitializeK8sInCluster ¶
func InitializeK8sInCluster() (K8sSession, error)
Click to show internal directories.
Click to hide internal directories.