k8sspark

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	K8SLabelPrefix = "dice/"
)

Variables

View Source
var Kind = types.Kind("k8sspark")

Functions

This section is empty.

Types

type K8sSpark

type K8sSpark struct {
	// contains filtered or unexported fields
}

func New

func New(name types.Name, clusterName string, cluster apistructs.ClusterInfo) (*K8sSpark, error)

func (*K8sSpark) BatchDelete

func (k *K8sSpark) BatchDelete(ctx context.Context, tasks []*spec.PipelineTask) (interface{}, error)

func (*K8sSpark) Create

func (k *K8sSpark) Create(ctx context.Context, task *spec.PipelineTask) (interface{}, error)

func (*K8sSpark) Inspect

Inspect k8sspark doesn`t support inspect, sparkapp`s logs are too long

func (*K8sSpark) Kind

func (k *K8sSpark) Kind() types.Kind

func (*K8sSpark) Name

func (k *K8sSpark) Name() types.Name

func (*K8sSpark) Remove

func (k *K8sSpark) Remove(ctx context.Context, task *spec.PipelineTask) (interface{}, error)

func (*K8sSpark) Status

Jump to

Keyboard shortcuts

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