Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KubeBurst = 10
View Source
var KubeContentType = "application/vnd.kubernetes.protobuf"
View Source
var KubeMaster = ""
View Source
var KubeQPS = float32(5.000000)
View Source
var Kubeconfig = ""
Functions ¶
func GetTwitterClient ¶
func GetTwitterClient(creds *Credentials) (*twitter.Client, error)
GetTwitterClient is a helper function that will return a twitter client that we can subsequently use to stream new tweets this will take in a pointer to a Credential struct which will contain everything needed to authenticate and return a pointer to a twitter Client or an error
func NewCRDClient ¶
func NewCRDClient(cfg *rest.Config) (*rest.RESTClient, error)
NewCRDClient is used to create a restClient for crd
func ReadSecretKey ¶
ReadSecretKey is a helper function that will return the value of the key passed in as an argument. The keys in this case are secrets containing the Twitter credentials for authentication.
Types ¶
Click to show internal directories.
Click to hide internal directories.