Documentation ¶
Overview ¶
Package k8sop is responsible of the implementation involving helm and Kubernetes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeploymentInfo ¶
func GetDeploymentInfo ¶
func GetDeploymentInfo(ctx context.Context, kubeConfigPath string, name string) (DeploymentInfo, error)
GetDeploymentInfo return the status of current deployments for the specific service
type ReleaseInfo ¶
type ReleaseInfo struct { Name string `json:"releaseName"` Namespace string Status string `json:"releaseStatus"` }
func ListReleases ¶
func ListReleases(ctx context.Context, kubeConfigPath string) (releaseInfo []ReleaseInfo, err error)
type ReleaseStatus ¶
type ReleaseStatus struct { Status ReleaseInfo `json:"status"` Metadata Metadata `json:"metadata"` }
type ReleaseVersion ¶
type ReleaseVersion struct { AutoScaling struct { Enabled bool MaxReplicas int MinReplicas int } ImageTag string ReplicaCount int Version int }
func ListHelmReleaseVersion ¶
func ListHelmReleaseVersion(kubeConfigPath string, name, namespace string, maxHistory int) ([]ReleaseVersion, error)
Click to show internal directories.
Click to hide internal directories.