Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureGateConfig ¶
type SystemComponentContainer ¶
type SystemComponentContainer struct { Name string FeatureGates []FeatureGateConfig }
type SystemComponentFeatureGateMartix ¶
type SystemComponentFeatureGateMartix map[string][]SystemComponentPod
func CollectRunningClusterFeatureGates ¶
func CollectRunningClusterFeatureGates(ctx context.Context, clientset *kubernetes.Clientset) (SystemComponentFeatureGateMartix, error)
CollectRunningClusterFeatureGates はKubernetesクラスタからシステムコンポーネントの情報を取ってきて、Feature Gateの設定を解析する 返り値となるMatrixは、 {"kube-apiserver": [{"feature-gate-001": "true"}, {}]}のようになる
type SystemComponentPod ¶
type SystemComponentPod struct { Name string Containers []SystemComponentContainer }
Click to show internal directories.
Click to hide internal directories.