Documentation
¶
Index ¶
- Constants
- func LoadConfig(kubeConfigPath string) (*rest.Config, error)
- type Info
- type KubeData
- func (k *KubeData) GetInfo(ip string) (*Info, error)
- func (k *KubeData) InitFromConfig(kubeConfigPath string) error
- func (k *KubeData) NewNodeInformer(informerFactory informers.SharedInformerFactory) error
- func (k *KubeData) NewPodInformer(informerFactory informers.SharedInformerFactory) error
- func (k *KubeData) NewReplicaSetInformer(informerFactory informers.SharedInformerFactory) error
- func (k *KubeData) NewServiceInformer(informerFactory informers.SharedInformerFactory) error
- type Owner
Constants ¶
View Source
const (
IndexIP = "byIP"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeData ¶
type KubeData struct {
// contains filtered or unexported fields
}
var Data KubeData
func (*KubeData) InitFromConfig ¶
func (*KubeData) NewNodeInformer ¶
func (k *KubeData) NewNodeInformer(informerFactory informers.SharedInformerFactory) error
func (*KubeData) NewPodInformer ¶
func (k *KubeData) NewPodInformer(informerFactory informers.SharedInformerFactory) error
func (*KubeData) NewReplicaSetInformer ¶
func (k *KubeData) NewReplicaSetInformer(informerFactory informers.SharedInformerFactory) error
func (*KubeData) NewServiceInformer ¶
func (k *KubeData) NewServiceInformer(informerFactory informers.SharedInformerFactory) error
Click to show internal directories.
Click to hide internal directories.