Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/const_test.go | package util
import (
"testing"
"time"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
)
func TestGetLocationSet(t *testing.T) {
locString := "Asia/Shanghai"
viper.Set(TimeZone, locString)
defer viper.Set(TimeZone, "")
timezone, err := GetLocation()
assert.Nil(t, err)
expectedTimezone, _ := t... | 614 | 20.964286 | 52 | go |
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/cron_schedule.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 4,027 | 30.968254 | 139 | go |
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/cron_schedule_test.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 8,195 | 39.776119 | 93 | go |
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/label.go | package util
import (
"github.com/argoproj/argo-workflows/v3/workflow/common"
commonutil "github.com/kubeflow/pipelines/backend/src/common/util"
log "github.com/sirupsen/logrus"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/selection"
)
// GetRequirementForCompletedWorkflowOrFatal returns a label req... | 1,599 | 33.782609 | 117 | go |
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/periodic_schedule.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 2,746 | 27.030612 | 90 | go |
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/periodic_schedule_test.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 6,330 | 37.369697 | 98 | go |
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/scheduled_workflow.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 10,732 | 28.731302 | 118 | go |
pipelines | pipelines-master/backend/src/crd/controller/scheduledworkflow/util/scheduled_workflow_test.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 28,768 | 31.180089 | 102 | go |
pipelines | pipelines-master/backend/src/crd/controller/viewer/main.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 3,420 | 32.871287 | 95 | go |
pipelines | pipelines-master/backend/src/crd/controller/viewer/reconciler/reconciler.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 9,799 | 31.55814 | 109 | go |
pipelines | pipelines-master/backend/src/crd/controller/viewer/reconciler/reconciler_test.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 18,245 | 27.376361 | 89 | go |
pipelines | pipelines-master/backend/src/crd/hack/update-codegen.sh | #!/bin/bash
#
# Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 1,491 | 36.3 | 80 | sh |
pipelines | pipelines-master/backend/src/crd/hack/verify-codegen.sh | #!/bin/bash
#
# Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 1,394 | 25.826923 | 80 | sh |
pipelines | pipelines-master/backend/src/crd/install/manifests/scheduledworkflow-crd.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 948 | 31.724138 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/install/manifests/viewer-crd.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 887 | 28.6 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/pkg/apis/scheduledworkflow/register.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 833 | 33.75 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/scheduledworkflow/v1beta1/doc.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 740 | 36.05 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/scheduledworkflow/v1beta1/register.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,756 | 32.788462 | 93 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/scheduledworkflow/v1beta1/types.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 9,005 | 34.456693 | 148 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/scheduledworkflow/v1beta1/zz_generated.deepcopy.go | //go:build !ignore_autogenerated
// +build !ignore_autogenerated
// Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licen... | 10,402 | 27.977716 | 115 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/viewer/register.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 876 | 32.730769 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/viewer/v1beta1/doc.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 729 | 35.5 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/viewer/v1beta1/register.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,890 | 33.381818 | 89 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/viewer/v1beta1/types.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 2,502 | 32.373333 | 80 | go |
pipelines | pipelines-master/backend/src/crd/pkg/apis/viewer/v1beta1/zz_generated.deepcopy.go | //go:build !ignore_autogenerated
// +build !ignore_autogenerated
// Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licen... | 3,400 | 27.822034 | 114 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/clientset.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 3,276 | 33.494737 | 136 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/doc.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 718 | 38.944444 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/fake/clientset_generated.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 2,978 | 36.2375 | 145 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/fake/doc.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 718 | 38.944444 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/fake/register.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,978 | 35.648148 | 108 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/scheme/doc.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 734 | 39.833333 | 77 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/scheme/register.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,980 | 35.685185 | 108 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/typed/scheduledworkflow/v1beta1/doc.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 720 | 39.055556 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/typed/scheduledworkflow/v1beta1/generated_expansion.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 702 | 36 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/typed/scheduledworkflow/v1beta1/scheduledworkflow.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 6,473 | 36.421965 | 174 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/typed/scheduledworkflow/v1beta1/scheduledworkflow_client.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 2,748 | 30.597701 | 121 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/typed/scheduledworkflow/v1beta1/fake/doc.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 711 | 38.555556 | 75 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/typed/scheduledworkflow/v1beta1/fake/fake_scheduledworkflow.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 5,367 | 41.267717 | 178 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/clientset/versioned/typed/scheduledworkflow/v1beta1/fake/fake_scheduledworkflow_client.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,298 | 33.184211 | 119 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/informers/externalversions/factory.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 6,553 | 35.820225 | 194 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/informers/externalversions/generic.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 2,098 | 33.983333 | 141 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,472 | 37.763158 | 98 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/informers/externalversions/scheduledworkflow/interface.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,706 | 37.795455 | 140 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/informers/externalversions/scheduledworkflow/v1beta1/interface.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,683 | 38.162791 | 140 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/informers/externalversions/scheduledworkflow/v1beta1/scheduledworkflow.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 4,015 | 44.123596 | 226 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/listers/scheduledworkflow/v1beta1/expansion_generated.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 988 | 38.56 | 81 | go |
pipelines | pipelines-master/backend/src/crd/pkg/client/listers/scheduledworkflow/v1beta1/scheduledworkflow.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 3,664 | 38.836957 | 120 | go |
pipelines | pipelines-master/backend/src/crd/pkg/signals/signal.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 1,210 | 27.833333 | 85 | go |
pipelines | pipelines-master/backend/src/crd/pkg/signals/signal_posix.go | // Copyright 2018 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 706 | 29.73913 | 75 | go |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/concurrency.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,265 | 27.133333 | 123 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/every-minute-cron.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,179 | 27.095238 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/every-minute-periodic.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,192 | 27.404762 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/invalid.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,247 | 27.363636 | 123 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/no-history.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,166 | 25.522727 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/parameterized.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,928 | 37.58 | 152 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/single-run.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,113 | 26.85 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/start-end-cron.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,249 | 26.173913 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/scheduledworkflow/start-end-periodic.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,259 | 28.302326 | 74 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/viewer/mnist.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 961 | 32.172414 | 79 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/viewer/tensorboard-local-volume.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,388 | 34.615385 | 85 | yaml |
pipelines | pipelines-master/backend/src/crd/samples/viewer/tensorboard-persistent-volume.yaml | # Copyright 2018 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 1,362 | 33.075 | 79 | yaml |
pipelines | pipelines-master/backend/src/v2/.ko.yaml | # Use root base image for driver, launcher, launcher-v2
# Please follow https://github.com/google/ko#overriding-base-images to chang this file if other containers need non-root base image
defaultBaseImage: gcr.io/distroless/base | 228 | 75.333333 | 131 | yaml |
pipelines | pipelines-master/backend/src/v2/README.md | # Kubeflow Pipelines v2
There are two modes Kubeflow Pipelines (KFP) v2 can run in:
* v2 compatible -- supports core v2 features in KFP v1
* v2 (v2 engine) -- full feature v2 in KFP v2's new architecture
Code for both modes live inside this folder.
## Kubeflow Pipelines v2 compatible
Status: [Beta](../docs/release... | 5,999 | 30.088083 | 182 | md |
pipelines | pipelines-master/backend/src/v2/cacheutils/cache.go | package cacheutils
import (
"context"
"crypto/sha256"
"encoding/hex"
"encoding/json"
"fmt"
"os"
"google.golang.org/grpc"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/types/known/structpb"
"github.com/golang/glog"
"github.com/kubeflow/pipelines/api/v2alpha1/go/cachekey"
"git... | 6,674 | 34.505319 | 139 | go |
pipelines | pipelines-master/backend/src/v2/cacheutils/cache_test.go | package cacheutils
import (
"encoding/json"
"fmt"
"testing"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/kubeflow/pipelines/api/v2alpha1/go/cachekey"
"github.com/kubeflow/pipelines/api/v2alpha1/go/pipelinespec"
"github.com/stretchr/testify/assert"
"google.golang.org/proto... | 10,089 | 36.790262 | 206 | go |
pipelines | pipelines-master/backend/src/v2/cmd/compiler/main.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 4,170 | 27.765517 | 118 | go |
pipelines | pipelines-master/backend/src/v2/cmd/driver/main.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 9,340 | 34.789272 | 171 | go |
pipelines | pipelines-master/backend/src/v2/cmd/launcher-v2/main.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 3,880 | 32.747826 | 153 | go |
pipelines | pipelines-master/backend/src/v2/compiler/visitor.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | 7,086 | 35.34359 | 140 | go |
pipelines | pipelines-master/backend/src/v2/compiler/visitor_test.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 3,418 | 32.851485 | 162 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/argo.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | 11,858 | 34.294643 | 179 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/argo_test.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | 4,219 | 30.259259 | 125 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/common.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 1,323 | 28.422222 | 75 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/container.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | 9,012 | 33.799228 | 175 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/dag.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 18,252 | 32.615101 | 163 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/importer.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 3,383 | 30.626168 | 161 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/proto.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 1,409 | 31.790698 | 119 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/proto_test.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | 1,398 | 23.54386 | 75 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/spec_patch.go | // Copyright 2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 882 | 30.535714 | 98 | go |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/testdata/create_mount_delete_dynamic_pvc.yaml | apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
annotations:
pipelines.kubeflow.org/components-comp-comp: '{"executorLabel":"exec-comp"}'
pipelines.kubeflow.org/components-comp-comp-2: '{"executorLabel":"exec-comp-2"}'
pipelines.kubeflow.org/components-comp-createpvc: '{"executorLabel":"exec-cre... | 14,562 | 41.211594 | 1,020 | yaml |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/testdata/hello_world.yaml | apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
annotations:
pipelines.kubeflow.org/components-comp-hello-world: '{"executorLabel":"exec-hello-world","inputDefinitions":{"parameters":{"text":{"type":"STRING"}}}}'
pipelines.kubeflow.org/components-root: '{"dag":{"tasks":{"hello-world":{"cachingOption... | 8,556 | 30.116364 | 325 | yaml |
pipelines | pipelines-master/backend/src/v2/compiler/argocompiler/testdata/importer.yaml | apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
annotations:
pipelines.kubeflow.org/components-comp-importer: '{"executorLabel":"exec-importer","inputDefinitions":{"parameters":{"uri":{"type":"STRING"}}},"outputDefinitions":{"artifacts":{"artifact":{"artifactType":{"schemaTitle":"system.Dataset"}}}}}'
... | 5,843 | 30.085106 | 382 | yaml |
pipelines | pipelines-master/backend/src/v2/compiler/testdata/component_used_twice.py | # Copyright 2021 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 898 | 30 | 74 | py |
pipelines | pipelines-master/backend/src/v2/component/constants.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 942 | 31.517241 | 75 | go |
pipelines | pipelines-master/backend/src/v2/component/importer_launcher.go | package component
import (
"context"
"fmt"
pb "github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata"
"github.com/golang/glog"
"github.com/kubeflow/pipelines/api/v2alpha1/go/pipelinespec"
"github.com/kubeflow/pipelines/backend/src/v2/metadata"
"google.golang.org/protobuf/encoding/protojson"
"k... | 8,932 | 33.624031 | 218 | go |
pipelines | pipelines-master/backend/src/v2/component/launcher_v2.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 26,660 | 33.896597 | 213 | go |
pipelines | pipelines-master/backend/src/v2/component/launcher_v2_test.go | // Copyright 2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 3,319 | 34.698925 | 192 | go |
pipelines | pipelines-master/backend/src/v2/component/util.go | package component
import (
"fmt"
"io"
"os"
)
// CopyThisBinary copies the running binary into destination path.
func CopyThisBinary(destination string) (err error) {
defer func() {
if err != nil {
err = fmt.Errorf("copy this binary to %s: %w", destination, err)
}
}()
path, err := findThisBinary()
if er... | 852 | 18.386364 | 121 | go |
pipelines | pipelines-master/backend/src/v2/config/env.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 2,892 | 33.035294 | 120 | go |
pipelines | pipelines-master/backend/src/v2/driver/driver.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 60,647 | 37.143396 | 294 | go |
pipelines | pipelines-master/backend/src/v2/driver/driver_test.go | // Copyright 2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 17,970 | 28.557566 | 158 | go |
pipelines | pipelines-master/backend/src/v2/expression/expression.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 6,432 | 28.509174 | 103 | go |
pipelines | pipelines-master/backend/src/v2/expression/expression_test.go | package expression_test
import (
"fmt"
"strings"
"testing"
"github.com/google/go-cmp/cmp"
"github.com/kubeflow/pipelines/api/v2alpha1/go/pipelinespec"
"github.com/kubeflow/pipelines/backend/src/v2/expression"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/testing/protocmp"
"google.golang.org/... | 5,751 | 27.616915 | 122 | go |
pipelines | pipelines-master/backend/src/v2/metadata/client.go | // Copyright 2021-2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 35,761 | 31.869485 | 190 | go |
pipelines | pipelines-master/backend/src/v2/metadata/client_fake.go | // Copyright 2023 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 3,319 | 33.583333 | 194 | go |
pipelines | pipelines-master/backend/src/v2/metadata/client_test.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 9,935 | 31.15534 | 181 | go |
pipelines | pipelines-master/backend/src/v2/metadata/converter.go | package metadata
import (
"encoding/json"
"fmt"
"strconv"
"strings"
"github.com/kubeflow/pipelines/api/v2alpha1/go/pipelinespec"
pb "github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/types/known/structpb"
)
func P... | 6,606 | 29.447005 | 118 | go |
pipelines | pipelines-master/backend/src/v2/metadata/env.go | package metadata
import "os"
type ServerConfig struct {
Address string
Port string
}
func DefaultConfig() *ServerConfig {
// The env vars exist when metadata-grpc-service Kubernetes service is
// in the same namespace as the current Pod.
// https://kubernetes.io/docs/concepts/services-networking/service/#env... | 661 | 23.518519 | 90 | go |
pipelines | pipelines-master/backend/src/v2/metadata/model.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 1,872 | 33.054545 | 93 | go |
pipelines | pipelines-master/backend/src/v2/objectstore/object_store.go | // Copyright 2021 The Kubeflow Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 10,680 | 30.139942 | 152 | go |