Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` // Aggregate information about pods belonging to this Deployment. Pods common.PodInfo `json:"pods"` // Container images of the Deployment. ContainerImages []string `json:"containerImages"` }
Deployment is a presentation layer view of Kubernetes Deployment resource. This means it is Deployment plus additional augumented data we can get from other sources (like services that target the same pods).
type DeploymentList ¶
type DeploymentList struct { // Unordered list of Deployments. Deployments []Deployment `json:"deployments"` }
ReplicationSetList contains a list of Deployments in the cluster.
func GetDeploymentList ¶
func GetDeploymentList(client client.Interface) (*DeploymentList, error)
GetDeploymentList returns a list of all Deployments in the cluster.
func GetDeploymentListFromChannels ¶
func GetDeploymentListFromChannels(channels *common.ResourceChannels) ( *DeploymentList, error)
GetDeploymentList returns a list of all Deployments in the cluster reading required resource list once from the channels.
Click to show internal directories.
Click to hide internal directories.