Skip to content

Commit

Permalink
feat(monitor): add client in monitor client interface
Browse files Browse the repository at this point in the history
  • Loading branch information
wangao1236 authored and tke-robot committed Aug 30, 2020
1 parent 0686946 commit 81e70c9
Show file tree
Hide file tree
Showing 12 changed files with 258 additions and 0 deletions.

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

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

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

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

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

66 changes: 66 additions & 0 deletions api/client/clientset/versioned/typed/monitor/v1/clusteroverview.go

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

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

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

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

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

3 changes: 3 additions & 0 deletions api/monitor/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ type MetricQueryCondition struct {
Value string
}

// +genclient
// +genclient:nonNamespaced
// +genclient:onlyVerbs=create
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ClusterOverview defines the structure for clusters' overview data request and result.
Expand Down
3 changes: 3 additions & 0 deletions api/monitor/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ type MetricQueryCondition struct {
Value string `json:"value" protobuf:"bytes,3,opt,name=value"`
}

// +genclient
// +genclient:nonNamespaced
// +genclient:onlyVerbs=create
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ClusterOverview defines the structure for querying clusters' overview data request and result.
Expand Down

0 comments on commit 81e70c9

Please sign in to comment.