config

package
v0.0.0-...-36c7bc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientSet

func GetClientSet() (kubernetes.Interface, error)

GetClientSet Generates a clientset from the Kubeconfig

Types

type JeevesConfig

type JeevesConfig struct {
	JobNamespace         string               `json:",omitempty"`
	SlackApi             *slack.Client        `json:",omitempty"`
	SlackSigningToken    string               `json:",omitempty"`
	SlackChannelID       string               `json:",omitempty"`
	K8sClientSet         kubernetes.Interface `json:",omitempty"`
	GithubSecretKey      string               `json:",omitempty"`
	GithubPrivateKey     string               `json:",omitempty"`
	GithubApplicationID  string               `json:",omitempty"`
	GithubInstallationID int64                `json:",omitempty"`
}

func (*JeevesConfig) GetConfig

func (cfg *JeevesConfig) GetConfig() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL