v1alpha1

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 17 Imported by: 28

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tilt-dev/tilt/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=tilt.dev

Index

Constants

View Source
const AnnotationManifest = "tilt.dev/resource"

AnnotationManifest identifies which manifest an object's logs should appear under.

View Source
const AnnotationSpanID = "tilt.dev/log-span-id"

An annotation on any object that identifies which span id its logs should appear under.

View Source
const AnnotationTargetID = "tilt.dev/target-id"

AnnotationTargetID is an internal Tilt target ID used for the build graph.

View Source
const GroupName = "tilt.dev"

GroupName is the group name used in this package

View Source
const KubernetesApplyTimeoutDefault = 30 * time.Second
View Source
const LabelOwnerKind = "tilt.dev/owner-kind"

The label key to denote the owner of an object. We use labels for now because the Tiltfile is not a real object in the system.

View Source
const LabelOwnerKindTiltfile = "Tiltfile"

The label value to denote that the Tiltfile is the owner.

View Source
const Version = "v1alpha1"

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AddToScheme = func(scheme *runtime.Scheme) error {
	metav1.AddToGroupVersion(scheme, schema.GroupVersion{
		Group:   GroupName,
		Version: Version,
	})

	objs := []runtime.Object{}
	for _, obj := range AllResourceObjects() {
		objs = append(objs, obj)
	}
	objs = append(objs, AllResourceLists()...)

	scheme.AddKnownTypes(schema.GroupVersion{
		Group:   GroupName,
		Version: Version,
	}, objs...)
	return nil
}
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func AllResourceLists

func AllResourceLists() []runtime.Object

func AllResourceObjects

func AllResourceObjects() []resource.Object

func NewScheme added in v0.19.0

func NewScheme() *runtime.Scheme

A new scheme with just this package's types.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Cmd added in v0.18.11

type Cmd struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   CmdSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status CmdStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Cmd represents a process on the host machine.

When the process exits, we will make a best-effort attempt (within OS limitations) to kill any spawned descendant processes.

+k8s:openapi-gen=true

func (*Cmd) DeepCopy added in v0.18.11

func (in *Cmd) DeepCopy() *Cmd

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cmd.

func (*Cmd) DeepCopyInto added in v0.18.11

func (in *Cmd) DeepCopyInto(out *Cmd)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Cmd) DeepCopyObject added in v0.18.11

func (in *Cmd) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Cmd) Descriptor added in v0.20.0

func (*Cmd) Descriptor() ([]byte, []int)

func (*Cmd) GetGroupVersionResource added in v0.18.11

func (in *Cmd) GetGroupVersionResource() schema.GroupVersionResource

func (*Cmd) GetObjectMeta added in v0.18.11

func (in *Cmd) GetObjectMeta() *metav1.ObjectMeta

func (*Cmd) GetSpec added in v0.21.1

func (in *Cmd) GetSpec() interface{}

func (*Cmd) GetStatus added in v0.18.11

func (in *Cmd) GetStatus() resource.StatusSubResource

func (*Cmd) IsStorageVersion added in v0.18.11

func (in *Cmd) IsStorageVersion() bool

func (*Cmd) Marshal added in v0.20.0

func (m *Cmd) Marshal() (dAtA []byte, err error)

func (*Cmd) MarshalTo added in v0.20.0

func (m *Cmd) MarshalTo(dAtA []byte) (int, error)

func (*Cmd) MarshalToSizedBuffer added in v0.20.0

func (m *Cmd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Cmd) NamespaceScoped added in v0.18.11

func (in *Cmd) NamespaceScoped() bool

func (*Cmd) New added in v0.18.11

func (in *Cmd) New() runtime.Object

func (*Cmd) NewList added in v0.18.11

func (in *Cmd) NewList() runtime.Object

func (*Cmd) ProtoMessage added in v0.20.0

func (*Cmd) ProtoMessage()

func (*Cmd) Reset added in v0.20.0

func (m *Cmd) Reset()

func (*Cmd) Size added in v0.20.0

func (m *Cmd) Size() (n int)

func (*Cmd) String added in v0.20.0

func (this *Cmd) String() string

func (*Cmd) Unmarshal added in v0.20.0

func (m *Cmd) Unmarshal(dAtA []byte) error

func (*Cmd) Validate added in v0.18.11

func (in *Cmd) Validate(ctx context.Context) field.ErrorList

func (*Cmd) XXX_DiscardUnknown added in v0.20.0

func (m *Cmd) XXX_DiscardUnknown()

func (*Cmd) XXX_Marshal added in v0.20.0

func (m *Cmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cmd) XXX_Merge added in v0.20.0

func (m *Cmd) XXX_Merge(src proto.Message)

func (*Cmd) XXX_Size added in v0.20.0

func (m *Cmd) XXX_Size() int

func (*Cmd) XXX_Unmarshal added in v0.20.0

func (m *Cmd) XXX_Unmarshal(b []byte) error

type CmdList added in v0.18.11

type CmdList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []Cmd `json:"items" protobuf:"bytes,2,rep,name=items"`
}

CmdList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CmdList) DeepCopy added in v0.18.11

func (in *CmdList) DeepCopy() *CmdList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdList.

func (*CmdList) DeepCopyInto added in v0.18.11

func (in *CmdList) DeepCopyInto(out *CmdList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CmdList) DeepCopyObject added in v0.18.11

func (in *CmdList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CmdList) Descriptor added in v0.20.0

func (*CmdList) Descriptor() ([]byte, []int)

func (*CmdList) GetListMeta added in v0.18.11

func (in *CmdList) GetListMeta() *metav1.ListMeta

func (*CmdList) Marshal added in v0.20.0

func (m *CmdList) Marshal() (dAtA []byte, err error)

func (*CmdList) MarshalTo added in v0.20.0

func (m *CmdList) MarshalTo(dAtA []byte) (int, error)

func (*CmdList) MarshalToSizedBuffer added in v0.20.0

func (m *CmdList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CmdList) ProtoMessage added in v0.20.0

func (*CmdList) ProtoMessage()

func (*CmdList) Reset added in v0.20.0

func (m *CmdList) Reset()

func (*CmdList) Size added in v0.20.0

func (m *CmdList) Size() (n int)

func (*CmdList) String added in v0.20.0

func (this *CmdList) String() string

func (*CmdList) Unmarshal added in v0.20.0

func (m *CmdList) Unmarshal(dAtA []byte) error

func (*CmdList) XXX_DiscardUnknown added in v0.20.0

func (m *CmdList) XXX_DiscardUnknown()

func (*CmdList) XXX_Marshal added in v0.20.0

func (m *CmdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdList) XXX_Merge added in v0.20.0

func (m *CmdList) XXX_Merge(src proto.Message)

func (*CmdList) XXX_Size added in v0.20.0

func (m *CmdList) XXX_Size() int

func (*CmdList) XXX_Unmarshal added in v0.20.0

func (m *CmdList) XXX_Unmarshal(b []byte) error

type CmdSpec added in v0.18.11

type CmdSpec struct {
	// Command-line arguments. Must have length at least 1.
	Args []string `json:"args,omitempty" protobuf:"bytes,1,rep,name=args"`

	// Process working directory.
	//
	// If the working directory is not specified, the command is run
	// in the default Tilt working directory.
	//
	// +optional
	Dir string `json:"dir,omitempty" protobuf:"bytes,2,opt,name=dir"`

	// Additional variables process environment.
	//
	// Expressed as a C-style array of strings of the form ["KEY1=VALUE1", "KEY2=VALUE2", ...].
	//
	// Environment variables are layered on top of the environment variables
	// that Tilt runs with.
	//
	// +optional
	Env []string `json:"env,omitempty" protobuf:"bytes,3,rep,name=env"`

	// Periodic probe of service readiness.
	//
	// +optional
	ReadinessProbe *Probe `json:"readinessProbe,omitempty" protobuf:"bytes,4,opt,name=readinessProbe"`

	// Indicates objects that can trigger a restart of this command.
	//
	// When a restart is triggered, Tilt will try to gracefully shutdown any
	// currently running process, waiting for it to exit before starting a new
	// process. If the process doesn't shutdown within the allotted time, Tilt
	// will kill the process abruptly.
	//
	// Restarts can happen even if the command is already done.
	//
	// Logs of the current process after the restart are discarded.
	RestartOn *RestartOnSpec `json:"restartOn,omitempty" protobuf:"bytes,5,opt,name=restartOn"`

	// Indicates objects that can trigger a start/restart of this command.
	//
	// Restarts behave the same as RestartOn. The key difference is that
	// a Cmd with any StartOn triggers will not have its command run until its
	// StartOn is satisfied.
	StartOn *StartOnSpec `json:"startOn,omitempty" protobuf:"bytes,6,opt,name=startOn"`
}

CmdSpec defines how to run a local command.

func (*CmdSpec) DeepCopy added in v0.18.11

func (in *CmdSpec) DeepCopy() *CmdSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdSpec.

func (*CmdSpec) DeepCopyInto added in v0.18.11

func (in *CmdSpec) DeepCopyInto(out *CmdSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CmdSpec) Descriptor added in v0.20.0

func (*CmdSpec) Descriptor() ([]byte, []int)

func (*CmdSpec) Marshal added in v0.20.0

func (m *CmdSpec) Marshal() (dAtA []byte, err error)

func (*CmdSpec) MarshalTo added in v0.20.0

func (m *CmdSpec) MarshalTo(dAtA []byte) (int, error)

func (*CmdSpec) MarshalToSizedBuffer added in v0.20.0

func (m *CmdSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CmdSpec) ProtoMessage added in v0.20.0

func (*CmdSpec) ProtoMessage()

func (*CmdSpec) Reset added in v0.20.0

func (m *CmdSpec) Reset()

func (*CmdSpec) Size added in v0.20.0

func (m *CmdSpec) Size() (n int)

func (*CmdSpec) String added in v0.20.0

func (this *CmdSpec) String() string

func (*CmdSpec) Unmarshal added in v0.20.0

func (m *CmdSpec) Unmarshal(dAtA []byte) error

func (*CmdSpec) XXX_DiscardUnknown added in v0.20.0

func (m *CmdSpec) XXX_DiscardUnknown()

func (*CmdSpec) XXX_Marshal added in v0.20.0

func (m *CmdSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdSpec) XXX_Merge added in v0.20.0

func (m *CmdSpec) XXX_Merge(src proto.Message)

func (*CmdSpec) XXX_Size added in v0.20.0

func (m *CmdSpec) XXX_Size() int

func (*CmdSpec) XXX_Unmarshal added in v0.20.0

func (m *CmdSpec) XXX_Unmarshal(b []byte) error

type CmdStateRunning added in v0.18.11

type CmdStateRunning struct {
	// The process id of the command.
	PID int32 `json:"pid" protobuf:"varint,1,opt,name=pid"`

	// Time at which the command was last started.
	StartedAt metav1.MicroTime `json:"startedAt,omitempty" protobuf:"bytes,2,opt,name=startedAt"`
}

CmdStateRunning is a running state of a local command.

func (*CmdStateRunning) DeepCopy added in v0.18.11

func (in *CmdStateRunning) DeepCopy() *CmdStateRunning

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdStateRunning.

func (*CmdStateRunning) DeepCopyInto added in v0.18.11

func (in *CmdStateRunning) DeepCopyInto(out *CmdStateRunning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CmdStateRunning) Descriptor added in v0.20.0

func (*CmdStateRunning) Descriptor() ([]byte, []int)

func (*CmdStateRunning) Marshal added in v0.20.0

func (m *CmdStateRunning) Marshal() (dAtA []byte, err error)

func (*CmdStateRunning) MarshalTo added in v0.20.0

func (m *CmdStateRunning) MarshalTo(dAtA []byte) (int, error)

func (*CmdStateRunning) MarshalToSizedBuffer added in v0.20.0

func (m *CmdStateRunning) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CmdStateRunning) ProtoMessage added in v0.20.0

func (*CmdStateRunning) ProtoMessage()

func (*CmdStateRunning) Reset added in v0.20.0

func (m *CmdStateRunning) Reset()

func (*CmdStateRunning) Size added in v0.20.0

func (m *CmdStateRunning) Size() (n int)

func (*CmdStateRunning) String added in v0.20.0

func (this *CmdStateRunning) String() string

func (*CmdStateRunning) Unmarshal added in v0.20.0

func (m *CmdStateRunning) Unmarshal(dAtA []byte) error

func (*CmdStateRunning) XXX_DiscardUnknown added in v0.20.0

func (m *CmdStateRunning) XXX_DiscardUnknown()

func (*CmdStateRunning) XXX_Marshal added in v0.20.0

func (m *CmdStateRunning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdStateRunning) XXX_Merge added in v0.20.0

func (m *CmdStateRunning) XXX_Merge(src proto.Message)

func (*CmdStateRunning) XXX_Size added in v0.20.0

func (m *CmdStateRunning) XXX_Size() int

func (*CmdStateRunning) XXX_Unmarshal added in v0.20.0

func (m *CmdStateRunning) XXX_Unmarshal(b []byte) error

type CmdStateTerminated added in v0.18.11

type CmdStateTerminated struct {
	// The process id of the command.
	PID int32 `json:"pid" protobuf:"varint,1,opt,name=pid"`

	// Exit status from the last termination of the command
	ExitCode int32 `json:"exitCode" protobuf:"varint,2,opt,name=exitCode"`

	// Time at which previous execution of the command started
	StartedAt metav1.MicroTime `json:"startedAt,omitempty" protobuf:"bytes,3,opt,name=startedAt"`

	// Time at which the command last terminated
	FinishedAt metav1.MicroTime `json:"finishedAt,omitempty" protobuf:"bytes,4,opt,name=finishedAt"`

	// (brief) reason the process is terminated
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
}

CmdStateTerminated is a terminated state of a local command.

func (*CmdStateTerminated) DeepCopy added in v0.18.11

func (in *CmdStateTerminated) DeepCopy() *CmdStateTerminated

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdStateTerminated.

func (*CmdStateTerminated) DeepCopyInto added in v0.18.11

func (in *CmdStateTerminated) DeepCopyInto(out *CmdStateTerminated)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CmdStateTerminated) Descriptor added in v0.20.0

func (*CmdStateTerminated) Descriptor() ([]byte, []int)

func (*CmdStateTerminated) Marshal added in v0.20.0

func (m *CmdStateTerminated) Marshal() (dAtA []byte, err error)

func (*CmdStateTerminated) MarshalTo added in v0.20.0

func (m *CmdStateTerminated) MarshalTo(dAtA []byte) (int, error)

func (*CmdStateTerminated) MarshalToSizedBuffer added in v0.20.0

func (m *CmdStateTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CmdStateTerminated) ProtoMessage added in v0.20.0

func (*CmdStateTerminated) ProtoMessage()

func (*CmdStateTerminated) Reset added in v0.20.0

func (m *CmdStateTerminated) Reset()

func (*CmdStateTerminated) Size added in v0.20.0

func (m *CmdStateTerminated) Size() (n int)

func (*CmdStateTerminated) String added in v0.20.0

func (this *CmdStateTerminated) String() string

func (*CmdStateTerminated) Unmarshal added in v0.20.0

func (m *CmdStateTerminated) Unmarshal(dAtA []byte) error

func (*CmdStateTerminated) XXX_DiscardUnknown added in v0.20.0

func (m *CmdStateTerminated) XXX_DiscardUnknown()

func (*CmdStateTerminated) XXX_Marshal added in v0.20.0

func (m *CmdStateTerminated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdStateTerminated) XXX_Merge added in v0.20.0

func (m *CmdStateTerminated) XXX_Merge(src proto.Message)

func (*CmdStateTerminated) XXX_Size added in v0.20.0

func (m *CmdStateTerminated) XXX_Size() int

func (*CmdStateTerminated) XXX_Unmarshal added in v0.20.0

func (m *CmdStateTerminated) XXX_Unmarshal(b []byte) error

type CmdStateWaiting added in v0.18.11

type CmdStateWaiting struct {
	// (brief) reason the process is not yet running.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,1,opt,name=reason"`
}

CmdStateWaiting is a waiting state of a local command.

func (*CmdStateWaiting) DeepCopy added in v0.18.11

func (in *CmdStateWaiting) DeepCopy() *CmdStateWaiting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdStateWaiting.

func (*CmdStateWaiting) DeepCopyInto added in v0.18.11

func (in *CmdStateWaiting) DeepCopyInto(out *CmdStateWaiting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CmdStateWaiting) Descriptor added in v0.20.0

func (*CmdStateWaiting) Descriptor() ([]byte, []int)

func (*CmdStateWaiting) Marshal added in v0.20.0

func (m *CmdStateWaiting) Marshal() (dAtA []byte, err error)

func (*CmdStateWaiting) MarshalTo added in v0.20.0

func (m *CmdStateWaiting) MarshalTo(dAtA []byte) (int, error)

func (*CmdStateWaiting) MarshalToSizedBuffer added in v0.20.0

func (m *CmdStateWaiting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CmdStateWaiting) ProtoMessage added in v0.20.0

func (*CmdStateWaiting) ProtoMessage()

func (*CmdStateWaiting) Reset added in v0.20.0

func (m *CmdStateWaiting) Reset()

func (*CmdStateWaiting) Size added in v0.20.0

func (m *CmdStateWaiting) Size() (n int)

func (*CmdStateWaiting) String added in v0.20.0

func (this *CmdStateWaiting) String() string

func (*CmdStateWaiting) Unmarshal added in v0.20.0

func (m *CmdStateWaiting) Unmarshal(dAtA []byte) error

func (*CmdStateWaiting) XXX_DiscardUnknown added in v0.20.0

func (m *CmdStateWaiting) XXX_DiscardUnknown()

func (*CmdStateWaiting) XXX_Marshal added in v0.20.0

func (m *CmdStateWaiting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdStateWaiting) XXX_Merge added in v0.20.0

func (m *CmdStateWaiting) XXX_Merge(src proto.Message)

func (*CmdStateWaiting) XXX_Size added in v0.20.0

func (m *CmdStateWaiting) XXX_Size() int

func (*CmdStateWaiting) XXX_Unmarshal added in v0.20.0

func (m *CmdStateWaiting) XXX_Unmarshal(b []byte) error

type CmdStatus added in v0.18.11

type CmdStatus struct {
	// Details about a waiting process.
	// +optional
	Waiting *CmdStateWaiting `json:"waiting,omitempty" protobuf:"bytes,1,opt,name=waiting"`

	// Details about a running process.
	// +optional
	Running *CmdStateRunning `json:"running,omitempty" protobuf:"bytes,2,opt,name=running"`

	// Details about a terminated process.
	// +optional
	Terminated *CmdStateTerminated `json:"terminated,omitempty" protobuf:"bytes,3,opt,name=terminated"`

	// Specifies whether the command has passed its readiness probe.
	//
	// Terminating the command does not change its Ready state.
	//
	// Is always true when no readiness probe is defined.
	//
	// +optional
	Ready bool `json:"ready,omitempty" protobuf:"varint,4,opt,name=ready"`
}

CmdStatus defines the observed state of Cmd

Based loosely on ContainerStatus in Kubernetes

func (CmdStatus) CopyTo added in v0.18.11

func (*CmdStatus) DeepCopy added in v0.18.11

func (in *CmdStatus) DeepCopy() *CmdStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdStatus.

func (*CmdStatus) DeepCopyInto added in v0.18.11

func (in *CmdStatus) DeepCopyInto(out *CmdStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CmdStatus) Descriptor added in v0.20.0

func (*CmdStatus) Descriptor() ([]byte, []int)

func (*CmdStatus) Marshal added in v0.20.0

func (m *CmdStatus) Marshal() (dAtA []byte, err error)

func (*CmdStatus) MarshalTo added in v0.20.0

func (m *CmdStatus) MarshalTo(dAtA []byte) (int, error)

func (*CmdStatus) MarshalToSizedBuffer added in v0.20.0

func (m *CmdStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CmdStatus) ProtoMessage added in v0.20.0

func (*CmdStatus) ProtoMessage()

func (*CmdStatus) Reset added in v0.20.0

func (m *CmdStatus) Reset()

func (*CmdStatus) Size added in v0.20.0

func (m *CmdStatus) Size() (n int)

func (*CmdStatus) String added in v0.20.0

func (this *CmdStatus) String() string

func (*CmdStatus) Unmarshal added in v0.20.0

func (m *CmdStatus) Unmarshal(dAtA []byte) error

func (*CmdStatus) XXX_DiscardUnknown added in v0.20.0

func (m *CmdStatus) XXX_DiscardUnknown()

func (*CmdStatus) XXX_Marshal added in v0.20.0

func (m *CmdStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdStatus) XXX_Merge added in v0.20.0

func (m *CmdStatus) XXX_Merge(src proto.Message)

func (*CmdStatus) XXX_Size added in v0.20.0

func (m *CmdStatus) XXX_Size() int

func (*CmdStatus) XXX_Unmarshal added in v0.20.0

func (m *CmdStatus) XXX_Unmarshal(b []byte) error

type ComponentType added in v0.20.5

type ComponentType string
const (
	ComponentTypeResource ComponentType = "Resource"
	ComponentTypeGlobal   ComponentType = "Global"
)

type Container added in v0.19.7

type Container struct {
	// Name is the name of the container as defined in Kubernetes.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// ID is the normalized container ID (the `docker://` prefix is stripped).
	ID string `json:"id" protobuf:"bytes,2,opt,name=id"`
	// Ready is true if the container is passing readiness checks (or has none defined).
	Ready bool `json:"ready" protobuf:"varint,3,opt,name=ready"`
	// Image is the image the container is running.
	Image string `json:"image" protobuf:"bytes,4,opt,name=image"`
	// Restarts is the number of times the container has restarted.
	//
	// This includes restarts before the Tilt daemon was started if the container was already running.
	Restarts int32 `json:"restarts" protobuf:"varint,5,opt,name=restarts"`
	// State provides details about the container's current condition.
	State ContainerState `json:"state" protobuf:"bytes,6,opt,name=state"`
	// Ports are exposed ports as extracted from the Pod spec.
	//
	// This is added by Tilt for convenience when managing port forwards.
	Ports []int32 `json:"ports" protobuf:"varint,7,rep,name=ports"`
}

Container is an init or application container within a pod.

The Tilt API representation mirrors the Kubernetes API very closely. Irrelevant data is not included, and some fields might be simplified.

There might also be Tilt-specific status fields.

func (*Container) DeepCopy added in v0.19.7

func (in *Container) DeepCopy() *Container

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.

func (*Container) DeepCopyInto added in v0.19.7

func (in *Container) DeepCopyInto(out *Container)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Container) Descriptor added in v0.20.0

func (*Container) Descriptor() ([]byte, []int)

func (*Container) Marshal added in v0.20.0

func (m *Container) Marshal() (dAtA []byte, err error)

func (*Container) MarshalTo added in v0.20.0

func (m *Container) MarshalTo(dAtA []byte) (int, error)

func (*Container) MarshalToSizedBuffer added in v0.20.0

func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Container) ProtoMessage added in v0.20.0

func (*Container) ProtoMessage()

func (*Container) Reset added in v0.20.0

func (m *Container) Reset()

func (*Container) Size added in v0.20.0

func (m *Container) Size() (n int)

func (*Container) String added in v0.20.0

func (this *Container) String() string

func (*Container) Unmarshal added in v0.20.0

func (m *Container) Unmarshal(dAtA []byte) error

func (*Container) XXX_DiscardUnknown added in v0.20.0

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal added in v0.20.0

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge added in v0.20.0

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size added in v0.20.0

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal added in v0.20.0

func (m *Container) XXX_Unmarshal(b []byte) error

type ContainerLogStreamStatus added in v0.19.3

type ContainerLogStreamStatus struct {
	// The name of the container.
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// True when the stream is set up and streaming logs properly.
	//
	// +optional
	Active bool `json:"active,omitempty" protobuf:"varint,2,opt,name=active"`

	// True when the logs are done stream and the container is terminated.
	//
	// +optional
	Terminated bool `json:"terminated,omitempty" protobuf:"varint,3,opt,name=terminated"`

	// The last error message encountered while streaming.
	//
	// Empty when the stream is actively streaming or successfully terminated.
	//
	// +optional
	Error string `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"`
}

ContainerLogStreamStatus defines the current status of each individual container log stream.

func (*ContainerLogStreamStatus) DeepCopy added in v0.19.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerLogStreamStatus.

func (*ContainerLogStreamStatus) DeepCopyInto added in v0.19.3

func (in *ContainerLogStreamStatus) DeepCopyInto(out *ContainerLogStreamStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerLogStreamStatus) Descriptor added in v0.20.0

func (*ContainerLogStreamStatus) Descriptor() ([]byte, []int)

func (*ContainerLogStreamStatus) Marshal added in v0.20.0

func (m *ContainerLogStreamStatus) Marshal() (dAtA []byte, err error)

func (*ContainerLogStreamStatus) MarshalTo added in v0.20.0

func (m *ContainerLogStreamStatus) MarshalTo(dAtA []byte) (int, error)

func (*ContainerLogStreamStatus) MarshalToSizedBuffer added in v0.20.0

func (m *ContainerLogStreamStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerLogStreamStatus) ProtoMessage added in v0.20.0

func (*ContainerLogStreamStatus) ProtoMessage()

func (*ContainerLogStreamStatus) Reset added in v0.20.0

func (m *ContainerLogStreamStatus) Reset()

func (*ContainerLogStreamStatus) Size added in v0.20.0

func (m *ContainerLogStreamStatus) Size() (n int)

func (*ContainerLogStreamStatus) String added in v0.20.0

func (this *ContainerLogStreamStatus) String() string

func (*ContainerLogStreamStatus) Unmarshal added in v0.20.0

func (m *ContainerLogStreamStatus) Unmarshal(dAtA []byte) error

func (*ContainerLogStreamStatus) XXX_DiscardUnknown added in v0.20.0

func (m *ContainerLogStreamStatus) XXX_DiscardUnknown()

func (*ContainerLogStreamStatus) XXX_Marshal added in v0.20.0

func (m *ContainerLogStreamStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerLogStreamStatus) XXX_Merge added in v0.20.0

func (m *ContainerLogStreamStatus) XXX_Merge(src proto.Message)

func (*ContainerLogStreamStatus) XXX_Size added in v0.20.0

func (m *ContainerLogStreamStatus) XXX_Size() int

func (*ContainerLogStreamStatus) XXX_Unmarshal added in v0.20.0

func (m *ContainerLogStreamStatus) XXX_Unmarshal(b []byte) error

type ContainerState added in v0.19.7

type ContainerState struct {
	// Waiting provides details about a container that is not yet running.
	Waiting *ContainerStateWaiting `json:"waiting" protobuf:"bytes,1,opt,name=waiting"`
	// Running provides details about a currently executing container.
	Running *ContainerStateRunning `json:"running" protobuf:"bytes,2,opt,name=running"`
	// Terminated provides details about an exited container.
	Terminated *ContainerStateTerminated `json:"terminated" protobuf:"bytes,3,opt,name=terminated"`
}

ContainerState holds a possible state of container.

Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

func (*ContainerState) DeepCopy added in v0.19.7

func (in *ContainerState) DeepCopy() *ContainerState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState.

func (*ContainerState) DeepCopyInto added in v0.19.7

func (in *ContainerState) DeepCopyInto(out *ContainerState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerState) Descriptor added in v0.20.0

func (*ContainerState) Descriptor() ([]byte, []int)

func (*ContainerState) Marshal added in v0.20.0

func (m *ContainerState) Marshal() (dAtA []byte, err error)

func (*ContainerState) MarshalTo added in v0.20.0

func (m *ContainerState) MarshalTo(dAtA []byte) (int, error)

func (*ContainerState) MarshalToSizedBuffer added in v0.20.0

func (m *ContainerState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerState) ProtoMessage added in v0.20.0

func (*ContainerState) ProtoMessage()

func (*ContainerState) Reset added in v0.20.0

func (m *ContainerState) Reset()

func (*ContainerState) Size added in v0.20.0

func (m *ContainerState) Size() (n int)

func (*ContainerState) String added in v0.20.0

func (this *ContainerState) String() string

func (*ContainerState) Unmarshal added in v0.20.0

func (m *ContainerState) Unmarshal(dAtA []byte) error

func (*ContainerState) XXX_DiscardUnknown added in v0.20.0

func (m *ContainerState) XXX_DiscardUnknown()

func (*ContainerState) XXX_Marshal added in v0.20.0

func (m *ContainerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerState) XXX_Merge added in v0.20.0

func (m *ContainerState) XXX_Merge(src proto.Message)

func (*ContainerState) XXX_Size added in v0.20.0

func (m *ContainerState) XXX_Size() int

func (*ContainerState) XXX_Unmarshal added in v0.20.0

func (m *ContainerState) XXX_Unmarshal(b []byte) error

type ContainerStateRunning added in v0.19.7

type ContainerStateRunning struct {
	// StartedAt is the time the container began running.
	StartedAt metav1.Time `json:"startedAt" protobuf:"bytes,1,opt,name=startedAt"`
}

ContainerStateRunning is a running state of a container.

func (*ContainerStateRunning) DeepCopy added in v0.19.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning.

func (*ContainerStateRunning) DeepCopyInto added in v0.19.7

func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerStateRunning) Descriptor added in v0.20.0

func (*ContainerStateRunning) Descriptor() ([]byte, []int)

func (*ContainerStateRunning) Marshal added in v0.20.0

func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error)

func (*ContainerStateRunning) MarshalTo added in v0.20.0

func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateRunning) MarshalToSizedBuffer added in v0.20.0

func (m *ContainerStateRunning) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateRunning) ProtoMessage added in v0.20.0

func (*ContainerStateRunning) ProtoMessage()

func (*ContainerStateRunning) Reset added in v0.20.0

func (m *ContainerStateRunning) Reset()

func (*ContainerStateRunning) Size added in v0.20.0

func (m *ContainerStateRunning) Size() (n int)

func (*ContainerStateRunning) String added in v0.20.0

func (this *ContainerStateRunning) String() string

func (*ContainerStateRunning) Unmarshal added in v0.20.0

func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error

func (*ContainerStateRunning) XXX_DiscardUnknown added in v0.20.0

func (m *ContainerStateRunning) XXX_DiscardUnknown()

func (*ContainerStateRunning) XXX_Marshal added in v0.20.0

func (m *ContainerStateRunning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateRunning) XXX_Merge added in v0.20.0

func (m *ContainerStateRunning) XXX_Merge(src proto.Message)

func (*ContainerStateRunning) XXX_Size added in v0.20.0

func (m *ContainerStateRunning) XXX_Size() int

func (*ContainerStateRunning) XXX_Unmarshal added in v0.20.0

func (m *ContainerStateRunning) XXX_Unmarshal(b []byte) error

type ContainerStateTerminated added in v0.19.7

type ContainerStateTerminated struct {
	// StartedAt is the time the container began running.
	StartedAt metav1.Time `json:"startedAt" protobuf:"bytes,1,opt,name=startedAt"`
	// FinishedAt is the time the container stopped running.
	FinishedAt metav1.Time `json:"finishedAt" protobuf:"bytes,2,opt,name=finishedAt"`
	// Reason is a (brief) reason the container stopped running.
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// ExitCode is the exit status from the termination of the container.
	//
	// Any non-zero value indicates an error during termination.
	ExitCode int32 `json:"exitCode" protobuf:"varint,4,opt,name=exitCode"`
}

ContainerStateTerminated is a terminated state of a container.

func (*ContainerStateTerminated) DeepCopy added in v0.19.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated.

func (*ContainerStateTerminated) DeepCopyInto added in v0.19.7

func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerStateTerminated) Descriptor added in v0.20.0

func (*ContainerStateTerminated) Descriptor() ([]byte, []int)

func (*ContainerStateTerminated) Marshal added in v0.20.0

func (m *ContainerStateTerminated) Marshal() (dAtA []byte, err error)

func (*ContainerStateTerminated) MarshalTo added in v0.20.0

func (m *ContainerStateTerminated) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateTerminated) MarshalToSizedBuffer added in v0.20.0

func (m *ContainerStateTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateTerminated) ProtoMessage added in v0.20.0

func (*ContainerStateTerminated) ProtoMessage()

func (*ContainerStateTerminated) Reset added in v0.20.0

func (m *ContainerStateTerminated) Reset()

func (*ContainerStateTerminated) Size added in v0.20.0

func (m *ContainerStateTerminated) Size() (n int)

func (*ContainerStateTerminated) String added in v0.20.0

func (this *ContainerStateTerminated) String() string

func (*ContainerStateTerminated) Unmarshal added in v0.20.0

func (m *ContainerStateTerminated) Unmarshal(dAtA []byte) error

func (*ContainerStateTerminated) XXX_DiscardUnknown added in v0.20.0

func (m *ContainerStateTerminated) XXX_DiscardUnknown()

func (*ContainerStateTerminated) XXX_Marshal added in v0.20.0

func (m *ContainerStateTerminated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateTerminated) XXX_Merge added in v0.20.0

func (m *ContainerStateTerminated) XXX_Merge(src proto.Message)

func (*ContainerStateTerminated) XXX_Size added in v0.20.0

func (m *ContainerStateTerminated) XXX_Size() int

func (*ContainerStateTerminated) XXX_Unmarshal added in v0.20.0

func (m *ContainerStateTerminated) XXX_Unmarshal(b []byte) error

type ContainerStateWaiting added in v0.19.7

type ContainerStateWaiting struct {
	// Reason is a (brief) reason the container is not yet running.
	Reason string `json:"reason" protobuf:"bytes,1,opt,name=reason"`
}

ContainerStateWaiting is a waiting state of a container.

func (*ContainerStateWaiting) DeepCopy added in v0.19.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting.

func (*ContainerStateWaiting) DeepCopyInto added in v0.19.7

func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerStateWaiting) Descriptor added in v0.20.0

func (*ContainerStateWaiting) Descriptor() ([]byte, []int)

func (*ContainerStateWaiting) Marshal added in v0.20.0

func (m *ContainerStateWaiting) Marshal() (dAtA []byte, err error)

func (*ContainerStateWaiting) MarshalTo added in v0.20.0

func (m *ContainerStateWaiting) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateWaiting) MarshalToSizedBuffer added in v0.20.0

func (m *ContainerStateWaiting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateWaiting) ProtoMessage added in v0.20.0

func (*ContainerStateWaiting) ProtoMessage()

func (*ContainerStateWaiting) Reset added in v0.20.0

func (m *ContainerStateWaiting) Reset()

func (*ContainerStateWaiting) Size added in v0.20.0

func (m *ContainerStateWaiting) Size() (n int)

func (*ContainerStateWaiting) String added in v0.20.0

func (this *ContainerStateWaiting) String() string

func (*ContainerStateWaiting) Unmarshal added in v0.20.0

func (m *ContainerStateWaiting) Unmarshal(dAtA []byte) error

func (*ContainerStateWaiting) XXX_DiscardUnknown added in v0.20.0

func (m *ContainerStateWaiting) XXX_DiscardUnknown()

func (*ContainerStateWaiting) XXX_Marshal added in v0.20.0

func (m *ContainerStateWaiting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateWaiting) XXX_Merge added in v0.20.0

func (m *ContainerStateWaiting) XXX_Merge(src proto.Message)

func (*ContainerStateWaiting) XXX_Size added in v0.20.0

func (m *ContainerStateWaiting) XXX_Size() int

func (*ContainerStateWaiting) XXX_Unmarshal added in v0.20.0

func (m *ContainerStateWaiting) XXX_Unmarshal(b []byte) error

type ExecAction added in v0.18.11

type ExecAction struct {
	// Command is the command line to execute inside the container, the working directory for the
	// command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
	// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
	// a shell, you need to explicitly call out to that shell.
	// Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	// +optional
	Command []string `json:"command,omitempty" protobuf:"bytes,1,rep,name=command"`
}

ExecAction describes a "run in container" action.

func (*ExecAction) DeepCopy added in v0.18.11

func (in *ExecAction) DeepCopy() *ExecAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction.

func (*ExecAction) DeepCopyInto added in v0.18.11

func (in *ExecAction) DeepCopyInto(out *ExecAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExecAction) Descriptor added in v0.20.0

func (*ExecAction) Descriptor() ([]byte, []int)

func (*ExecAction) Marshal added in v0.20.0

func (m *ExecAction) Marshal() (dAtA []byte, err error)

func (*ExecAction) MarshalTo added in v0.20.0

func (m *ExecAction) MarshalTo(dAtA []byte) (int, error)

func (*ExecAction) MarshalToSizedBuffer added in v0.20.0

func (m *ExecAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecAction) ProtoMessage added in v0.20.0

func (*ExecAction) ProtoMessage()

func (*ExecAction) Reset added in v0.20.0

func (m *ExecAction) Reset()

func (*ExecAction) Size added in v0.20.0

func (m *ExecAction) Size() (n int)

func (*ExecAction) String added in v0.20.0

func (this *ExecAction) String() string

func (*ExecAction) Unmarshal added in v0.20.0

func (m *ExecAction) Unmarshal(dAtA []byte) error

func (*ExecAction) XXX_DiscardUnknown added in v0.20.0

func (m *ExecAction) XXX_DiscardUnknown()

func (*ExecAction) XXX_Marshal added in v0.20.0

func (m *ExecAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecAction) XXX_Merge added in v0.20.0

func (m *ExecAction) XXX_Merge(src proto.Message)

func (*ExecAction) XXX_Size added in v0.20.0

func (m *ExecAction) XXX_Size() int

func (*ExecAction) XXX_Unmarshal added in v0.20.0

func (m *ExecAction) XXX_Unmarshal(b []byte) error

type ExitCondition added in v0.19.2

type ExitCondition string
const (
	// ExitConditionManual cedes control to the user and will not exit based on resource status.
	//
	// This is used by `tilt up`.
	ExitConditionManual ExitCondition = "manual"
	// ExitConditionCI terminates upon the first encountered build or runtime failure or after all resources have been
	// started successfully.
	//
	// This is used by `tilt ci`.
	ExitConditionCI ExitCondition = "ci"
)

type FileEvent added in v0.18.12

type FileEvent struct {
	// Time is an approximate timestamp for a batch of file changes.
	//
	// This will NOT exactly match any inode attributes (e.g. ctime, mtime) at the filesystem level and is purely
	// informational or for use as an opaque watermark.
	Time metav1.MicroTime `json:"time" protobuf:"bytes,1,opt,name=time"`
	// SeenFiles is a list of paths which changed (create, modify, or delete).
	SeenFiles []string `json:"seenFiles" protobuf:"bytes,2,rep,name=seenFiles"`
}

func (*FileEvent) DeepCopy added in v0.18.12

func (in *FileEvent) DeepCopy() *FileEvent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileEvent.

func (*FileEvent) DeepCopyInto added in v0.18.12

func (in *FileEvent) DeepCopyInto(out *FileEvent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileEvent) Descriptor added in v0.20.0

func (*FileEvent) Descriptor() ([]byte, []int)

func (*FileEvent) Marshal added in v0.20.0

func (m *FileEvent) Marshal() (dAtA []byte, err error)

func (*FileEvent) MarshalTo added in v0.20.0

func (m *FileEvent) MarshalTo(dAtA []byte) (int, error)

func (*FileEvent) MarshalToSizedBuffer added in v0.20.0

func (m *FileEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileEvent) ProtoMessage added in v0.20.0

func (*FileEvent) ProtoMessage()

func (*FileEvent) Reset added in v0.20.0

func (m *FileEvent) Reset()

func (*FileEvent) Size added in v0.20.0

func (m *FileEvent) Size() (n int)

func (*FileEvent) String added in v0.20.0

func (this *FileEvent) String() string

func (*FileEvent) Unmarshal added in v0.20.0

func (m *FileEvent) Unmarshal(dAtA []byte) error

func (*FileEvent) XXX_DiscardUnknown added in v0.20.0

func (m *FileEvent) XXX_DiscardUnknown()

func (*FileEvent) XXX_Marshal added in v0.20.0

func (m *FileEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileEvent) XXX_Merge added in v0.20.0

func (m *FileEvent) XXX_Merge(src proto.Message)

func (*FileEvent) XXX_Size added in v0.20.0

func (m *FileEvent) XXX_Size() int

func (*FileEvent) XXX_Unmarshal added in v0.20.0

func (m *FileEvent) XXX_Unmarshal(b []byte) error

type FileWatch

type FileWatch struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   FileWatchSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status FileWatchStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

FileWatch +k8s:openapi-gen=true

func (*FileWatch) DeepCopy

func (in *FileWatch) DeepCopy() *FileWatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatch.

func (*FileWatch) DeepCopyInto

func (in *FileWatch) DeepCopyInto(out *FileWatch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileWatch) DeepCopyObject

func (in *FileWatch) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FileWatch) Descriptor added in v0.20.0

func (*FileWatch) Descriptor() ([]byte, []int)

func (*FileWatch) GetGroupVersionResource

func (in *FileWatch) GetGroupVersionResource() schema.GroupVersionResource

func (*FileWatch) GetObjectMeta

func (in *FileWatch) GetObjectMeta() *metav1.ObjectMeta

func (*FileWatch) GetSpec added in v0.21.0

func (in *FileWatch) GetSpec() interface{}

func (*FileWatch) GetStatus

func (in *FileWatch) GetStatus() resource.StatusSubResource

func (*FileWatch) IsStorageVersion

func (in *FileWatch) IsStorageVersion() bool

func (*FileWatch) Marshal added in v0.20.0

func (m *FileWatch) Marshal() (dAtA []byte, err error)

func (*FileWatch) MarshalTo added in v0.20.0

func (m *FileWatch) MarshalTo(dAtA []byte) (int, error)

func (*FileWatch) MarshalToSizedBuffer added in v0.20.0

func (m *FileWatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileWatch) NamespaceScoped

func (in *FileWatch) NamespaceScoped() bool

func (*FileWatch) New

func (in *FileWatch) New() runtime.Object

func (*FileWatch) NewList

func (in *FileWatch) NewList() runtime.Object

func (*FileWatch) ProtoMessage added in v0.20.0

func (*FileWatch) ProtoMessage()

func (*FileWatch) Reset added in v0.20.0

func (m *FileWatch) Reset()

func (*FileWatch) ShortNames added in v0.20.4

func (in *FileWatch) ShortNames() []string

func (*FileWatch) Size added in v0.20.0

func (m *FileWatch) Size() (n int)

func (*FileWatch) String added in v0.20.0

func (this *FileWatch) String() string

func (*FileWatch) Unmarshal added in v0.20.0

func (m *FileWatch) Unmarshal(dAtA []byte) error

func (*FileWatch) Validate

func (in *FileWatch) Validate(_ context.Context) field.ErrorList

func (*FileWatch) XXX_DiscardUnknown added in v0.20.0

func (m *FileWatch) XXX_DiscardUnknown()

func (*FileWatch) XXX_Marshal added in v0.20.0

func (m *FileWatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileWatch) XXX_Merge added in v0.20.0

func (m *FileWatch) XXX_Merge(src proto.Message)

func (*FileWatch) XXX_Size added in v0.20.0

func (m *FileWatch) XXX_Size() int

func (*FileWatch) XXX_Unmarshal added in v0.20.0

func (m *FileWatch) XXX_Unmarshal(b []byte) error

type FileWatchList

type FileWatchList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []FileWatch `json:"items" protobuf:"bytes,2,rep,name=items"`
}

FileWatchList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*FileWatchList) DeepCopy

func (in *FileWatchList) DeepCopy() *FileWatchList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatchList.

func (*FileWatchList) DeepCopyInto

func (in *FileWatchList) DeepCopyInto(out *FileWatchList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileWatchList) DeepCopyObject

func (in *FileWatchList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FileWatchList) Descriptor added in v0.20.0

func (*FileWatchList) Descriptor() ([]byte, []int)

func (*FileWatchList) GetListMeta

func (in *FileWatchList) GetListMeta() *metav1.ListMeta

func (*FileWatchList) Marshal added in v0.20.0

func (m *FileWatchList) Marshal() (dAtA []byte, err error)

func (*FileWatchList) MarshalTo added in v0.20.0

func (m *FileWatchList) MarshalTo(dAtA []byte) (int, error)

func (*FileWatchList) MarshalToSizedBuffer added in v0.20.0

func (m *FileWatchList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileWatchList) ProtoMessage added in v0.20.0

func (*FileWatchList) ProtoMessage()

func (*FileWatchList) Reset added in v0.20.0

func (m *FileWatchList) Reset()

func (*FileWatchList) Size added in v0.20.0

func (m *FileWatchList) Size() (n int)

func (*FileWatchList) String added in v0.20.0

func (this *FileWatchList) String() string

func (*FileWatchList) Unmarshal added in v0.20.0

func (m *FileWatchList) Unmarshal(dAtA []byte) error

func (*FileWatchList) XXX_DiscardUnknown added in v0.20.0

func (m *FileWatchList) XXX_DiscardUnknown()

func (*FileWatchList) XXX_Marshal added in v0.20.0

func (m *FileWatchList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileWatchList) XXX_Merge added in v0.20.0

func (m *FileWatchList) XXX_Merge(src proto.Message)

func (*FileWatchList) XXX_Size added in v0.20.0

func (m *FileWatchList) XXX_Size() int

func (*FileWatchList) XXX_Unmarshal added in v0.20.0

func (m *FileWatchList) XXX_Unmarshal(b []byte) error

type FileWatchSpec

type FileWatchSpec struct {
	// WatchedPaths are paths of directories or files to watch for changes to. It cannot be empty.
	WatchedPaths []string `json:"watchedPaths" protobuf:"bytes,1,rep,name=watchedPaths"`
	// Ignores are optional rules to filter out a subset of changes matched by WatchedPaths.
	Ignores []IgnoreDef `json:"ignores,omitempty" protobuf:"bytes,2,rep,name=ignores"`
}

FileWatchSpec defines the desired state of FileWatch

func (*FileWatchSpec) DeepCopy

func (in *FileWatchSpec) DeepCopy() *FileWatchSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatchSpec.

func (*FileWatchSpec) DeepCopyInto

func (in *FileWatchSpec) DeepCopyInto(out *FileWatchSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileWatchSpec) Descriptor added in v0.20.0

func (*FileWatchSpec) Descriptor() ([]byte, []int)

func (*FileWatchSpec) Marshal added in v0.20.0

func (m *FileWatchSpec) Marshal() (dAtA []byte, err error)

func (*FileWatchSpec) MarshalTo added in v0.20.0

func (m *FileWatchSpec) MarshalTo(dAtA []byte) (int, error)

func (*FileWatchSpec) MarshalToSizedBuffer added in v0.20.0

func (m *FileWatchSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileWatchSpec) ProtoMessage added in v0.20.0

func (*FileWatchSpec) ProtoMessage()

func (*FileWatchSpec) Reset added in v0.20.0

func (m *FileWatchSpec) Reset()

func (*FileWatchSpec) Size added in v0.20.0

func (m *FileWatchSpec) Size() (n int)

func (*FileWatchSpec) String added in v0.20.0

func (this *FileWatchSpec) String() string

func (*FileWatchSpec) Unmarshal added in v0.20.0

func (m *FileWatchSpec) Unmarshal(dAtA []byte) error

func (*FileWatchSpec) XXX_DiscardUnknown added in v0.20.0

func (m *FileWatchSpec) XXX_DiscardUnknown()

func (*FileWatchSpec) XXX_Marshal added in v0.20.0

func (m *FileWatchSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileWatchSpec) XXX_Merge added in v0.20.0

func (m *FileWatchSpec) XXX_Merge(src proto.Message)

func (*FileWatchSpec) XXX_Size added in v0.20.0

func (m *FileWatchSpec) XXX_Size() int

func (*FileWatchSpec) XXX_Unmarshal added in v0.20.0

func (m *FileWatchSpec) XXX_Unmarshal(b []byte) error

type FileWatchStatus

type FileWatchStatus struct {
	// MonitorStartTime is the timestamp of when filesystem monitor was started. It is zero if the monitor has not
	// been started yet.
	MonitorStartTime metav1.MicroTime `json:"monitorStartTime,omitempty" protobuf:"bytes,1,opt,name=monitorStartTime"`
	// LastEventTime is the timestamp of the most recent file event. It is zero if no events have been seen yet.
	//
	// If the specifics of which files changed are not important, this field can be used as a watermark without
	// needing to inspect FileEvents.
	LastEventTime metav1.MicroTime `json:"lastEventTime,omitempty" protobuf:"bytes,2,opt,name=lastEventTime"`
	// FileEvents summarizes batches of file changes (create, modify, or delete) that have been seen in ascending
	// chronological order. Only the most recent 20 events are included.
	FileEvents []FileEvent `json:"fileEvents,omitempty" protobuf:"bytes,3,rep,name=fileEvents"`
	// Error is set if there is a problem with the filesystem watch. If non-empty, consumers should assume that
	// no filesystem events will be seen and that the file watcher is in a failed state.
	Error string `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"`
}

FileWatchStatus defines the observed state of FileWatch

func (FileWatchStatus) CopyTo

func (*FileWatchStatus) DeepCopy

func (in *FileWatchStatus) DeepCopy() *FileWatchStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatchStatus.

func (*FileWatchStatus) DeepCopyInto

func (in *FileWatchStatus) DeepCopyInto(out *FileWatchStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileWatchStatus) Descriptor added in v0.20.0

func (*FileWatchStatus) Descriptor() ([]byte, []int)

func (*FileWatchStatus) Marshal added in v0.20.0

func (m *FileWatchStatus) Marshal() (dAtA []byte, err error)

func (*FileWatchStatus) MarshalTo added in v0.20.0

func (m *FileWatchStatus) MarshalTo(dAtA []byte) (int, error)

func (*FileWatchStatus) MarshalToSizedBuffer added in v0.20.0

func (m *FileWatchStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileWatchStatus) ProtoMessage added in v0.20.0

func (*FileWatchStatus) ProtoMessage()

func (*FileWatchStatus) Reset added in v0.20.0

func (m *FileWatchStatus) Reset()

func (*FileWatchStatus) Size added in v0.20.0

func (m *FileWatchStatus) Size() (n int)

func (*FileWatchStatus) String added in v0.20.0

func (this *FileWatchStatus) String() string

func (*FileWatchStatus) Unmarshal added in v0.20.0

func (m *FileWatchStatus) Unmarshal(dAtA []byte) error

func (*FileWatchStatus) XXX_DiscardUnknown added in v0.20.0

func (m *FileWatchStatus) XXX_DiscardUnknown()

func (*FileWatchStatus) XXX_Marshal added in v0.20.0

func (m *FileWatchStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileWatchStatus) XXX_Merge added in v0.20.0

func (m *FileWatchStatus) XXX_Merge(src proto.Message)

func (*FileWatchStatus) XXX_Size added in v0.20.0

func (m *FileWatchStatus) XXX_Size() int

func (*FileWatchStatus) XXX_Unmarshal added in v0.20.0

func (m *FileWatchStatus) XXX_Unmarshal(b []byte) error

type Forward added in v0.20.2

type Forward struct {
	// The port to expose on the current machine.
	//
	// If not specified (or 0), a random free port will be chosen and can
	// be discovered via the status once established.
	//
	// +optional
	LocalPort int32 `json:"localPort,omitempty" protobuf:"varint,4,opt,name=localPort"`

	// The port on the Kubernetes pod to connect to. Required.
	ContainerPort int32 `json:"containerPort" protobuf:"varint,3,opt,name=containerPort"`

	// Optional host to bind to on the current machine (localhost by default)
	//
	// +optional
	Host string `json:"host" protobuf:"bytes,5,opt,name=host"`
}

Forward defines a port forward to execute on a given pod.

func (*Forward) DeepCopy added in v0.20.2

func (in *Forward) DeepCopy() *Forward

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Forward.

func (*Forward) DeepCopyInto added in v0.20.2

func (in *Forward) DeepCopyInto(out *Forward)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Forward) Descriptor added in v0.20.2

func (*Forward) Descriptor() ([]byte, []int)

func (*Forward) Marshal added in v0.20.2

func (m *Forward) Marshal() (dAtA []byte, err error)

func (*Forward) MarshalTo added in v0.20.2

func (m *Forward) MarshalTo(dAtA []byte) (int, error)

func (*Forward) MarshalToSizedBuffer added in v0.20.2

func (m *Forward) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Forward) ProtoMessage added in v0.20.2

func (*Forward) ProtoMessage()

func (*Forward) Reset added in v0.20.2

func (m *Forward) Reset()

func (*Forward) Size added in v0.20.2

func (m *Forward) Size() (n int)

func (*Forward) String added in v0.20.2

func (this *Forward) String() string

func (*Forward) Unmarshal added in v0.20.2

func (m *Forward) Unmarshal(dAtA []byte) error

func (*Forward) XXX_DiscardUnknown added in v0.20.2

func (m *Forward) XXX_DiscardUnknown()

func (*Forward) XXX_Marshal added in v0.20.2

func (m *Forward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Forward) XXX_Merge added in v0.20.2

func (m *Forward) XXX_Merge(src proto.Message)

func (*Forward) XXX_Size added in v0.20.2

func (m *Forward) XXX_Size() int

func (*Forward) XXX_Unmarshal added in v0.20.2

func (m *Forward) XXX_Unmarshal(b []byte) error

type ForwardStatus added in v0.20.8

type ForwardStatus struct {
	// LocalPort is the port bound to on the system running Tilt.
	LocalPort int32 `json:"localPort" protobuf:"varint,1,opt,name=localPort"`

	// ContainerPort is the port in the container being forwarded.
	ContainerPort int32 `json:"containerPort" protobuf:"varint,2,opt,name=containerPort"`

	// Addresses that the forwarder is bound to.
	//
	// For example, a `localhost` host will bind to 127.0.0.1 and [::1].
	Addresses []string `json:"addresses" protobuf:"bytes,3,rep,name=addresses"`

	// StartedAt is the time at which the forward was initiated.
	//
	// If the forwarder is not running yet, this will be zero/empty.
	StartedAt metav1.MicroTime `json:"startedAt,omitempty" protobuf:"bytes,4,opt,name=startedAt"`

	// Error is a human-readable description if a problem was encountered
	// while initializing the forward.
	Error string `json:"error,omitempty" protobuf:"bytes,5,opt,name=error"`
}

func (*ForwardStatus) DeepCopy added in v0.20.8

func (in *ForwardStatus) DeepCopy() *ForwardStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardStatus.

func (*ForwardStatus) DeepCopyInto added in v0.20.8

func (in *ForwardStatus) DeepCopyInto(out *ForwardStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ForwardStatus) Descriptor added in v0.20.8

func (*ForwardStatus) Descriptor() ([]byte, []int)

func (*ForwardStatus) Marshal added in v0.20.8

func (m *ForwardStatus) Marshal() (dAtA []byte, err error)

func (*ForwardStatus) MarshalTo added in v0.20.8

func (m *ForwardStatus) MarshalTo(dAtA []byte) (int, error)

func (*ForwardStatus) MarshalToSizedBuffer added in v0.20.8

func (m *ForwardStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForwardStatus) ProtoMessage added in v0.20.8

func (*ForwardStatus) ProtoMessage()

func (*ForwardStatus) Reset added in v0.20.8

func (m *ForwardStatus) Reset()

func (*ForwardStatus) Size added in v0.20.8

func (m *ForwardStatus) Size() (n int)

func (*ForwardStatus) String added in v0.20.8

func (this *ForwardStatus) String() string

func (*ForwardStatus) Unmarshal added in v0.20.8

func (m *ForwardStatus) Unmarshal(dAtA []byte) error

func (*ForwardStatus) XXX_DiscardUnknown added in v0.20.8

func (m *ForwardStatus) XXX_DiscardUnknown()

func (*ForwardStatus) XXX_Marshal added in v0.20.8

func (m *ForwardStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardStatus) XXX_Merge added in v0.20.8

func (m *ForwardStatus) XXX_Merge(src proto.Message)

func (*ForwardStatus) XXX_Size added in v0.20.8

func (m *ForwardStatus) XXX_Size() int

func (*ForwardStatus) XXX_Unmarshal added in v0.20.8

func (m *ForwardStatus) XXX_Unmarshal(b []byte) error

type HTTPGetAction added in v0.18.11

type HTTPGetAction struct {
	// Path to access on the HTTP server.
	// +optional
	Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`
	// Name or number of the port to access on the container.
	// Number must be in the range 1 to 65535.
	Port int32 `json:"port" protobuf:"bytes,2,opt,name=port"`
	// Host name to connect to, defaults to the pod IP. You probably want to set
	// "Host" in httpHeaders instead.
	// +optional
	Host string `json:"host,omitempty" protobuf:"bytes,3,opt,name=host"`
	// Scheme to use for connecting to the host.
	// Defaults to HTTP.
	// +optional
	Scheme URIScheme `json:"scheme,omitempty" protobuf:"bytes,4,opt,name=scheme,casttype=URIScheme"`
	// Custom headers to set in the request. HTTP allows repeated headers.
	// +optional
	HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" protobuf:"bytes,5,rep,name=httpHeaders"`
}

HTTPGetAction describes an action based on HTTP Get requests.

func (*HTTPGetAction) DeepCopy added in v0.18.11

func (in *HTTPGetAction) DeepCopy() *HTTPGetAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction.

func (*HTTPGetAction) DeepCopyInto added in v0.18.11

func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPGetAction) Descriptor added in v0.20.0

func (*HTTPGetAction) Descriptor() ([]byte, []int)

func (*HTTPGetAction) Marshal added in v0.20.0

func (m *HTTPGetAction) Marshal() (dAtA []byte, err error)

func (*HTTPGetAction) MarshalTo added in v0.20.0

func (m *HTTPGetAction) MarshalTo(dAtA []byte) (int, error)

func (*HTTPGetAction) MarshalToSizedBuffer added in v0.20.0

func (m *HTTPGetAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPGetAction) ProtoMessage added in v0.20.0

func (*HTTPGetAction) ProtoMessage()

func (*HTTPGetAction) Reset added in v0.20.0

func (m *HTTPGetAction) Reset()

func (*HTTPGetAction) Size added in v0.20.0

func (m *HTTPGetAction) Size() (n int)

func (*HTTPGetAction) String added in v0.20.0

func (this *HTTPGetAction) String() string

func (*HTTPGetAction) Unmarshal added in v0.20.0

func (m *HTTPGetAction) Unmarshal(dAtA []byte) error

func (*HTTPGetAction) XXX_DiscardUnknown added in v0.20.0

func (m *HTTPGetAction) XXX_DiscardUnknown()

func (*HTTPGetAction) XXX_Marshal added in v0.20.0

func (m *HTTPGetAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPGetAction) XXX_Merge added in v0.20.0

func (m *HTTPGetAction) XXX_Merge(src proto.Message)

func (*HTTPGetAction) XXX_Size added in v0.20.0

func (m *HTTPGetAction) XXX_Size() int

func (*HTTPGetAction) XXX_Unmarshal added in v0.20.0

func (m *HTTPGetAction) XXX_Unmarshal(b []byte) error

type HTTPHeader added in v0.18.11

type HTTPHeader struct {
	// The header field name
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// The header field value
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

HTTPHeader describes a custom header to be used in HTTP probes

func (*HTTPHeader) DeepCopy added in v0.18.11

func (in *HTTPHeader) DeepCopy() *HTTPHeader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader.

func (*HTTPHeader) DeepCopyInto added in v0.18.11

func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPHeader) Descriptor added in v0.20.0

func (*HTTPHeader) Descriptor() ([]byte, []int)

func (*HTTPHeader) Marshal added in v0.20.0

func (m *HTTPHeader) Marshal() (dAtA []byte, err error)

func (*HTTPHeader) MarshalTo added in v0.20.0

func (m *HTTPHeader) MarshalTo(dAtA []byte) (int, error)

func (*HTTPHeader) MarshalToSizedBuffer added in v0.20.0

func (m *HTTPHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPHeader) ProtoMessage added in v0.20.0

func (*HTTPHeader) ProtoMessage()

func (*HTTPHeader) Reset added in v0.20.0

func (m *HTTPHeader) Reset()

func (*HTTPHeader) Size added in v0.20.0

func (m *HTTPHeader) Size() (n int)

func (*HTTPHeader) String added in v0.20.0

func (this *HTTPHeader) String() string

func (*HTTPHeader) Unmarshal added in v0.20.0

func (m *HTTPHeader) Unmarshal(dAtA []byte) error

func (*HTTPHeader) XXX_DiscardUnknown added in v0.20.0

func (m *HTTPHeader) XXX_DiscardUnknown()

func (*HTTPHeader) XXX_Marshal added in v0.20.0

func (m *HTTPHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPHeader) XXX_Merge added in v0.20.0

func (m *HTTPHeader) XXX_Merge(src proto.Message)

func (*HTTPHeader) XXX_Size added in v0.20.0

func (m *HTTPHeader) XXX_Size() int

func (*HTTPHeader) XXX_Unmarshal added in v0.20.0

func (m *HTTPHeader) XXX_Unmarshal(b []byte) error

type Handler added in v0.18.11

type Handler struct {
	// One and only one of the following should be specified.
	// Exec specifies the action to take.
	// +optional
	Exec *ExecAction `json:"exec,omitempty" protobuf:"bytes,1,opt,name=exec"`
	// HTTPGet specifies the http request to perform.
	// +optional
	HTTPGet *HTTPGetAction `json:"httpGet,omitempty" protobuf:"bytes,2,opt,name=httpGet"`
	// TCPSocket specifies an action involving a TCP port.
	// TCP hooks not yet supported
	// TODO: implement a realistic TCP lifecycle hook
	// +optional
	TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty" protobuf:"bytes,3,opt,name=tcpSocket"`
}

Handler defines a specific action that should be taken in a probe.

func (*Handler) DeepCopy added in v0.18.11

func (in *Handler) DeepCopy() *Handler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler.

func (*Handler) DeepCopyInto added in v0.18.11

func (in *Handler) DeepCopyInto(out *Handler)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Handler) Descriptor added in v0.20.0

func (*Handler) Descriptor() ([]byte, []int)

func (*Handler) Marshal added in v0.20.0

func (m *Handler) Marshal() (dAtA []byte, err error)

func (*Handler) MarshalTo added in v0.20.0

func (m *Handler) MarshalTo(dAtA []byte) (int, error)

func (*Handler) MarshalToSizedBuffer added in v0.20.0

func (m *Handler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Handler) ProtoMessage added in v0.20.0

func (*Handler) ProtoMessage()

func (*Handler) Reset added in v0.20.0

func (m *Handler) Reset()

func (*Handler) Size added in v0.20.0

func (m *Handler) Size() (n int)

func (*Handler) String added in v0.20.0

func (this *Handler) String() string

func (*Handler) Unmarshal added in v0.20.0

func (m *Handler) Unmarshal(dAtA []byte) error

func (*Handler) XXX_DiscardUnknown added in v0.20.0

func (m *Handler) XXX_DiscardUnknown()

func (*Handler) XXX_Marshal added in v0.20.0

func (m *Handler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Handler) XXX_Merge added in v0.20.0

func (m *Handler) XXX_Merge(src proto.Message)

func (*Handler) XXX_Size added in v0.20.0

func (m *Handler) XXX_Size() int

func (*Handler) XXX_Unmarshal added in v0.20.0

func (m *Handler) XXX_Unmarshal(b []byte) error

type IgnoreDef added in v0.18.12

type IgnoreDef struct {
	// BasePath is the base path for the patterns. It cannot be empty.
	//
	// If no patterns are specified, everything under it will be recursively ignored.
	BasePath string `json:"basePath" protobuf:"bytes,1,opt,name=basePath"`
	// Patterns are dockerignore style rules. Absolute-style patterns will be rooted to the BasePath.
	//
	// See https://docs.docker.com/engine/reference/builder/#dockerignore-file.
	Patterns []string `json:"patterns,omitempty" protobuf:"bytes,2,rep,name=patterns"`
}

func (*IgnoreDef) DeepCopy added in v0.18.12

func (in *IgnoreDef) DeepCopy() *IgnoreDef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreDef.

func (*IgnoreDef) DeepCopyInto added in v0.18.12

func (in *IgnoreDef) DeepCopyInto(out *IgnoreDef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*IgnoreDef) Descriptor added in v0.20.0

func (*IgnoreDef) Descriptor() ([]byte, []int)

func (*IgnoreDef) Marshal added in v0.20.0

func (m *IgnoreDef) Marshal() (dAtA []byte, err error)

func (*IgnoreDef) MarshalTo added in v0.20.0

func (m *IgnoreDef) MarshalTo(dAtA []byte) (int, error)

func (*IgnoreDef) MarshalToSizedBuffer added in v0.20.0

func (m *IgnoreDef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IgnoreDef) ProtoMessage added in v0.20.0

func (*IgnoreDef) ProtoMessage()

func (*IgnoreDef) Reset added in v0.20.0

func (m *IgnoreDef) Reset()

func (*IgnoreDef) Size added in v0.20.0

func (m *IgnoreDef) Size() (n int)

func (*IgnoreDef) String added in v0.20.0

func (this *IgnoreDef) String() string

func (*IgnoreDef) Unmarshal added in v0.20.0

func (m *IgnoreDef) Unmarshal(dAtA []byte) error

func (*IgnoreDef) XXX_DiscardUnknown added in v0.20.0

func (m *IgnoreDef) XXX_DiscardUnknown()

func (*IgnoreDef) XXX_Marshal added in v0.20.0

func (m *IgnoreDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IgnoreDef) XXX_Merge added in v0.20.0

func (m *IgnoreDef) XXX_Merge(src proto.Message)

func (*IgnoreDef) XXX_Size added in v0.20.0

func (m *IgnoreDef) XXX_Size() int

func (*IgnoreDef) XXX_Unmarshal added in v0.20.0

func (m *IgnoreDef) XXX_Unmarshal(b []byte) error

type ImageMap added in v0.20.7

type ImageMap struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   ImageMapSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ImageMapStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ImageMap expresses the mapping from an image reference to a real, pushed image in an image registry that a container runtime can access.

Another way to think about the ImageMap is that ImageMapSpec is a mutable image reference (where the image might not exist yet), but ImageMapStatus is an immutable image reference (where, if an image is specified, it always exists).

ImageMap does not specify how the image is built or who is responsible for building this. But any API that builds images should produce an ImageMap.

For example, a builder that builds to a local image registry might create a map from: 'my-apiserver:dev' to 'localhost:5000/my-apiserver:content-based-label'.

ImageMap doesn't follow the usual Kubernetes-style API semantics (where the Status is the result of running the Spec). It's closer to a ConfigMap. Though the Status does represent a real runtime result (an image in a registry).

+k8s:openapi-gen=true

func (*ImageMap) DeepCopy added in v0.20.7

func (in *ImageMap) DeepCopy() *ImageMap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMap.

func (*ImageMap) DeepCopyInto added in v0.20.7

func (in *ImageMap) DeepCopyInto(out *ImageMap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageMap) DeepCopyObject added in v0.20.7

func (in *ImageMap) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ImageMap) Descriptor added in v0.20.7

func (*ImageMap) Descriptor() ([]byte, []int)

func (*ImageMap) GetGroupVersionResource added in v0.20.7

func (in *ImageMap) GetGroupVersionResource() schema.GroupVersionResource

func (*ImageMap) GetObjectMeta added in v0.20.7

func (in *ImageMap) GetObjectMeta() *metav1.ObjectMeta

func (*ImageMap) GetSpec added in v0.20.9

func (in *ImageMap) GetSpec() interface{}

func (*ImageMap) GetStatus added in v0.20.7

func (in *ImageMap) GetStatus() resource.StatusSubResource

func (*ImageMap) IsStorageVersion added in v0.20.7

func (in *ImageMap) IsStorageVersion() bool

func (*ImageMap) Marshal added in v0.20.7

func (m *ImageMap) Marshal() (dAtA []byte, err error)

func (*ImageMap) MarshalTo added in v0.20.7

func (m *ImageMap) MarshalTo(dAtA []byte) (int, error)

func (*ImageMap) MarshalToSizedBuffer added in v0.20.7

func (m *ImageMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageMap) NamespaceScoped added in v0.20.7

func (in *ImageMap) NamespaceScoped() bool

func (*ImageMap) New added in v0.20.7

func (in *ImageMap) New() runtime.Object

func (*ImageMap) NewList added in v0.20.7

func (in *ImageMap) NewList() runtime.Object

func (*ImageMap) ProtoMessage added in v0.20.7

func (*ImageMap) ProtoMessage()

func (*ImageMap) Reset added in v0.20.7

func (m *ImageMap) Reset()

func (*ImageMap) ShortNames added in v0.21.3

func (in *ImageMap) ShortNames() []string

func (*ImageMap) Size added in v0.20.7

func (m *ImageMap) Size() (n int)

func (*ImageMap) String added in v0.20.7

func (this *ImageMap) String() string

func (*ImageMap) Unmarshal added in v0.20.7

func (m *ImageMap) Unmarshal(dAtA []byte) error

func (*ImageMap) Validate added in v0.20.7

func (in *ImageMap) Validate(ctx context.Context) field.ErrorList

func (*ImageMap) XXX_DiscardUnknown added in v0.20.7

func (m *ImageMap) XXX_DiscardUnknown()

func (*ImageMap) XXX_Marshal added in v0.20.7

func (m *ImageMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageMap) XXX_Merge added in v0.20.7

func (m *ImageMap) XXX_Merge(src proto.Message)

func (*ImageMap) XXX_Size added in v0.20.7

func (m *ImageMap) XXX_Size() int

func (*ImageMap) XXX_Unmarshal added in v0.20.7

func (m *ImageMap) XXX_Unmarshal(b []byte) error

type ImageMapList added in v0.20.7

type ImageMapList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []ImageMap `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ImageMapList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ImageMapList) DeepCopy added in v0.20.7

func (in *ImageMapList) DeepCopy() *ImageMapList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMapList.

func (*ImageMapList) DeepCopyInto added in v0.20.7

func (in *ImageMapList) DeepCopyInto(out *ImageMapList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageMapList) DeepCopyObject added in v0.20.7

func (in *ImageMapList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ImageMapList) Descriptor added in v0.20.7

func (*ImageMapList) Descriptor() ([]byte, []int)

func (*ImageMapList) GetListMeta added in v0.20.7

func (in *ImageMapList) GetListMeta() *metav1.ListMeta

func (*ImageMapList) Marshal added in v0.20.7

func (m *ImageMapList) Marshal() (dAtA []byte, err error)

func (*ImageMapList) MarshalTo added in v0.20.7

func (m *ImageMapList) MarshalTo(dAtA []byte) (int, error)

func (*ImageMapList) MarshalToSizedBuffer added in v0.20.7

func (m *ImageMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageMapList) ProtoMessage added in v0.20.7

func (*ImageMapList) ProtoMessage()

func (*ImageMapList) Reset added in v0.20.7

func (m *ImageMapList) Reset()

func (*ImageMapList) Size added in v0.20.7

func (m *ImageMapList) Size() (n int)

func (*ImageMapList) String added in v0.20.7

func (this *ImageMapList) String() string

func (*ImageMapList) Unmarshal added in v0.20.7

func (m *ImageMapList) Unmarshal(dAtA []byte) error

func (*ImageMapList) XXX_DiscardUnknown added in v0.20.7

func (m *ImageMapList) XXX_DiscardUnknown()

func (*ImageMapList) XXX_Marshal added in v0.20.7

func (m *ImageMapList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageMapList) XXX_Merge added in v0.20.7

func (m *ImageMapList) XXX_Merge(src proto.Message)

func (*ImageMapList) XXX_Size added in v0.20.7

func (m *ImageMapList) XXX_Size() int

func (*ImageMapList) XXX_Unmarshal added in v0.20.7

func (m *ImageMapList) XXX_Unmarshal(b []byte) error

type ImageMapOverrideArgs added in v0.20.8

type ImageMapOverrideArgs struct {
	// A list of args strings.
	Args []string `json:"args" protobuf:"bytes,1,rep,name=args"`
}

ImageMapArgsOverride defines args to inject when the image is injected. Only applies to types that embed a v1.Container with a Command field.

https://pkg.go.dev/k8s.io/api/core/v1#Container

func (*ImageMapOverrideArgs) DeepCopy added in v0.20.8

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMapOverrideArgs.

func (*ImageMapOverrideArgs) DeepCopyInto added in v0.20.8

func (in *ImageMapOverrideArgs) DeepCopyInto(out *ImageMapOverrideArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageMapOverrideArgs) Descriptor added in v0.20.8

func (*ImageMapOverrideArgs) Descriptor() ([]byte, []int)

func (*ImageMapOverrideArgs) Marshal added in v0.20.8

func (m *ImageMapOverrideArgs) Marshal() (dAtA []byte, err error)

func (*ImageMapOverrideArgs) MarshalTo added in v0.20.8

func (m *ImageMapOverrideArgs) MarshalTo(dAtA []byte) (int, error)

func (*ImageMapOverrideArgs) MarshalToSizedBuffer added in v0.20.8

func (m *ImageMapOverrideArgs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageMapOverrideArgs) ProtoMessage added in v0.20.8

func (*ImageMapOverrideArgs) ProtoMessage()

func (*ImageMapOverrideArgs) Reset added in v0.20.8

func (m *ImageMapOverrideArgs) Reset()

func (*ImageMapOverrideArgs) Size added in v0.20.8

func (m *ImageMapOverrideArgs) Size() (n int)

func (*ImageMapOverrideArgs) String added in v0.20.8

func (this *ImageMapOverrideArgs) String() string

func (*ImageMapOverrideArgs) Unmarshal added in v0.20.8

func (m *ImageMapOverrideArgs) Unmarshal(dAtA []byte) error

func (*ImageMapOverrideArgs) XXX_DiscardUnknown added in v0.20.8

func (m *ImageMapOverrideArgs) XXX_DiscardUnknown()

func (*ImageMapOverrideArgs) XXX_Marshal added in v0.20.8

func (m *ImageMapOverrideArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageMapOverrideArgs) XXX_Merge added in v0.20.8

func (m *ImageMapOverrideArgs) XXX_Merge(src proto.Message)

func (*ImageMapOverrideArgs) XXX_Size added in v0.20.8

func (m *ImageMapOverrideArgs) XXX_Size() int

func (*ImageMapOverrideArgs) XXX_Unmarshal added in v0.20.8

func (m *ImageMapOverrideArgs) XXX_Unmarshal(b []byte) error

type ImageMapOverrideCommand added in v0.20.8

type ImageMapOverrideCommand struct {
	// A list of command strings.
	Command []string `json:"command" protobuf:"bytes,1,rep,name=command"`
}

ImageMapCommandOverride defines a command to inject when the image is injected. Only applies to types that embed a v1.Container with a Command field.

https://pkg.go.dev/k8s.io/api/core/v1#Container

func (*ImageMapOverrideCommand) DeepCopy added in v0.20.8

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMapOverrideCommand.

func (*ImageMapOverrideCommand) DeepCopyInto added in v0.20.8

func (in *ImageMapOverrideCommand) DeepCopyInto(out *ImageMapOverrideCommand)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageMapOverrideCommand) Descriptor added in v0.20.8

func (*ImageMapOverrideCommand) Descriptor() ([]byte, []int)

func (*ImageMapOverrideCommand) Marshal added in v0.20.8

func (m *ImageMapOverrideCommand) Marshal() (dAtA []byte, err error)

func (*ImageMapOverrideCommand) MarshalTo added in v0.20.8

func (m *ImageMapOverrideCommand) MarshalTo(dAtA []byte) (int, error)

func (*ImageMapOverrideCommand) MarshalToSizedBuffer added in v0.20.8

func (m *ImageMapOverrideCommand) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageMapOverrideCommand) ProtoMessage added in v0.20.8

func (*ImageMapOverrideCommand) ProtoMessage()

func (*ImageMapOverrideCommand) Reset added in v0.20.8

func (m *ImageMapOverrideCommand) Reset()

func (*ImageMapOverrideCommand) Size added in v0.20.8

func (m *ImageMapOverrideCommand) Size() (n int)

func (*ImageMapOverrideCommand) String added in v0.20.8

func (this *ImageMapOverrideCommand) String() string

func (*ImageMapOverrideCommand) Unmarshal added in v0.20.8

func (m *ImageMapOverrideCommand) Unmarshal(dAtA []byte) error

func (*ImageMapOverrideCommand) XXX_DiscardUnknown added in v0.20.8

func (m *ImageMapOverrideCommand) XXX_DiscardUnknown()

func (*ImageMapOverrideCommand) XXX_Marshal added in v0.20.8

func (m *ImageMapOverrideCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageMapOverrideCommand) XXX_Merge added in v0.20.8

func (m *ImageMapOverrideCommand) XXX_Merge(src proto.Message)

func (*ImageMapOverrideCommand) XXX_Size added in v0.20.8

func (m *ImageMapOverrideCommand) XXX_Size() int

func (*ImageMapOverrideCommand) XXX_Unmarshal added in v0.20.8

func (m *ImageMapOverrideCommand) XXX_Unmarshal(b []byte) error

type ImageMapSpec added in v0.20.7

type ImageMapSpec struct {
	// A named image reference.
	//
	// Deployment tools expect this image reference to match an image
	// in the YAML being deployed, and will replace that image reference.
	//
	// By default, this selector will match an image if the names match
	// (tags on both the selector and the matched reference are ignored).
	Selector string `json:"selector" protobuf:"bytes,1,opt,name=selector"`

	// If specified, then tags on both the selector and the matched
	// reference are used for matching. The selector will only
	// match the reference if the tags match exactly.
	//
	// +optional
	MatchExact bool `json:"matchExact,omitempty" protobuf:"varint,2,opt,name=matchExact"`

	// If specified, then the selector will also match any strings
	// in container env variables.
	//
	// +optional
	MatchInEnvVars bool `json:"matchInEnvVars,omitempty" protobuf:"varint,3,opt,name=matchInEnvVars"`

	// If specified, the injector will replace the 'command'
	// field in the container when it replaces the image.
	//
	// +optional
	OverrideCommand *ImageMapOverrideCommand `json:"overrideCommand,omitempty" protobuf:"bytes,4,opt,name=overrideCommand"`

	// If specified, the injector will replace the 'args'
	// field in the container when it replaces the image.
	//
	// +optional
	OverrideArgs *ImageMapOverrideArgs `json:"overrideArgs,omitempty" protobuf:"bytes,5,opt,name=overrideArgs"`
}

ImageMapSpec defines the desired state of ImageMap

func (*ImageMapSpec) DeepCopy added in v0.20.7

func (in *ImageMapSpec) DeepCopy() *ImageMapSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMapSpec.

func (*ImageMapSpec) DeepCopyInto added in v0.20.7

func (in *ImageMapSpec) DeepCopyInto(out *ImageMapSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageMapSpec) Descriptor added in v0.20.7

func (*ImageMapSpec) Descriptor() ([]byte, []int)

func (*ImageMapSpec) Marshal added in v0.20.7

func (m *ImageMapSpec) Marshal() (dAtA []byte, err error)

func (*ImageMapSpec) MarshalTo added in v0.20.7

func (m *ImageMapSpec) MarshalTo(dAtA []byte) (int, error)

func (*ImageMapSpec) MarshalToSizedBuffer added in v0.20.7

func (m *ImageMapSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageMapSpec) ProtoMessage added in v0.20.7

func (*ImageMapSpec) ProtoMessage()

func (*ImageMapSpec) Reset added in v0.20.7

func (m *ImageMapSpec) Reset()

func (*ImageMapSpec) Size added in v0.20.7

func (m *ImageMapSpec) Size() (n int)

func (*ImageMapSpec) String added in v0.20.7

func (this *ImageMapSpec) String() string

func (*ImageMapSpec) Unmarshal added in v0.20.7

func (m *ImageMapSpec) Unmarshal(dAtA []byte) error

func (*ImageMapSpec) XXX_DiscardUnknown added in v0.20.7

func (m *ImageMapSpec) XXX_DiscardUnknown()

func (*ImageMapSpec) XXX_Marshal added in v0.20.7

func (m *ImageMapSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageMapSpec) XXX_Merge added in v0.20.7

func (m *ImageMapSpec) XXX_Merge(src proto.Message)

func (*ImageMapSpec) XXX_Size added in v0.20.7

func (m *ImageMapSpec) XXX_Size() int

func (*ImageMapSpec) XXX_Unmarshal added in v0.20.7

func (m *ImageMapSpec) XXX_Unmarshal(b []byte) error

type ImageMapStatus added in v0.20.7

type ImageMapStatus struct {
	// A fully-qualified image reference, including a name and an immutable tag.
	//
	// The image will not necessarily have the same repo URL as the selector. Many
	// Kubernetes clusters let you push to a local registry for local development.
	Image string `json:"image" protobuf:"bytes,1,opt,name=image"`
}

ImageMapStatus defines the observed state of ImageMap

func (ImageMapStatus) CopyTo added in v0.20.7

func (*ImageMapStatus) DeepCopy added in v0.20.7

func (in *ImageMapStatus) DeepCopy() *ImageMapStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMapStatus.

func (*ImageMapStatus) DeepCopyInto added in v0.20.7

func (in *ImageMapStatus) DeepCopyInto(out *ImageMapStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageMapStatus) Descriptor added in v0.20.7

func (*ImageMapStatus) Descriptor() ([]byte, []int)

func (*ImageMapStatus) Marshal added in v0.20.7

func (m *ImageMapStatus) Marshal() (dAtA []byte, err error)

func (*ImageMapStatus) MarshalTo added in v0.20.7

func (m *ImageMapStatus) MarshalTo(dAtA []byte) (int, error)

func (*ImageMapStatus) MarshalToSizedBuffer added in v0.20.7

func (m *ImageMapStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageMapStatus) ProtoMessage added in v0.20.7

func (*ImageMapStatus) ProtoMessage()

func (*ImageMapStatus) Reset added in v0.20.7

func (m *ImageMapStatus) Reset()

func (*ImageMapStatus) Size added in v0.20.7

func (m *ImageMapStatus) Size() (n int)

func (*ImageMapStatus) String added in v0.20.7

func (this *ImageMapStatus) String() string

func (*ImageMapStatus) Unmarshal added in v0.20.7

func (m *ImageMapStatus) Unmarshal(dAtA []byte) error

func (*ImageMapStatus) XXX_DiscardUnknown added in v0.20.7

func (m *ImageMapStatus) XXX_DiscardUnknown()

func (*ImageMapStatus) XXX_Marshal added in v0.20.7

func (m *ImageMapStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageMapStatus) XXX_Merge added in v0.20.7

func (m *ImageMapStatus) XXX_Merge(src proto.Message)

func (*ImageMapStatus) XXX_Size added in v0.20.7

func (m *ImageMapStatus) XXX_Size() int

func (*ImageMapStatus) XXX_Unmarshal added in v0.20.7

func (m *ImageMapStatus) XXX_Unmarshal(b []byte) error

type KubernetesApply added in v0.20.7

type KubernetesApply struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   KubernetesApplySpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status KubernetesApplyStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

KubernetesApply specifies a blob of YAML to apply, and a set of ImageMaps that the YAML depends on.

The KubernetesApply controller will resolve the ImageMaps into immutable image references. The controller will process the spec YAML, then apply it to the cluster. Those processing steps might include:

- Injecting the resolved image references. - Adding custom labels so that Tilt can track the progress of the apply. - Modifying image pull rules to ensure the image is pulled correctly.

The controller won't apply anything until all ImageMaps resolve to real images.

The controller will watch all the image maps, and redeploy the entire YAML if any of the maps resolve to a new image.

The status field will contain both the raw applied object, and derived fields to help other controllers figure out how to watch the apply progress.

+k8s:openapi-gen=true

func (*KubernetesApply) DeepCopy added in v0.20.7

func (in *KubernetesApply) DeepCopy() *KubernetesApply

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesApply.

func (*KubernetesApply) DeepCopyInto added in v0.20.7

func (in *KubernetesApply) DeepCopyInto(out *KubernetesApply)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesApply) DeepCopyObject added in v0.20.7

func (in *KubernetesApply) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesApply) Descriptor added in v0.20.7

func (*KubernetesApply) Descriptor() ([]byte, []int)

func (*KubernetesApply) GetGroupVersionResource added in v0.20.7

func (in *KubernetesApply) GetGroupVersionResource() schema.GroupVersionResource

func (*KubernetesApply) GetObjectMeta added in v0.20.7

func (in *KubernetesApply) GetObjectMeta() *metav1.ObjectMeta

func (*KubernetesApply) GetSpec added in v0.20.9

func (in *KubernetesApply) GetSpec() interface{}

func (*KubernetesApply) GetStatus added in v0.20.7

func (in *KubernetesApply) GetStatus() resource.StatusSubResource

func (*KubernetesApply) IsStorageVersion added in v0.20.7

func (in *KubernetesApply) IsStorageVersion() bool

func (*KubernetesApply) Marshal added in v0.20.7

func (m *KubernetesApply) Marshal() (dAtA []byte, err error)

func (*KubernetesApply) MarshalTo added in v0.20.7

func (m *KubernetesApply) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesApply) MarshalToSizedBuffer added in v0.20.7

func (m *KubernetesApply) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesApply) NamespaceScoped added in v0.20.7

func (in *KubernetesApply) NamespaceScoped() bool

func (*KubernetesApply) New added in v0.20.7

func (in *KubernetesApply) New() runtime.Object

func (*KubernetesApply) NewList added in v0.20.7

func (in *KubernetesApply) NewList() runtime.Object

func (*KubernetesApply) ProtoMessage added in v0.20.7

func (*KubernetesApply) ProtoMessage()

func (*KubernetesApply) Reset added in v0.20.7

func (m *KubernetesApply) Reset()

func (*KubernetesApply) ShortNames added in v0.21.3

func (in *KubernetesApply) ShortNames() []string

func (*KubernetesApply) Size added in v0.20.7

func (m *KubernetesApply) Size() (n int)

func (*KubernetesApply) String added in v0.20.7

func (this *KubernetesApply) String() string

func (*KubernetesApply) Unmarshal added in v0.20.7

func (m *KubernetesApply) Unmarshal(dAtA []byte) error

func (*KubernetesApply) Validate added in v0.20.7

func (in *KubernetesApply) Validate(ctx context.Context) field.ErrorList

func (*KubernetesApply) XXX_DiscardUnknown added in v0.20.7

func (m *KubernetesApply) XXX_DiscardUnknown()

func (*KubernetesApply) XXX_Marshal added in v0.20.7

func (m *KubernetesApply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesApply) XXX_Merge added in v0.20.7

func (m *KubernetesApply) XXX_Merge(src proto.Message)

func (*KubernetesApply) XXX_Size added in v0.20.7

func (m *KubernetesApply) XXX_Size() int

func (*KubernetesApply) XXX_Unmarshal added in v0.20.7

func (m *KubernetesApply) XXX_Unmarshal(b []byte) error

type KubernetesApplyList added in v0.20.7

type KubernetesApplyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []KubernetesApply `json:"items" protobuf:"bytes,2,rep,name=items"`
}

KubernetesApplyList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KubernetesApplyList) DeepCopy added in v0.20.7

func (in *KubernetesApplyList) DeepCopy() *KubernetesApplyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesApplyList.

func (*KubernetesApplyList) DeepCopyInto added in v0.20.7

func (in *KubernetesApplyList) DeepCopyInto(out *KubernetesApplyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesApplyList) DeepCopyObject added in v0.20.7

func (in *KubernetesApplyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesApplyList) Descriptor added in v0.20.7

func (*KubernetesApplyList) Descriptor() ([]byte, []int)

func (*KubernetesApplyList) GetListMeta added in v0.20.7

func (in *KubernetesApplyList) GetListMeta() *metav1.ListMeta

func (*KubernetesApplyList) Marshal added in v0.20.7

func (m *KubernetesApplyList) Marshal() (dAtA []byte, err error)

func (*KubernetesApplyList) MarshalTo added in v0.20.7

func (m *KubernetesApplyList) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesApplyList) MarshalToSizedBuffer added in v0.20.7

func (m *KubernetesApplyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesApplyList) ProtoMessage added in v0.20.7

func (*KubernetesApplyList) ProtoMessage()

func (*KubernetesApplyList) Reset added in v0.20.7

func (m *KubernetesApplyList) Reset()

func (*KubernetesApplyList) Size added in v0.20.7

func (m *KubernetesApplyList) Size() (n int)

func (*KubernetesApplyList) String added in v0.20.7

func (this *KubernetesApplyList) String() string

func (*KubernetesApplyList) Unmarshal added in v0.20.7

func (m *KubernetesApplyList) Unmarshal(dAtA []byte) error

func (*KubernetesApplyList) XXX_DiscardUnknown added in v0.20.7

func (m *KubernetesApplyList) XXX_DiscardUnknown()

func (*KubernetesApplyList) XXX_Marshal added in v0.20.7

func (m *KubernetesApplyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesApplyList) XXX_Merge added in v0.20.7

func (m *KubernetesApplyList) XXX_Merge(src proto.Message)

func (*KubernetesApplyList) XXX_Size added in v0.20.7

func (m *KubernetesApplyList) XXX_Size() int

func (*KubernetesApplyList) XXX_Unmarshal added in v0.20.7

func (m *KubernetesApplyList) XXX_Unmarshal(b []byte) error

type KubernetesApplySpec added in v0.20.7

type KubernetesApplySpec struct {
	// The YAML to apply to the cluster. Required.
	YAML string `json:"yaml" protobuf:"bytes,1,opt,name=yaml"`

	// Names of image maps that this applier depends on.
	//
	// The controller will watch all the image maps, and redeploy the entire YAML
	// if any of the maps resolve to a new image.
	//
	// +optional
	ImageMaps []string `json:"imageMaps,omitempty" protobuf:"bytes,2,rep,name=imageMaps"`

	// Descriptors of how to find images in the YAML.
	//
	// Needed when injecting images into CRDs.
	//
	// +optional
	ImageLocators []KubernetesImageLocator `json:"imageLocators,omitempty" protobuf:"bytes,3,rep,name=imageLocators"`

	// The timeout on the apply operation.
	//
	// We've had problems with both:
	// 1) CRD apiservers that take an arbitrarily long time to apply, and
	// 2) Infinite loops in the apimachinery
	// So we offer the ability to set a timeout on Kubernetes apply operations.
	//
	// The default timeout is 30s.
	//
	// +optional
	Timeout metav1.Duration `json:"timeout,omitempty" protobuf:"bytes,4,opt,name=timeout"`

	// KubernetesDiscoveryTemplateSpec describes how we discover pods
	// for resources created by this Apply.
	//
	// If not specified, the KubernetesDiscovery controller will listen to all pods,
	// and follow owner references to find the pods owned by these resources.
	//
	// +optional
	KubernetesDiscoveryTemplateSpec *KubernetesDiscoveryTemplateSpec `json:"kubernetesDiscoveryTemplateSpec,omitempty" protobuf:"bytes,5,opt,name=kubernetesDiscoveryTemplateSpec"`

	// PortForwardTemplateSpec describes the data model for port forwards
	// that KubernetesApply should set up.
	//
	// Underneath the hood, we'll create a KubernetesDiscovery object that finds
	// the pods and sets up the port-forwarding. Only one PortForward will be
	// active at a time.
	//
	// +optional
	PortForwardTemplateSpec *PortForwardTemplateSpec `json:"portForwardTemplateSpec,omitempty" protobuf:"bytes,6,opt,name=portForwardTemplateSpec"`

	// PodLogStreamTemplateSpec describes the data model for PodLogStreams
	// that KubernetesApply should set up.
	//
	// Underneath the hood, we'll create a KubernetesDiscovery object that finds
	// the pods and sets up the pod log streams.
	//
	// If no template is specified, the controller will stream all
	// pod logs available from the apiserver.
	//
	// +optional
	PodLogStreamTemplateSpec *PodLogStreamTemplateSpec `json:"podLogStreamTemplateSpec,omitempty" protobuf:"bytes,7,opt,name=podLogStreamTemplateSpec"`
}

KubernetesApplySpec defines the desired state of KubernetesApply

func (*KubernetesApplySpec) DeepCopy added in v0.20.7

func (in *KubernetesApplySpec) DeepCopy() *KubernetesApplySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesApplySpec.

func (*KubernetesApplySpec) DeepCopyInto added in v0.20.7

func (in *KubernetesApplySpec) DeepCopyInto(out *KubernetesApplySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesApplySpec) Descriptor added in v0.20.7

func (*KubernetesApplySpec) Descriptor() ([]byte, []int)

func (*KubernetesApplySpec) Marshal added in v0.20.7

func (m *KubernetesApplySpec) Marshal() (dAtA []byte, err error)

func (*KubernetesApplySpec) MarshalTo added in v0.20.7

func (m *KubernetesApplySpec) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesApplySpec) MarshalToSizedBuffer added in v0.20.7

func (m *KubernetesApplySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesApplySpec) ProtoMessage added in v0.20.7

func (*KubernetesApplySpec) ProtoMessage()

func (*KubernetesApplySpec) Reset added in v0.20.7

func (m *KubernetesApplySpec) Reset()

func (*KubernetesApplySpec) Size added in v0.20.7

func (m *KubernetesApplySpec) Size() (n int)

func (*KubernetesApplySpec) String added in v0.20.7

func (this *KubernetesApplySpec) String() string

func (*KubernetesApplySpec) Unmarshal added in v0.20.7

func (m *KubernetesApplySpec) Unmarshal(dAtA []byte) error

func (*KubernetesApplySpec) XXX_DiscardUnknown added in v0.20.7

func (m *KubernetesApplySpec) XXX_DiscardUnknown()

func (*KubernetesApplySpec) XXX_Marshal added in v0.20.7

func (m *KubernetesApplySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesApplySpec) XXX_Merge added in v0.20.7

func (m *KubernetesApplySpec) XXX_Merge(src proto.Message)

func (*KubernetesApplySpec) XXX_Size added in v0.20.7

func (m *KubernetesApplySpec) XXX_Size() int

func (*KubernetesApplySpec) XXX_Unmarshal added in v0.20.7

func (m *KubernetesApplySpec) XXX_Unmarshal(b []byte) error

type KubernetesApplyStatus added in v0.20.7

type KubernetesApplyStatus struct {
	// The result of applying the YAML to the cluster. This should contain
	// UIDs for the applied resources.
	//
	// +optional
	ResultYAML string `json:"resultYAML,omitempty" protobuf:"bytes,1,opt,name=resultYAML"`

	// An error applying the YAML.
	//
	// If there was an error, than ResultYAML should be empty (and vice versa).
	//
	// +optional
	Error string `json:"error,omitempty" protobuf:"bytes,2,opt,name=error"`

	// The last time the controller tried to apply YAML.
	//
	// +optional
	LastApplyTime metav1.MicroTime `json:"lastApplyTime,omitempty" protobuf:"bytes,3,opt,name=lastApplyTime"`

	// A base64-encoded hash of all the inputs to the apply.
	//
	// We added this so that more procedural code can determine whether
	// their updates have been applied yet or not by the reconciler. But any code
	// using it this way should note that the reconciler may "skip" an update
	// (e.g., if two images get updated in quick succession before the reconciler
	// injects them into the YAML), so a particular ApplieInputHash might never appear.
	//
	// +optional
	AppliedInputHash string `json:"appliedInputHash,omitempty" protobuf:"bytes,4,opt,name=appliedInputHash"`
}

KubernetesApplyStatus defines the observed state of KubernetesApply

func (KubernetesApplyStatus) CopyTo added in v0.20.7

func (*KubernetesApplyStatus) DeepCopy added in v0.20.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesApplyStatus.

func (*KubernetesApplyStatus) DeepCopyInto added in v0.20.7

func (in *KubernetesApplyStatus) DeepCopyInto(out *KubernetesApplyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesApplyStatus) Descriptor added in v0.20.7

func (*KubernetesApplyStatus) Descriptor() ([]byte, []int)

func (*KubernetesApplyStatus) Marshal added in v0.20.7

func (m *KubernetesApplyStatus) Marshal() (dAtA []byte, err error)

func (*KubernetesApplyStatus) MarshalTo added in v0.20.7

func (m *KubernetesApplyStatus) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesApplyStatus) MarshalToSizedBuffer added in v0.20.7

func (m *KubernetesApplyStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesApplyStatus) ProtoMessage added in v0.20.7

func (*KubernetesApplyStatus) ProtoMessage()

func (*KubernetesApplyStatus) Reset added in v0.20.7

func (m *KubernetesApplyStatus) Reset()

func (*KubernetesApplyStatus) Size added in v0.20.7

func (m *KubernetesApplyStatus) Size() (n int)

func (*KubernetesApplyStatus) String added in v0.20.7

func (this *KubernetesApplyStatus) String() string

func (*KubernetesApplyStatus) Unmarshal added in v0.20.7

func (m *KubernetesApplyStatus) Unmarshal(dAtA []byte) error

func (*KubernetesApplyStatus) XXX_DiscardUnknown added in v0.20.7

func (m *KubernetesApplyStatus) XXX_DiscardUnknown()

func (*KubernetesApplyStatus) XXX_Marshal added in v0.20.7

func (m *KubernetesApplyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesApplyStatus) XXX_Merge added in v0.20.7

func (m *KubernetesApplyStatus) XXX_Merge(src proto.Message)

func (*KubernetesApplyStatus) XXX_Size added in v0.20.7

func (m *KubernetesApplyStatus) XXX_Size() int

func (*KubernetesApplyStatus) XXX_Unmarshal added in v0.20.7

func (m *KubernetesApplyStatus) XXX_Unmarshal(b []byte) error

type KubernetesDiscovery added in v0.20.0

type KubernetesDiscovery struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   KubernetesDiscoverySpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status KubernetesDiscoveryStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

KubernetesDiscovery +k8s:openapi-gen=true

func (*KubernetesDiscovery) DeepCopy added in v0.20.0

func (in *KubernetesDiscovery) DeepCopy() *KubernetesDiscovery

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesDiscovery.

func (*KubernetesDiscovery) DeepCopyInto added in v0.20.0

func (in *KubernetesDiscovery) DeepCopyInto(out *KubernetesDiscovery)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesDiscovery) DeepCopyObject added in v0.20.0

func (in *KubernetesDiscovery) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesDiscovery) Descriptor added in v0.20.0

func (*KubernetesDiscovery) Descriptor() ([]byte, []int)

func (*KubernetesDiscovery) GetGroupVersionResource added in v0.20.0

func (in *KubernetesDiscovery) GetGroupVersionResource() schema.GroupVersionResource

func (*KubernetesDiscovery) GetObjectMeta added in v0.20.0

func (in *KubernetesDiscovery) GetObjectMeta() *metav1.ObjectMeta

func (*KubernetesDiscovery) GetStatus added in v0.20.0

func (*KubernetesDiscovery) IsStorageVersion added in v0.20.0

func (in *KubernetesDiscovery) IsStorageVersion() bool

func (*KubernetesDiscovery) Marshal added in v0.20.0

func (m *KubernetesDiscovery) Marshal() (dAtA []byte, err error)

func (*KubernetesDiscovery) MarshalTo added in v0.20.0

func (m *KubernetesDiscovery) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesDiscovery) MarshalToSizedBuffer added in v0.20.0

func (m *KubernetesDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesDiscovery) NamespaceScoped added in v0.20.0

func (in *KubernetesDiscovery) NamespaceScoped() bool

func (*KubernetesDiscovery) New added in v0.20.0

func (*KubernetesDiscovery) NewList added in v0.20.0

func (in *KubernetesDiscovery) NewList() runtime.Object

func (*KubernetesDiscovery) ProtoMessage added in v0.20.0

func (*KubernetesDiscovery) ProtoMessage()

func (*KubernetesDiscovery) Reset added in v0.20.0

func (m *KubernetesDiscovery) Reset()

func (*KubernetesDiscovery) ShortNames added in v0.21.3

func (in *KubernetesDiscovery) ShortNames() []string

func (*KubernetesDiscovery) Size added in v0.20.0

func (m *KubernetesDiscovery) Size() (n int)

func (*KubernetesDiscovery) String added in v0.20.0

func (this *KubernetesDiscovery) String() string

func (*KubernetesDiscovery) Unmarshal added in v0.20.0

func (m *KubernetesDiscovery) Unmarshal(dAtA []byte) error

func (*KubernetesDiscovery) Validate added in v0.20.0

func (*KubernetesDiscovery) XXX_DiscardUnknown added in v0.20.0

func (m *KubernetesDiscovery) XXX_DiscardUnknown()

func (*KubernetesDiscovery) XXX_Marshal added in v0.20.0

func (m *KubernetesDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesDiscovery) XXX_Merge added in v0.20.0

func (m *KubernetesDiscovery) XXX_Merge(src proto.Message)

func (*KubernetesDiscovery) XXX_Size added in v0.20.0

func (m *KubernetesDiscovery) XXX_Size() int

func (*KubernetesDiscovery) XXX_Unmarshal added in v0.20.0

func (m *KubernetesDiscovery) XXX_Unmarshal(b []byte) error

type KubernetesDiscoveryList added in v0.20.0

type KubernetesDiscoveryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []KubernetesDiscovery `json:"items" protobuf:"bytes,2,rep,name=items"`
}

KubernetesDiscoveryList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KubernetesDiscoveryList) DeepCopy added in v0.20.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesDiscoveryList.

func (*KubernetesDiscoveryList) DeepCopyInto added in v0.20.0

func (in *KubernetesDiscoveryList) DeepCopyInto(out *KubernetesDiscoveryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesDiscoveryList) DeepCopyObject added in v0.20.0

func (in *KubernetesDiscoveryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesDiscoveryList) Descriptor added in v0.20.0

func (*KubernetesDiscoveryList) Descriptor() ([]byte, []int)

func (*KubernetesDiscoveryList) GetListMeta added in v0.20.0

func (in *KubernetesDiscoveryList) GetListMeta() *metav1.ListMeta

func (*KubernetesDiscoveryList) Marshal added in v0.20.0

func (m *KubernetesDiscoveryList) Marshal() (dAtA []byte, err error)

func (*KubernetesDiscoveryList) MarshalTo added in v0.20.0

func (m *KubernetesDiscoveryList) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesDiscoveryList) MarshalToSizedBuffer added in v0.20.0

func (m *KubernetesDiscoveryList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesDiscoveryList) ProtoMessage added in v0.20.0

func (*KubernetesDiscoveryList) ProtoMessage()

func (*KubernetesDiscoveryList) Reset added in v0.20.0

func (m *KubernetesDiscoveryList) Reset()

func (*KubernetesDiscoveryList) Size added in v0.20.0

func (m *KubernetesDiscoveryList) Size() (n int)

func (*KubernetesDiscoveryList) String added in v0.20.0

func (this *KubernetesDiscoveryList) String() string

func (*KubernetesDiscoveryList) Unmarshal added in v0.20.0

func (m *KubernetesDiscoveryList) Unmarshal(dAtA []byte) error

func (*KubernetesDiscoveryList) XXX_DiscardUnknown added in v0.20.0

func (m *KubernetesDiscoveryList) XXX_DiscardUnknown()

func (*KubernetesDiscoveryList) XXX_Marshal added in v0.20.0

func (m *KubernetesDiscoveryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesDiscoveryList) XXX_Merge added in v0.20.0

func (m *KubernetesDiscoveryList) XXX_Merge(src proto.Message)

func (*KubernetesDiscoveryList) XXX_Size added in v0.20.0

func (m *KubernetesDiscoveryList) XXX_Size() int

func (*KubernetesDiscoveryList) XXX_Unmarshal added in v0.20.0

func (m *KubernetesDiscoveryList) XXX_Unmarshal(b []byte) error

type KubernetesDiscoverySpec added in v0.20.0

type KubernetesDiscoverySpec struct {
	// Watches determine what resources are discovered.
	//
	// If a discovered resource (e.g. Pod) matches the KubernetesWatchRef UID exactly, it will be reported.
	// If a discovered resource is transitively owned by the KubernetesWatchRef UID, it will be reported.
	Watches []KubernetesWatchRef `json:"watches" protobuf:"bytes,1,rep,name=watches"`

	// ExtraSelectors are label selectors that will force discovery of a Pod even if it does not match
	// the AncestorUID.
	//
	// This should only be necessary in the event that a CRD creates Pods but does not set an owner reference
	// to itself.
	ExtraSelectors []metav1.LabelSelector `json:"extraSelectors,omitempty" protobuf:"bytes,2,rep,name=extraSelectors"`

	// PortForwardTemplateSpec describes the data model for port forwards
	// that KubernetesDiscovery should set up.
	//
	// The KubernetesDiscovery controller will choose a "best" candidate
	// for attaching the port-forwarding. Only one PortForward will be
	// active at a time.
	//
	// +optional
	PortForwardTemplateSpec *PortForwardTemplateSpec `json:"portForwardTemplateSpec,omitempty" protobuf:"bytes,3,opt,name=portForwardTemplateSpec"`

	// PodLogStreamTemplateSpec describes the data model for PodLogStreams
	// that KubernetesDiscovery should set up.
	//
	// The KubernetesDiscovery controller will attach PodLogStream objects
	// to all active pods it discovers.
	//
	// If no template is specified, the controller will stream all
	// pod logs available from the apiserver.
	//
	// +optional
	PodLogStreamTemplateSpec *PodLogStreamTemplateSpec `json:"podLogStreamTemplateSpec,omitempty" protobuf:"bytes,4,opt,name=podLogStreamTemplateSpec"`
}

KubernetesDiscoverySpec defines the desired state of KubernetesDiscovery

func (*KubernetesDiscoverySpec) DeepCopy added in v0.20.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesDiscoverySpec.

func (*KubernetesDiscoverySpec) DeepCopyInto added in v0.20.0

func (in *KubernetesDiscoverySpec) DeepCopyInto(out *KubernetesDiscoverySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesDiscoverySpec) Descriptor added in v0.20.0

func (*KubernetesDiscoverySpec) Descriptor() ([]byte, []int)

func (*KubernetesDiscoverySpec) Marshal added in v0.20.0

func (m *KubernetesDiscoverySpec) Marshal() (dAtA []byte, err error)

func (*KubernetesDiscoverySpec) MarshalTo added in v0.20.0

func (m *KubernetesDiscoverySpec) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesDiscoverySpec) MarshalToSizedBuffer added in v0.20.0

func (m *KubernetesDiscoverySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesDiscoverySpec) ProtoMessage added in v0.20.0

func (*KubernetesDiscoverySpec) ProtoMessage()

func (*KubernetesDiscoverySpec) Reset added in v0.20.0

func (m *KubernetesDiscoverySpec) Reset()

func (*KubernetesDiscoverySpec) Size added in v0.20.0

func (m *KubernetesDiscoverySpec) Size() (n int)

func (*KubernetesDiscoverySpec) String added in v0.20.0

func (this *KubernetesDiscoverySpec) String() string

func (*KubernetesDiscoverySpec) Unmarshal added in v0.20.0

func (m *KubernetesDiscoverySpec) Unmarshal(dAtA []byte) error

func (*KubernetesDiscoverySpec) XXX_DiscardUnknown added in v0.20.0

func (m *KubernetesDiscoverySpec) XXX_DiscardUnknown()

func (*KubernetesDiscoverySpec) XXX_Marshal added in v0.20.0

func (m *KubernetesDiscoverySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesDiscoverySpec) XXX_Merge added in v0.20.0

func (m *KubernetesDiscoverySpec) XXX_Merge(src proto.Message)

func (*KubernetesDiscoverySpec) XXX_Size added in v0.20.0

func (m *KubernetesDiscoverySpec) XXX_Size() int

func (*KubernetesDiscoverySpec) XXX_Unmarshal added in v0.20.0

func (m *KubernetesDiscoverySpec) XXX_Unmarshal(b []byte) error

type KubernetesDiscoveryStatus added in v0.20.0

type KubernetesDiscoveryStatus struct {
	// MonitorStartTime is the timestamp of when Kubernetes resource discovery was started.
	//
	// It is zero if discovery has not been started yet.
	MonitorStartTime metav1.MicroTime `json:"monitorStartTime,omitempty" protobuf:"bytes,2,opt,name=monitorStartTime"`

	// Pods that have been discovered based on the criteria in the spec.
	Pods []Pod `json:"pods" protobuf:"bytes,1,rep,name=pods"`
}

KubernetesDiscoveryStatus defines the observed state of KubernetesDiscovery

func (KubernetesDiscoveryStatus) CopyTo added in v0.20.0

func (*KubernetesDiscoveryStatus) DeepCopy added in v0.20.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesDiscoveryStatus.

func (*KubernetesDiscoveryStatus) DeepCopyInto added in v0.20.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesDiscoveryStatus) Descriptor added in v0.20.0

func (*KubernetesDiscoveryStatus) Descriptor() ([]byte, []int)

func (*KubernetesDiscoveryStatus) Marshal added in v0.20.0

func (m *KubernetesDiscoveryStatus) Marshal() (dAtA []byte, err error)

func (*KubernetesDiscoveryStatus) MarshalTo added in v0.20.0

func (m *KubernetesDiscoveryStatus) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesDiscoveryStatus) MarshalToSizedBuffer added in v0.20.0

func (m *KubernetesDiscoveryStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesDiscoveryStatus) ProtoMessage added in v0.20.0

func (*KubernetesDiscoveryStatus) ProtoMessage()

func (*KubernetesDiscoveryStatus) Reset added in v0.20.0

func (m *KubernetesDiscoveryStatus) Reset()

func (*KubernetesDiscoveryStatus) Size added in v0.20.0

func (m *KubernetesDiscoveryStatus) Size() (n int)

func (*KubernetesDiscoveryStatus) String added in v0.20.0

func (this *KubernetesDiscoveryStatus) String() string

func (*KubernetesDiscoveryStatus) Unmarshal added in v0.20.0

func (m *KubernetesDiscoveryStatus) Unmarshal(dAtA []byte) error

func (*KubernetesDiscoveryStatus) XXX_DiscardUnknown added in v0.20.0

func (m *KubernetesDiscoveryStatus) XXX_DiscardUnknown()

func (*KubernetesDiscoveryStatus) XXX_Marshal added in v0.20.0

func (m *KubernetesDiscoveryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesDiscoveryStatus) XXX_Merge added in v0.20.0

func (m *KubernetesDiscoveryStatus) XXX_Merge(src proto.Message)

func (*KubernetesDiscoveryStatus) XXX_Size added in v0.20.0

func (m *KubernetesDiscoveryStatus) XXX_Size() int

func (*KubernetesDiscoveryStatus) XXX_Unmarshal added in v0.20.0

func (m *KubernetesDiscoveryStatus) XXX_Unmarshal(b []byte) error

type KubernetesDiscoveryTemplateSpec added in v0.21.3

type KubernetesDiscoveryTemplateSpec struct {
	// ExtraSelectors are label selectors that will force discovery of a Pod even
	// if it does not match the AncestorUID.
	//
	// This should only be necessary in the event that a CRD creates Pods but does
	// not set an owner reference to itself.
	ExtraSelectors []metav1.LabelSelector `json:"extraSelectors,omitempty" protobuf:"bytes,1,rep,name=extraSelectors"`
}

func (*KubernetesDiscoveryTemplateSpec) DeepCopy added in v0.21.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesDiscoveryTemplateSpec.

func (*KubernetesDiscoveryTemplateSpec) DeepCopyInto added in v0.21.3

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesDiscoveryTemplateSpec) Descriptor added in v0.21.3

func (*KubernetesDiscoveryTemplateSpec) Descriptor() ([]byte, []int)

func (*KubernetesDiscoveryTemplateSpec) Marshal added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) Marshal() (dAtA []byte, err error)

func (*KubernetesDiscoveryTemplateSpec) MarshalTo added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesDiscoveryTemplateSpec) MarshalToSizedBuffer added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesDiscoveryTemplateSpec) ProtoMessage added in v0.21.3

func (*KubernetesDiscoveryTemplateSpec) ProtoMessage()

func (*KubernetesDiscoveryTemplateSpec) Reset added in v0.21.3

func (*KubernetesDiscoveryTemplateSpec) Size added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) Size() (n int)

func (*KubernetesDiscoveryTemplateSpec) String added in v0.21.3

func (this *KubernetesDiscoveryTemplateSpec) String() string

func (*KubernetesDiscoveryTemplateSpec) Unmarshal added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) Unmarshal(dAtA []byte) error

func (*KubernetesDiscoveryTemplateSpec) XXX_DiscardUnknown added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) XXX_DiscardUnknown()

func (*KubernetesDiscoveryTemplateSpec) XXX_Marshal added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesDiscoveryTemplateSpec) XXX_Merge added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) XXX_Merge(src proto.Message)

func (*KubernetesDiscoveryTemplateSpec) XXX_Size added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) XXX_Size() int

func (*KubernetesDiscoveryTemplateSpec) XXX_Unmarshal added in v0.21.3

func (m *KubernetesDiscoveryTemplateSpec) XXX_Unmarshal(b []byte) error

type KubernetesImageLocator added in v0.20.8

type KubernetesImageLocator struct {
	// Selects which objects to look in.
	ObjectSelector ObjectSelector `json:"objectSelector" protobuf:"bytes,1,opt,name=objectSelector"`

	// A JSON path to the image reference field.
	//
	// If Object is empty, the field should be a string.
	//
	// If Object is non-empty, the field should be an object with subfields.
	Path string `json:"path" protobuf:"bytes,2,opt,name=path"`

	// A descriptor of the path and structure of an object that describes an image
	// reference. This is a common way to describe images in CRDs, breaking
	// them down into an object rather than an image reference string.
	//
	// +optional
	Object *KubernetesImageObjectDescriptor `json:"object,omitempty" protobuf:"bytes,3,opt,name=object"`
}

Finds image references in Kubernetes YAML.

func (*KubernetesImageLocator) DeepCopy added in v0.20.8

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesImageLocator.

func (*KubernetesImageLocator) DeepCopyInto added in v0.20.8

func (in *KubernetesImageLocator) DeepCopyInto(out *KubernetesImageLocator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesImageLocator) Descriptor added in v0.20.8

func (*KubernetesImageLocator) Descriptor() ([]byte, []int)

func (*KubernetesImageLocator) Marshal added in v0.20.8

func (m *KubernetesImageLocator) Marshal() (dAtA []byte, err error)

func (*KubernetesImageLocator) MarshalTo added in v0.20.8

func (m *KubernetesImageLocator) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesImageLocator) MarshalToSizedBuffer added in v0.20.8

func (m *KubernetesImageLocator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesImageLocator) ProtoMessage added in v0.20.8

func (*KubernetesImageLocator) ProtoMessage()

func (*KubernetesImageLocator) Reset added in v0.20.8

func (m *KubernetesImageLocator) Reset()

func (*KubernetesImageLocator) Size added in v0.20.8

func (m *KubernetesImageLocator) Size() (n int)

func (*KubernetesImageLocator) String added in v0.20.8

func (this *KubernetesImageLocator) String() string

func (*KubernetesImageLocator) Unmarshal added in v0.20.8

func (m *KubernetesImageLocator) Unmarshal(dAtA []byte) error

func (*KubernetesImageLocator) XXX_DiscardUnknown added in v0.20.8

func (m *KubernetesImageLocator) XXX_DiscardUnknown()

func (*KubernetesImageLocator) XXX_Marshal added in v0.20.8

func (m *KubernetesImageLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesImageLocator) XXX_Merge added in v0.20.8

func (m *KubernetesImageLocator) XXX_Merge(src proto.Message)

func (*KubernetesImageLocator) XXX_Size added in v0.20.8

func (m *KubernetesImageLocator) XXX_Size() int

func (*KubernetesImageLocator) XXX_Unmarshal added in v0.20.8

func (m *KubernetesImageLocator) XXX_Unmarshal(b []byte) error

type KubernetesImageObjectDescriptor added in v0.20.8

type KubernetesImageObjectDescriptor struct {
	// The name of the field that contains the image repository.
	RepoField string `json:"repoField" protobuf:"bytes,1,opt,name=repoField"`

	// The name of the field that contains the image tag.
	TagField string `json:"tagField" protobuf:"bytes,2,opt,name=tagField"`
}

func (*KubernetesImageObjectDescriptor) DeepCopy added in v0.20.8

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesImageObjectDescriptor.

func (*KubernetesImageObjectDescriptor) DeepCopyInto added in v0.20.8

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesImageObjectDescriptor) Descriptor added in v0.20.8

func (*KubernetesImageObjectDescriptor) Descriptor() ([]byte, []int)

func (*KubernetesImageObjectDescriptor) Marshal added in v0.20.8

func (m *KubernetesImageObjectDescriptor) Marshal() (dAtA []byte, err error)

func (*KubernetesImageObjectDescriptor) MarshalTo added in v0.20.8

func (m *KubernetesImageObjectDescriptor) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesImageObjectDescriptor) MarshalToSizedBuffer added in v0.20.8

func (m *KubernetesImageObjectDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesImageObjectDescriptor) ProtoMessage added in v0.20.8

func (*KubernetesImageObjectDescriptor) ProtoMessage()

func (*KubernetesImageObjectDescriptor) Reset added in v0.20.8

func (*KubernetesImageObjectDescriptor) Size added in v0.20.8

func (m *KubernetesImageObjectDescriptor) Size() (n int)

func (*KubernetesImageObjectDescriptor) String added in v0.20.8

func (this *KubernetesImageObjectDescriptor) String() string

func (*KubernetesImageObjectDescriptor) Unmarshal added in v0.20.8

func (m *KubernetesImageObjectDescriptor) Unmarshal(dAtA []byte) error

func (*KubernetesImageObjectDescriptor) XXX_DiscardUnknown added in v0.20.8

func (m *KubernetesImageObjectDescriptor) XXX_DiscardUnknown()

func (*KubernetesImageObjectDescriptor) XXX_Marshal added in v0.20.8

func (m *KubernetesImageObjectDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesImageObjectDescriptor) XXX_Merge added in v0.20.8

func (m *KubernetesImageObjectDescriptor) XXX_Merge(src proto.Message)

func (*KubernetesImageObjectDescriptor) XXX_Size added in v0.20.8

func (m *KubernetesImageObjectDescriptor) XXX_Size() int

func (*KubernetesImageObjectDescriptor) XXX_Unmarshal added in v0.20.8

func (m *KubernetesImageObjectDescriptor) XXX_Unmarshal(b []byte) error

type KubernetesWatchRef added in v0.20.0

type KubernetesWatchRef struct {
	// UID is a Kubernetes object UID.
	//
	// It should either be the exact object UID or the transitive owner.
	UID string `json:"uid" protobuf:"bytes,1,opt,name=uid"`
	// Namespace is the Kubernetes namespace for discovery. Required.
	Namespace string `json:"namespace" protobuf:"bytes,2,opt,name=namespace"`
	// Name is the Kubernetes object name.
	//
	// This is not directly used in discovery; it is extra metadata.
	Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"`
}

KubernetesWatchRef is similar to v1.ObjectReference from the Kubernetes API and is used to determine what objects should be reported on based on discovery.

func (*KubernetesWatchRef) DeepCopy added in v0.20.0

func (in *KubernetesWatchRef) DeepCopy() *KubernetesWatchRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesWatchRef.

func (*KubernetesWatchRef) DeepCopyInto added in v0.20.0

func (in *KubernetesWatchRef) DeepCopyInto(out *KubernetesWatchRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubernetesWatchRef) Descriptor added in v0.20.0

func (*KubernetesWatchRef) Descriptor() ([]byte, []int)

func (*KubernetesWatchRef) Marshal added in v0.20.0

func (m *KubernetesWatchRef) Marshal() (dAtA []byte, err error)

func (*KubernetesWatchRef) MarshalTo added in v0.20.0

func (m *KubernetesWatchRef) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesWatchRef) MarshalToSizedBuffer added in v0.20.0

func (m *KubernetesWatchRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesWatchRef) ProtoMessage added in v0.20.0

func (*KubernetesWatchRef) ProtoMessage()

func (*KubernetesWatchRef) Reset added in v0.20.0

func (m *KubernetesWatchRef) Reset()

func (*KubernetesWatchRef) Size added in v0.20.0

func (m *KubernetesWatchRef) Size() (n int)

func (*KubernetesWatchRef) String added in v0.20.0

func (this *KubernetesWatchRef) String() string

func (*KubernetesWatchRef) Unmarshal added in v0.20.0

func (m *KubernetesWatchRef) Unmarshal(dAtA []byte) error

func (*KubernetesWatchRef) XXX_DiscardUnknown added in v0.20.0

func (m *KubernetesWatchRef) XXX_DiscardUnknown()

func (*KubernetesWatchRef) XXX_Marshal added in v0.20.0

func (m *KubernetesWatchRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesWatchRef) XXX_Merge added in v0.20.0

func (m *KubernetesWatchRef) XXX_Merge(src proto.Message)

func (*KubernetesWatchRef) XXX_Size added in v0.20.0

func (m *KubernetesWatchRef) XXX_Size() int

func (*KubernetesWatchRef) XXX_Unmarshal added in v0.20.0

func (m *KubernetesWatchRef) XXX_Unmarshal(b []byte) error

type ObjectSelector added in v0.20.8

type ObjectSelector struct {

	// A regular expression apiVersion match.
	// +optional
	APIVersionRegexp string `json:"apiVersionRegexp,omitempty" protobuf:"bytes,1,opt,name=apiVersionRegexp"`

	// A regular expression kind match.
	// +optional
	KindRegexp string `json:"kindRegexp,omitempty" protobuf:"bytes,2,opt,name=kindRegexp"`

	// A regular expression name match.
	// +optional
	NameRegexp string `json:"nameRegexp,omitempty" protobuf:"bytes,3,opt,name=nameRegexp"`

	// A regular expression namespace match.
	// +optional
	NamespaceRegexp string `json:"namespaceRegexp,omitempty" protobuf:"bytes,4,opt,name=namespaceRegexp"`
}

Selector for any Kubernetes-style API.

func (*ObjectSelector) DeepCopy added in v0.20.8

func (in *ObjectSelector) DeepCopy() *ObjectSelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSelector.

func (*ObjectSelector) DeepCopyInto added in v0.20.8

func (in *ObjectSelector) DeepCopyInto(out *ObjectSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ObjectSelector) Descriptor added in v0.20.8

func (*ObjectSelector) Descriptor() ([]byte, []int)

func (*ObjectSelector) Marshal added in v0.20.8

func (m *ObjectSelector) Marshal() (dAtA []byte, err error)

func (*ObjectSelector) MarshalTo added in v0.20.8

func (m *ObjectSelector) MarshalTo(dAtA []byte) (int, error)

func (*ObjectSelector) MarshalToSizedBuffer added in v0.20.8

func (m *ObjectSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObjectSelector) ProtoMessage added in v0.20.8

func (*ObjectSelector) ProtoMessage()

func (*ObjectSelector) Reset added in v0.20.8

func (m *ObjectSelector) Reset()

func (*ObjectSelector) Size added in v0.20.8

func (m *ObjectSelector) Size() (n int)

func (*ObjectSelector) String added in v0.20.8

func (this *ObjectSelector) String() string

func (*ObjectSelector) Unmarshal added in v0.20.8

func (m *ObjectSelector) Unmarshal(dAtA []byte) error

func (*ObjectSelector) XXX_DiscardUnknown added in v0.20.8

func (m *ObjectSelector) XXX_DiscardUnknown()

func (*ObjectSelector) XXX_Marshal added in v0.20.8

func (m *ObjectSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectSelector) XXX_Merge added in v0.20.8

func (m *ObjectSelector) XXX_Merge(src proto.Message)

func (*ObjectSelector) XXX_Size added in v0.20.8

func (m *ObjectSelector) XXX_Size() int

func (*ObjectSelector) XXX_Unmarshal added in v0.20.8

func (m *ObjectSelector) XXX_Unmarshal(b []byte) error

type Pod added in v0.19.7

type Pod struct {
	// UID is the unique Pod UID within the K8s cluster.
	UID string `json:"uid" protobuf:"bytes,14,opt,name=uid"`
	// Name is the Pod name within the K8s cluster.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Namespace is the Pod namespace within the K8s cluster.
	Namespace string `json:"namespace" protobuf:"bytes,2,opt,name=namespace"`
	// CreatedAt is when the Pod was created.
	CreatedAt metav1.Time `json:"createdAt" protobuf:"bytes,3,opt,name=createdAt"`
	// Phase is where the Pod is at in its current lifecycle.
	//
	// Valid values for this are v1.PodPhase values from the Kubernetes API.
	Phase string `json:"phase" protobuf:"bytes,4,opt,name=phase"`
	// Deleting indicates that the Pod is in the process of being removed.
	Deleting bool `json:"deleting" protobuf:"varint,5,opt,name=deleting"`
	// Conditions are various lifecycle conditions for this Pod.
	//
	// See also v1.PodCondition in the Kubernetes API.
	Conditions []PodCondition `json:"conditions,omitempty" protobuf:"bytes,6,rep,name=conditions"`
	// InitContainers are containers executed prior to the Pod containers being executed.
	InitContainers []Container `json:"initContainers,omitempty" protobuf:"bytes,7,rep,name=initContainers"`
	// Containers are the containers belonging to the Pod.
	Containers []Container `json:"containers" protobuf:"bytes,8,rep,name=containers"`

	// AncestorUID is the UID from the WatchRef that matched this Pod.
	//
	// If the Pod matched based on extra label selectors, this will be empty.
	//
	// +optional
	AncestorUID string `json:"ancestorUID,omitempty" protobuf:"bytes,15,opt,name=ancestorUID"`
	// PodTemplateSpecHash is a hash of the Pod template spec.
	//
	// Tilt uses this to associate Pods with the build that triggered them.
	PodTemplateSpecHash string `json:"podTemplateSpecHash,omitempty" protobuf:"bytes,10,opt,name=podTemplateSpecHash"`
	// Status is a concise description for the Pod's current state.
	//
	// This is based off the status output from `kubectl get pod` and is not an "enum-like"
	// value.
	Status string `json:"status" protobuf:"bytes,12,opt,name=status"`
	// Errors are aggregated error messages for the Pod and its containers.
	Errors []string `json:"errors" protobuf:"bytes,13,rep,name=errors"`
}

Pod is a collection of containers that can run on a host.

The Tilt API representation mirrors the Kubernetes API very closely. Irrelevant data is not included, and some fields might be simplified.

There might also be Tilt-specific status fields.

func (*Pod) DeepCopy added in v0.19.7

func (in *Pod) DeepCopy() *Pod

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.

func (*Pod) DeepCopyInto added in v0.19.7

func (in *Pod) DeepCopyInto(out *Pod)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Pod) Descriptor added in v0.20.0

func (*Pod) Descriptor() ([]byte, []int)

func (*Pod) Marshal added in v0.20.0

func (m *Pod) Marshal() (dAtA []byte, err error)

func (*Pod) MarshalTo added in v0.20.0

func (m *Pod) MarshalTo(dAtA []byte) (int, error)

func (*Pod) MarshalToSizedBuffer added in v0.20.0

func (m *Pod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pod) ProtoMessage added in v0.20.0

func (*Pod) ProtoMessage()

func (*Pod) Reset added in v0.20.0

func (m *Pod) Reset()

func (*Pod) Size added in v0.20.0

func (m *Pod) Size() (n int)

func (*Pod) String added in v0.20.0

func (this *Pod) String() string

func (*Pod) Unmarshal added in v0.20.0

func (m *Pod) Unmarshal(dAtA []byte) error

func (*Pod) XXX_DiscardUnknown added in v0.20.0

func (m *Pod) XXX_DiscardUnknown()

func (*Pod) XXX_Marshal added in v0.20.0

func (m *Pod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pod) XXX_Merge added in v0.20.0

func (m *Pod) XXX_Merge(src proto.Message)

func (*Pod) XXX_Size added in v0.20.0

func (m *Pod) XXX_Size() int

func (*Pod) XXX_Unmarshal added in v0.20.0

func (m *Pod) XXX_Unmarshal(b []byte) error

type PodCondition added in v0.19.7

type PodCondition struct {
	// Type is the type of condition.
	//
	// Valid values for this are v1.PodConditionType values from the Kubernetes API.
	Type string `json:"type" protobuf:"bytes,1,opt,name=type"`
	// Status is the current state of the condition (True, False, or Unknown).
	//
	// Valid values for this are v1.PodConditionStatus values from the Kubernetes API.
	Status string `json:"status" protobuf:"bytes,2,opt,name=status"`
	// LastTransitionTime is the last time the status changed.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// Reason is a unique, one-word, CamelCase value for the cause of the last status change.
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// Message is a human-readable description of the last status change.
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

PodCondition is a lifecycle condition for a Pod.

func (*PodCondition) DeepCopy added in v0.19.7

func (in *PodCondition) DeepCopy() *PodCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition.

func (*PodCondition) DeepCopyInto added in v0.19.7

func (in *PodCondition) DeepCopyInto(out *PodCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodCondition) Descriptor added in v0.20.0

func (*PodCondition) Descriptor() ([]byte, []int)

func (*PodCondition) Marshal added in v0.20.0

func (m *PodCondition) Marshal() (dAtA []byte, err error)

func (*PodCondition) MarshalTo added in v0.20.0

func (m *PodCondition) MarshalTo(dAtA []byte) (int, error)

func (*PodCondition) MarshalToSizedBuffer added in v0.20.0

func (m *PodCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodCondition) ProtoMessage added in v0.20.0

func (*PodCondition) ProtoMessage()

func (*PodCondition) Reset added in v0.20.0

func (m *PodCondition) Reset()

func (*PodCondition) Size added in v0.20.0

func (m *PodCondition) Size() (n int)

func (*PodCondition) String added in v0.20.0

func (this *PodCondition) String() string

func (*PodCondition) Unmarshal added in v0.20.0

func (m *PodCondition) Unmarshal(dAtA []byte) error

func (*PodCondition) XXX_DiscardUnknown added in v0.20.0

func (m *PodCondition) XXX_DiscardUnknown()

func (*PodCondition) XXX_Marshal added in v0.20.0

func (m *PodCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodCondition) XXX_Merge added in v0.20.0

func (m *PodCondition) XXX_Merge(src proto.Message)

func (*PodCondition) XXX_Size added in v0.20.0

func (m *PodCondition) XXX_Size() int

func (*PodCondition) XXX_Unmarshal added in v0.20.0

func (m *PodCondition) XXX_Unmarshal(b []byte) error

type PodLogStream added in v0.19.1

type PodLogStream struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   PodLogStreamSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status PodLogStreamStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

PodLogStream

Streams logs from a pod on Kubernetes into the core Tilt engine.

+k8s:openapi-gen=true

func (*PodLogStream) DeepCopy added in v0.19.1

func (in *PodLogStream) DeepCopy() *PodLogStream

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogStream.

func (*PodLogStream) DeepCopyInto added in v0.19.1

func (in *PodLogStream) DeepCopyInto(out *PodLogStream)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodLogStream) DeepCopyObject added in v0.19.1

func (in *PodLogStream) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PodLogStream) Descriptor added in v0.20.0

func (*PodLogStream) Descriptor() ([]byte, []int)

func (*PodLogStream) GetGroupVersionResource added in v0.19.1

func (in *PodLogStream) GetGroupVersionResource() schema.GroupVersionResource

func (*PodLogStream) GetObjectMeta added in v0.19.1

func (in *PodLogStream) GetObjectMeta() *metav1.ObjectMeta

func (*PodLogStream) GetStatus added in v0.19.1

func (in *PodLogStream) GetStatus() resource.StatusSubResource

func (*PodLogStream) IsStorageVersion added in v0.19.1

func (in *PodLogStream) IsStorageVersion() bool

func (*PodLogStream) Marshal added in v0.20.0

func (m *PodLogStream) Marshal() (dAtA []byte, err error)

func (*PodLogStream) MarshalTo added in v0.20.0

func (m *PodLogStream) MarshalTo(dAtA []byte) (int, error)

func (*PodLogStream) MarshalToSizedBuffer added in v0.20.0

func (m *PodLogStream) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodLogStream) NamespaceScoped added in v0.19.1

func (in *PodLogStream) NamespaceScoped() bool

func (*PodLogStream) New added in v0.19.1

func (in *PodLogStream) New() runtime.Object

func (*PodLogStream) NewList added in v0.19.1

func (in *PodLogStream) NewList() runtime.Object

func (*PodLogStream) ProtoMessage added in v0.20.0

func (*PodLogStream) ProtoMessage()

func (*PodLogStream) Reset added in v0.20.0

func (m *PodLogStream) Reset()

func (*PodLogStream) ShortNames added in v0.20.4

func (in *PodLogStream) ShortNames() []string

func (*PodLogStream) Size added in v0.20.0

func (m *PodLogStream) Size() (n int)

func (*PodLogStream) String added in v0.20.0

func (this *PodLogStream) String() string

func (*PodLogStream) Unmarshal added in v0.20.0

func (m *PodLogStream) Unmarshal(dAtA []byte) error

func (*PodLogStream) Validate added in v0.19.1

func (in *PodLogStream) Validate(ctx context.Context) field.ErrorList

func (*PodLogStream) XXX_DiscardUnknown added in v0.20.0

func (m *PodLogStream) XXX_DiscardUnknown()

func (*PodLogStream) XXX_Marshal added in v0.20.0

func (m *PodLogStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodLogStream) XXX_Merge added in v0.20.0

func (m *PodLogStream) XXX_Merge(src proto.Message)

func (*PodLogStream) XXX_Size added in v0.20.0

func (m *PodLogStream) XXX_Size() int

func (*PodLogStream) XXX_Unmarshal added in v0.20.0

func (m *PodLogStream) XXX_Unmarshal(b []byte) error

type PodLogStreamList added in v0.19.1

type PodLogStreamList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []PodLogStream `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PodLogStreamList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PodLogStreamList) DeepCopy added in v0.19.1

func (in *PodLogStreamList) DeepCopy() *PodLogStreamList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogStreamList.

func (*PodLogStreamList) DeepCopyInto added in v0.19.1

func (in *PodLogStreamList) DeepCopyInto(out *PodLogStreamList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodLogStreamList) DeepCopyObject added in v0.19.1

func (in *PodLogStreamList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PodLogStreamList) Descriptor added in v0.20.0

func (*PodLogStreamList) Descriptor() ([]byte, []int)

func (*PodLogStreamList) GetListMeta added in v0.19.1

func (in *PodLogStreamList) GetListMeta() *metav1.ListMeta

func (*PodLogStreamList) Marshal added in v0.20.0

func (m *PodLogStreamList) Marshal() (dAtA []byte, err error)

func (*PodLogStreamList) MarshalTo added in v0.20.0

func (m *PodLogStreamList) MarshalTo(dAtA []byte) (int, error)

func (*PodLogStreamList) MarshalToSizedBuffer added in v0.20.0

func (m *PodLogStreamList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodLogStreamList) ProtoMessage added in v0.20.0

func (*PodLogStreamList) ProtoMessage()

func (*PodLogStreamList) Reset added in v0.20.0

func (m *PodLogStreamList) Reset()

func (*PodLogStreamList) Size added in v0.20.0

func (m *PodLogStreamList) Size() (n int)

func (*PodLogStreamList) String added in v0.20.0

func (this *PodLogStreamList) String() string

func (*PodLogStreamList) Unmarshal added in v0.20.0

func (m *PodLogStreamList) Unmarshal(dAtA []byte) error

func (*PodLogStreamList) XXX_DiscardUnknown added in v0.20.0

func (m *PodLogStreamList) XXX_DiscardUnknown()

func (*PodLogStreamList) XXX_Marshal added in v0.20.0

func (m *PodLogStreamList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodLogStreamList) XXX_Merge added in v0.20.0

func (m *PodLogStreamList) XXX_Merge(src proto.Message)

func (*PodLogStreamList) XXX_Size added in v0.20.0

func (m *PodLogStreamList) XXX_Size() int

func (*PodLogStreamList) XXX_Unmarshal added in v0.20.0

func (m *PodLogStreamList) XXX_Unmarshal(b []byte) error

type PodLogStreamSpec added in v0.19.1

type PodLogStreamSpec struct {
	// The name of the pod to watch. Required.
	Pod string `json:"pod,omitempty" protobuf:"bytes,1,opt,name=pod"`

	// The namespace of the pod to watch. Defaults to the kubecontext default namespace.
	//
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`

	// An RFC3339 timestamp from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	//
	// Translates directly to the underlying PodLogOptions.
	//
	// +optional
	SinceTime *metav1.Time `json:"sinceTime,omitempty" protobuf:"bytes,3,opt,name=sinceTime"`

	// The names of containers to include in the stream.
	//
	// If `onlyContainers` and `ignoreContainers` are not set,
	// will watch all containers in the pod.
	//
	// +optional
	OnlyContainers []string `json:"onlyContainers,omitempty" protobuf:"bytes,4,rep,name=onlyContainers"`

	// The names of containers to exclude from the stream.
	//
	// If `onlyContainers` and `ignoreContainers` are not set,
	// will watch all containers in the pod.
	//
	// +optional
	IgnoreContainers []string `json:"ignoreContainers,omitempty" protobuf:"bytes,5,rep,name=ignoreContainers"`
}

PodLogStreamSpec defines the desired state of PodLogStream

Translated into a PodLog query to the current Kubernetes cluster: https://pkg.go.dev/k8s.io/api/core/v1#PodLogOptions

TODO(nick): Should all Kubernetes types have an object that describes which Kubernetes context to use?

func (*PodLogStreamSpec) DeepCopy added in v0.19.1

func (in *PodLogStreamSpec) DeepCopy() *PodLogStreamSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogStreamSpec.

func (*PodLogStreamSpec) DeepCopyInto added in v0.19.1

func (in *PodLogStreamSpec) DeepCopyInto(out *PodLogStreamSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodLogStreamSpec) Descriptor added in v0.20.0

func (*PodLogStreamSpec) Descriptor() ([]byte, []int)

func (*PodLogStreamSpec) Marshal added in v0.20.0

func (m *PodLogStreamSpec) Marshal() (dAtA []byte, err error)

func (*PodLogStreamSpec) MarshalTo added in v0.20.0

func (m *PodLogStreamSpec) MarshalTo(dAtA []byte) (int, error)

func (*PodLogStreamSpec) MarshalToSizedBuffer added in v0.20.0

func (m *PodLogStreamSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodLogStreamSpec) ProtoMessage added in v0.20.0

func (*PodLogStreamSpec) ProtoMessage()

func (*PodLogStreamSpec) Reset added in v0.20.0

func (m *PodLogStreamSpec) Reset()

func (*PodLogStreamSpec) Size added in v0.20.0

func (m *PodLogStreamSpec) Size() (n int)

func (*PodLogStreamSpec) String added in v0.20.0

func (this *PodLogStreamSpec) String() string

func (*PodLogStreamSpec) Unmarshal added in v0.20.0

func (m *PodLogStreamSpec) Unmarshal(dAtA []byte) error

func (*PodLogStreamSpec) XXX_DiscardUnknown added in v0.20.0

func (m *PodLogStreamSpec) XXX_DiscardUnknown()

func (*PodLogStreamSpec) XXX_Marshal added in v0.20.0

func (m *PodLogStreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodLogStreamSpec) XXX_Merge added in v0.20.0

func (m *PodLogStreamSpec) XXX_Merge(src proto.Message)

func (*PodLogStreamSpec) XXX_Size added in v0.20.0

func (m *PodLogStreamSpec) XXX_Size() int

func (*PodLogStreamSpec) XXX_Unmarshal added in v0.20.0

func (m *PodLogStreamSpec) XXX_Unmarshal(b []byte) error

type PodLogStreamStatus added in v0.19.1

type PodLogStreamStatus struct {
	// A list of containers being watched.
	//
	// +optional
	ContainerStatuses []ContainerLogStreamStatus `json:"containerStatuses,omitempty" protobuf:"bytes,1,rep,name=containerStatuses"`
}

PodLogStreamStatus defines the observed state of PodLogStream

TODO(nick): rewrite this status field, i don't think this is quite right.

func (PodLogStreamStatus) CopyTo added in v0.19.1

func (*PodLogStreamStatus) DeepCopy added in v0.19.1

func (in *PodLogStreamStatus) DeepCopy() *PodLogStreamStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogStreamStatus.

func (*PodLogStreamStatus) DeepCopyInto added in v0.19.1

func (in *PodLogStreamStatus) DeepCopyInto(out *PodLogStreamStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodLogStreamStatus) Descriptor added in v0.20.0

func (*PodLogStreamStatus) Descriptor() ([]byte, []int)

func (*PodLogStreamStatus) Marshal added in v0.20.0

func (m *PodLogStreamStatus) Marshal() (dAtA []byte, err error)

func (*PodLogStreamStatus) MarshalTo added in v0.20.0

func (m *PodLogStreamStatus) MarshalTo(dAtA []byte) (int, error)

func (*PodLogStreamStatus) MarshalToSizedBuffer added in v0.20.0

func (m *PodLogStreamStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodLogStreamStatus) ProtoMessage added in v0.20.0

func (*PodLogStreamStatus) ProtoMessage()

func (*PodLogStreamStatus) Reset added in v0.20.0

func (m *PodLogStreamStatus) Reset()

func (*PodLogStreamStatus) Size added in v0.20.0

func (m *PodLogStreamStatus) Size() (n int)

func (*PodLogStreamStatus) String added in v0.20.0

func (this *PodLogStreamStatus) String() string

func (*PodLogStreamStatus) Unmarshal added in v0.20.0

func (m *PodLogStreamStatus) Unmarshal(dAtA []byte) error

func (*PodLogStreamStatus) XXX_DiscardUnknown added in v0.20.0

func (m *PodLogStreamStatus) XXX_DiscardUnknown()

func (*PodLogStreamStatus) XXX_Marshal added in v0.20.0

func (m *PodLogStreamStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodLogStreamStatus) XXX_Merge added in v0.20.0

func (m *PodLogStreamStatus) XXX_Merge(src proto.Message)

func (*PodLogStreamStatus) XXX_Size added in v0.20.0

func (m *PodLogStreamStatus) XXX_Size() int

func (*PodLogStreamStatus) XXX_Unmarshal added in v0.20.0

func (m *PodLogStreamStatus) XXX_Unmarshal(b []byte) error

type PodLogStreamTemplateSpec added in v0.21.1

type PodLogStreamTemplateSpec struct {
	// An RFC3339 timestamp from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	//
	// Translates directly to the underlying PodLogOptions.
	//
	// +optional
	SinceTime *metav1.Time `json:"sinceTime,omitempty" protobuf:"bytes,1,opt,name=sinceTime"`

	// The names of containers to include in the stream.
	//
	// If `onlyContainers` and `ignoreContainers` are not set,
	// will watch all containers in the pod.
	//
	// +optional
	OnlyContainers []string `json:"onlyContainers,omitempty" protobuf:"bytes,2,rep,name=onlyContainers"`

	// The names of containers to exclude from the stream.
	//
	// If `onlyContainers` and `ignoreContainers` are not set,
	// will watch all containers in the pod.
	//
	// +optional
	IgnoreContainers []string `json:"ignoreContainers,omitempty" protobuf:"bytes,3,rep,name=ignoreContainers"`
}

PodLogStreamTemplateSpec describes common attributes for PodLogStreams that can be shared across pods.

func (*PodLogStreamTemplateSpec) DeepCopy added in v0.21.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogStreamTemplateSpec.

func (*PodLogStreamTemplateSpec) DeepCopyInto added in v0.21.1

func (in *PodLogStreamTemplateSpec) DeepCopyInto(out *PodLogStreamTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodLogStreamTemplateSpec) Descriptor added in v0.21.1

func (*PodLogStreamTemplateSpec) Descriptor() ([]byte, []int)

func (*PodLogStreamTemplateSpec) Marshal added in v0.21.1

func (m *PodLogStreamTemplateSpec) Marshal() (dAtA []byte, err error)

func (*PodLogStreamTemplateSpec) MarshalTo added in v0.21.1

func (m *PodLogStreamTemplateSpec) MarshalTo(dAtA []byte) (int, error)

func (*PodLogStreamTemplateSpec) MarshalToSizedBuffer added in v0.21.1

func (m *PodLogStreamTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodLogStreamTemplateSpec) ProtoMessage added in v0.21.1

func (*PodLogStreamTemplateSpec) ProtoMessage()

func (*PodLogStreamTemplateSpec) Reset added in v0.21.1

func (m *PodLogStreamTemplateSpec) Reset()

func (*PodLogStreamTemplateSpec) Size added in v0.21.1

func (m *PodLogStreamTemplateSpec) Size() (n int)

func (*PodLogStreamTemplateSpec) String added in v0.21.1

func (this *PodLogStreamTemplateSpec) String() string

func (*PodLogStreamTemplateSpec) Unmarshal added in v0.21.1

func (m *PodLogStreamTemplateSpec) Unmarshal(dAtA []byte) error

func (*PodLogStreamTemplateSpec) XXX_DiscardUnknown added in v0.21.1

func (m *PodLogStreamTemplateSpec) XXX_DiscardUnknown()

func (*PodLogStreamTemplateSpec) XXX_Marshal added in v0.21.1

func (m *PodLogStreamTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodLogStreamTemplateSpec) XXX_Merge added in v0.21.1

func (m *PodLogStreamTemplateSpec) XXX_Merge(src proto.Message)

func (*PodLogStreamTemplateSpec) XXX_Size added in v0.21.1

func (m *PodLogStreamTemplateSpec) XXX_Size() int

func (*PodLogStreamTemplateSpec) XXX_Unmarshal added in v0.21.1

func (m *PodLogStreamTemplateSpec) XXX_Unmarshal(b []byte) error

type PortForward added in v0.19.7

type PortForward struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   PortForwardSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status PortForwardStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

PortForward +k8s:openapi-gen=true

func (*PortForward) DeepCopy added in v0.19.7

func (in *PortForward) DeepCopy() *PortForward

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortForward.

func (*PortForward) DeepCopyInto added in v0.19.7

func (in *PortForward) DeepCopyInto(out *PortForward)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PortForward) DeepCopyObject added in v0.19.7

func (in *PortForward) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PortForward) Descriptor added in v0.20.0

func (*PortForward) Descriptor() ([]byte, []int)

func (*PortForward) GetGroupVersionResource added in v0.19.7

func (in *PortForward) GetGroupVersionResource() schema.GroupVersionResource

func (*PortForward) GetObjectMeta added in v0.19.7

func (in *PortForward) GetObjectMeta() *metav1.ObjectMeta

func (*PortForward) GetStatus added in v0.19.7

func (in *PortForward) GetStatus() resource.StatusSubResource

func (*PortForward) IsStorageVersion added in v0.19.7

func (in *PortForward) IsStorageVersion() bool

func (*PortForward) Marshal added in v0.20.0

func (m *PortForward) Marshal() (dAtA []byte, err error)

func (*PortForward) MarshalTo added in v0.20.0

func (m *PortForward) MarshalTo(dAtA []byte) (int, error)

func (*PortForward) MarshalToSizedBuffer added in v0.20.0

func (m *PortForward) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForward) NamespaceScoped added in v0.19.7

func (in *PortForward) NamespaceScoped() bool

func (*PortForward) New added in v0.19.7

func (in *PortForward) New() runtime.Object

func (*PortForward) NewList added in v0.19.7

func (in *PortForward) NewList() runtime.Object

func (*PortForward) ProtoMessage added in v0.20.0

func (*PortForward) ProtoMessage()

func (*PortForward) Reset added in v0.20.0

func (m *PortForward) Reset()

func (*PortForward) ShortNames added in v0.21.3

func (in *PortForward) ShortNames() []string

func (*PortForward) Size added in v0.20.0

func (m *PortForward) Size() (n int)

func (*PortForward) String added in v0.20.0

func (this *PortForward) String() string

func (*PortForward) Unmarshal added in v0.20.0

func (m *PortForward) Unmarshal(dAtA []byte) error

func (*PortForward) Validate added in v0.19.7

func (in *PortForward) Validate(_ context.Context) field.ErrorList

func (*PortForward) XXX_DiscardUnknown added in v0.20.0

func (m *PortForward) XXX_DiscardUnknown()

func (*PortForward) XXX_Marshal added in v0.20.0

func (m *PortForward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForward) XXX_Merge added in v0.20.0

func (m *PortForward) XXX_Merge(src proto.Message)

func (*PortForward) XXX_Size added in v0.20.0

func (m *PortForward) XXX_Size() int

func (*PortForward) XXX_Unmarshal added in v0.20.0

func (m *PortForward) XXX_Unmarshal(b []byte) error

type PortForwardList added in v0.19.7

type PortForwardList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []PortForward `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PortForwardList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PortForwardList) DeepCopy added in v0.19.7

func (in *PortForwardList) DeepCopy() *PortForwardList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortForwardList.

func (*PortForwardList) DeepCopyInto added in v0.19.7

func (in *PortForwardList) DeepCopyInto(out *PortForwardList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PortForwardList) DeepCopyObject added in v0.19.7

func (in *PortForwardList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PortForwardList) Descriptor added in v0.20.0

func (*PortForwardList) Descriptor() ([]byte, []int)

func (*PortForwardList) GetListMeta added in v0.19.7

func (in *PortForwardList) GetListMeta() *metav1.ListMeta

func (*PortForwardList) Marshal added in v0.20.0

func (m *PortForwardList) Marshal() (dAtA []byte, err error)

func (*PortForwardList) MarshalTo added in v0.20.0

func (m *PortForwardList) MarshalTo(dAtA []byte) (int, error)

func (*PortForwardList) MarshalToSizedBuffer added in v0.20.0

func (m *PortForwardList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForwardList) ProtoMessage added in v0.20.0

func (*PortForwardList) ProtoMessage()

func (*PortForwardList) Reset added in v0.20.0

func (m *PortForwardList) Reset()

func (*PortForwardList) Size added in v0.20.0

func (m *PortForwardList) Size() (n int)

func (*PortForwardList) String added in v0.20.0

func (this *PortForwardList) String() string

func (*PortForwardList) Unmarshal added in v0.20.0

func (m *PortForwardList) Unmarshal(dAtA []byte) error

func (*PortForwardList) XXX_DiscardUnknown added in v0.20.0

func (m *PortForwardList) XXX_DiscardUnknown()

func (*PortForwardList) XXX_Marshal added in v0.20.0

func (m *PortForwardList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForwardList) XXX_Merge added in v0.20.0

func (m *PortForwardList) XXX_Merge(src proto.Message)

func (*PortForwardList) XXX_Size added in v0.20.0

func (m *PortForwardList) XXX_Size() int

func (*PortForwardList) XXX_Unmarshal added in v0.20.0

func (m *PortForwardList) XXX_Unmarshal(b []byte) error

type PortForwardSpec added in v0.19.7

type PortForwardSpec struct {
	// The name of the pod to port forward to/from. Required.
	PodName string `json:"podName" protobuf:"bytes,1,opt,name=podName"`

	// The namespace of the pod to port forward to/from. Defaults to the kubecontext default namespace.
	//
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`

	// One or more port forwards to execute on the given pod. Required.
	Forwards []Forward `json:"forwards" protobuf:"bytes,3,rep,name=forwards"`
}

PortForwardSpec defines the desired state of PortForward

func (*PortForwardSpec) DeepCopy added in v0.19.7

func (in *PortForwardSpec) DeepCopy() *PortForwardSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortForwardSpec.

func (*PortForwardSpec) DeepCopyInto added in v0.19.7

func (in *PortForwardSpec) DeepCopyInto(out *PortForwardSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PortForwardSpec) Descriptor added in v0.20.0

func (*PortForwardSpec) Descriptor() ([]byte, []int)

func (*PortForwardSpec) Marshal added in v0.20.0

func (m *PortForwardSpec) Marshal() (dAtA []byte, err error)

func (*PortForwardSpec) MarshalTo added in v0.20.0

func (m *PortForwardSpec) MarshalTo(dAtA []byte) (int, error)

func (*PortForwardSpec) MarshalToSizedBuffer added in v0.20.0

func (m *PortForwardSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForwardSpec) ProtoMessage added in v0.20.0

func (*PortForwardSpec) ProtoMessage()

func (*PortForwardSpec) Reset added in v0.20.0

func (m *PortForwardSpec) Reset()

func (*PortForwardSpec) Size added in v0.20.0

func (m *PortForwardSpec) Size() (n int)

func (*PortForwardSpec) String added in v0.20.0

func (this *PortForwardSpec) String() string

func (*PortForwardSpec) Unmarshal added in v0.20.0

func (m *PortForwardSpec) Unmarshal(dAtA []byte) error

func (*PortForwardSpec) XXX_DiscardUnknown added in v0.20.0

func (m *PortForwardSpec) XXX_DiscardUnknown()

func (*PortForwardSpec) XXX_Marshal added in v0.20.0

func (m *PortForwardSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForwardSpec) XXX_Merge added in v0.20.0

func (m *PortForwardSpec) XXX_Merge(src proto.Message)

func (*PortForwardSpec) XXX_Size added in v0.20.0

func (m *PortForwardSpec) XXX_Size() int

func (*PortForwardSpec) XXX_Unmarshal added in v0.20.0

func (m *PortForwardSpec) XXX_Unmarshal(b []byte) error

type PortForwardStatus added in v0.19.7

type PortForwardStatus struct {
	ForwardStatuses []ForwardStatus `json:"forwardStatuses,omitempty" protobuf:"bytes,2,opt,name=forwardStatuses"`
}

PortForwardStatus defines the observed state of PortForward

func (PortForwardStatus) CopyTo added in v0.19.7

func (*PortForwardStatus) DeepCopy added in v0.19.7

func (in *PortForwardStatus) DeepCopy() *PortForwardStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortForwardStatus.

func (*PortForwardStatus) DeepCopyInto added in v0.19.7

func (in *PortForwardStatus) DeepCopyInto(out *PortForwardStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PortForwardStatus) Descriptor added in v0.20.0

func (*PortForwardStatus) Descriptor() ([]byte, []int)

func (*PortForwardStatus) Marshal added in v0.20.0

func (m *PortForwardStatus) Marshal() (dAtA []byte, err error)

func (*PortForwardStatus) MarshalTo added in v0.20.0

func (m *PortForwardStatus) MarshalTo(dAtA []byte) (int, error)

func (*PortForwardStatus) MarshalToSizedBuffer added in v0.20.0

func (m *PortForwardStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForwardStatus) ProtoMessage added in v0.20.0

func (*PortForwardStatus) ProtoMessage()

func (*PortForwardStatus) Reset added in v0.20.0

func (m *PortForwardStatus) Reset()

func (*PortForwardStatus) Size added in v0.20.0

func (m *PortForwardStatus) Size() (n int)

func (*PortForwardStatus) String added in v0.20.0

func (this *PortForwardStatus) String() string

func (*PortForwardStatus) Unmarshal added in v0.20.0

func (m *PortForwardStatus) Unmarshal(dAtA []byte) error

func (*PortForwardStatus) XXX_DiscardUnknown added in v0.20.0

func (m *PortForwardStatus) XXX_DiscardUnknown()

func (*PortForwardStatus) XXX_Marshal added in v0.20.0

func (m *PortForwardStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForwardStatus) XXX_Merge added in v0.20.0

func (m *PortForwardStatus) XXX_Merge(src proto.Message)

func (*PortForwardStatus) XXX_Size added in v0.20.0

func (m *PortForwardStatus) XXX_Size() int

func (*PortForwardStatus) XXX_Unmarshal added in v0.20.0

func (m *PortForwardStatus) XXX_Unmarshal(b []byte) error

type PortForwardTemplateSpec added in v0.21.1

type PortForwardTemplateSpec struct {
	// One or more port forwards to execute on the given pod. Required.
	Forwards []Forward `json:"forwards" protobuf:"bytes,1,rep,name=forwards"`
}

PortForwardTemplateSpec describes common attributes for PortForwards that can be shared across pods.

func (*PortForwardTemplateSpec) DeepCopy added in v0.21.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortForwardTemplateSpec.

func (*PortForwardTemplateSpec) DeepCopyInto added in v0.21.1

func (in *PortForwardTemplateSpec) DeepCopyInto(out *PortForwardTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PortForwardTemplateSpec) Descriptor added in v0.21.1

func (*PortForwardTemplateSpec) Descriptor() ([]byte, []int)

func (*PortForwardTemplateSpec) Marshal added in v0.21.1

func (m *PortForwardTemplateSpec) Marshal() (dAtA []byte, err error)

func (*PortForwardTemplateSpec) MarshalTo added in v0.21.1

func (m *PortForwardTemplateSpec) MarshalTo(dAtA []byte) (int, error)

func (*PortForwardTemplateSpec) MarshalToSizedBuffer added in v0.21.1

func (m *PortForwardTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortForwardTemplateSpec) ProtoMessage added in v0.21.1

func (*PortForwardTemplateSpec) ProtoMessage()

func (*PortForwardTemplateSpec) Reset added in v0.21.1

func (m *PortForwardTemplateSpec) Reset()

func (*PortForwardTemplateSpec) Size added in v0.21.1

func (m *PortForwardTemplateSpec) Size() (n int)

func (*PortForwardTemplateSpec) String added in v0.21.1

func (this *PortForwardTemplateSpec) String() string

func (*PortForwardTemplateSpec) Unmarshal added in v0.21.1

func (m *PortForwardTemplateSpec) Unmarshal(dAtA []byte) error

func (*PortForwardTemplateSpec) XXX_DiscardUnknown added in v0.21.1

func (m *PortForwardTemplateSpec) XXX_DiscardUnknown()

func (*PortForwardTemplateSpec) XXX_Marshal added in v0.21.1

func (m *PortForwardTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortForwardTemplateSpec) XXX_Merge added in v0.21.1

func (m *PortForwardTemplateSpec) XXX_Merge(src proto.Message)

func (*PortForwardTemplateSpec) XXX_Size added in v0.21.1

func (m *PortForwardTemplateSpec) XXX_Size() int

func (*PortForwardTemplateSpec) XXX_Unmarshal added in v0.21.1

func (m *PortForwardTemplateSpec) XXX_Unmarshal(b []byte) error

type Probe added in v0.18.11

type Probe struct {
	// The action taken to determine the health of a container
	Handler `json:",inline" protobuf:"bytes,1,opt,name=handler"`
	// Number of seconds after the container has started before liveness probes are initiated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty" protobuf:"varint,2,opt,name=initialDelaySeconds"`
	// Number of seconds after which the probe times out.
	// Defaults to 1 second. Minimum value is 1.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,3,opt,name=timeoutSeconds"`
	// How often (in seconds) to perform the probe.
	// Default to 10 seconds. Minimum value is 1.
	// +optional
	PeriodSeconds int32 `json:"periodSeconds,omitempty" protobuf:"varint,4,opt,name=periodSeconds"`
	// Minimum consecutive successes for the probe to be considered successful after having failed.
	// Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
	// +optional
	SuccessThreshold int32 `json:"successThreshold,omitempty" protobuf:"varint,5,opt,name=successThreshold"`
	// Minimum consecutive failures for the probe to be considered failed after having succeeded.
	// Defaults to 3. Minimum value is 1.
	// +optional
	FailureThreshold int32 `json:"failureThreshold,omitempty" protobuf:"varint,6,opt,name=failureThreshold"`
}

Probe describes a health check to be performed o determine whether it is alive or ready to receive traffic.

func (*Probe) DeepCopy added in v0.18.11

func (in *Probe) DeepCopy() *Probe

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.

func (*Probe) DeepCopyInto added in v0.18.11

func (in *Probe) DeepCopyInto(out *Probe)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Probe) Descriptor added in v0.20.0

func (*Probe) Descriptor() ([]byte, []int)

func (*Probe) Marshal added in v0.20.0

func (m *Probe) Marshal() (dAtA []byte, err error)

func (*Probe) MarshalTo added in v0.20.0

func (m *Probe) MarshalTo(dAtA []byte) (int, error)

func (*Probe) MarshalToSizedBuffer added in v0.20.0

func (m *Probe) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Probe) ProtoMessage added in v0.20.0

func (*Probe) ProtoMessage()

func (*Probe) Reset added in v0.20.0

func (m *Probe) Reset()

func (*Probe) Size added in v0.20.0

func (m *Probe) Size() (n int)

func (*Probe) String added in v0.20.0

func (this *Probe) String() string

func (*Probe) Unmarshal added in v0.20.0

func (m *Probe) Unmarshal(dAtA []byte) error

func (*Probe) XXX_DiscardUnknown added in v0.20.0

func (m *Probe) XXX_DiscardUnknown()

func (*Probe) XXX_Marshal added in v0.20.0

func (m *Probe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Probe) XXX_Merge added in v0.20.0

func (m *Probe) XXX_Merge(src proto.Message)

func (*Probe) XXX_Size added in v0.20.0

func (m *Probe) XXX_Size() int

func (*Probe) XXX_Unmarshal added in v0.20.0

func (m *Probe) XXX_Unmarshal(b []byte) error

type RestartOnSpec added in v0.19.0

type RestartOnSpec struct {
	// A list of file watches that can trigger a restart.
	FileWatches []string `json:"fileWatches" protobuf:"bytes,1,rep,name=fileWatches"`
}

RestartOnSpec indicates the set of objects that can trigger a restart of this object.

func (*RestartOnSpec) DeepCopy added in v0.19.0

func (in *RestartOnSpec) DeepCopy() *RestartOnSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestartOnSpec.

func (*RestartOnSpec) DeepCopyInto added in v0.19.0

func (in *RestartOnSpec) DeepCopyInto(out *RestartOnSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RestartOnSpec) Descriptor added in v0.20.0

func (*RestartOnSpec) Descriptor() ([]byte, []int)

func (*RestartOnSpec) Marshal added in v0.20.0

func (m *RestartOnSpec) Marshal() (dAtA []byte, err error)

func (*RestartOnSpec) MarshalTo added in v0.20.0

func (m *RestartOnSpec) MarshalTo(dAtA []byte) (int, error)

func (*RestartOnSpec) MarshalToSizedBuffer added in v0.20.0

func (m *RestartOnSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestartOnSpec) ProtoMessage added in v0.20.0

func (*RestartOnSpec) ProtoMessage()

func (*RestartOnSpec) Reset added in v0.20.0

func (m *RestartOnSpec) Reset()

func (*RestartOnSpec) Size added in v0.20.0

func (m *RestartOnSpec) Size() (n int)

func (*RestartOnSpec) String added in v0.20.0

func (this *RestartOnSpec) String() string

func (*RestartOnSpec) Unmarshal added in v0.20.0

func (m *RestartOnSpec) Unmarshal(dAtA []byte) error

func (*RestartOnSpec) XXX_DiscardUnknown added in v0.20.0

func (m *RestartOnSpec) XXX_DiscardUnknown()

func (*RestartOnSpec) XXX_Marshal added in v0.20.0

func (m *RestartOnSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestartOnSpec) XXX_Merge added in v0.20.0

func (m *RestartOnSpec) XXX_Merge(src proto.Message)

func (*RestartOnSpec) XXX_Size added in v0.20.0

func (m *RestartOnSpec) XXX_Size() int

func (*RestartOnSpec) XXX_Unmarshal added in v0.20.0

func (m *RestartOnSpec) XXX_Unmarshal(b []byte) error

type RuntimeStatus added in v0.19.2

type RuntimeStatus string

The RuntimeStatus is a simple, high-level summary of the runtime state of a server.

const (
	// The server runtime status hasn't been read yet.
	RuntimeStatusUnknown RuntimeStatus = "unknown"

	// The server runtime is OK and passing health checks.
	RuntimeStatusOK RuntimeStatus = "ok"

	// The server runtime is still being scheduled or waiting on health checks.
	RuntimeStatusPending RuntimeStatus = "pending"

	// The server runtime is in an error state.
	RuntimeStatusError RuntimeStatus = "error"

	// There's no server runtime for this resource and never will be.
	RuntimeStatusNotApplicable RuntimeStatus = "not_applicable"
)

type Session added in v0.19.3

type Session struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   SessionSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status SessionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Session provides introspective data about the status of the Tilt process. +k8s:openapi-gen=true

func (*Session) DeepCopy added in v0.19.3

func (in *Session) DeepCopy() *Session

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Session.

func (*Session) DeepCopyInto added in v0.19.3

func (in *Session) DeepCopyInto(out *Session)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Session) DeepCopyObject added in v0.19.3

func (in *Session) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Session) Descriptor added in v0.20.0

func (*Session) Descriptor() ([]byte, []int)

func (*Session) GetGroupVersionResource added in v0.19.3

func (in *Session) GetGroupVersionResource() schema.GroupVersionResource

func (*Session) GetObjectMeta added in v0.19.3

func (in *Session) GetObjectMeta() *metav1.ObjectMeta

func (*Session) GetStatus added in v0.19.3

func (in *Session) GetStatus() resource.StatusSubResource

func (*Session) IsStorageVersion added in v0.19.3

func (in *Session) IsStorageVersion() bool

func (*Session) Marshal added in v0.20.0

func (m *Session) Marshal() (dAtA []byte, err error)

func (*Session) MarshalTo added in v0.20.0

func (m *Session) MarshalTo(dAtA []byte) (int, error)

func (*Session) MarshalToSizedBuffer added in v0.20.0

func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Session) NamespaceScoped added in v0.19.3

func (in *Session) NamespaceScoped() bool

func (*Session) New added in v0.19.3

func (in *Session) New() runtime.Object

func (*Session) NewList added in v0.19.3

func (in *Session) NewList() runtime.Object

func (*Session) ProtoMessage added in v0.20.0

func (*Session) ProtoMessage()

func (*Session) Reset added in v0.20.0

func (m *Session) Reset()

func (*Session) Size added in v0.20.0

func (m *Session) Size() (n int)

func (*Session) String added in v0.20.0

func (this *Session) String() string

func (*Session) Unmarshal added in v0.20.0

func (m *Session) Unmarshal(dAtA []byte) error

func (*Session) Validate added in v0.19.3

func (in *Session) Validate(_ context.Context) field.ErrorList

func (*Session) XXX_DiscardUnknown added in v0.20.0

func (m *Session) XXX_DiscardUnknown()

func (*Session) XXX_Marshal added in v0.20.0

func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Session) XXX_Merge added in v0.20.0

func (m *Session) XXX_Merge(src proto.Message)

func (*Session) XXX_Size added in v0.20.0

func (m *Session) XXX_Size() int

func (*Session) XXX_Unmarshal added in v0.20.0

func (m *Session) XXX_Unmarshal(b []byte) error

type SessionList added in v0.19.3

type SessionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []Session `json:"items" protobuf:"bytes,2,rep,name=items"`
}

SessionList is a list of Session objects. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*SessionList) DeepCopy added in v0.19.3

func (in *SessionList) DeepCopy() *SessionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionList.

func (*SessionList) DeepCopyInto added in v0.19.3

func (in *SessionList) DeepCopyInto(out *SessionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SessionList) DeepCopyObject added in v0.19.3

func (in *SessionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SessionList) Descriptor added in v0.20.0

func (*SessionList) Descriptor() ([]byte, []int)

func (*SessionList) GetListMeta added in v0.19.3

func (in *SessionList) GetListMeta() *metav1.ListMeta

func (*SessionList) Marshal added in v0.20.0

func (m *SessionList) Marshal() (dAtA []byte, err error)

func (*SessionList) MarshalTo added in v0.20.0

func (m *SessionList) MarshalTo(dAtA []byte) (int, error)

func (*SessionList) MarshalToSizedBuffer added in v0.20.0

func (m *SessionList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionList) ProtoMessage added in v0.20.0

func (*SessionList) ProtoMessage()

func (*SessionList) Reset added in v0.20.0

func (m *SessionList) Reset()

func (*SessionList) Size added in v0.20.0

func (m *SessionList) Size() (n int)

func (*SessionList) String added in v0.20.0

func (this *SessionList) String() string

func (*SessionList) Unmarshal added in v0.20.0

func (m *SessionList) Unmarshal(dAtA []byte) error

func (*SessionList) XXX_DiscardUnknown added in v0.20.0

func (m *SessionList) XXX_DiscardUnknown()

func (*SessionList) XXX_Marshal added in v0.20.0

func (m *SessionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionList) XXX_Merge added in v0.20.0

func (m *SessionList) XXX_Merge(src proto.Message)

func (*SessionList) XXX_Size added in v0.20.0

func (m *SessionList) XXX_Size() int

func (*SessionList) XXX_Unmarshal added in v0.20.0

func (m *SessionList) XXX_Unmarshal(b []byte) error

type SessionSpec added in v0.19.3

type SessionSpec struct {
	// TiltfilePath is the path to the Tiltfile for the run. It cannot be empty.
	TiltfilePath string `json:"tiltfilePath" protobuf:"bytes,1,opt,name=tiltfilePath"`
	// ExitCondition defines the criteria for Tilt to exit.
	ExitCondition ExitCondition `json:"exitCondition" protobuf:"bytes,2,opt,name=exitCondition,casttype=ExitCondition"`
}

SessionSpec defines the desired state of Session

func (*SessionSpec) DeepCopy added in v0.19.3

func (in *SessionSpec) DeepCopy() *SessionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSpec.

func (*SessionSpec) DeepCopyInto added in v0.19.3

func (in *SessionSpec) DeepCopyInto(out *SessionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SessionSpec) Descriptor added in v0.20.0

func (*SessionSpec) Descriptor() ([]byte, []int)

func (*SessionSpec) Marshal added in v0.20.0

func (m *SessionSpec) Marshal() (dAtA []byte, err error)

func (*SessionSpec) MarshalTo added in v0.20.0

func (m *SessionSpec) MarshalTo(dAtA []byte) (int, error)

func (*SessionSpec) MarshalToSizedBuffer added in v0.20.0

func (m *SessionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionSpec) ProtoMessage added in v0.20.0

func (*SessionSpec) ProtoMessage()

func (*SessionSpec) Reset added in v0.20.0

func (m *SessionSpec) Reset()

func (*SessionSpec) Size added in v0.20.0

func (m *SessionSpec) Size() (n int)

func (*SessionSpec) String added in v0.20.0

func (this *SessionSpec) String() string

func (*SessionSpec) Unmarshal added in v0.20.0

func (m *SessionSpec) Unmarshal(dAtA []byte) error

func (*SessionSpec) XXX_DiscardUnknown added in v0.20.0

func (m *SessionSpec) XXX_DiscardUnknown()

func (*SessionSpec) XXX_Marshal added in v0.20.0

func (m *SessionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionSpec) XXX_Merge added in v0.20.0

func (m *SessionSpec) XXX_Merge(src proto.Message)

func (*SessionSpec) XXX_Size added in v0.20.0

func (m *SessionSpec) XXX_Size() int

func (*SessionSpec) XXX_Unmarshal added in v0.20.0

func (m *SessionSpec) XXX_Unmarshal(b []byte) error

type SessionStatus added in v0.19.3

type SessionStatus struct {
	// PID is the process identifier for this instance of Tilt.
	PID int64 `json:"pid" protobuf:"varint,1,opt,name=pid"`
	// StartTime is when the Tilt engine was first started.
	StartTime metav1.MicroTime `json:"startTime" protobuf:"bytes,2,opt,name=startTime"`
	// Targets are normalized representations of the servers/jobs managed by this Session.
	//
	// A resource from a Tiltfile might produce one or more targets. A target can also be shared across
	// multiple resources (e.g. an image referenced by multiple K8s pods).
	Targets []Target `json:"targets" protobuf:"bytes,3,rep,name=targets"`

	// Done indicates whether this Session has completed its work and is ready to exit.
	Done bool `json:"done" protobuf:"varint,4,opt,name=done"`
	// Error is a non-empty string when the Session is Done but encountered a failure as defined by the ExitCondition
	// from the SessionSpec.
	//
	// +optional
	Error string `json:"error,omitempty" protobuf:"bytes,5,opt,name=error"`
}

SessionStatus defines the observed state of Session

func (SessionStatus) CopyTo added in v0.19.3

func (*SessionStatus) DeepCopy added in v0.19.3

func (in *SessionStatus) DeepCopy() *SessionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionStatus.

func (*SessionStatus) DeepCopyInto added in v0.19.3

func (in *SessionStatus) DeepCopyInto(out *SessionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SessionStatus) Descriptor added in v0.20.0

func (*SessionStatus) Descriptor() ([]byte, []int)

func (*SessionStatus) Marshal added in v0.20.0

func (m *SessionStatus) Marshal() (dAtA []byte, err error)

func (*SessionStatus) MarshalTo added in v0.20.0

func (m *SessionStatus) MarshalTo(dAtA []byte) (int, error)

func (*SessionStatus) MarshalToSizedBuffer added in v0.20.0

func (m *SessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionStatus) ProtoMessage added in v0.20.0

func (*SessionStatus) ProtoMessage()

func (*SessionStatus) Reset added in v0.20.0

func (m *SessionStatus) Reset()

func (*SessionStatus) Size added in v0.20.0

func (m *SessionStatus) Size() (n int)

func (*SessionStatus) String added in v0.20.0

func (this *SessionStatus) String() string

func (*SessionStatus) Unmarshal added in v0.20.0

func (m *SessionStatus) Unmarshal(dAtA []byte) error

func (*SessionStatus) XXX_DiscardUnknown added in v0.20.0

func (m *SessionStatus) XXX_DiscardUnknown()

func (*SessionStatus) XXX_Marshal added in v0.20.0

func (m *SessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionStatus) XXX_Merge added in v0.20.0

func (m *SessionStatus) XXX_Merge(src proto.Message)

func (*SessionStatus) XXX_Size added in v0.20.0

func (m *SessionStatus) XXX_Size() int

func (*SessionStatus) XXX_Unmarshal added in v0.20.0

func (m *SessionStatus) XXX_Unmarshal(b []byte) error

type StartOnSpec added in v0.20.8

type StartOnSpec struct {
	// Any events that predate this time will be ignored.
	//
	// +optional
	StartAfter metav1.Time `json:"startAfter,omitempty" protobuf:"bytes,1,opt,name=startAfter"`
	// A list of ui buttons that can trigger a run.
	UIButtons []string `json:"uiButtons" protobuf:"bytes,2,rep,name=uiButtons"`
}

StartOnSpec indicates the set of objects that can trigger a start/restart of this object.

func (*StartOnSpec) DeepCopy added in v0.20.8

func (in *StartOnSpec) DeepCopy() *StartOnSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartOnSpec.

func (*StartOnSpec) DeepCopyInto added in v0.20.8

func (in *StartOnSpec) DeepCopyInto(out *StartOnSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StartOnSpec) Descriptor added in v0.20.8

func (*StartOnSpec) Descriptor() ([]byte, []int)

func (*StartOnSpec) Marshal added in v0.20.8

func (m *StartOnSpec) Marshal() (dAtA []byte, err error)

func (*StartOnSpec) MarshalTo added in v0.20.8

func (m *StartOnSpec) MarshalTo(dAtA []byte) (int, error)

func (*StartOnSpec) MarshalToSizedBuffer added in v0.20.8

func (m *StartOnSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StartOnSpec) ProtoMessage added in v0.20.8

func (*StartOnSpec) ProtoMessage()

func (*StartOnSpec) Reset added in v0.20.8

func (m *StartOnSpec) Reset()

func (*StartOnSpec) Size added in v0.20.8

func (m *StartOnSpec) Size() (n int)

func (*StartOnSpec) String added in v0.20.8

func (this *StartOnSpec) String() string

func (*StartOnSpec) Unmarshal added in v0.20.8

func (m *StartOnSpec) Unmarshal(dAtA []byte) error

func (*StartOnSpec) XXX_DiscardUnknown added in v0.20.8

func (m *StartOnSpec) XXX_DiscardUnknown()

func (*StartOnSpec) XXX_Marshal added in v0.20.8

func (m *StartOnSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartOnSpec) XXX_Merge added in v0.20.8

func (m *StartOnSpec) XXX_Merge(src proto.Message)

func (*StartOnSpec) XXX_Size added in v0.20.8

func (m *StartOnSpec) XXX_Size() int

func (*StartOnSpec) XXX_Unmarshal added in v0.20.8

func (m *StartOnSpec) XXX_Unmarshal(b []byte) error

type TCPSocketAction added in v0.18.11

type TCPSocketAction struct {
	// Number or name of the port to access on the container.
	// Number must be in the range 1 to 65535.
	Port int32 `json:"port" protobuf:"bytes,1,opt,name=port"`
	// Optional: Host name to connect to, defaults to the pod IP.
	// +optional
	Host string `json:"host,omitempty" protobuf:"bytes,2,opt,name=host"`
}

TCPSocketAction describes an action based on opening a socket

func (*TCPSocketAction) DeepCopy added in v0.18.11

func (in *TCPSocketAction) DeepCopy() *TCPSocketAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction.

func (*TCPSocketAction) DeepCopyInto added in v0.18.11

func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TCPSocketAction) Descriptor added in v0.20.0

func (*TCPSocketAction) Descriptor() ([]byte, []int)

func (*TCPSocketAction) Marshal added in v0.20.0

func (m *TCPSocketAction) Marshal() (dAtA []byte, err error)

func (*TCPSocketAction) MarshalTo added in v0.20.0

func (m *TCPSocketAction) MarshalTo(dAtA []byte) (int, error)

func (*TCPSocketAction) MarshalToSizedBuffer added in v0.20.0

func (m *TCPSocketAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPSocketAction) ProtoMessage added in v0.20.0

func (*TCPSocketAction) ProtoMessage()

func (*TCPSocketAction) Reset added in v0.20.0

func (m *TCPSocketAction) Reset()

func (*TCPSocketAction) Size added in v0.20.0

func (m *TCPSocketAction) Size() (n int)

func (*TCPSocketAction) String added in v0.20.0

func (this *TCPSocketAction) String() string

func (*TCPSocketAction) Unmarshal added in v0.20.0

func (m *TCPSocketAction) Unmarshal(dAtA []byte) error

func (*TCPSocketAction) XXX_DiscardUnknown added in v0.20.0

func (m *TCPSocketAction) XXX_DiscardUnknown()

func (*TCPSocketAction) XXX_Marshal added in v0.20.0

func (m *TCPSocketAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPSocketAction) XXX_Merge added in v0.20.0

func (m *TCPSocketAction) XXX_Merge(src proto.Message)

func (*TCPSocketAction) XXX_Size added in v0.20.0

func (m *TCPSocketAction) XXX_Size() int

func (*TCPSocketAction) XXX_Unmarshal added in v0.20.0

func (m *TCPSocketAction) XXX_Unmarshal(b []byte) error

type Target added in v0.19.3

type Target struct {
	// Name is the name of the target; this is auto-generated from Tiltfile resources.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Type is the execution profile for this resource.
	//
	// Job targets run to completion (e.g. a build script or database migration script).
	// Server targets run indefinitely (e.g. an HTTP server).
	Type TargetType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=TargetType"`
	// Resources are one or more Tiltfile resources that this target is associated with.
	Resources []string `json:"resources" protobuf:"bytes,3,rep,name=resources"`
	// State provides information about the current status of the target.
	State TargetState `json:"state" protobuf:"bytes,4,opt,name=state"`
}

Target is a server or job whose execution is managed as part of this Session.

func (*Target) DeepCopy added in v0.19.3

func (in *Target) DeepCopy() *Target

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.

func (*Target) DeepCopyInto added in v0.19.3

func (in *Target) DeepCopyInto(out *Target)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Target) Descriptor added in v0.20.0

func (*Target) Descriptor() ([]byte, []int)

func (*Target) Marshal added in v0.20.0

func (m *Target) Marshal() (dAtA []byte, err error)

func (*Target) MarshalTo added in v0.20.0

func (m *Target) MarshalTo(dAtA []byte) (int, error)

func (*Target) MarshalToSizedBuffer added in v0.20.0

func (m *Target) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Target) ProtoMessage added in v0.20.0

func (*Target) ProtoMessage()

func (*Target) Reset added in v0.20.0

func (m *Target) Reset()

func (*Target) Size added in v0.20.0

func (m *Target) Size() (n int)

func (*Target) String added in v0.20.0

func (this *Target) String() string

func (*Target) Unmarshal added in v0.20.0

func (m *Target) Unmarshal(dAtA []byte) error

func (*Target) XXX_DiscardUnknown added in v0.20.0

func (m *Target) XXX_DiscardUnknown()

func (*Target) XXX_Marshal added in v0.20.0

func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Target) XXX_Merge added in v0.20.0

func (m *Target) XXX_Merge(src proto.Message)

func (*Target) XXX_Size added in v0.20.0

func (m *Target) XXX_Size() int

func (*Target) XXX_Unmarshal added in v0.20.0

func (m *Target) XXX_Unmarshal(b []byte) error

type TargetState added in v0.19.3

type TargetState struct {
	// Waiting being non-nil indicates that the next execution of the target has been queued but not yet started.
	//
	// +optional
	Waiting *TargetStateWaiting `json:"waiting,omitempty" protobuf:"bytes,1,opt,name=waiting"`
	// Active being non-nil indicates that the target is currently executing.
	//
	// +optional
	Active *TargetStateActive `json:"active,omitempty" protobuf:"bytes,2,opt,name=active"`
	// Terminated being non-nil indicates that the target finished execution either normally or due to failure.
	//
	// +optional
	Terminated *TargetStateTerminated `json:"terminated,omitempty" protobuf:"bytes,3,opt,name=terminated"`
}

TargetState describes the current execution status for a target.

Either EXACTLY one of Waiting, Active, or Terminated will be populated or NONE of them will be. In the event that all states are null, the target is currently inactive or disabled and should not be expected to execute.

func (*TargetState) DeepCopy added in v0.19.3

func (in *TargetState) DeepCopy() *TargetState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetState.

func (*TargetState) DeepCopyInto added in v0.19.3

func (in *TargetState) DeepCopyInto(out *TargetState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TargetState) Descriptor added in v0.20.0

func (*TargetState) Descriptor() ([]byte, []int)

func (*TargetState) Marshal added in v0.20.0

func (m *TargetState) Marshal() (dAtA []byte, err error)

func (*TargetState) MarshalTo added in v0.20.0

func (m *TargetState) MarshalTo(dAtA []byte) (int, error)

func (*TargetState) MarshalToSizedBuffer added in v0.20.0

func (m *TargetState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TargetState) ProtoMessage added in v0.20.0

func (*TargetState) ProtoMessage()

func (*TargetState) Reset added in v0.20.0

func (m *TargetState) Reset()

func (*TargetState) Size added in v0.20.0

func (m *TargetState) Size() (n int)

func (*TargetState) String added in v0.20.0

func (this *TargetState) String() string

func (*TargetState) Unmarshal added in v0.20.0

func (m *TargetState) Unmarshal(dAtA []byte) error

func (*TargetState) XXX_DiscardUnknown added in v0.20.0

func (m *TargetState) XXX_DiscardUnknown()

func (*TargetState) XXX_Marshal added in v0.20.0

func (m *TargetState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TargetState) XXX_Merge added in v0.20.0

func (m *TargetState) XXX_Merge(src proto.Message)

func (*TargetState) XXX_Size added in v0.20.0

func (m *TargetState) XXX_Size() int

func (*TargetState) XXX_Unmarshal added in v0.20.0

func (m *TargetState) XXX_Unmarshal(b []byte) error

type TargetStateActive added in v0.19.3

type TargetStateActive struct {
	// StartTime is when execution began.
	StartTime metav1.MicroTime `json:"startTime" protobuf:"bytes,1,opt,name=startTime"`
	// Ready indicates that the target has passed readiness checks.
	//
	// If the target does not use or support readiness checks, this is always true.
	Ready bool `json:"ready" protobuf:"varint,2,opt,name=ready"`
}

TargetStateActive is a target that is currently running but has not yet finished.

func (*TargetStateActive) DeepCopy added in v0.19.3

func (in *TargetStateActive) DeepCopy() *TargetStateActive

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStateActive.

func (*TargetStateActive) DeepCopyInto added in v0.19.3

func (in *TargetStateActive) DeepCopyInto(out *TargetStateActive)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TargetStateActive) Descriptor added in v0.20.0

func (*TargetStateActive) Descriptor() ([]byte, []int)

func (*TargetStateActive) Marshal added in v0.20.0

func (m *TargetStateActive) Marshal() (dAtA []byte, err error)

func (*TargetStateActive) MarshalTo added in v0.20.0

func (m *TargetStateActive) MarshalTo(dAtA []byte) (int, error)

func (*TargetStateActive) MarshalToSizedBuffer added in v0.20.0

func (m *TargetStateActive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TargetStateActive) ProtoMessage added in v0.20.0

func (*TargetStateActive) ProtoMessage()

func (*TargetStateActive) Reset added in v0.20.0

func (m *TargetStateActive) Reset()

func (*TargetStateActive) Size added in v0.20.0

func (m *TargetStateActive) Size() (n int)

func (*TargetStateActive) String added in v0.20.0

func (this *TargetStateActive) String() string

func (*TargetStateActive) Unmarshal added in v0.20.0

func (m *TargetStateActive) Unmarshal(dAtA []byte) error

func (*TargetStateActive) XXX_DiscardUnknown added in v0.20.0

func (m *TargetStateActive) XXX_DiscardUnknown()

func (*TargetStateActive) XXX_Marshal added in v0.20.0

func (m *TargetStateActive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TargetStateActive) XXX_Merge added in v0.20.0

func (m *TargetStateActive) XXX_Merge(src proto.Message)

func (*TargetStateActive) XXX_Size added in v0.20.0

func (m *TargetStateActive) XXX_Size() int

func (*TargetStateActive) XXX_Unmarshal added in v0.20.0

func (m *TargetStateActive) XXX_Unmarshal(b []byte) error

type TargetStateTerminated added in v0.19.3

type TargetStateTerminated struct {
	// StartTime is when the target began executing.
	StartTime metav1.MicroTime `json:"startTime" protobuf:"bytes,1,opt,name=startTime"`
	// FinishTime is when the target stopped executing.
	FinishTime metav1.MicroTime `json:"finishTime" protobuf:"bytes,2,opt,name=finishTime"`
	// Error is a non-empty string if the target encountered a failure during execution that caused it to stop.
	//
	// For targets of type TargetTypeServer, this is always populated, as the target is expected to run indefinitely,
	// and thus any termination is an error.
	//
	// +optional
	Error string `json:"error,omitempty" protobuf:"bytes,3,opt,name=error"`
}

TargetStateTerminated is a target that finished running, either because it completed successfully or encountered an error.

func (*TargetStateTerminated) DeepCopy added in v0.19.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStateTerminated.

func (*TargetStateTerminated) DeepCopyInto added in v0.19.3

func (in *TargetStateTerminated) DeepCopyInto(out *TargetStateTerminated)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TargetStateTerminated) Descriptor added in v0.20.0

func (*TargetStateTerminated) Descriptor() ([]byte, []int)

func (*TargetStateTerminated) Marshal added in v0.20.0

func (m *TargetStateTerminated) Marshal() (dAtA []byte, err error)

func (*TargetStateTerminated) MarshalTo added in v0.20.0

func (m *TargetStateTerminated) MarshalTo(dAtA []byte) (int, error)

func (*TargetStateTerminated) MarshalToSizedBuffer added in v0.20.0

func (m *TargetStateTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TargetStateTerminated) ProtoMessage added in v0.20.0

func (*TargetStateTerminated) ProtoMessage()

func (*TargetStateTerminated) Reset added in v0.20.0

func (m *TargetStateTerminated) Reset()

func (*TargetStateTerminated) Size added in v0.20.0

func (m *TargetStateTerminated) Size() (n int)

func (*TargetStateTerminated) String added in v0.20.0

func (this *TargetStateTerminated) String() string

func (*TargetStateTerminated) Unmarshal added in v0.20.0

func (m *TargetStateTerminated) Unmarshal(dAtA []byte) error

func (*TargetStateTerminated) XXX_DiscardUnknown added in v0.20.0

func (m *TargetStateTerminated) XXX_DiscardUnknown()

func (*TargetStateTerminated) XXX_Marshal added in v0.20.0

func (m *TargetStateTerminated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TargetStateTerminated) XXX_Merge added in v0.20.0

func (m *TargetStateTerminated) XXX_Merge(src proto.Message)

func (*TargetStateTerminated) XXX_Size added in v0.20.0

func (m *TargetStateTerminated) XXX_Size() int

func (*TargetStateTerminated) XXX_Unmarshal added in v0.20.0

func (m *TargetStateTerminated) XXX_Unmarshal(b []byte) error

type TargetStateWaiting added in v0.19.3

type TargetStateWaiting struct {
	// WaitReason is a description for why the target is waiting and not yet active.
	//
	// This is NOT the "cause" or "trigger" for the target being invoked.
	WaitReason string `json:"waitReason" protobuf:"bytes,1,opt,name=waitReason"`
}

TargetStateWaiting is a target that has been enqueued for execution but has not yet started.

func (*TargetStateWaiting) DeepCopy added in v0.19.3

func (in *TargetStateWaiting) DeepCopy() *TargetStateWaiting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStateWaiting.

func (*TargetStateWaiting) DeepCopyInto added in v0.19.3

func (in *TargetStateWaiting) DeepCopyInto(out *TargetStateWaiting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TargetStateWaiting) Descriptor added in v0.20.0

func (*TargetStateWaiting) Descriptor() ([]byte, []int)

func (*TargetStateWaiting) Marshal added in v0.20.0

func (m *TargetStateWaiting) Marshal() (dAtA []byte, err error)

func (*TargetStateWaiting) MarshalTo added in v0.20.0

func (m *TargetStateWaiting) MarshalTo(dAtA []byte) (int, error)

func (*TargetStateWaiting) MarshalToSizedBuffer added in v0.20.0

func (m *TargetStateWaiting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TargetStateWaiting) ProtoMessage added in v0.20.0

func (*TargetStateWaiting) ProtoMessage()

func (*TargetStateWaiting) Reset added in v0.20.0

func (m *TargetStateWaiting) Reset()

func (*TargetStateWaiting) Size added in v0.20.0

func (m *TargetStateWaiting) Size() (n int)

func (*TargetStateWaiting) String added in v0.20.0

func (this *TargetStateWaiting) String() string

func (*TargetStateWaiting) Unmarshal added in v0.20.0

func (m *TargetStateWaiting) Unmarshal(dAtA []byte) error

func (*TargetStateWaiting) XXX_DiscardUnknown added in v0.20.0

func (m *TargetStateWaiting) XXX_DiscardUnknown()

func (*TargetStateWaiting) XXX_Marshal added in v0.20.0

func (m *TargetStateWaiting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TargetStateWaiting) XXX_Merge added in v0.20.0

func (m *TargetStateWaiting) XXX_Merge(src proto.Message)

func (*TargetStateWaiting) XXX_Size added in v0.20.0

func (m *TargetStateWaiting) XXX_Size() int

func (*TargetStateWaiting) XXX_Unmarshal added in v0.20.0

func (m *TargetStateWaiting) XXX_Unmarshal(b []byte) error

type TargetType added in v0.19.3

type TargetType string

TargetType describes a high-level categorization about the expected execution behavior for the target.

const (
	// TargetTypeJob is a target that is expected to run to completion.
	TargetTypeJob TargetType = "job"
	// TargetTypeServer is a target that runs indefinitely.
	TargetTypeServer TargetType = "server"
)

type TiltBuild added in v0.20.2

type TiltBuild struct {
	// A semantic version string.
	// +optional
	Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"`

	// The Git digest of the commit this binary was built at.
	// +optional
	CommitSHA string `json:"commitSHA,omitempty" protobuf:"bytes,2,opt,name=commitSHA"`

	// A human-readable string representing when the binary was built.
	// +optional
	Date string `json:"date,omitempty" protobuf:"bytes,3,opt,name=date"`

	// Indicates whether this is a development build (true) or an official release (false).
	// +optional
	Dev bool `json:"dev,omitempty" protobuf:"varint,4,opt,name=dev"`
}

Information about the running tilt binary.

func (*TiltBuild) DeepCopy added in v0.20.2

func (in *TiltBuild) DeepCopy() *TiltBuild

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TiltBuild.

func (*TiltBuild) DeepCopyInto added in v0.20.2

func (in *TiltBuild) DeepCopyInto(out *TiltBuild)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TiltBuild) Descriptor added in v0.20.2

func (*TiltBuild) Descriptor() ([]byte, []int)

func (*TiltBuild) Marshal added in v0.20.2

func (m *TiltBuild) Marshal() (dAtA []byte, err error)

func (*TiltBuild) MarshalTo added in v0.20.2

func (m *TiltBuild) MarshalTo(dAtA []byte) (int, error)

func (*TiltBuild) MarshalToSizedBuffer added in v0.20.2

func (m *TiltBuild) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TiltBuild) ProtoMessage added in v0.20.2

func (*TiltBuild) ProtoMessage()

func (*TiltBuild) Reset added in v0.20.2

func (m *TiltBuild) Reset()

func (*TiltBuild) Size added in v0.20.2

func (m *TiltBuild) Size() (n int)

func (*TiltBuild) String added in v0.20.2

func (this *TiltBuild) String() string

func (*TiltBuild) Unmarshal added in v0.20.2

func (m *TiltBuild) Unmarshal(dAtA []byte) error

func (*TiltBuild) XXX_DiscardUnknown added in v0.20.2

func (m *TiltBuild) XXX_DiscardUnknown()

func (*TiltBuild) XXX_Marshal added in v0.20.2

func (m *TiltBuild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TiltBuild) XXX_Merge added in v0.20.2

func (m *TiltBuild) XXX_Merge(src proto.Message)

func (*TiltBuild) XXX_Size added in v0.20.2

func (m *TiltBuild) XXX_Size() int

func (*TiltBuild) XXX_Unmarshal added in v0.20.2

func (m *TiltBuild) XXX_Unmarshal(b []byte) error

type UIBuildRunning added in v0.20.2

type UIBuildRunning struct {
	// The time when the build started.
	// +optional
	StartTime metav1.MicroTime `json:"startTime,omitempty" protobuf:"bytes,1,opt,name=startTime"`

	// The log span where the build logs are stored in the logstore.
	// +optional
	SpanID string `json:"spanID,omitempty" protobuf:"bytes,2,opt,name=spanID"`
}

UIBuildRunning respresents an in-progress build/update in the user interface.

func (*UIBuildRunning) DeepCopy added in v0.20.2

func (in *UIBuildRunning) DeepCopy() *UIBuildRunning

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIBuildRunning.

func (*UIBuildRunning) DeepCopyInto added in v0.20.2

func (in *UIBuildRunning) DeepCopyInto(out *UIBuildRunning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIBuildRunning) Descriptor added in v0.20.2

func (*UIBuildRunning) Descriptor() ([]byte, []int)

func (*UIBuildRunning) Marshal added in v0.20.2

func (m *UIBuildRunning) Marshal() (dAtA []byte, err error)

func (*UIBuildRunning) MarshalTo added in v0.20.2

func (m *UIBuildRunning) MarshalTo(dAtA []byte) (int, error)

func (*UIBuildRunning) MarshalToSizedBuffer added in v0.20.2

func (m *UIBuildRunning) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIBuildRunning) ProtoMessage added in v0.20.2

func (*UIBuildRunning) ProtoMessage()

func (*UIBuildRunning) Reset added in v0.20.2

func (m *UIBuildRunning) Reset()

func (*UIBuildRunning) Size added in v0.20.2

func (m *UIBuildRunning) Size() (n int)

func (*UIBuildRunning) String added in v0.20.2

func (this *UIBuildRunning) String() string

func (*UIBuildRunning) Unmarshal added in v0.20.2

func (m *UIBuildRunning) Unmarshal(dAtA []byte) error

func (*UIBuildRunning) XXX_DiscardUnknown added in v0.20.2

func (m *UIBuildRunning) XXX_DiscardUnknown()

func (*UIBuildRunning) XXX_Marshal added in v0.20.2

func (m *UIBuildRunning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIBuildRunning) XXX_Merge added in v0.20.2

func (m *UIBuildRunning) XXX_Merge(src proto.Message)

func (*UIBuildRunning) XXX_Size added in v0.20.2

func (m *UIBuildRunning) XXX_Size() int

func (*UIBuildRunning) XXX_Unmarshal added in v0.20.2

func (m *UIBuildRunning) XXX_Unmarshal(b []byte) error

type UIBuildTerminated added in v0.20.2

type UIBuildTerminated struct {
	// A non-empty string if the build failed with an error.
	// +optional
	Error string `json:"error,omitempty" protobuf:"bytes,1,opt,name=error"`

	// A list of warnings encountered while running the build.
	// These warnings will also be printed to the build's log.
	// +optional
	Warnings []string `json:"warnings,omitempty" protobuf:"bytes,2,rep,name=warnings"`

	// The time when the build started.
	// +optional
	StartTime metav1.MicroTime `json:"startTime,omitempty" protobuf:"bytes,3,opt,name=startTime"`

	// The time when the build finished.
	// +optional
	FinishTime metav1.MicroTime `json:"finishTime,omitempty" protobuf:"bytes,4,opt,name=finishTime"`

	// The log span where the build logs are stored in the logstore.
	// +optional
	SpanID string `json:"spanID,omitempty" protobuf:"bytes,5,opt,name=spanID"`

	// A crash rebuild happens when Tilt live-updated a container, then
	// the pod crashed, wiping out the live-updates. Tilt does a full
	// build+deploy to reset the pod state to what's on disk.
	// +optional
	IsCrashRebuild bool `json:"isCrashRebuild,omitempty" protobuf:"varint,6,opt,name=isCrashRebuild"`
}

UIBuildRunning respresents a finished build/update in the user interface.

func (*UIBuildTerminated) DeepCopy added in v0.20.2

func (in *UIBuildTerminated) DeepCopy() *UIBuildTerminated

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIBuildTerminated.

func (*UIBuildTerminated) DeepCopyInto added in v0.20.2

func (in *UIBuildTerminated) DeepCopyInto(out *UIBuildTerminated)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIBuildTerminated) Descriptor added in v0.20.2

func (*UIBuildTerminated) Descriptor() ([]byte, []int)

func (*UIBuildTerminated) Marshal added in v0.20.2

func (m *UIBuildTerminated) Marshal() (dAtA []byte, err error)

func (*UIBuildTerminated) MarshalTo added in v0.20.2

func (m *UIBuildTerminated) MarshalTo(dAtA []byte) (int, error)

func (*UIBuildTerminated) MarshalToSizedBuffer added in v0.20.2

func (m *UIBuildTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIBuildTerminated) ProtoMessage added in v0.20.2

func (*UIBuildTerminated) ProtoMessage()

func (*UIBuildTerminated) Reset added in v0.20.2

func (m *UIBuildTerminated) Reset()

func (*UIBuildTerminated) Size added in v0.20.2

func (m *UIBuildTerminated) Size() (n int)

func (*UIBuildTerminated) String added in v0.20.2

func (this *UIBuildTerminated) String() string

func (*UIBuildTerminated) Unmarshal added in v0.20.2

func (m *UIBuildTerminated) Unmarshal(dAtA []byte) error

func (*UIBuildTerminated) XXX_DiscardUnknown added in v0.20.2

func (m *UIBuildTerminated) XXX_DiscardUnknown()

func (*UIBuildTerminated) XXX_Marshal added in v0.20.2

func (m *UIBuildTerminated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIBuildTerminated) XXX_Merge added in v0.20.2

func (m *UIBuildTerminated) XXX_Merge(src proto.Message)

func (*UIBuildTerminated) XXX_Size added in v0.20.2

func (m *UIBuildTerminated) XXX_Size() int

func (*UIBuildTerminated) XXX_Unmarshal added in v0.20.2

func (m *UIBuildTerminated) XXX_Unmarshal(b []byte) error

type UIButton added in v0.20.5

type UIButton struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   UIButtonSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status UIButtonStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

UIButton +k8s:openapi-gen=true

func (*UIButton) DeepCopy added in v0.20.5

func (in *UIButton) DeepCopy() *UIButton

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIButton.

func (*UIButton) DeepCopyInto added in v0.20.5

func (in *UIButton) DeepCopyInto(out *UIButton)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIButton) DeepCopyObject added in v0.20.5

func (in *UIButton) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UIButton) Descriptor added in v0.20.5

func (*UIButton) Descriptor() ([]byte, []int)

func (*UIButton) GetGroupVersionResource added in v0.20.5

func (in *UIButton) GetGroupVersionResource() schema.GroupVersionResource

func (*UIButton) GetObjectMeta added in v0.20.5

func (in *UIButton) GetObjectMeta() *metav1.ObjectMeta

func (*UIButton) GetStatus added in v0.20.5

func (in *UIButton) GetStatus() resource.StatusSubResource

func (*UIButton) IsStorageVersion added in v0.20.5

func (in *UIButton) IsStorageVersion() bool

func (*UIButton) Marshal added in v0.20.5

func (m *UIButton) Marshal() (dAtA []byte, err error)

func (*UIButton) MarshalTo added in v0.20.5

func (m *UIButton) MarshalTo(dAtA []byte) (int, error)

func (*UIButton) MarshalToSizedBuffer added in v0.20.5

func (m *UIButton) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIButton) NamespaceScoped added in v0.20.5

func (in *UIButton) NamespaceScoped() bool

func (*UIButton) New added in v0.20.5

func (in *UIButton) New() runtime.Object

func (*UIButton) NewList added in v0.20.5

func (in *UIButton) NewList() runtime.Object

func (*UIButton) ProtoMessage added in v0.20.5

func (*UIButton) ProtoMessage()

func (*UIButton) Reset added in v0.20.5

func (m *UIButton) Reset()

func (*UIButton) Size added in v0.20.5

func (m *UIButton) Size() (n int)

func (*UIButton) String added in v0.20.5

func (this *UIButton) String() string

func (*UIButton) Unmarshal added in v0.20.5

func (m *UIButton) Unmarshal(dAtA []byte) error

func (*UIButton) Validate added in v0.20.5

func (in *UIButton) Validate(_ context.Context) field.ErrorList

func (*UIButton) XXX_DiscardUnknown added in v0.20.5

func (m *UIButton) XXX_DiscardUnknown()

func (*UIButton) XXX_Marshal added in v0.20.5

func (m *UIButton) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIButton) XXX_Merge added in v0.20.5

func (m *UIButton) XXX_Merge(src proto.Message)

func (*UIButton) XXX_Size added in v0.20.5

func (m *UIButton) XXX_Size() int

func (*UIButton) XXX_Unmarshal added in v0.20.5

func (m *UIButton) XXX_Unmarshal(b []byte) error

type UIButtonList added in v0.20.5

type UIButtonList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []UIButton `json:"items" protobuf:"bytes,2,rep,name=items"`
}

UIButtonList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*UIButtonList) DeepCopy added in v0.20.5

func (in *UIButtonList) DeepCopy() *UIButtonList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIButtonList.

func (*UIButtonList) DeepCopyInto added in v0.20.5

func (in *UIButtonList) DeepCopyInto(out *UIButtonList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIButtonList) DeepCopyObject added in v0.20.5

func (in *UIButtonList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UIButtonList) Descriptor added in v0.20.5

func (*UIButtonList) Descriptor() ([]byte, []int)

func (*UIButtonList) GetListMeta added in v0.20.5

func (in *UIButtonList) GetListMeta() *metav1.ListMeta

func (*UIButtonList) Marshal added in v0.20.5

func (m *UIButtonList) Marshal() (dAtA []byte, err error)

func (*UIButtonList) MarshalTo added in v0.20.5

func (m *UIButtonList) MarshalTo(dAtA []byte) (int, error)

func (*UIButtonList) MarshalToSizedBuffer added in v0.20.5

func (m *UIButtonList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIButtonList) ProtoMessage added in v0.20.5

func (*UIButtonList) ProtoMessage()

func (*UIButtonList) Reset added in v0.20.5

func (m *UIButtonList) Reset()

func (*UIButtonList) Size added in v0.20.5

func (m *UIButtonList) Size() (n int)

func (*UIButtonList) String added in v0.20.5

func (this *UIButtonList) String() string

func (*UIButtonList) Unmarshal added in v0.20.5

func (m *UIButtonList) Unmarshal(dAtA []byte) error

func (*UIButtonList) XXX_DiscardUnknown added in v0.20.5

func (m *UIButtonList) XXX_DiscardUnknown()

func (*UIButtonList) XXX_Marshal added in v0.20.5

func (m *UIButtonList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIButtonList) XXX_Merge added in v0.20.5

func (m *UIButtonList) XXX_Merge(src proto.Message)

func (*UIButtonList) XXX_Size added in v0.20.5

func (m *UIButtonList) XXX_Size() int

func (*UIButtonList) XXX_Unmarshal added in v0.20.5

func (m *UIButtonList) XXX_Unmarshal(b []byte) error

type UIButtonSpec added in v0.20.5

type UIButtonSpec struct {
	// Location associates the button with another component for layout.
	Location UIComponentLocation `json:"location" protobuf:"bytes,1,opt,name=location"`

	// Text to appear on the button itself or as hover text (depending on button location).
	Text string `json:"text" protobuf:"bytes,2,opt,name=text"`

	// IconName is a Material Icon to appear next to button text or on the button itself (depending on button location).
	//
	// Valid values are icon font ligature names from the Material Icons set.
	// See https://fonts.google.com/icons for the full list of available icons.
	//
	// If both IconSVG and IconName are specified, IconSVG will take precedence.
	//
	// +optional
	IconName string `json:"iconName,omitempty" protobuf:"bytes,3,opt,name=iconName"`

	// IconSVG is an SVG to use as the icon to appear next to button text or on the button itself (depending on button
	// location).
	//
	// This should be an <svg> element scaled for a 24x24 viewport.
	//
	// If both IconSVG and IconName are specified, IconSVG will take precedence.
	//
	// +optional
	IconSVG string `json:"iconSVG,omitempty" protobuf:"bytes,4,opt,name=iconSVG"`
}

UIButtonSpec defines the desired state of UIButton

func (*UIButtonSpec) DeepCopy added in v0.20.5

func (in *UIButtonSpec) DeepCopy() *UIButtonSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIButtonSpec.

func (*UIButtonSpec) DeepCopyInto added in v0.20.5

func (in *UIButtonSpec) DeepCopyInto(out *UIButtonSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIButtonSpec) Descriptor added in v0.20.5

func (*UIButtonSpec) Descriptor() ([]byte, []int)

func (*UIButtonSpec) Marshal added in v0.20.5

func (m *UIButtonSpec) Marshal() (dAtA []byte, err error)

func (*UIButtonSpec) MarshalTo added in v0.20.5

func (m *UIButtonSpec) MarshalTo(dAtA []byte) (int, error)

func (*UIButtonSpec) MarshalToSizedBuffer added in v0.20.5

func (m *UIButtonSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIButtonSpec) ProtoMessage added in v0.20.5

func (*UIButtonSpec) ProtoMessage()

func (*UIButtonSpec) Reset added in v0.20.5

func (m *UIButtonSpec) Reset()

func (*UIButtonSpec) Size added in v0.20.5

func (m *UIButtonSpec) Size() (n int)

func (*UIButtonSpec) String added in v0.20.5

func (this *UIButtonSpec) String() string

func (*UIButtonSpec) Unmarshal added in v0.20.5

func (m *UIButtonSpec) Unmarshal(dAtA []byte) error

func (*UIButtonSpec) XXX_DiscardUnknown added in v0.20.5

func (m *UIButtonSpec) XXX_DiscardUnknown()

func (*UIButtonSpec) XXX_Marshal added in v0.20.5

func (m *UIButtonSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIButtonSpec) XXX_Merge added in v0.20.5

func (m *UIButtonSpec) XXX_Merge(src proto.Message)

func (*UIButtonSpec) XXX_Size added in v0.20.5

func (m *UIButtonSpec) XXX_Size() int

func (*UIButtonSpec) XXX_Unmarshal added in v0.20.5

func (m *UIButtonSpec) XXX_Unmarshal(b []byte) error

type UIButtonStatus added in v0.20.5

type UIButtonStatus struct {
	// LastClickedAt is the timestamp of the last time the button was clicked.
	//
	// If the button has never clicked before, this will be the zero-value/null.
	LastClickedAt metav1.MicroTime `json:"lastClickedAt,omitempty" protobuf:"bytes,1,opt,name=lastClickedAt"`
}

UIButtonStatus defines the observed state of UIButton

func (UIButtonStatus) CopyTo added in v0.20.5

func (*UIButtonStatus) DeepCopy added in v0.20.5

func (in *UIButtonStatus) DeepCopy() *UIButtonStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIButtonStatus.

func (*UIButtonStatus) DeepCopyInto added in v0.20.5

func (in *UIButtonStatus) DeepCopyInto(out *UIButtonStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIButtonStatus) Descriptor added in v0.20.5

func (*UIButtonStatus) Descriptor() ([]byte, []int)

func (*UIButtonStatus) Marshal added in v0.20.5

func (m *UIButtonStatus) Marshal() (dAtA []byte, err error)

func (*UIButtonStatus) MarshalTo added in v0.20.5

func (m *UIButtonStatus) MarshalTo(dAtA []byte) (int, error)

func (*UIButtonStatus) MarshalToSizedBuffer added in v0.20.5

func (m *UIButtonStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIButtonStatus) ProtoMessage added in v0.20.5

func (*UIButtonStatus) ProtoMessage()

func (*UIButtonStatus) Reset added in v0.20.5

func (m *UIButtonStatus) Reset()

func (*UIButtonStatus) Size added in v0.20.5

func (m *UIButtonStatus) Size() (n int)

func (*UIButtonStatus) String added in v0.20.5

func (this *UIButtonStatus) String() string

func (*UIButtonStatus) Unmarshal added in v0.20.5

func (m *UIButtonStatus) Unmarshal(dAtA []byte) error

func (*UIButtonStatus) XXX_DiscardUnknown added in v0.20.5

func (m *UIButtonStatus) XXX_DiscardUnknown()

func (*UIButtonStatus) XXX_Marshal added in v0.20.5

func (m *UIButtonStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIButtonStatus) XXX_Merge added in v0.20.5

func (m *UIButtonStatus) XXX_Merge(src proto.Message)

func (*UIButtonStatus) XXX_Size added in v0.20.5

func (m *UIButtonStatus) XXX_Size() int

func (*UIButtonStatus) XXX_Unmarshal added in v0.20.5

func (m *UIButtonStatus) XXX_Unmarshal(b []byte) error

type UIComponentLocation added in v0.20.5

type UIComponentLocation struct {
	// ComponentID is the identifier of the parent component to associate this component with.
	//
	// For example, this is a resource name if the ComponentType is Resource.
	ComponentID string `json:"componentID" protobuf:"bytes,1,opt,name=componentID"`
	// ComponentType is the type of the parent component.
	ComponentType ComponentType `json:"componentType" protobuf:"bytes,2,opt,name=componentType,casttype=ComponentType"`
}

UIComponentLocation specifies where to put a UI component.

func (*UIComponentLocation) DeepCopy added in v0.20.5

func (in *UIComponentLocation) DeepCopy() *UIComponentLocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIComponentLocation.

func (*UIComponentLocation) DeepCopyInto added in v0.20.5

func (in *UIComponentLocation) DeepCopyInto(out *UIComponentLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIComponentLocation) Descriptor added in v0.20.5

func (*UIComponentLocation) Descriptor() ([]byte, []int)

func (*UIComponentLocation) Marshal added in v0.20.5

func (m *UIComponentLocation) Marshal() (dAtA []byte, err error)

func (*UIComponentLocation) MarshalTo added in v0.20.5

func (m *UIComponentLocation) MarshalTo(dAtA []byte) (int, error)

func (*UIComponentLocation) MarshalToSizedBuffer added in v0.20.5

func (m *UIComponentLocation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIComponentLocation) ProtoMessage added in v0.20.5

func (*UIComponentLocation) ProtoMessage()

func (*UIComponentLocation) Reset added in v0.20.5

func (m *UIComponentLocation) Reset()

func (*UIComponentLocation) Size added in v0.20.5

func (m *UIComponentLocation) Size() (n int)

func (*UIComponentLocation) String added in v0.20.5

func (this *UIComponentLocation) String() string

func (*UIComponentLocation) Unmarshal added in v0.20.5

func (m *UIComponentLocation) Unmarshal(dAtA []byte) error

func (*UIComponentLocation) XXX_DiscardUnknown added in v0.20.5

func (m *UIComponentLocation) XXX_DiscardUnknown()

func (*UIComponentLocation) XXX_Marshal added in v0.20.5

func (m *UIComponentLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIComponentLocation) XXX_Merge added in v0.20.5

func (m *UIComponentLocation) XXX_Merge(src proto.Message)

func (*UIComponentLocation) XXX_Size added in v0.20.5

func (m *UIComponentLocation) XXX_Size() int

func (*UIComponentLocation) XXX_Unmarshal added in v0.20.5

func (m *UIComponentLocation) XXX_Unmarshal(b []byte) error

type UIComponentLocationResource added in v0.20.5

type UIComponentLocationResource struct {
	ResourceName string `json:"resourceName" protobuf:"bytes,1,opt,name=resourceName"`
}

func (*UIComponentLocationResource) DeepCopy added in v0.20.5

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIComponentLocationResource.

func (*UIComponentLocationResource) DeepCopyInto added in v0.20.5

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIComponentLocationResource) Descriptor added in v0.20.5

func (*UIComponentLocationResource) Descriptor() ([]byte, []int)

func (*UIComponentLocationResource) Marshal added in v0.20.5

func (m *UIComponentLocationResource) Marshal() (dAtA []byte, err error)

func (*UIComponentLocationResource) MarshalTo added in v0.20.5

func (m *UIComponentLocationResource) MarshalTo(dAtA []byte) (int, error)

func (*UIComponentLocationResource) MarshalToSizedBuffer added in v0.20.5

func (m *UIComponentLocationResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIComponentLocationResource) ProtoMessage added in v0.20.5

func (*UIComponentLocationResource) ProtoMessage()

func (*UIComponentLocationResource) Reset added in v0.20.5

func (m *UIComponentLocationResource) Reset()

func (*UIComponentLocationResource) Size added in v0.20.5

func (m *UIComponentLocationResource) Size() (n int)

func (*UIComponentLocationResource) String added in v0.20.5

func (this *UIComponentLocationResource) String() string

func (*UIComponentLocationResource) Unmarshal added in v0.20.5

func (m *UIComponentLocationResource) Unmarshal(dAtA []byte) error

func (*UIComponentLocationResource) XXX_DiscardUnknown added in v0.20.5

func (m *UIComponentLocationResource) XXX_DiscardUnknown()

func (*UIComponentLocationResource) XXX_Marshal added in v0.20.5

func (m *UIComponentLocationResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIComponentLocationResource) XXX_Merge added in v0.20.5

func (m *UIComponentLocationResource) XXX_Merge(src proto.Message)

func (*UIComponentLocationResource) XXX_Size added in v0.20.5

func (m *UIComponentLocationResource) XXX_Size() int

func (*UIComponentLocationResource) XXX_Unmarshal added in v0.20.5

func (m *UIComponentLocationResource) XXX_Unmarshal(b []byte) error

type UIFeatureFlag added in v0.20.2

type UIFeatureFlag struct {
	// The name of the flag.
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// The value of the flag.
	// +optional
	Value bool `json:"value,omitempty" protobuf:"varint,2,opt,name=value"`
}

Configures Tilt to enable non-default features (e.g., experimental or deprecated).

The Tilt features controlled by this are generally in an unfinished state, and not yet documented.

As a Tilt user, you don’t need to worry about this unless something else directs you to (e.g., an experimental feature doc, or a conversation with a Tilt contributor).

func (*UIFeatureFlag) DeepCopy added in v0.20.2

func (in *UIFeatureFlag) DeepCopy() *UIFeatureFlag

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIFeatureFlag.

func (*UIFeatureFlag) DeepCopyInto added in v0.20.2

func (in *UIFeatureFlag) DeepCopyInto(out *UIFeatureFlag)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIFeatureFlag) Descriptor added in v0.20.2

func (*UIFeatureFlag) Descriptor() ([]byte, []int)

func (*UIFeatureFlag) Marshal added in v0.20.2

func (m *UIFeatureFlag) Marshal() (dAtA []byte, err error)

func (*UIFeatureFlag) MarshalTo added in v0.20.2

func (m *UIFeatureFlag) MarshalTo(dAtA []byte) (int, error)

func (*UIFeatureFlag) MarshalToSizedBuffer added in v0.20.2

func (m *UIFeatureFlag) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIFeatureFlag) ProtoMessage added in v0.20.2

func (*UIFeatureFlag) ProtoMessage()

func (*UIFeatureFlag) Reset added in v0.20.2

func (m *UIFeatureFlag) Reset()

func (*UIFeatureFlag) Size added in v0.20.2

func (m *UIFeatureFlag) Size() (n int)

func (*UIFeatureFlag) String added in v0.20.2

func (this *UIFeatureFlag) String() string

func (*UIFeatureFlag) Unmarshal added in v0.20.2

func (m *UIFeatureFlag) Unmarshal(dAtA []byte) error

func (*UIFeatureFlag) XXX_DiscardUnknown added in v0.20.2

func (m *UIFeatureFlag) XXX_DiscardUnknown()

func (*UIFeatureFlag) XXX_Marshal added in v0.20.2

func (m *UIFeatureFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIFeatureFlag) XXX_Merge added in v0.20.2

func (m *UIFeatureFlag) XXX_Merge(src proto.Message)

func (*UIFeatureFlag) XXX_Size added in v0.20.2

func (m *UIFeatureFlag) XXX_Size() int

func (*UIFeatureFlag) XXX_Unmarshal added in v0.20.2

func (m *UIFeatureFlag) XXX_Unmarshal(b []byte) error

type UIResource added in v0.20.2

type UIResource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   UIResourceSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status UIResourceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

UIResource represents per-resource status data for rendering the web UI.

Treat this as a legacy data structure that's more intended to make transition easier rather than a robust long-term API.

+k8s:openapi-gen=true

func (*UIResource) DeepCopy added in v0.20.2

func (in *UIResource) DeepCopy() *UIResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResource.

func (*UIResource) DeepCopyInto added in v0.20.2

func (in *UIResource) DeepCopyInto(out *UIResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResource) DeepCopyObject added in v0.20.2

func (in *UIResource) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UIResource) Descriptor added in v0.20.2

func (*UIResource) Descriptor() ([]byte, []int)

func (*UIResource) GetGroupVersionResource added in v0.20.2

func (in *UIResource) GetGroupVersionResource() schema.GroupVersionResource

func (*UIResource) GetObjectMeta added in v0.20.2

func (in *UIResource) GetObjectMeta() *metav1.ObjectMeta

func (*UIResource) GetStatus added in v0.20.2

func (in *UIResource) GetStatus() resource.StatusSubResource

func (*UIResource) IsStorageVersion added in v0.20.2

func (in *UIResource) IsStorageVersion() bool

func (*UIResource) Marshal added in v0.20.2

func (m *UIResource) Marshal() (dAtA []byte, err error)

func (*UIResource) MarshalTo added in v0.20.2

func (m *UIResource) MarshalTo(dAtA []byte) (int, error)

func (*UIResource) MarshalToSizedBuffer added in v0.20.2

func (m *UIResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResource) NamespaceScoped added in v0.20.2

func (in *UIResource) NamespaceScoped() bool

func (*UIResource) New added in v0.20.2

func (in *UIResource) New() runtime.Object

func (*UIResource) NewList added in v0.20.2

func (in *UIResource) NewList() runtime.Object

func (*UIResource) ProtoMessage added in v0.20.2

func (*UIResource) ProtoMessage()

func (*UIResource) Reset added in v0.20.2

func (m *UIResource) Reset()

func (*UIResource) Size added in v0.20.2

func (m *UIResource) Size() (n int)

func (*UIResource) String added in v0.20.2

func (this *UIResource) String() string

func (*UIResource) Unmarshal added in v0.20.2

func (m *UIResource) Unmarshal(dAtA []byte) error

func (*UIResource) Validate added in v0.20.2

func (in *UIResource) Validate(ctx context.Context) field.ErrorList

func (*UIResource) XXX_DiscardUnknown added in v0.20.2

func (m *UIResource) XXX_DiscardUnknown()

func (*UIResource) XXX_Marshal added in v0.20.2

func (m *UIResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResource) XXX_Merge added in v0.20.2

func (m *UIResource) XXX_Merge(src proto.Message)

func (*UIResource) XXX_Size added in v0.20.2

func (m *UIResource) XXX_Size() int

func (*UIResource) XXX_Unmarshal added in v0.20.2

func (m *UIResource) XXX_Unmarshal(b []byte) error

type UIResourceKubernetes added in v0.20.2

type UIResourceKubernetes struct {
	// The name of the active pod.
	//
	// The active pod tends to be what Tilt defaults to for port-forwards,
	// live-updates, etc.
	// +optional
	PodName string `json:"podName,omitempty" protobuf:"bytes,1,opt,name=podName"`

	// The creation time of the active pod.
	// +optional
	PodCreationTime metav1.Time `json:"podCreationTime,omitempty" protobuf:"bytes,2,opt,name=podCreationTime"`

	// The last update time of the active pod
	// +optional
	PodUpdateStartTime metav1.Time `json:"podUpdateStartTime,omitempty" protobuf:"bytes,3,opt,name=podUpdateStartTime"`

	// The status of the active pod.
	// +optional
	PodStatus string `json:"podStatus,omitempty" protobuf:"bytes,4,opt,name=podStatus"`

	// Extra error messaging around the current status of the active pod.
	// +optional
	PodStatusMessage string `json:"podStatusMessage,omitempty" protobuf:"bytes,5,opt,name=podStatusMessage"`

	// Whether all the containers in the pod are currently healthy
	// and have passed readiness checks.
	// +optional
	AllContainersReady bool `json:"allContainersReady,omitempty" protobuf:"varint,6,opt,name=allContainersReady"`

	// The number of pod restarts.
	// +optional
	PodRestarts int32 `json:"podRestarts,omitempty" protobuf:"varint,7,opt,name=podRestarts"`

	// The span where this pod stores its logs in the Tilt logstore.
	// +optional
	SpanID string `json:"spanID,omitempty" protobuf:"bytes,8,opt,name=spanID"`

	// The list of all resources deployed in the Kubernetes deploy
	// for this resource.
	// +optional
	DisplayNames []string `json:"displayNames,omitempty" protobuf:"bytes,9,rep,name=displayNames"`
}

UIResourceKubernetes contains status information specific to Kubernetes.

func (*UIResourceKubernetes) DeepCopy added in v0.20.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResourceKubernetes.

func (*UIResourceKubernetes) DeepCopyInto added in v0.20.2

func (in *UIResourceKubernetes) DeepCopyInto(out *UIResourceKubernetes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResourceKubernetes) Descriptor added in v0.20.2

func (*UIResourceKubernetes) Descriptor() ([]byte, []int)

func (*UIResourceKubernetes) Marshal added in v0.20.2

func (m *UIResourceKubernetes) Marshal() (dAtA []byte, err error)

func (*UIResourceKubernetes) MarshalTo added in v0.20.2

func (m *UIResourceKubernetes) MarshalTo(dAtA []byte) (int, error)

func (*UIResourceKubernetes) MarshalToSizedBuffer added in v0.20.2

func (m *UIResourceKubernetes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResourceKubernetes) ProtoMessage added in v0.20.2

func (*UIResourceKubernetes) ProtoMessage()

func (*UIResourceKubernetes) Reset added in v0.20.2

func (m *UIResourceKubernetes) Reset()

func (*UIResourceKubernetes) Size added in v0.20.2

func (m *UIResourceKubernetes) Size() (n int)

func (*UIResourceKubernetes) String added in v0.20.2

func (this *UIResourceKubernetes) String() string

func (*UIResourceKubernetes) Unmarshal added in v0.20.2

func (m *UIResourceKubernetes) Unmarshal(dAtA []byte) error

func (*UIResourceKubernetes) XXX_DiscardUnknown added in v0.20.2

func (m *UIResourceKubernetes) XXX_DiscardUnknown()

func (*UIResourceKubernetes) XXX_Marshal added in v0.20.2

func (m *UIResourceKubernetes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResourceKubernetes) XXX_Merge added in v0.20.2

func (m *UIResourceKubernetes) XXX_Merge(src proto.Message)

func (*UIResourceKubernetes) XXX_Size added in v0.20.2

func (m *UIResourceKubernetes) XXX_Size() int

func (*UIResourceKubernetes) XXX_Unmarshal added in v0.20.2

func (m *UIResourceKubernetes) XXX_Unmarshal(b []byte) error
type UIResourceLink struct {
	// A URL to link to.
	// +optional
	URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`

	// The display label on a URL.
	// +optional
	Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
}

UIResourceLink represents a link assocatiated with a UIResource.

func (*UIResourceLink) DeepCopy added in v0.20.2

func (in *UIResourceLink) DeepCopy() *UIResourceLink

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResourceLink.

func (*UIResourceLink) DeepCopyInto added in v0.20.2

func (in *UIResourceLink) DeepCopyInto(out *UIResourceLink)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResourceLink) Descriptor added in v0.20.2

func (*UIResourceLink) Descriptor() ([]byte, []int)

func (*UIResourceLink) Marshal added in v0.20.2

func (m *UIResourceLink) Marshal() (dAtA []byte, err error)

func (*UIResourceLink) MarshalTo added in v0.20.2

func (m *UIResourceLink) MarshalTo(dAtA []byte) (int, error)

func (*UIResourceLink) MarshalToSizedBuffer added in v0.20.2

func (m *UIResourceLink) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResourceLink) ProtoMessage added in v0.20.2

func (*UIResourceLink) ProtoMessage()

func (*UIResourceLink) Reset added in v0.20.2

func (m *UIResourceLink) Reset()

func (*UIResourceLink) Size added in v0.20.2

func (m *UIResourceLink) Size() (n int)

func (*UIResourceLink) String added in v0.20.2

func (this *UIResourceLink) String() string

func (*UIResourceLink) Unmarshal added in v0.20.2

func (m *UIResourceLink) Unmarshal(dAtA []byte) error

func (*UIResourceLink) XXX_DiscardUnknown added in v0.20.2

func (m *UIResourceLink) XXX_DiscardUnknown()

func (*UIResourceLink) XXX_Marshal added in v0.20.2

func (m *UIResourceLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResourceLink) XXX_Merge added in v0.20.2

func (m *UIResourceLink) XXX_Merge(src proto.Message)

func (*UIResourceLink) XXX_Size added in v0.20.2

func (m *UIResourceLink) XXX_Size() int

func (*UIResourceLink) XXX_Unmarshal added in v0.20.2

func (m *UIResourceLink) XXX_Unmarshal(b []byte) error

type UIResourceList added in v0.20.2

type UIResourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []UIResource `json:"items" protobuf:"bytes,2,rep,name=items"`
}

UIResourceList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*UIResourceList) DeepCopy added in v0.20.2

func (in *UIResourceList) DeepCopy() *UIResourceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResourceList.

func (*UIResourceList) DeepCopyInto added in v0.20.2

func (in *UIResourceList) DeepCopyInto(out *UIResourceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResourceList) DeepCopyObject added in v0.20.2

func (in *UIResourceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UIResourceList) Descriptor added in v0.20.2

func (*UIResourceList) Descriptor() ([]byte, []int)

func (*UIResourceList) GetListMeta added in v0.20.2

func (in *UIResourceList) GetListMeta() *metav1.ListMeta

func (*UIResourceList) Marshal added in v0.20.2

func (m *UIResourceList) Marshal() (dAtA []byte, err error)

func (*UIResourceList) MarshalTo added in v0.20.2

func (m *UIResourceList) MarshalTo(dAtA []byte) (int, error)

func (*UIResourceList) MarshalToSizedBuffer added in v0.20.2

func (m *UIResourceList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResourceList) ProtoMessage added in v0.20.2

func (*UIResourceList) ProtoMessage()

func (*UIResourceList) Reset added in v0.20.2

func (m *UIResourceList) Reset()

func (*UIResourceList) Size added in v0.20.2

func (m *UIResourceList) Size() (n int)

func (*UIResourceList) String added in v0.20.2

func (this *UIResourceList) String() string

func (*UIResourceList) Unmarshal added in v0.20.2

func (m *UIResourceList) Unmarshal(dAtA []byte) error

func (*UIResourceList) XXX_DiscardUnknown added in v0.20.2

func (m *UIResourceList) XXX_DiscardUnknown()

func (*UIResourceList) XXX_Marshal added in v0.20.2

func (m *UIResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResourceList) XXX_Merge added in v0.20.2

func (m *UIResourceList) XXX_Merge(src proto.Message)

func (*UIResourceList) XXX_Size added in v0.20.2

func (m *UIResourceList) XXX_Size() int

func (*UIResourceList) XXX_Unmarshal added in v0.20.2

func (m *UIResourceList) XXX_Unmarshal(b []byte) error

type UIResourceLocal added in v0.20.2

type UIResourceLocal struct {
	// The PID of the actively running local command.
	// +optional
	PID int64 `json:"pid,omitempty" protobuf:"varint,1,opt,name=pid"`

	// Whether this represents a test job.
	// +optional
	IsTest bool `json:"isTest,omitempty" protobuf:"varint,2,opt,name=isTest"`
}

UIResourceLocal contains status information specific to local commands.

func (*UIResourceLocal) DeepCopy added in v0.20.2

func (in *UIResourceLocal) DeepCopy() *UIResourceLocal

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResourceLocal.

func (*UIResourceLocal) DeepCopyInto added in v0.20.2

func (in *UIResourceLocal) DeepCopyInto(out *UIResourceLocal)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResourceLocal) Descriptor added in v0.20.2

func (*UIResourceLocal) Descriptor() ([]byte, []int)

func (*UIResourceLocal) Marshal added in v0.20.2

func (m *UIResourceLocal) Marshal() (dAtA []byte, err error)

func (*UIResourceLocal) MarshalTo added in v0.20.2

func (m *UIResourceLocal) MarshalTo(dAtA []byte) (int, error)

func (*UIResourceLocal) MarshalToSizedBuffer added in v0.20.2

func (m *UIResourceLocal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResourceLocal) ProtoMessage added in v0.20.2

func (*UIResourceLocal) ProtoMessage()

func (*UIResourceLocal) Reset added in v0.20.2

func (m *UIResourceLocal) Reset()

func (*UIResourceLocal) Size added in v0.20.2

func (m *UIResourceLocal) Size() (n int)

func (*UIResourceLocal) String added in v0.20.2

func (this *UIResourceLocal) String() string

func (*UIResourceLocal) Unmarshal added in v0.20.2

func (m *UIResourceLocal) Unmarshal(dAtA []byte) error

func (*UIResourceLocal) XXX_DiscardUnknown added in v0.20.2

func (m *UIResourceLocal) XXX_DiscardUnknown()

func (*UIResourceLocal) XXX_Marshal added in v0.20.2

func (m *UIResourceLocal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResourceLocal) XXX_Merge added in v0.20.2

func (m *UIResourceLocal) XXX_Merge(src proto.Message)

func (*UIResourceLocal) XXX_Size added in v0.20.2

func (m *UIResourceLocal) XXX_Size() int

func (*UIResourceLocal) XXX_Unmarshal added in v0.20.2

func (m *UIResourceLocal) XXX_Unmarshal(b []byte) error

type UIResourceSpec added in v0.20.2

type UIResourceSpec struct {
}

UIResourceSpec is an empty struct. UIResource is a kludge for making Tilt's internal status readable, not for specifying behavior.

func (*UIResourceSpec) DeepCopy added in v0.20.2

func (in *UIResourceSpec) DeepCopy() *UIResourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResourceSpec.

func (*UIResourceSpec) DeepCopyInto added in v0.20.2

func (in *UIResourceSpec) DeepCopyInto(out *UIResourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResourceSpec) Descriptor added in v0.20.2

func (*UIResourceSpec) Descriptor() ([]byte, []int)

func (*UIResourceSpec) Marshal added in v0.20.2

func (m *UIResourceSpec) Marshal() (dAtA []byte, err error)

func (*UIResourceSpec) MarshalTo added in v0.20.2

func (m *UIResourceSpec) MarshalTo(dAtA []byte) (int, error)

func (*UIResourceSpec) MarshalToSizedBuffer added in v0.20.2

func (m *UIResourceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResourceSpec) ProtoMessage added in v0.20.2

func (*UIResourceSpec) ProtoMessage()

func (*UIResourceSpec) Reset added in v0.20.2

func (m *UIResourceSpec) Reset()

func (*UIResourceSpec) Size added in v0.20.2

func (m *UIResourceSpec) Size() (n int)

func (*UIResourceSpec) String added in v0.20.2

func (this *UIResourceSpec) String() string

func (*UIResourceSpec) Unmarshal added in v0.20.2

func (m *UIResourceSpec) Unmarshal(dAtA []byte) error

func (*UIResourceSpec) XXX_DiscardUnknown added in v0.20.2

func (m *UIResourceSpec) XXX_DiscardUnknown()

func (*UIResourceSpec) XXX_Marshal added in v0.20.2

func (m *UIResourceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResourceSpec) XXX_Merge added in v0.20.2

func (m *UIResourceSpec) XXX_Merge(src proto.Message)

func (*UIResourceSpec) XXX_Size added in v0.20.2

func (m *UIResourceSpec) XXX_Size() int

func (*UIResourceSpec) XXX_Unmarshal added in v0.20.2

func (m *UIResourceSpec) XXX_Unmarshal(b []byte) error

type UIResourceStatus added in v0.20.2

type UIResourceStatus struct {
	// The last time this resource was deployed.
	// +optional
	LastDeployTime metav1.MicroTime `json:"lastDeployTime,omitempty" protobuf:"bytes,1,opt,name=lastDeployTime"`

	// Bit mask representing whether this resource is run when:
	// 1) When a file changes
	// 2) When the resource initializes
	// +optional
	TriggerMode int32 `json:"triggerMode,omitempty" protobuf:"varint,2,opt,name=triggerMode"`

	// Past completed builds.
	// +optional
	BuildHistory []UIBuildTerminated `json:"buildHistory,omitempty" protobuf:"bytes,3,rep,name=buildHistory"`

	// The currently running build, if any.
	// +optional
	CurrentBuild *UIBuildRunning `json:"currentBuild,omitempty" protobuf:"bytes,4,opt,name=currentBuild"`

	// When the build was put in the pending queue.
	// +optional
	PendingBuildSince metav1.MicroTime `json:"pendingBuildSince,omitempty" protobuf:"bytes,5,opt,name=pendingBuildSince"`

	// True if the build was put in the pending queue due to file changes.
	// +optional
	HasPendingChanges bool `json:"hasPendingChanges,omitempty" protobuf:"varint,6,opt,name=hasPendingChanges"`

	// Links attached to this resource.
	// +optional
	EndpointLinks []UIResourceLink `json:"endpointLinks,omitempty" protobuf:"bytes,7,rep,name=endpointLinks"`

	// Extra data about Kubernetes resources.
	// +optional
	K8sResourceInfo *UIResourceKubernetes `json:"k8sResourceInfo,omitempty" protobuf:"bytes,8,opt,name=k8sResourceInfo"`

	// Extra data about Local resources
	// +optional
	LocalResourceInfo *UIResourceLocal `json:"localResourceInfo,omitempty" protobuf:"bytes,9,opt,name=localResourceInfo"`

	// The RuntimeStatus is a simple, high-level summary of the runtime state of a server.
	//
	// Not all resources run servers.
	// +optional
	RuntimeStatus RuntimeStatus `json:"runtimeStatus,omitempty" protobuf:"bytes,10,opt,name=runtimeStatus,casttype=RuntimeStatus"`

	// The UpdateStatus is a simple, high-level summary of any update tasks to bring
	// the resource up-to-date.
	//
	// If the resource runs a server, this may include both build tasks and live-update
	// syncing.
	// +optional
	UpdateStatus UpdateStatus `json:"updateStatus,omitempty" protobuf:"bytes,14,opt,name=updateStatus,casttype=UpdateStatus"`

	// Information about all the target specs that this resource summarizes.
	// +optional
	Specs []UIResourceTargetSpec `json:"specs,omitempty" protobuf:"bytes,12,rep,name=specs"`

	// Queued is a simple indicator of whether the resource is queued for an update.
	// +optional
	Queued bool `json:"queued,omitempty" protobuf:"varint,13,opt,name=queued"`

	// Order expresses the relative order of resources in the UI when they're not
	// otherwise sorted. Lower integers go first. When two resources have the same
	// order, they should be sorted by name.
	//
	// When UIResources are generated from the Tiltfile, we use the order they
	// were added to the Tiltfile for the Order field.
	//
	// +optional
	Order int32 `json:"order,omitempty" protobuf:"varint,15,opt,name=order"`
}

UIResourceStatus defines the observed state of UIResource

func (UIResourceStatus) CopyTo added in v0.20.2

func (*UIResourceStatus) DeepCopy added in v0.20.2

func (in *UIResourceStatus) DeepCopy() *UIResourceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResourceStatus.

func (*UIResourceStatus) DeepCopyInto added in v0.20.2

func (in *UIResourceStatus) DeepCopyInto(out *UIResourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResourceStatus) Descriptor added in v0.20.2

func (*UIResourceStatus) Descriptor() ([]byte, []int)

func (*UIResourceStatus) Marshal added in v0.20.2

func (m *UIResourceStatus) Marshal() (dAtA []byte, err error)

func (*UIResourceStatus) MarshalTo added in v0.20.2

func (m *UIResourceStatus) MarshalTo(dAtA []byte) (int, error)

func (*UIResourceStatus) MarshalToSizedBuffer added in v0.20.2

func (m *UIResourceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResourceStatus) ProtoMessage added in v0.20.2

func (*UIResourceStatus) ProtoMessage()

func (*UIResourceStatus) Reset added in v0.20.2

func (m *UIResourceStatus) Reset()

func (*UIResourceStatus) Size added in v0.20.2

func (m *UIResourceStatus) Size() (n int)

func (*UIResourceStatus) String added in v0.20.2

func (this *UIResourceStatus) String() string

func (*UIResourceStatus) Unmarshal added in v0.20.2

func (m *UIResourceStatus) Unmarshal(dAtA []byte) error

func (*UIResourceStatus) XXX_DiscardUnknown added in v0.20.2

func (m *UIResourceStatus) XXX_DiscardUnknown()

func (*UIResourceStatus) XXX_Marshal added in v0.20.2

func (m *UIResourceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResourceStatus) XXX_Merge added in v0.20.2

func (m *UIResourceStatus) XXX_Merge(src proto.Message)

func (*UIResourceStatus) XXX_Size added in v0.20.2

func (m *UIResourceStatus) XXX_Size() int

func (*UIResourceStatus) XXX_Unmarshal added in v0.20.2

func (m *UIResourceStatus) XXX_Unmarshal(b []byte) error

type UIResourceTargetSpec added in v0.20.2

type UIResourceTargetSpec struct {
	// The ID of the target.
	// +optional
	ID string `json:"id,omitempty" protobuf:"bytes,1,opt,name=id"`

	// The type of the target.
	// +optional
	Type UIResourceTargetType `json:"type,omitempty" protobuf:"bytes,2,opt,name=type,casttype=UIResourceTargetType"`

	// Whether the target has a live update assocated with it.
	// +optional
	HasLiveUpdate bool `json:"hasLiveUpdate,omitempty" protobuf:"varint,3,opt,name=hasLiveUpdate"`
}

UIResourceTargetSpec represents the spec of a build or deploy that a resource summarizes.

func (*UIResourceTargetSpec) DeepCopy added in v0.20.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIResourceTargetSpec.

func (*UIResourceTargetSpec) DeepCopyInto added in v0.20.2

func (in *UIResourceTargetSpec) DeepCopyInto(out *UIResourceTargetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UIResourceTargetSpec) Descriptor added in v0.20.2

func (*UIResourceTargetSpec) Descriptor() ([]byte, []int)

func (*UIResourceTargetSpec) Marshal added in v0.20.2

func (m *UIResourceTargetSpec) Marshal() (dAtA []byte, err error)

func (*UIResourceTargetSpec) MarshalTo added in v0.20.2

func (m *UIResourceTargetSpec) MarshalTo(dAtA []byte) (int, error)

func (*UIResourceTargetSpec) MarshalToSizedBuffer added in v0.20.2

func (m *UIResourceTargetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UIResourceTargetSpec) ProtoMessage added in v0.20.2

func (*UIResourceTargetSpec) ProtoMessage()

func (*UIResourceTargetSpec) Reset added in v0.20.2

func (m *UIResourceTargetSpec) Reset()

func (*UIResourceTargetSpec) Size added in v0.20.2

func (m *UIResourceTargetSpec) Size() (n int)

func (*UIResourceTargetSpec) String added in v0.20.2

func (this *UIResourceTargetSpec) String() string

func (*UIResourceTargetSpec) Unmarshal added in v0.20.2

func (m *UIResourceTargetSpec) Unmarshal(dAtA []byte) error

func (*UIResourceTargetSpec) XXX_DiscardUnknown added in v0.20.2

func (m *UIResourceTargetSpec) XXX_DiscardUnknown()

func (*UIResourceTargetSpec) XXX_Marshal added in v0.20.2

func (m *UIResourceTargetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UIResourceTargetSpec) XXX_Merge added in v0.20.2

func (m *UIResourceTargetSpec) XXX_Merge(src proto.Message)

func (*UIResourceTargetSpec) XXX_Size added in v0.20.2

func (m *UIResourceTargetSpec) XXX_Size() int

func (*UIResourceTargetSpec) XXX_Unmarshal added in v0.20.2

func (m *UIResourceTargetSpec) XXX_Unmarshal(b []byte) error

type UIResourceTargetType added in v0.20.2

type UIResourceTargetType string

UIResourceTargetType identifies the different categories of task in a resource.

const (
	// The target type is unspecified.
	UIResourceTargetTypeUnspecified UIResourceTargetType = "unspecified"

	// The target is a container image build.
	UIResourceTargetTypeImage UIResourceTargetType = "image"

	// The target is a Kubernetes resource deployment.
	UIResourceTargetTypeKubernetes UIResourceTargetType = "k8s"

	// The target is a Docker Compose service deployment.
	UIResourceTargetTypeDockerCompose UIResourceTargetType = "docker-compose"

	// The target is a local command or server.
	UIResourceTargetTypeLocal UIResourceTargetType = "local"
)

type UISession added in v0.20.2

type UISession struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   UISessionSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status UISessionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

UISession represents global status data for rendering the web UI.

Treat this as a legacy data structure that's more intended to make transition easier rather than a robust long-term API.

Per-resource status data should be stored in UIResource.

+k8s:openapi-gen=true

func (*UISession) DeepCopy added in v0.20.2

func (in *UISession) DeepCopy() *UISession

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UISession.

func (*UISession) DeepCopyInto added in v0.20.2

func (in *UISession) DeepCopyInto(out *UISession)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UISession) DeepCopyObject added in v0.20.2

func (in *UISession) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UISession) Descriptor added in v0.20.2

func (*UISession) Descriptor() ([]byte, []int)

func (*UISession) GetGroupVersionResource added in v0.20.2

func (in *UISession) GetGroupVersionResource() schema.GroupVersionResource

func (*UISession) GetObjectMeta added in v0.20.2

func (in *UISession) GetObjectMeta() *metav1.ObjectMeta

func (*UISession) GetStatus added in v0.20.2

func (in *UISession) GetStatus() resource.StatusSubResource

func (*UISession) IsStorageVersion added in v0.20.2

func (in *UISession) IsStorageVersion() bool

func (*UISession) Marshal added in v0.20.2

func (m *UISession) Marshal() (dAtA []byte, err error)

func (*UISession) MarshalTo added in v0.20.2

func (m *UISession) MarshalTo(dAtA []byte) (int, error)

func (*UISession) MarshalToSizedBuffer added in v0.20.2

func (m *UISession) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UISession) NamespaceScoped added in v0.20.2

func (in *UISession) NamespaceScoped() bool

func (*UISession) New added in v0.20.2

func (in *UISession) New() runtime.Object

func (*UISession) NewList added in v0.20.2

func (in *UISession) NewList() runtime.Object

func (*UISession) ProtoMessage added in v0.20.2

func (*UISession) ProtoMessage()

func (*UISession) Reset added in v0.20.2

func (m *UISession) Reset()

func (*UISession) Size added in v0.20.2

func (m *UISession) Size() (n int)

func (*UISession) String added in v0.20.2

func (this *UISession) String() string

func (*UISession) Unmarshal added in v0.20.2

func (m *UISession) Unmarshal(dAtA []byte) error

func (*UISession) Validate added in v0.20.2

func (in *UISession) Validate(ctx context.Context) field.ErrorList

func (*UISession) XXX_DiscardUnknown added in v0.20.2

func (m *UISession) XXX_DiscardUnknown()

func (*UISession) XXX_Marshal added in v0.20.2

func (m *UISession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UISession) XXX_Merge added in v0.20.2

func (m *UISession) XXX_Merge(src proto.Message)

func (*UISession) XXX_Size added in v0.20.2

func (m *UISession) XXX_Size() int

func (*UISession) XXX_Unmarshal added in v0.20.2

func (m *UISession) XXX_Unmarshal(b []byte) error

type UISessionList added in v0.20.2

type UISessionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []UISession `json:"items" protobuf:"bytes,2,rep,name=items"`
}

UISessionList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*UISessionList) DeepCopy added in v0.20.2

func (in *UISessionList) DeepCopy() *UISessionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UISessionList.

func (*UISessionList) DeepCopyInto added in v0.20.2

func (in *UISessionList) DeepCopyInto(out *UISessionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UISessionList) DeepCopyObject added in v0.20.2

func (in *UISessionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UISessionList) Descriptor added in v0.20.2

func (*UISessionList) Descriptor() ([]byte, []int)

func (*UISessionList) GetListMeta added in v0.20.2

func (in *UISessionList) GetListMeta() *metav1.ListMeta

func (*UISessionList) Marshal added in v0.20.2

func (m *UISessionList) Marshal() (dAtA []byte, err error)

func (*UISessionList) MarshalTo added in v0.20.2

func (m *UISessionList) MarshalTo(dAtA []byte) (int, error)

func (*UISessionList) MarshalToSizedBuffer added in v0.20.2

func (m *UISessionList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UISessionList) ProtoMessage added in v0.20.2

func (*UISessionList) ProtoMessage()

func (*UISessionList) Reset added in v0.20.2

func (m *UISessionList) Reset()

func (*UISessionList) Size added in v0.20.2

func (m *UISessionList) Size() (n int)

func (*UISessionList) String added in v0.20.2

func (this *UISessionList) String() string

func (*UISessionList) Unmarshal added in v0.20.2

func (m *UISessionList) Unmarshal(dAtA []byte) error

func (*UISessionList) XXX_DiscardUnknown added in v0.20.2

func (m *UISessionList) XXX_DiscardUnknown()

func (*UISessionList) XXX_Marshal added in v0.20.2

func (m *UISessionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UISessionList) XXX_Merge added in v0.20.2

func (m *UISessionList) XXX_Merge(src proto.Message)

func (*UISessionList) XXX_Size added in v0.20.2

func (m *UISessionList) XXX_Size() int

func (*UISessionList) XXX_Unmarshal added in v0.20.2

func (m *UISessionList) XXX_Unmarshal(b []byte) error

type UISessionSpec added in v0.20.2

type UISessionSpec struct {
}

UISessionSpec is an empty struct. UISession is a kludge for making Tilt's internal status readable, not for specifying behavior.

func (*UISessionSpec) DeepCopy added in v0.20.2

func (in *UISessionSpec) DeepCopy() *UISessionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UISessionSpec.

func (*UISessionSpec) DeepCopyInto added in v0.20.2

func (in *UISessionSpec) DeepCopyInto(out *UISessionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UISessionSpec) Descriptor added in v0.20.2

func (*UISessionSpec) Descriptor() ([]byte, []int)

func (*UISessionSpec) Marshal added in v0.20.2

func (m *UISessionSpec) Marshal() (dAtA []byte, err error)

func (*UISessionSpec) MarshalTo added in v0.20.2

func (m *UISessionSpec) MarshalTo(dAtA []byte) (int, error)

func (*UISessionSpec) MarshalToSizedBuffer added in v0.20.2

func (m *UISessionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UISessionSpec) ProtoMessage added in v0.20.2

func (*UISessionSpec) ProtoMessage()

func (*UISessionSpec) Reset added in v0.20.2

func (m *UISessionSpec) Reset()

func (*UISessionSpec) Size added in v0.20.2

func (m *UISessionSpec) Size() (n int)

func (*UISessionSpec) String added in v0.20.2

func (this *UISessionSpec) String() string

func (*UISessionSpec) Unmarshal added in v0.20.2

func (m *UISessionSpec) Unmarshal(dAtA []byte) error

func (*UISessionSpec) XXX_DiscardUnknown added in v0.20.2

func (m *UISessionSpec) XXX_DiscardUnknown()

func (*UISessionSpec) XXX_Marshal added in v0.20.2

func (m *UISessionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UISessionSpec) XXX_Merge added in v0.20.2

func (m *UISessionSpec) XXX_Merge(src proto.Message)

func (*UISessionSpec) XXX_Size added in v0.20.2

func (m *UISessionSpec) XXX_Size() int

func (*UISessionSpec) XXX_Unmarshal added in v0.20.2

func (m *UISessionSpec) XXX_Unmarshal(b []byte) error

type UISessionStatus added in v0.20.2

type UISessionStatus struct {
	// FeatureFlags reports a list of experimental features that have been
	// enabled.
	// +optional
	FeatureFlags []UIFeatureFlag `json:"featureFlags,omitempty" protobuf:"bytes,1,rep,name=featureFlags"`

	// NeedsAnalyticsNudge reports whether the UI hasn't opted in or out
	// of analytics, and the UI should nudge them to do so.
	// +optional
	NeedsAnalyticsNudge bool `json:"needsAnalyticsNudge,omitempty" protobuf:"varint,2,opt,name=needsAnalyticsNudge"`

	// RunningTiltBuild reports the currently running version of tilt
	// that this UI is talking to.
	// +optional
	RunningTiltBuild TiltBuild `json:"runningTiltBuild,omitempty" protobuf:"bytes,3,opt,name=runningTiltBuild"`

	// SuggestedTiltVersion tells the UI the recommended version for this
	// user. If the version is different than what's running, the UI
	// may display a prompt to upgrade.
	// +optional
	SuggestedTiltVersion string `json:"suggestedTiltVersion,omitempty" protobuf:"bytes,4,opt,name=suggestedTiltVersion"`

	// VersionSettings indicates whether version updates have been enabled/disabled
	// from the Tiltfile.
	// +optional
	VersionSettings VersionSettings `json:"versionSettings,omitempty" protobuf:"bytes,12,opt,name=versionSettings"`

	// TiltCloudUsername reports the username if the user is signed into
	// TiltCloud.
	// +optional
	TiltCloudUsername string `json:"tiltCloudUsername,omitempty" protobuf:"bytes,5,opt,name=tiltCloudUsername"`

	// TiltCloudUsername reports the human-readable team name if the user is
	// signed into TiltCloud and the Tiltfile declares a team.
	// +optional
	TiltCloudTeamName string `json:"tiltCloudTeamName,omitempty" protobuf:"bytes,6,opt,name=tiltCloudTeamName"`

	// TiltCloudSchemeHost reports the base URL of the Tilt Cloud instance
	// associated with this Tilt process. Usually https://cloud.tilt.dev
	// +optional
	TiltCloudSchemeHost string `json:"tiltCloudSchemeHost,omitempty" protobuf:"bytes,7,opt,name=tiltCloudSchemeHost"`

	// TiltCloudTeamID reports the unique team id if the user is signed into
	// TiltCloud and the Tiltfile declares a team.
	// +optional
	TiltCloudTeamID string `json:"tiltCloudTeamID,omitempty" protobuf:"bytes,8,opt,name=tiltCloudTeamID"`

	// A FatalError is an error that forces Tilt to stop its control loop.
	// The API server will stay up and continue to serve the UI, but
	// no further builds will happen.
	// +optional
	FatalError string `json:"fatalError,omitempty" protobuf:"bytes,9,opt,name=fatalError"`

	// The time that this instance of tilt started.
	// Clients can use this to determine if the API server has restarted
	// and all the objects need to be refreshed.
	// +optional
	TiltStartTime metav1.Time `json:"tiltStartTime,omitempty" protobuf:"bytes,10,opt,name=tiltStartTime"`

	// An identifier for the Tiltfile that is running.
	// Clients can use this to store data associated with a particular
	// project in LocalStorage or other persistent storage.
	// +optional
	TiltfileKey string `json:"tiltfileKey,omitempty" protobuf:"bytes,11,opt,name=tiltfileKey"`
}

UISessionStatus defines the observed state of UISession

func (UISessionStatus) CopyTo added in v0.20.2

func (*UISessionStatus) DeepCopy added in v0.20.2

func (in *UISessionStatus) DeepCopy() *UISessionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UISessionStatus.

func (*UISessionStatus) DeepCopyInto added in v0.20.2

func (in *UISessionStatus) DeepCopyInto(out *UISessionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UISessionStatus) Descriptor added in v0.20.2

func (*UISessionStatus) Descriptor() ([]byte, []int)

func (*UISessionStatus) Marshal added in v0.20.2

func (m *UISessionStatus) Marshal() (dAtA []byte, err error)

func (*UISessionStatus) MarshalTo added in v0.20.2

func (m *UISessionStatus) MarshalTo(dAtA []byte) (int, error)

func (*UISessionStatus) MarshalToSizedBuffer added in v0.20.2

func (m *UISessionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UISessionStatus) ProtoMessage added in v0.20.2

func (*UISessionStatus) ProtoMessage()

func (*UISessionStatus) Reset added in v0.20.2

func (m *UISessionStatus) Reset()

func (*UISessionStatus) Size added in v0.20.2

func (m *UISessionStatus) Size() (n int)

func (*UISessionStatus) String added in v0.20.2

func (this *UISessionStatus) String() string

func (*UISessionStatus) Unmarshal added in v0.20.2

func (m *UISessionStatus) Unmarshal(dAtA []byte) error

func (*UISessionStatus) XXX_DiscardUnknown added in v0.20.2

func (m *UISessionStatus) XXX_DiscardUnknown()

func (*UISessionStatus) XXX_Marshal added in v0.20.2

func (m *UISessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UISessionStatus) XXX_Merge added in v0.20.2

func (m *UISessionStatus) XXX_Merge(src proto.Message)

func (*UISessionStatus) XXX_Size added in v0.20.2

func (m *UISessionStatus) XXX_Size() int

func (*UISessionStatus) XXX_Unmarshal added in v0.20.2

func (m *UISessionStatus) XXX_Unmarshal(b []byte) error

type URIScheme added in v0.18.11

type URIScheme string

URIScheme identifies the scheme used for connection to a host for Get actions

const (
	// URISchemeHTTP means that the scheme used will be http://
	URISchemeHTTP URIScheme = "HTTP"
	// URISchemeHTTPS means that the scheme used will be https://
	URISchemeHTTPS URIScheme = "HTTPS"
)

type UpdateStatus added in v0.20.2

type UpdateStatus string

The UpdateStatus is a simple, high-level summary of any update tasks to bring the resource up-to-date.

const (
	// This resource hasn't had any reason to update yet.
	// This usually indicates that it's a manual trigger with no auto_init.
	UpdateStatusNone UpdateStatus = "none"

	// An update is in progress.
	UpdateStatusInProgress UpdateStatus = "in_progress"

	// The last update succeeded.
	UpdateStatusOK UpdateStatus = "ok"

	// An update is queued.
	UpdateStatusPending UpdateStatus = "pending"

	// The last update failed.
	UpdateStatusError UpdateStatus = "error"

	// This resource doesn't have an update command.
	UpdateStatusNotApplicable UpdateStatus = "not_applicable"
)

type VersionSettings added in v0.20.2

type VersionSettings struct {
	// Whether version updates have been enabled/disabled from the Tiltfile.
	// +optional
	CheckUpdates bool `json:"checkUpdates,omitempty" protobuf:"varint,1,opt,name=checkUpdates"`
}

Information about how the Tilt binary handles updates.

func (*VersionSettings) DeepCopy added in v0.20.2

func (in *VersionSettings) DeepCopy() *VersionSettings

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionSettings.

func (*VersionSettings) DeepCopyInto added in v0.20.2

func (in *VersionSettings) DeepCopyInto(out *VersionSettings)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VersionSettings) Descriptor added in v0.20.2

func (*VersionSettings) Descriptor() ([]byte, []int)

func (*VersionSettings) Marshal added in v0.20.2

func (m *VersionSettings) Marshal() (dAtA []byte, err error)

func (*VersionSettings) MarshalTo added in v0.20.2

func (m *VersionSettings) MarshalTo(dAtA []byte) (int, error)

func (*VersionSettings) MarshalToSizedBuffer added in v0.20.2

func (m *VersionSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionSettings) ProtoMessage added in v0.20.2

func (*VersionSettings) ProtoMessage()

func (*VersionSettings) Reset added in v0.20.2

func (m *VersionSettings) Reset()

func (*VersionSettings) Size added in v0.20.2

func (m *VersionSettings) Size() (n int)

func (*VersionSettings) String added in v0.20.2

func (this *VersionSettings) String() string

func (*VersionSettings) Unmarshal added in v0.20.2

func (m *VersionSettings) Unmarshal(dAtA []byte) error

func (*VersionSettings) XXX_DiscardUnknown added in v0.20.2

func (m *VersionSettings) XXX_DiscardUnknown()

func (*VersionSettings) XXX_Marshal added in v0.20.2

func (m *VersionSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionSettings) XXX_Merge added in v0.20.2

func (m *VersionSettings) XXX_Merge(src proto.Message)

func (*VersionSettings) XXX_Size added in v0.20.2

func (m *VersionSettings) XXX_Size() int

func (*VersionSettings) XXX_Unmarshal added in v0.20.2

func (m *VersionSettings) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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