Documentation ¶
Index ¶
Constants ¶
View Source
const ( SERVICE = "Service" POD = "Pod" REPLICASET = "ReplicaSet" DEPLOYMENT = "Deployment" ENDPOINTS = "Endpoints" CONTAINER = "Container" DAEMONSET = "DaemonSet" )
View Source
const ( ADD = "Add" UPDATE = "Update" DELETE = "Delete" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8SResourceType ¶
type K8SResourceType string
type K8sCollector ¶
type K8sCollector struct { Events chan interface{} // contains filtered or unexported fields }
func NewK8sCollector ¶
func NewK8sCollector(parentCtx context.Context) (*K8sCollector, error)
func (*K8sCollector) Done ¶
func (k *K8sCollector) Done() <-chan struct{}
func (*K8sCollector) GetK8sVersion ¶ added in v0.3.1
func (k *K8sCollector) GetK8sVersion() string
func (*K8sCollector) Init ¶
func (k *K8sCollector) Init(events chan interface{}) error
type K8sNamespaceResources ¶
type K8sResourceMessage ¶
Click to show internal directories.
Click to hide internal directories.