Documentation ¶
Index ¶
- func GetNewRC(deployment experimental.Deployment, c client.Interface) (*api.ReplicationController, error)
- func GetNewRCTemplate(deployment experimental.Deployment) *api.PodTemplateSpec
- func GetOldRCs(deployment experimental.Deployment, c client.Interface) ([]*api.ReplicationController, error)
- func GetPodTemplateSpecHash(template *api.PodTemplateSpec) uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNewRC ¶
func GetNewRC(deployment experimental.Deployment, c client.Interface) (*api.ReplicationController, error)
Returns an RC that matches the intent of the given deployment. Returns nil if the new RC doesnt exist yet.
func GetNewRCTemplate ¶
func GetNewRCTemplate(deployment experimental.Deployment) *api.PodTemplateSpec
Returns the desired PodTemplateSpec for the new RC corresponding to the given RC.
func GetOldRCs ¶
func GetOldRCs(deployment experimental.Deployment, c client.Interface) ([]*api.ReplicationController, error)
Returns the old RCs targetted by the given Deployment.
func GetPodTemplateSpecHash ¶
func GetPodTemplateSpecHash(template *api.PodTemplateSpec) uint32
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.