Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourceMap = map[string]runtime.Object{ "ingresses": &v1beta1.Ingress{}, "routes": &routev1.Route{}, }
ResourceMap are resources from where changes are going to be detected
Functions ¶
func GetClient ¶
func GetClient() kubernetes.Interface
GetClient returns a k8s clientset to the request from inside of cluster
func GetClientOutOfCluster ¶
func GetClientOutOfCluster() kubernetes.Interface
GetClientOutOfCluster returns a k8s clientset to the request from outside of cluster
func GetResourceActionFuncs ¶
func GetResourceActionFuncs(resource interface{}) callbacks.ResourceActionFuncs
GetResourceActionFuncs provides the resource actions for ingress and routes
func IsOpenShift ¶
func IsOpenShift(c *kubernetes.Clientset) bool
IsOpenShift returns true if cluster is openshift based
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.