Documentation
¶
Index ¶
Constants ¶
View Source
const FieldManager = "haptic-prepare-upgrade"
FieldManager names the image patch so its ownership entry can be released.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IdentityReader ¶
IdentityReader reads the running binary, rather than trusting its image tag.
func ReadIdentity ¶
func ReadIdentity(containerName string) IdentityReader
type Plan ¶
type Plan struct {
Client kubernetes.Interface
Deployment *appsv1.Deployment
Container string
Image string
PullPolicy corev1.PullPolicy
Identity buildinfo.Identity
ReadIdentity IdentityReader
// contains filtered or unexported fields
}
Plan changes one container while preserving the Deployment's rollout policy.
Click to show internal directories.
Click to hide internal directories.