deployment

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeployment added in v0.1.0

func GetDeployment(
	clientset kubernetes.Interface,
	namespace string,
	name string,
	templateStr string,
) *mcp.CallToolResult

func ListDeployments added in v0.1.0

func ListDeployments(clientset kubernetes.Interface, namespace string) *mcp.CallToolResult

Types

type DeploymentInList

type DeploymentInList struct {
	Name              string `json:"name"`
	Namespace         string `json:"namespace"`
	Age               string `json:"age"`
	DesiredReplicas   int    `json:"desired_replicas"`
	ReadyReplicas     int    `json:"ready_replicas"`
	UpdatedReplicas   int    `json:"updated_replicas"`
	AvailableReplicas int    `json:"available_replicas"`
	CreatedAt         string `json:"created_at"`
}

DeploymentInList provides a structured representation of Deployment information

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL