k8sflink

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: AGPL-3.0 Imports: 20 Imported by: 1 module, 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 (
	DiceRootDomain  = "DICE_ROOT_DOMAIN"
	DiceClusterInfo = "dice-cluster-info"
)
View Source
const (
	FlinkIngressPrefix = "flinkcluster"
)

Variables

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

Functions

func ComposeFlinkCluster

func ComposeFlinkCluster(data apistructs.BigdataConf, hostURL string) *flinkoperatorv1beta1.FlinkCluster

Types

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

func New

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

func (*K8sFlink) BatchDelete

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

func (*K8sFlink) Create

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

func (*K8sFlink) GetClusterInfo

func (k *K8sFlink) GetClusterInfo(name string) (map[string]string, error)

func (*K8sFlink) GetFlinkClusterInfo

func (k *K8sFlink) GetFlinkClusterInfo(ctx context.Context, data apistructs.BigdataConf) (*flinkoperatorv1beta1.FlinkCluster, error)

func (*K8sFlink) Inspect

Inspect k8sflink doesn`t support inspect, flinkcluster`s logs are too long

func (*K8sFlink) Kind

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

func (*K8sFlink) Name

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

func (*K8sFlink) Remove

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

func (*K8sFlink) Status

Jump to

Keyboard shortcuts

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