Skip to content

Commit

Permalink
modify project name
Browse files Browse the repository at this point in the history
  • Loading branch information
caixisheng committed May 5, 2021
1 parent 6e0b129 commit 7624e53
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 27 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module launcher-tool
module ganni-tool

go 1.15

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hashicorp/golang-lru v0.5.4
github.com/jonboulle/clockwork v0.1.0 // indirect
github.com/pkg/errors v0.9.1
gotest.tools v2.2.0+incompatible
k8s.io/api v0.21.0
k8s.io/apiextensions-apiserver v0.21.0
Expand Down
11 changes: 6 additions & 5 deletions k8s/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ import (
"context"
"encoding/json"
"io/ioutil"
"strings"

"ganni-tool/e"
"ganni-tool/file"

apierrs "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/client-go/dynamic"
"launcher-tool/e"
"launcher-tool/file"
"strings"

"k8s.io/apimachinery/pkg/runtime"
"k8s.io/klog"
)

Expand Down
1 change: 0 additions & 1 deletion k8s/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
)

type Interface interface {
Create(desireObj *unstructured.Unstructured) error
Apply(desireObj *unstructured.Unstructured) error
Update(desireObj, clusterObj *unstructured.Unstructured) error
Delete(desireObj *unstructured.Unstructured) error
Expand Down
18 changes: 0 additions & 18 deletions k8s/register.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
/*
Copyright The Kubernetes 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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Code generated by client-gen. DO NOT EDIT.

package k8s

import (
Expand Down
2 changes: 1 addition & 1 deletion k8s/test/yaml/all_in_one/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
labels:
app: launcher-svc
x: "1ww"
x: "xx"
name: launcher-svc
namespace: launcher-test
spec:
Expand Down

0 comments on commit 7624e53

Please sign in to comment.