v1alpha1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 15 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 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 +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) 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.
	//
	// Restarts can happen even if the command is already done.
	//
	// Logs of the currently process after the restart are discarded.
	RestartOn *RestartOnSpec `json:"restartOn,omitempty" protobuf:"bytes,5,opt,name=restartOn"`
}

CmdSpec defines the desired state of Cmd

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 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) 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) 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 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 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) 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"`
}

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{}

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 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 Pod added in v0.19.7

type Pod struct {
	// 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"`

	// BaselineRestartCount is the number of restarts across all containers before Tilt started observing the Pod.
	//
	// This is used to ignore restarts for a Pod that was already executing before the Tilt daemon started.
	BaselineRestartCount int32 `json:"baselineRestartCount" protobuf:"varint,9,opt,name=baselineRestartCount"`
	// 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"`
	// UpdateStartedAt is when Tilt started a deployment update for this Pod.
	UpdateStartedAt metav1.Time `json:"updateStartedAt,omitempty" protobuf:"bytes,11,opt,name=updateStartedAt"`
	// 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) 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 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) 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(ctx 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.
	Pod string `json:"pod" protobuf:"bytes,1,opt,name=pod"`

	// 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"`

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

	// The port to expose on the current machine. Required.
	LocalPort int32 `json:"localPort" protobuf:"varint,4,opt,name=localPort"`

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

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 {
	// Time at which we started trying to run the Port Forward (potentially distinct
	// from the time the Port Forward successfully connected)
	StartedAt metav1.MicroTime `json:"startedAt,omitempty" protobuf:"bytes,1,opt,name=startedAt"`
}

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 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 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 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 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"
)

Jump to

Keyboard shortcuts

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