Documentation ¶
Index ¶
- Constants
- Variables
- type K8sFlink
- func (k *K8sFlink) CleanUp(ctx context.Context, namespace string) error
- func (k *K8sFlink) ComposeFlinkCluster(job apistructs.JobFromUser, data apistructs.BigdataConf, hostURL string) *flinkoperatorv1beta1.FlinkCluster
- func (k *K8sFlink) Delete(ctx context.Context, task *spec.PipelineTask) (data interface{}, err error)
- func (k *K8sFlink) GetFlinkClusterInfo(ctx context.Context, data apistructs.BigdataConf) (*flinkoperatorv1beta1.FlinkCluster, error)
- func (k *K8sFlink) Inspect(ctx context.Context, task *spec.PipelineTask) (apistructs.TaskInspect, error)
- func (k *K8sFlink) Kind() types.Kind
- func (k *K8sFlink) Name() types.Name
- func (k *K8sFlink) Start(ctx context.Context, task *spec.PipelineTask) (data interface{}, err error)
- func (k *K8sFlink) Status(ctx context.Context, task *spec.PipelineTask) (statusDesc apistructs.PipelineStatusDesc, err error)
Constants ¶
View Source
const ( DiceRootDomain = "DICE_ROOT_DOMAIN" K8SFlinkLogPrefix = "[k8sflink]" )
View Source
const (
FlinkIngressPrefix = "flinkcluster"
)
Variables ¶
View Source
var Kind = types.Kind(spec.PipelineTaskExecutorKindK8sFlink)
Functions ¶
This section is empty.
Types ¶
type K8sFlink ¶
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) ComposeFlinkCluster ¶
func (k *K8sFlink) ComposeFlinkCluster(job apistructs.JobFromUser, data apistructs.BigdataConf, hostURL string) *flinkoperatorv1beta1.FlinkCluster
func (*K8sFlink) GetFlinkClusterInfo ¶
func (k *K8sFlink) GetFlinkClusterInfo(ctx context.Context, data apistructs.BigdataConf) (*flinkoperatorv1beta1.FlinkCluster, error)
func (*K8sFlink) Inspect ¶
func (k *K8sFlink) Inspect(ctx context.Context, task *spec.PipelineTask) (apistructs.TaskInspect, error)
Inspect k8sflink doesn`t support inspect, flinkcluster`s logs are too long
func (*K8sFlink) Status ¶
func (k *K8sFlink) Status(ctx context.Context, task *spec.PipelineTask) (statusDesc apistructs.PipelineStatusDesc, err error)
Click to show internal directories.
Click to hide internal directories.