tilt

package
v0.0.0-...-9678aba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL