k8s-rds: github.com/sorenmat/k8s-rds/kube Index | Files

package kube

import "github.com/sorenmat/k8s-rds/kube"


Package Files

client.go service.go

func Client Uses

func Client() (*kubernetes.Clientset, error)

func Config Uses

func Config() string

type Kube Uses

type Kube struct {
    Client *kubernetes.Clientset

func (*Kube) CreateService Uses

func (k *Kube) CreateService(namespace string, hostname string, internalname string) error

CreateService Creates or updates a service in Kubernetes with the new information

func (*Kube) DeleteService Uses

func (k *Kube) DeleteService(namespace string, dbname string) error

func (*Kube) GetSecret Uses

func (k *Kube) GetSecret(namespace string, name string, key string) (string, error)

Package kube imports 10 packages (graph) and is imported by 3 packages. Updated 2019-04-08. Refresh now. Tools for package owners.