spark

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FailureCondition = "status.applicationState.state in (" + strings.Join(failureStates, ",") + ")"
View Source
var SuccessCondition = "status.applicationState.state in (" + strings.Join(successStates, ",") + ")"

Functions

func Delete

func Delete(appName string) (bool, error)

func IsDone

func IsDone(sparkApp *sparkop.SparkApplication) bool

func List

func ListByLabel

func ListByLabel(labelKey string, labelValue string) ([]sparkop.SparkApplication, error)

func ListByLabels

func ListByLabels(labels map[string]string) ([]sparkop.SparkApplication, error)

func SparkSpec

func SparkSpec(workloadID string, ctx *context.Context, workloadType string, sparkCompute *userconfig.SparkCompute, args ...string) *sparkop.SparkApplication

Types

This section is empty.

Jump to

Keyboard shortcuts

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