Documentation ¶
Index ¶
- func Client() (*kubernetes.Clientset, error)
- func Config() string
- type Kube
- func (k *Kube) CreateService(ctx context.Context, namespace string, hostname string, internalname string) error
- func (k *Kube) DeleteService(ctx context.Context, namespace string, dbname string) error
- func (k *Kube) GetSecret(ctx context.Context, namespace string, name string, key string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client() (*kubernetes.Clientset, error)
Types ¶
type Kube ¶
type Kube struct {
Client *kubernetes.Clientset
}
func (*Kube) CreateService ¶
func (k *Kube) CreateService(ctx context.Context, namespace string, hostname string, internalname string) error
CreateService Creates or updates a service in Kubernetes with the new information
func (*Kube) DeleteService ¶
Click to show internal directories.
Click to hide internal directories.