Documentation ¶
Index ¶
Constants ¶
View Source
const TiltPodTemplateHashLabel = "tilt.dev/pod-template-hash"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectRefTree ¶
type ObjectRefTree struct { Ref v1.ObjectReference Owners []ObjectRefTree }
The ObjectRefTree only contains immutable properties of a Kubernetes object: the name, namespace, and UID
func (ObjectRefTree) ContainsUID ¶
func (t ObjectRefTree) ContainsUID(uid types.UID) bool
func (ObjectRefTree) String ¶
func (t ObjectRefTree) String() string
type OwnerFetcher ¶
type OwnerFetcher struct {
// contains filtered or unexported fields
}
func NewOwnerFetcher ¶
func NewOwnerFetcher(ctx context.Context, config *rest.Config) OwnerFetcher
func (OwnerFetcher) OwnerTreeOf ¶
func (v OwnerFetcher) OwnerTreeOf(ctx context.Context, obj runtime.Object) (result ObjectRefTree, err error)
func (OwnerFetcher) OwnerTreeOfRef ¶
func (v OwnerFetcher) OwnerTreeOfRef(ctx context.Context, ref v1.ObjectReference) (result ObjectRefTree, err error)
type PodTemplateSpecHash ¶
type PodTemplateSpecHash string
func HashPodTemplateSpec ¶
func HashPodTemplateSpec(spec *v1.PodTemplateSpec) (PodTemplateSpecHash, error)
Click to show internal directories.
Click to hide internal directories.