Module: check_mk
Branch: master
Commit: 63f338aba414d1f344b77148b7cc1e0821588343
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=63f338aba414d1…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Mon Nov 26 12:09:28 2018 +0100
agent_kubernetes: Add classes, use transformation and fix generic type
Add individual classes for Pods, Namespaces etc. and use the previously
defined transformation function. Furthermore, the generic type ListElem
is fixed in the subclasses and the type annotations are corrected.
CMK-1308
Change-Id: Iefe5a25884e0d35be7fba49e2a36bd26aea93d24
---
agents/special/agent_kubernetes | 464 +++++++++++++--------
.../kubernetes/client/models/v1_namespace.pyi | 5 +-
.../client/models/v1_namespace_status.pyi | 4 +-
.../kubernetes/client/models/v1_object_meta.pyi | 5 +-
.../client/models/v1_persistent_volume.pyi | 13 +-
.../client/models/v1_persistent_volume_claim.pyi | 13 +-
.../models/v1_persistent_volume_claim_spec.pyi | 18 +-
.../models/v1_persistent_volume_claim_status.pyi | 19 +-
.../client/models/v1_persistent_volume_spec.pyi | 10 +-
.../client/models/v1_persistent_volume_status.pyi | 4 +-
.../kubernetes/client/models/v1_storage_class.pyi | 22 +-
11 files changed, 347 insertions(+), 230 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=63f338aba4…