client

package
v0.0.0-...-b68d707 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connection

func Connection() *kubernetes.Clientset

Connection - Creates connection and returns ClientSet

func ExternalConnection

func ExternalConnection() *kubernetes.Clientset

ExternalConnection - Creates connection and returns ClientSet

func HomeDir

func HomeDir() string

HomeDir - returns the running user's home directory

func MarshalAndSetJson

func MarshalAndSetJson(c *gin.Context, data []byte)

MarshalAndSetJson ... helper method that un-marshals JSON and returns to browser

func MarshalAndSetJsonSansGin

func MarshalAndSetJsonSansGin(data []byte) (map[string]interface{}, error)

MarshalAndSetJson ... helper method that un-marshals JSON and returns to browser

func RedisClient

func RedisClient() *redis.Client

RedisClient ... return instance of standard Redis client

func RedisTSClient

func RedisTSClient() *redistimeseries.Client

RedisTSClient ... return instance of time series Redis client

Types

This section is empty.

Jump to

Keyboard shortcuts

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