package
2.7.0+incompatible
Repository: https://github.com/kubernetes/dashboard.git
Documentation: pkg.go.dev
# Functions
DeployApp deploys an app based on the given configuration.
DeployAppFromFile deploys an app based on the given yaml or json file.
FindNewReplicaSet returns the new RS this given deployment targets (the one with the same pod template).
FindOldReplicaSets returns the old replica sets targeted by the given Deployment, with the given slice of RSes.
GetAvailableProtocols returns list of available protocols.
GetDeploymentDetail returns model object of deployment and error, if any.
GetDeploymentList returns a list of all Deployments in the cluster.
GetDeploymentListFromChannels returns a list of all Deployments in the cluster reading required resource list once from the channels.
GetDeploymentNewReplicaSet returns old replica sets targeting Deployment with given name.
GetDeploymentOldReplicaSets returns old replica sets targeting Deployment with given name.
GetDeploymentPods returns list of pods targeting deployment.
GetNewReplicaSetTemplate returns the desired PodTemplateSpec for the new ReplicaSet corresponding to the given ReplicaSet.
GetReplicaSetFromDeployment return all replicaSet which is belong to the deployment.
GetStatusInfo is used to get the status information from the *apps.DeploymentStatus.
PauseDeployment is used to pause a deployment.
RestartDeployment restarts a deployment in the manner of `kubectl rollout restart`.
ResumeDeployment is used to resume a deployment.
RollbackDeployment rollback to a specific ReplicaSet revision.
# Constants
DescriptionAnnotationKey is annotation key for a description.
FirstRevision is a first revision number.
RestartedAtAnnotationKey is an annotation key for rollout restart.
RevisionAnnotationKey is an annotation key for rollout targeted or resulted revision.
# Structs
AppDeploymentFromFileResponse is a specification for deployment from file.
AppDeploymentFromFileSpec is a specification for deployment from file.
AppDeploymentSpec is a specification for an app deployment.
Deployment is a presentation layer view of Kubernetes Deployment resource.
DeploymentDetail is a presentation layer view of Kubernetes Deployment resource.
DeploymentList contains a list of Deployments in the cluster.
EnvironmentVariable represents a named variable accessible for containers.
Label is a structure representing label assignable to Pod/RC/Service.
PortMapping is a specification of port mapping for an application deployment.
Protocols is a structure representing supported protocol types for a service.
RollingUpdateStrategy is behavior of a rolling update.
RolloutSpec is a specification for deployment rollout.
StatusInfo is the status information of the deployment.