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=core.tilt.dev
Index ¶
- Constants
- Variables
- func AllResourceLists() []runtime.Object
- func AllResourceObjects() []resource.Object
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Cmd
- func (in *Cmd) DeepCopy() *Cmd
- func (in *Cmd) DeepCopyInto(out *Cmd)
- func (in *Cmd) DeepCopyObject() runtime.Object
- func (in *Cmd) GetGroupVersionResource() schema.GroupVersionResource
- func (in *Cmd) GetObjectMeta() *metav1.ObjectMeta
- func (in *Cmd) GetStatus() resource.StatusSubResource
- func (in *Cmd) IsStorageVersion() bool
- func (in *Cmd) NamespaceScoped() bool
- func (in *Cmd) New() runtime.Object
- func (in *Cmd) NewList() runtime.Object
- func (in *Cmd) Validate(ctx context.Context) field.ErrorList
- type CmdList
- type CmdSpec
- type CmdStateRunning
- type CmdStateTerminated
- type CmdStateWaiting
- type CmdStatus
- type ExecAction
- type FileWatch
- func (in *FileWatch) DeepCopy() *FileWatch
- func (in *FileWatch) DeepCopyInto(out *FileWatch)
- func (in *FileWatch) DeepCopyObject() runtime.Object
- func (in *FileWatch) GetGroupVersionResource() schema.GroupVersionResource
- func (in *FileWatch) GetObjectMeta() *metav1.ObjectMeta
- func (in *FileWatch) GetStatus() resource.StatusSubResource
- func (in *FileWatch) IsStorageVersion() bool
- func (in *FileWatch) NamespaceScoped() bool
- func (in *FileWatch) New() runtime.Object
- func (in *FileWatch) NewList() runtime.Object
- func (in *FileWatch) Validate(ctx context.Context) field.ErrorList
- type FileWatchList
- type FileWatchSpec
- type FileWatchStatus
- type HTTPGetAction
- type HTTPHeader
- type Handler
- type Manifest
- func (in *Manifest) DeepCopy() *Manifest
- func (in *Manifest) DeepCopyInto(out *Manifest)
- func (in *Manifest) DeepCopyObject() runtime.Object
- func (in *Manifest) GetGroupVersionResource() schema.GroupVersionResource
- func (in *Manifest) GetObjectMeta() *metav1.ObjectMeta
- func (in *Manifest) GetStatus() resource.StatusSubResource
- func (in *Manifest) IsStorageVersion() bool
- func (in *Manifest) NamespaceScoped() bool
- func (in *Manifest) New() runtime.Object
- func (in *Manifest) NewList() runtime.Object
- func (in *Manifest) Validate(ctx context.Context) field.ErrorList
- type ManifestList
- type ManifestSpec
- type ManifestStatus
- type Probe
- type TCPSocketAction
- type URIScheme
Constants ¶
const GroupName = "core.tilt.dev"
GroupName is the group name used in this package
const Version = "v1alpha1"
Variables ¶
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 }
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AllResourceLists ¶
func AllResourceObjects ¶
func RegisterDefaults ¶
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"`
Spec CmdSpec `json:"spec,omitempty"`
Status CmdStatus `json:"status,omitempty"`
}
Cmd +k8s:openapi-gen=true
func (*Cmd) DeepCopy ¶ added in v0.18.11
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cmd.
func (*Cmd) DeepCopyInto ¶ added in v0.18.11
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
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 (*Cmd) NamespaceScoped ¶ added in v0.18.11
type CmdList ¶ added in v0.18.11
type CmdList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Cmd `json:"items"`
}
CmdList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CmdList) DeepCopy ¶ added in v0.18.11
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdList.
func (*CmdList) DeepCopyInto ¶ added in v0.18.11
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
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CmdList) GetListMeta ¶ added in v0.18.11
type CmdSpec ¶ added in v0.18.11
type CmdSpec struct {
// Command-line arguments. Must have length at least 1.
Args []string `json:"args,omitempty"`
// 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"`
// 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"`
// Periodic probe of service readiness.
//
// +optional
ReadinessProbe *Probe `json:"readinessProbe,omitempty"`
}
CmdSpec defines the desired state of Cmd
func (*CmdSpec) DeepCopy ¶ added in v0.18.11
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdSpec.
func (*CmdSpec) DeepCopyInto ¶ added in v0.18.11
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CmdStateRunning ¶ added in v0.18.11
type CmdStateRunning struct {
// The process id of the command.
PID int32 `json:"pid"`
// Time at which the command was last started.
StartedAt metav1.Time `json:"startedAt,omitempty"`
}
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.
type CmdStateTerminated ¶ added in v0.18.11
type CmdStateTerminated struct {
// The process id of the command.
PID int32 `json:"pid"`
// Exit status from the last termination of the command
ExitCode int32 `json:"exitCode"`
// Time at which previous execution of the command started
StartedAt metav1.Time `json:"startedAt,omitempty"`
// Time at which the command last terminated
FinishedAt metav1.Time `json:"finishedAt,omitempty"`
}
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.
type CmdStateWaiting ¶ added in v0.18.11
type CmdStateWaiting struct {
// (brief) reason the process is not yet running.
// +optional
Reason string `json:"reason,omitempty"`
}
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.
type CmdStatus ¶ added in v0.18.11
type CmdStatus struct {
// Details about a waiting process.
// +optional
Waiting *CmdStateWaiting `json:"waiting,omitempty"`
// Details about a running process.
// +optional
Running *CmdStateRunning `json:"running,omitempty"`
// Details about a terminated process.
// +optional
Terminated *CmdStateTerminated `json:"terminated,omitempty"`
// 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"`
}
CmdStatus defines the observed state of Cmd
Based loosely on ContainerStatus in Kubernetes
func (CmdStatus) CopyTo ¶ added in v0.18.11
func (in CmdStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (*CmdStatus) DeepCopy ¶ added in v0.18.11
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CmdStatus.
func (*CmdStatus) DeepCopyInto ¶ added in v0.18.11
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
type FileWatch ¶
type FileWatch struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FileWatchSpec `json:"spec,omitempty"`
Status FileWatchStatus `json:"status,omitempty"`
}
FileWatch +k8s:openapi-gen=true
func (*FileWatch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileWatch.
func (*FileWatch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FileWatch) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 (*FileWatch) NamespaceScoped ¶
type FileWatchList ¶
type FileWatchList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []FileWatch `json:"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) GetListMeta ¶
func (in *FileWatchList) GetListMeta() *metav1.ListMeta
type FileWatchSpec ¶
type FileWatchSpec struct {
}
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.
type FileWatchStatus ¶
type FileWatchStatus struct {
}
FileWatchStatus defines the observed state of FileWatch
func (FileWatchStatus) CopyTo ¶
func (in FileWatchStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
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.
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.
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.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler.
func (*Handler) DeepCopyInto ¶ added in v0.18.11
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Manifest ¶
type Manifest struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ManifestSpec `json:"spec,omitempty"`
Status ManifestStatus `json:"status,omitempty"`
}
Manifest +k8s:openapi-gen=true
func (*Manifest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Manifest.
func (*Manifest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Manifest) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Manifest) GetGroupVersionResource ¶
func (in *Manifest) GetGroupVersionResource() schema.GroupVersionResource
func (*Manifest) GetObjectMeta ¶
func (in *Manifest) GetObjectMeta() *metav1.ObjectMeta
func (*Manifest) GetStatus ¶
func (in *Manifest) GetStatus() resource.StatusSubResource
func (*Manifest) IsStorageVersion ¶
func (*Manifest) NamespaceScoped ¶
type ManifestList ¶
type ManifestList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Manifest `json:"items"`
}
ManifestList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ManifestList) DeepCopy ¶
func (in *ManifestList) DeepCopy() *ManifestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestList.
func (*ManifestList) DeepCopyInto ¶
func (in *ManifestList) DeepCopyInto(out *ManifestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManifestList) DeepCopyObject ¶
func (in *ManifestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManifestList) GetListMeta ¶
func (in *ManifestList) GetListMeta() *metav1.ListMeta
type ManifestSpec ¶
type ManifestSpec struct {
Type string `json:"type"`
}
ManifestSpec defines the desired state of Manifest
func (*ManifestSpec) DeepCopy ¶
func (in *ManifestSpec) DeepCopy() *ManifestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestSpec.
func (*ManifestSpec) DeepCopyInto ¶
func (in *ManifestSpec) DeepCopyInto(out *ManifestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestStatus ¶
type ManifestStatus struct {
}
ManifestStatus defines the observed state of Manifest
func (ManifestStatus) CopyTo ¶
func (in ManifestStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (*ManifestStatus) DeepCopy ¶
func (in *ManifestStatus) DeepCopy() *ManifestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestStatus.
func (*ManifestStatus) DeepCopyInto ¶
func (in *ManifestStatus) DeepCopyInto(out *ManifestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
func (*Probe) DeepCopyInto ¶ added in v0.18.11
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.