Skip to content

Commit

Permalink
Update Organization. Lyft -> Flyteorg, use k8s libraries (#109)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
Katrina Rogan authored and eapolinario committed Sep 13, 2023
1 parent a1d96d3 commit 9117f38
Show file tree
Hide file tree
Showing 244 changed files with 2,503 additions and 2,121 deletions.
6 changes: 3 additions & 3 deletions flyteidl/clients/go/admin/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import (
"sync"

"github.com/coreos/go-oidc"
"github.com/flyteorg/flyteidl/clients/go/admin/mocks"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service"
"github.com/flyteorg/flytestdlib/logger"
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
grpc_retry "github.com/grpc-ecosystem/go-grpc-middleware/retry"
grpc_prometheus "github.com/grpc-ecosystem/go-grpc-prometheus"
"github.com/lyft/flyteidl/clients/go/admin/mocks"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/service"
"github.com/lyft/flytestdlib/logger"
"golang.org/x/oauth2/clientcredentials"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/admin/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/lyft/flytestdlib/config"
"github.com/flyteorg/flytestdlib/config"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions flyteidl/clients/go/admin/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/lyft/flytestdlib/config"
"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/config"
"github.com/flyteorg/flytestdlib/logger"
)

//go:generate pflags Config
Expand Down
7 changes: 4 additions & 3 deletions flyteidl/clients/go/admin/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ package admin
import (
"context"
"fmt"
"golang.org/x/oauth2/clientcredentials"
"net/url"
"testing"
"time"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/lyft/flytestdlib/config"
"golang.org/x/oauth2/clientcredentials"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/flyteorg/flytestdlib/config"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/admin/mocks/AdminServiceClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/extract_literal.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package coreutils
import (
"fmt"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
)

func ExtractFromLiteral(literal *core.Literal) (interface{}, error) {
Expand Down
4 changes: 2 additions & 2 deletions flyteidl/clients/go/coreutils/literals.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strings"
"time"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/lyft/flytestdlib/storage"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flytestdlib/storage"

"github.com/golang/protobuf/jsonpb"
"github.com/golang/protobuf/ptypes"
Expand Down
8 changes: 5 additions & 3 deletions flyteidl/clients/go/coreutils/literals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ import (
"testing"
"time"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/lyft/flytestdlib/storage"
"github.com/go-test/deep"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flytestdlib/storage"

"github.com/golang/protobuf/ptypes"
structpb "github.com/golang/protobuf/ptypes/struct"
Expand Down Expand Up @@ -335,7 +337,7 @@ func TestMakeLiteralForSimpleType(t *testing.T) {
t.Errorf("MakeLiteralForSimpleType() error = %v, wantErr %v", err, tt.wantErr)
return
}
if !reflect.DeepEqual(got, tt.want) {
if diff := deep.Equal(tt.want, got); diff != nil {
t.Errorf("MakeLiteralForSimpleType() got = %v, want %v", got, tt.want)
}
})
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/logs/cloudwatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
)

type cloudwatchLogPlugin struct {
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/logs/cloudwatch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package logs
import (
"testing"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/logs/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package logs
import (
"fmt"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
)

type kubernetesLogPlugin struct {
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/logs/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package logs
import (
"testing"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/logs/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package logs

import (
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
)

// Deprecated: Please use Plugin interface from github.com/lyft/flyteplugins/go/tasks/pluginmachinery/tasklog instead.
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/logs/stackdriver.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package logs
import (
"fmt"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
)

// TL;DR Log links in Stackdriver for configured GCP project and log Resource
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/coreutils/logs/stackdriver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
)

func Test_stackdriverLogPlugin_GetTaskLog(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/datacatalog/mocks/ArtifactsClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions flyteidl/clients/go/events/admin_eventsink.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import (
"context"
"fmt"

admin2 "github.com/lyft/flyteidl/clients/go/admin"
admin2 "github.com/flyteorg/flyteidl/clients/go/admin"

"github.com/flyteorg/flyteidl/clients/go/events/errors"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service"
"github.com/flyteorg/flytestdlib/logger"
"github.com/golang/protobuf/proto"
"github.com/lyft/flyteidl/clients/go/events/errors"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/service"
"github.com/lyft/flytestdlib/logger"
"golang.org/x/time/rate"
)

Expand Down
10 changes: 5 additions & 5 deletions flyteidl/clients/go/events/admin_eventsink_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ package events
import (
"context"
"fmt"
"github.com/stretchr/testify/assert"
netUrl "net/url"
"testing"
"time"

"github.com/flyteorg/flyteidl/clients/go/admin"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
"github.com/golang/protobuf/ptypes"
"github.com/influxdata/influxdb/pkg/testing/assert"
"github.com/lyft/flyteidl/clients/go/admin"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
"github.com/lyft/flytestdlib/config"
"github.com/flyteorg/flytestdlib/config"
)

var (
Expand Down
10 changes: 5 additions & 5 deletions flyteidl/clients/go/events/admin_eventsink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"context"
"testing"

"github.com/flyteorg/flyteidl/clients/go/admin/mocks"
"github.com/flyteorg/flyteidl/clients/go/events/errors"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
"github.com/golang/protobuf/ptypes"
"github.com/lyft/flyteidl/clients/go/admin/mocks"
"github.com/lyft/flyteidl/clients/go/events/errors"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"google.golang.org/grpc/codes"
Expand Down
4 changes: 2 additions & 2 deletions flyteidl/clients/go/events/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package events
import (
"context"

"github.com/lyft/flytestdlib/config"
"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/config"
"github.com/flyteorg/flytestdlib/logger"
)

//go:generate pflags Config
Expand Down
4 changes: 2 additions & 2 deletions flyteidl/clients/go/events/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/flyteorg/flytestdlib/logger"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/events/errors/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"
"github.com/stretchr/testify/assert"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
Expand Down
4 changes: 2 additions & 2 deletions flyteidl/clients/go/events/eventsink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strings"
"testing"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
"github.com/golang/protobuf/ptypes"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/core"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/events/iface.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package events
import (
"context"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
)

// Recorder for Workflow events
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/events/local_eventsink.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"os"
"sync"

"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
"github.com/golang/protobuf/proto"
"github.com/golang/protobuf/ptypes"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
)

type localSink struct {
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/events/local_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"context"
"fmt"

"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/logger"
)

// Log Writer writes to the log output
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/clients/go/events/mock_recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package events
import (
"context"

"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
)

type MockRecorder struct {
Expand Down
8 changes: 4 additions & 4 deletions flyteidl/clients/go/events/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"context"
"time"

"github.com/flyteorg/flyteidl/clients/go/events/errors"
"github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event"
"github.com/flyteorg/flytestdlib/promutils"
"github.com/flyteorg/flytestdlib/promutils/labeled"
"github.com/golang/protobuf/proto"
"github.com/lyft/flyteidl/clients/go/events/errors"
"github.com/lyft/flyteidl/gen/pb-go/flyteidl/event"
"github.com/lyft/flytestdlib/promutils"
"github.com/lyft/flytestdlib/promutils/labeled"
)

type recordingMetrics struct {
Expand Down
2 changes: 1 addition & 1 deletion flyteidl/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"google_analytics_account": "G-YQL24L5CKY",
# Specify a base_url used to generate sitemap.xml. If not
# specified, then no sitemap will be built.
"base_url": "https://github.com/lyft/flyteidl",
"base_url": "https://github.com/flyteorg/flyteidl",
# Set the color and the accent color
"color_primary": "deep-purple",
"color_accent": "blue",
Expand Down
6 changes: 3 additions & 3 deletions flyteidl/gen/pb-cpp/flyteidl/admin/common.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flyteidl/gen/pb-cpp/flyteidl/admin/event.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9117f38

Please sign in to comment.