Versions in this module Expand all Collapse all v1 v1.0.2 May 5, 2022 Changes in this version + func DeleteCollectionDeployment(client *kubernetes.Clientset, deploymentList []k8s.RemoveDeploymentData) (err error) + func DeleteDeployment(client *kubernetes.Clientset, ns string, deploymentName string) (err error) + func RestartDeployment(client *kubernetes.Clientset, deploymentName string, namespace string) (err error) + func RollbackDeployment(client *kubernetes.Clientset, deploymentName string, namespace string, ...) (err error) + func ScaleDeployment(client *kubernetes.Clientset, ns string, deploymentName string, ...) (err error) + type Deployment struct + ContainerImages []string + DeploymentStatus DeploymentStatus + InitContainerImages []string + ObjectMeta k8s.ObjectMeta + Pods k8scommon.PodInfo + TypeMeta k8s.TypeMeta + type DeploymentCell apps.Deployment + func (self DeploymentCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue + type DeploymentDetail struct + Conditions []k8scommon.Condition + Events []v1.Event + HistoryVersion []HistoryVersion + MinReadySeconds int32 + PodList *PodList + RevisionHistoryLimit *int32 + RollingUpdateStrategy *RollingUpdateStrategy + Selector map[string]string + Strategy apps.DeploymentStrategyType + SvcList *service.ServiceList + func GetDeploymentDetail(client *kubernetes.Clientset, namespace string, deploymentName string) (*DeploymentDetail, error) + type DeploymentList struct + Deployments []Deployment + ListMeta k8s.ListMeta + Status k8scommon.ResourceStatus + func GetDeploymentList(client *kubernetes.Clientset, nsQuery *k8scommon.NamespaceQuery, ...) (*DeploymentList, error) + func GetDeploymentListFromChannels(channels *k8scommon.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*DeploymentList, error) + type DeploymentStatus struct + AvailableReplicas int32 + ReadyReplicas int32 + Replicas int32 + UnavailableReplicas int32 + UpdatedReplicas int32 + type HistoryVersion struct + CreateTime metaV1.Time + Image string + Name string + Namespace string + Version int64 + type PodList struct + ListMeta k8s.ListMeta + Pods []pods.Pod + Status k8scommon.ResourceStatus + type RollingUpdateStrategy struct + MaxSurge *intstr.IntOrString + MaxUnavailable *intstr.IntOrString + type StatusInfo struct + Available int32 + Replicas int32 + Unavailable int32 + Updated int32 + func GetStatusInfo(deploymentStatus *apps.DeploymentStatus) StatusInfo