k8sflink

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiceRootDomain    = "DICE_ROOT_DOMAIN"
	DiceClusterInfo   = "dice-cluster-info"
	K8SFlinkLogPrefix = "[k8sflink]"
)
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