Documentation
¶
Index ¶
- func EnsureClusterRequirements(ctx context.Context, kubeFactory kube.Factory, namespace string) error
- func GetPodLogs(ctx context.Context, client kubernetes.Interface, namespace, name string) (string, error)
- func RunPod(ctx context.Context, client kubernetes.Interface, opts RunPodOptions) (*v1.Pod, error)
- type LaunchJobOptions
- type RunPodOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodLogs ¶ added in v0.0.256
func RunPod ¶ added in v0.0.256
func RunPod(ctx context.Context, client kubernetes.Interface, opts RunPodOptions) (*v1.Pod, error)
Types ¶
type LaunchJobOptions ¶ added in v0.0.228
type LaunchJobOptions struct {
Client kubernetes.Interface
Namespace string
JobName *string
Image *string
Env []v1.EnvVar
RestartPolicy v1.RestartPolicy
BackOffLimit int32
}
Click to show internal directories.
Click to hide internal directories.