Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IstioCache ¶
type IstioCache interface {
CheckIstioResource(resource string) bool
GetIstioResources(resource string, namespace string) ([]kubernetes.IstioObject, error)
}
type KialiCache ¶
type KialiCache interface {
// Control methods
// Check if a namespace is listed to be cached; if yes, creates a cache for that namespace
CheckNamespace(namespace string) bool
// Stop all caches
Stop()
KubernetesCache
IstioCache
NamespacesCache
}
func NewKialiCache ¶
func NewKialiCache() (KialiCache, error)
type KubernetesCache ¶
type KubernetesCache interface {
GetDeployments(namespace string) ([]apps_v1.Deployment, error)
GetDeployment(namespace, name string) (*apps_v1.Deployment, error)
GetServices(namespace string, selectorLabels map[string]string) ([]core_v1.Service, error)
GetPods(namespace, labelSelector string) ([]core_v1.Pod, error)
GetReplicaSets(namespace string) ([]apps_v1.ReplicaSet, error)
}
Click to show internal directories.
Click to hide internal directories.