Documentation ¶
Index ¶
- Constants
- Variables
- type K8sSpark
- func (k *K8sSpark) BatchDelete(ctx context.Context, tasks []*spec.PipelineTask) (interface{}, error)
- func (k *K8sSpark) Create(ctx context.Context, task *spec.PipelineTask) (interface{}, error)
- func (k *K8sSpark) Kind() types.Kind
- func (k *K8sSpark) Name() types.Name
- func (k *K8sSpark) Remove(ctx context.Context, task *spec.PipelineTask) (interface{}, error)
- func (k *K8sSpark) Status(ctx context.Context, task *spec.PipelineTask) (apistructs.StatusDesc, error)
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 (*K8sSpark) Status ¶
func (k *K8sSpark) Status(ctx context.Context, task *spec.PipelineTask) (apistructs.StatusDesc, error)
Click to show internal directories.
Click to hide internal directories.