Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sHandler ¶
type K8sHandler struct {
// contains filtered or unexported fields
}
func NewK8sHandler ¶
func (*K8sHandler) AppName ¶ added in v0.9.0
func (k *K8sHandler) AppName() string
type LogErrorWriter ¶
type LogErrorWriter struct {
// contains filtered or unexported fields
}
type PortForward ¶
type PortForward struct {
// contains filtered or unexported fields
}
func NewPortForward ¶
func NewPortForward(cfg *rest.Config, logger zerolog.Logger) *PortForward
func (*PortForward) ForwardPodPort ¶
type PortForwarder ¶
type PortForwarder struct {
// contains filtered or unexported fields
}
type RunPodInput ¶
type RunPodInput struct { Image string `json:"image" validate:"required"` Command []string `json:"command,omitempty"` Args []string `json:"args,omitempty"` Namespace string `json:"namespace,omitempty" validate:"omitempty,hostname_rfc1123"` InDir string `json:"in_dir,omitempty" validate:"omitempty,dirpath,min=1"` InFiles map[string]string `json:"in_files,omitempty" validate:"omitempty,dive,keys,filepath,min=1,endkeys"` OutDir string `json:"out_dir,omitempty" validate:"omitempty,dirpath,min=1"` ResultPath string `json:"out_path,omitempty" validate:"omitempty,filepath,min=1"` CpuLimit string `json:"cpu,omitempty"` MemLimit string `json:"memory,omitempty"` SkipCleanup bool `json:"skip_cleanup"` }
Click to show internal directories.
Click to hide internal directories.