- Add Kubernetes client module for interacting with kubectl - Implement methods to get cluster info, pods, deployments, and services - Create a Kubernetes example script demonstrating client usage - Add JSON response structs for parsing kubectl output - Define runtime resource structs (Pod, Deployment, Service) for structured data - Include comprehensive unit tests for data structures and client logic
12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
|
|
!!hero_code.generate_client
|
|
name:''
|
|
classname:'KubeClient'
|
|
singleton:0
|
|
templates:1
|
|
default:1
|
|
title:''
|
|
supported_platforms:''
|
|
startupmanager:1
|
|
hasconfig:1
|
|
build:1 |