Skip to content

Commit

Permalink
Merge branch 'tkestack:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
GaoXiaodong committed Sep 1, 2021
2 parents 568ee81 + b7f400c commit b6c78b4
Show file tree
Hide file tree
Showing 19 changed files with 587 additions and 336 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations under the License.

.PHONY: all
all: asset lint test build
all: lint test build

# ==============================================================================
# Build options
Expand Down Expand Up @@ -123,6 +123,7 @@ deploy:
.PHONY: clean
clean:
@$(MAKE) go.clean
git restore pkg/platform/registry/clusteraddontype/assets/assets.go

## lint: Check syntax and styling of go sources.
.PHONY: lint
Expand All @@ -139,7 +140,7 @@ release.build:
ifeq ($(NEED_BUILD_PROVIDER),true)
cd build/docker/tools/provider-res && make all
endif
make push.multiarch
make asset && make push.multiarch

## release: Release tke
.PHONY: release
Expand Down
28 changes: 28 additions & 0 deletions api/openapi/zz_generated.openapi.go

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

1 change: 1 addition & 0 deletions api/platform/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {

&ClusterGroupAPIResourceItems{},
&ClusterGroupAPIResourceItemsList{},
&ClusterGroupAPIResourceOptions{},
)
return nil
}
9 changes: 8 additions & 1 deletion api/platform/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ type ContainerRuntimeType = string

const (
Containerd ContainerRuntimeType = "containerd"
Docker ContainerRuntimeType = "docker"
Docker ContainerRuntimeType = "docker"
)

// ClusterPhase defines the phase of cluster constructor.
Expand Down Expand Up @@ -1752,3 +1752,10 @@ type ClusterGroupAPIResourceItem struct {
// categories is a list of the grouped resources this resource belongs to (e.g. 'all')
Categories []string
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ClusterGroupAPIResourceOptions is the query options.
type ClusterGroupAPIResourceOptions struct {
metav1.TypeMeta
}
Loading

0 comments on commit b6c78b4

Please sign in to comment.