config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubernetesClient

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

GetKubernetesClient returns a Kubernetes Clientset in order to interact with Kubernetes resources

Types

type Config

type Config struct {
	AtlasPublicKey  string
	AtlasPrivateKey string
}

func (*Config) NewMongoDBAtlasClient

func (c *Config) NewMongoDBAtlasClient() *ma.Client

NewMongoDBAtlasClient returns a REST API client for MongoDB Atlas

Jump to

Keyboard shortcuts

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