Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config *config
Functions ¶
Types ¶
type BackendType ¶
type BackendType string
var ( BackendTypeKubernetes BackendType = "kubernetes" BackendTypeManageIQ BackendType = "manageIQ" )
type Kubernetes ¶
type Kubernetes struct { // kubeconfig file with the context to talk to kubernetes cluster Kubeconfig string `mapstructure:"kubeconfig"` ClientSet *kubernetes.Clientset Config *restclient.Config }
func (*Kubernetes) AdminContext ¶
func (k *Kubernetes) AdminContext() *kubernetes.Clientset
func (*Kubernetes) GetTemplate ¶
func (k *Kubernetes) GetTemplate(c *gin.Context, name string)
func (*Kubernetes) UserContext ¶
func (k *Kubernetes) UserContext(c *gin.Context) (*kubernetes.Clientset, error)
Click to show internal directories.
Click to hide internal directories.