k8sflink

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiceRootDomain    = "DICE_ROOT_DOMAIN"
	K8SFlinkLogPrefix = "[k8sflink]"
)
View Source
const (
	FlinkIngressPrefix = "flinkcluster"
)

Variables

Functions

This section is empty.

Types

type K8sFlink struct {
	*types.K8sExecutor
	// contains filtered or unexported fields
}

func New

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

func (*K8sFlink) CleanUp

func (k *K8sFlink) CleanUp(ctx context.Context, namespace string) error

func (*K8sFlink) ComposeFlinkCluster

func (k *K8sFlink) ComposeFlinkCluster(job apistructs.JobFromUser, data apistructs.BigdataConf, hostURL string) *flinkoperatorv1beta1.FlinkCluster

func (*K8sFlink) Delete

func (k *K8sFlink) Delete(ctx context.Context, task *spec.PipelineTask) (data interface{}, err 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) Start

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

func (*K8sFlink) Status

func (k *K8sFlink) Status(ctx context.Context, task *spec.PipelineTask) (statusDesc apistructs.PipelineStatusDesc, err error)

Jump to

Keyboard shortcuts

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