diff options
379 files changed, 4668 insertions, 1778 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1b5feaec0..c4fdc60a2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -45,7 +45,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | sudo apt-get install -y jq @@ -127,7 +127,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} @@ -192,7 +192,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.22.0 @@ -255,7 +255,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.22.0 @@ -302,7 +302,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.22.0 @@ -369,7 +369,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.22.0 diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index b34ba8aa0..4e908126d 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -33,7 +33,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | sudo apt-get install -y jq @@ -119,7 +119,7 @@ jobs: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - name: Install dependences + - name: Install dependencies run: | command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.22.0 diff --git a/cloud/cmd/cloudcore/app/options/options.go b/cloud/cmd/cloudcore/app/options/options.go index b23366dfb..8bde29bdc 100644 --- a/cloud/cmd/cloudcore/app/options/options.go +++ b/cloud/cmd/cloudcore/app/options/options.go @@ -23,8 +23,8 @@ import ( "k8s.io/apimachinery/pkg/util/validation/field" cliflag "k8s.io/component-base/cli/flag" + config "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/common/constants" - config "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/validation" ) diff --git a/cloud/cmd/cloudcore/app/server.go b/cloud/cmd/cloudcore/app/server.go index 890a8d08a..f30e5996a 100644 --- a/cloud/cmd/cloudcore/app/server.go +++ b/cloud/cmd/cloudcore/app/server.go @@ -34,6 +34,8 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/yaml" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/validation" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/cloud/cmd/cloudcore/app/options" @@ -53,8 +55,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/synccontroller" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager" "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1/validation" "github.com/kubeedge/kubeedge/pkg/features" "github.com/kubeedge/kubeedge/pkg/util" "github.com/kubeedge/kubeedge/pkg/util/flag" diff --git a/cloud/cmd/iptablesmanager/app/server.go b/cloud/cmd/iptablesmanager/app/server.go index f14722a87..8c7abf527 100644 --- a/cloud/cmd/iptablesmanager/app/server.go +++ b/cloud/cmd/iptablesmanager/app/server.go @@ -29,10 +29,10 @@ import ( "k8s.io/component-base/term" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/cmd/iptablesmanager/app/options" "github.com/kubeedge/kubeedge/cloud/pkg/cloudstream/iptables" "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/flag" "github.com/kubeedge/kubeedge/pkg/version/verflag" ) diff --git a/cloud/pkg/admissioncontroller/admission.go b/cloud/pkg/admissioncontroller/admission.go index c9217aa0a..0175ebd3d 100644 --- a/cloud/pkg/admissioncontroller/admission.go +++ b/cloud/pkg/admissioncontroller/admission.go @@ -20,10 +20,10 @@ import ( "k8s.io/client-go/tools/clientcmd" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/devices/v1beta1" + v1 "github.com/kubeedge/api/apis/rules/v1" + "github.com/kubeedge/api/client/clientset/versioned" "github.com/kubeedge/kubeedge/cloud/cmd/admission/app/options" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" ) const ( @@ -191,8 +191,8 @@ func (ac *AdmissionController) registerWebhooks(opt *options.AdmissionOptions, c SideEffects: &noneSideEffect, AdmissionReviewVersions: []string{"v1"}, }, - // Device Model Validating Webhook - { + { // Device Model Validating Webhook + Name: ValidateDeviceModelWebhookName, Rules: []admissionregistrationv1.RuleWithOperations{{ Operations: []admissionregistrationv1.OperationType{ diff --git a/cloud/pkg/admissioncontroller/admit_device.go b/cloud/pkg/admissioncontroller/admit_device.go index a6a6d2fe2..d515735be 100644 --- a/cloud/pkg/admissioncontroller/admit_device.go +++ b/cloud/pkg/admissioncontroller/admit_device.go @@ -8,7 +8,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog/v2" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" + devicesv1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" ) func admitDevice(review admissionv1.AdmissionReview) *admissionv1.AdmissionResponse { diff --git a/cloud/pkg/admissioncontroller/admit_devicemodel.go b/cloud/pkg/admissioncontroller/admit_devicemodel.go index 48262fcc3..57c360f6f 100644 --- a/cloud/pkg/admissioncontroller/admit_devicemodel.go +++ b/cloud/pkg/admissioncontroller/admit_devicemodel.go @@ -8,7 +8,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog/v2" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" + devicesv1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" ) func admitDeviceModel(review admissionv1.AdmissionReview) *admissionv1.AdmissionResponse { diff --git a/cloud/pkg/admissioncontroller/admit_nodeupgradejob.go b/cloud/pkg/admissioncontroller/admit_nodeupgradejob.go index 9881dfd9c..863ed635f 100644 --- a/cloud/pkg/admissioncontroller/admit_nodeupgradejob.go +++ b/cloud/pkg/admissioncontroller/admit_nodeupgradejob.go @@ -29,7 +29,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" ) func serveNodeUpgradeJob(w http.ResponseWriter, r *http.Request) { diff --git a/cloud/pkg/admissioncontroller/admit_rule.go b/cloud/pkg/admissioncontroller/admit_rule.go index c58241867..c4798d194 100644 --- a/cloud/pkg/admissioncontroller/admit_rule.go +++ b/cloud/pkg/admissioncontroller/admit_rule.go @@ -7,7 +7,7 @@ import ( admissionv1 "k8s.io/api/admission/v1" "k8s.io/klog/v2" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" ) var ( diff --git a/cloud/pkg/admissioncontroller/admit_ruleendpoint.go b/cloud/pkg/admissioncontroller/admit_ruleendpoint.go index 9e2dadcb5..0afdb05e3 100644 --- a/cloud/pkg/admissioncontroller/admit_ruleendpoint.go +++ b/cloud/pkg/admissioncontroller/admit_ruleendpoint.go @@ -8,7 +8,7 @@ import ( admissionv1 "k8s.io/api/admission/v1" "k8s.io/klog/v2" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" ) func admitRuleEndpoint(review admissionv1.AdmissionReview) *admissionv1.AdmissionResponse { diff --git a/cloud/pkg/admissioncontroller/admit_ruleendpoint_test.go b/cloud/pkg/admissioncontroller/admit_ruleendpoint_test.go index b2ee15ea9..d547f155e 100644 --- a/cloud/pkg/admissioncontroller/admit_ruleendpoint_test.go +++ b/cloud/pkg/admissioncontroller/admit_ruleendpoint_test.go @@ -8,7 +8,7 @@ import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" ) func Test_admitRuleEndpoint(t *testing.T) { diff --git a/cloud/pkg/cloudhub/cloudhub.go b/cloud/pkg/cloudhub/cloudhub.go index e032721e4..b170add77 100644 --- a/cloud/pkg/cloudhub/cloudhub.go +++ b/cloud/pkg/cloudhub/cloudhub.go @@ -9,6 +9,7 @@ import ( "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/authorization" @@ -22,7 +23,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) var DoneTLSTunnelCerts = make(chan bool, 1) diff --git a/cloud/pkg/cloudhub/common/testing/test_framework.go b/cloud/pkg/cloudhub/common/testing/test_framework.go index 3e24e09af..ea652bc97 100644 --- a/cloud/pkg/cloudhub/common/testing/test_framework.go +++ b/cloud/pkg/cloudhub/common/testing/test_framework.go @@ -33,12 +33,12 @@ import ( core "k8s.io/client-go/testing" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + "github.com/kubeedge/api/client/clientset/versioned/fake" beehivemodel "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common" "github.com/kubeedge/kubeedge/cloud/pkg/common/messagelayer" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/fake" ) var ( diff --git a/cloud/pkg/cloudhub/config/config.go b/cloud/pkg/cloudhub/config/config.go index b4b4bad39..29c2d2a9d 100644 --- a/cloud/pkg/cloudhub/config/config.go +++ b/cloud/pkg/cloudhub/config/config.go @@ -5,7 +5,7 @@ import ( "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/pkg/security/certs" ) diff --git a/cloud/pkg/cloudhub/dispatcher/message_dispatcher.go b/cloud/pkg/cloudhub/dispatcher/message_dispatcher.go index 7cc96d02f..dc7bdebaa 100644 --- a/cloud/pkg/cloudhub/dispatcher/message_dispatcher.go +++ b/cloud/pkg/cloudhub/dispatcher/message_dispatcher.go @@ -26,6 +26,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + reliableclient "github.com/kubeedge/api/client/clientset/versioned" + synclisters "github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1" beehivecontext "github.com/kubeedge/beehive/pkg/core/context" beehivemodel "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common" @@ -38,9 +41,6 @@ import ( taskutil "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util" commonconst "github.com/kubeedge/kubeedge/common/constants" v2 "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao/v2" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - reliableclient "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - synclisters "github.com/kubeedge/kubeedge/pkg/client/listers/reliablesyncs/v1alpha1" "github.com/kubeedge/kubeedge/pkg/metaserver" "github.com/kubeedge/kubeedge/pkg/metaserver/util" ) diff --git a/cloud/pkg/cloudhub/dispatcher/message_dispatcher_test.go b/cloud/pkg/cloudhub/dispatcher/message_dispatcher_test.go index ab26f8a9f..cf53f74d9 100644 --- a/cloud/pkg/cloudhub/dispatcher/message_dispatcher_test.go +++ b/cloud/pkg/cloudhub/dispatcher/message_dispatcher_test.go @@ -25,14 +25,14 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + "github.com/kubeedge/api/client/clientset/versioned/fake" + syncinformer "github.com/kubeedge/api/client/informers/externalversions" + synclisters "github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1" beehivemodel "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common" tf "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common/testing" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/session" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/fake" - syncinformer "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions" - synclisters "github.com/kubeedge/kubeedge/pkg/client/listers/reliablesyncs/v1alpha1" mockcon "github.com/kubeedge/viaduct/pkg/conn/testing" ) diff --git a/cloud/pkg/cloudhub/handler/message_handler.go b/cloud/pkg/cloudhub/handler/message_handler.go index 8f56c0cf1..4223e560d 100644 --- a/cloud/pkg/cloudhub/handler/message_handler.go +++ b/cloud/pkg/cloudhub/handler/message_handler.go @@ -23,13 +23,13 @@ import ( "github.com/avast/retry-go" "k8s.io/klog/v2" + reliableclient "github.com/kubeedge/api/client/clientset/versioned" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/authorization" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/dispatcher" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/session" "github.com/kubeedge/kubeedge/cloud/pkg/edgecontroller/controller" - reliableclient "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" "github.com/kubeedge/viaduct/pkg/conn" "github.com/kubeedge/viaduct/pkg/mux" ) diff --git a/cloud/pkg/cloudhub/servers/httpserver/nodetask/upgrade.go b/cloud/pkg/cloudhub/servers/httpserver/nodetask/upgrade.go index f0f44e7aa..c67c102fa 100644 --- a/cloud/pkg/cloudhub/servers/httpserver/nodetask/upgrade.go +++ b/cloud/pkg/cloudhub/servers/httpserver/nodetask/upgrade.go @@ -24,12 +24,12 @@ import ( "k8s.io/apimachinery/pkg/api/errors" "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" beehiveModel "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util" commontypes "github.com/kubeedge/kubeedge/common/types" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" ) const ( diff --git a/cloud/pkg/cloudhub/session/node_session.go b/cloud/pkg/cloudhub/session/node_session.go index f66cd5c63..3dca8637d 100644 --- a/cloud/pkg/cloudhub/session/node_session.go +++ b/cloud/pkg/cloudhub/session/node_session.go @@ -28,6 +28,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + reliableclient "github.com/kubeedge/api/client/clientset/versioned" beehivemodel "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common/model" @@ -36,8 +38,6 @@ import ( edgeconst "github.com/kubeedge/kubeedge/cloud/pkg/edgecontroller/constants" "github.com/kubeedge/kubeedge/cloud/pkg/synccontroller" v2 "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao/v2" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - reliableclient "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" "github.com/kubeedge/kubeedge/pkg/metaserver/util" "github.com/kubeedge/viaduct/pkg/conn" ) diff --git a/cloud/pkg/cloudhub/session/node_session_test.go b/cloud/pkg/cloudhub/session/node_session_test.go index 3d64a708c..62c680308 100644 --- a/cloud/pkg/cloudhub/session/node_session_test.go +++ b/cloud/pkg/cloudhub/session/node_session_test.go @@ -25,12 +25,12 @@ import ( "github.com/golang/mock/gomock" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + reliableclient "github.com/kubeedge/api/client/clientset/versioned" + "github.com/kubeedge/api/client/clientset/versioned/fake" beehivemodel "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common" tf "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common/testing" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - reliableclient "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/fake" mockcon "github.com/kubeedge/viaduct/pkg/conn/testing" ) diff --git a/cloud/pkg/cloudhub/session/session_manager_test.go b/cloud/pkg/cloudhub/session/session_manager_test.go index 647a725f7..8b0c8ada8 100644 --- a/cloud/pkg/cloudhub/session/session_manager_test.go +++ b/cloud/pkg/cloudhub/session/session_manager_test.go @@ -21,9 +21,9 @@ import ( "github.com/golang/mock/gomock" + "github.com/kubeedge/api/client/clientset/versioned/fake" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common" tf "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common/testing" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/fake" mockcon "github.com/kubeedge/viaduct/pkg/conn/testing" ) diff --git a/cloud/pkg/cloudstream/cloudstream.go b/cloud/pkg/cloudstream/cloudstream.go index cfc88d26c..81f508f3c 100644 --- a/cloud/pkg/cloudstream/cloudstream.go +++ b/cloud/pkg/cloudstream/cloudstream.go @@ -17,11 +17,11 @@ limitations under the License. package cloudstream import ( + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub" "github.com/kubeedge/kubeedge/cloud/pkg/cloudstream/config" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) type cloudStream struct { diff --git a/cloud/pkg/cloudstream/cloudstream_test.go b/cloud/pkg/cloudstream/cloudstream_test.go index 5e177fa09..628151c68 100644 --- a/cloud/pkg/cloudstream/cloudstream_test.go +++ b/cloud/pkg/cloudstream/cloudstream_test.go @@ -21,10 +21,10 @@ import ( "github.com/stretchr/testify/assert" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/cloud/pkg/cloudstream/config" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestNewCloudStream(t *testing.T) { diff --git a/cloud/pkg/cloudstream/config/config.go b/cloud/pkg/cloudstream/config/config.go index d7e731491..eb67934e5 100644 --- a/cloud/pkg/cloudstream/config/config.go +++ b/cloud/pkg/cloudstream/config/config.go @@ -23,7 +23,7 @@ import ( "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) var Config Configure diff --git a/cloud/pkg/cloudstream/iptables/iptables.go b/cloud/pkg/cloudstream/iptables/iptables.go index 872f2cf10..dc814cdde 100644 --- a/cloud/pkg/cloudstream/iptables/iptables.go +++ b/cloud/pkg/cloudstream/iptables/iptables.go @@ -20,9 +20,9 @@ import ( utiliptables "k8s.io/kubernetes/pkg/util/iptables" utilexec "k8s.io/utils/exec" + cloudcoreConfig "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/common/constants" - cloudcoreConfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) type Manager struct { diff --git a/cloud/pkg/common/client/client.go b/cloud/pkg/common/client/client.go index 751d2b461..abd9463ac 100644 --- a/cloud/pkg/common/client/client.go +++ b/cloud/pkg/common/client/client.go @@ -29,8 +29,8 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/controller-runtime/pkg/client/apiutil" - cloudcoreConfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + cloudcoreConfig "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" ) var ( diff --git a/cloud/pkg/common/client/impersonation.go b/cloud/pkg/common/client/impersonation.go index a905a48a1..10f87d985 100644 --- a/cloud/pkg/common/client/impersonation.go +++ b/cloud/pkg/common/client/impersonation.go @@ -17,6 +17,7 @@ limitations under the License. package client import ( + "fmt" "net/http" "strings" @@ -26,7 +27,7 @@ import ( "k8s.io/client-go/rest" "k8s.io/klog/v2" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" ) func newForK8sConfigOrDie(c *rest.Config, enableImpersonation bool) *kubernetes.Clientset { @@ -38,12 +39,12 @@ func newForK8sConfigOrDie(c *rest.Config, enableImpersonation bool) *kubernetes. httpClient, err := httpClientFor(&configShallowCopy, enableImpersonation) if err != nil { - panic(err) + panic(fmt.Errorf("failed to create a httpclient for the clientset, err: %v", err)) } cs, err := kubernetes.NewForConfigAndClient(&configShallowCopy, httpClient) if err != nil { - panic(err) + panic(fmt.Errorf("failed to create a clientset, err: %v", err)) } return cs } @@ -52,12 +53,12 @@ func newForDynamicConfigOrDie(c *rest.Config, enableImpersonation bool) *dynamic configShallowCopy := dynamic.ConfigFor(c) httpClient, err := httpClientFor(configShallowCopy, enableImpersonation) if err != nil { - panic(err) + panic(fmt.Errorf("failed to create a httpclient for the dynamic-client, err: %v", err)) } cs, err := dynamic.NewForConfigAndClient(configShallowCopy, httpClient) if err != nil { - panic(err) + panic(fmt.Errorf("failed to create a dynamic-client, err: %v", err)) } return cs } @@ -71,12 +72,12 @@ func newForCrdConfigOrDie(c *rest.Config, enableImpersonation bool) *crdClientse httpClient, err := httpClientFor(&configShallowCopy, enableImpersonation) if err != nil { - panic(err) + panic(fmt.Errorf("failed to create a httpclient for the crd clientset, err: %v", err)) } cs, err := crdClientset.NewForConfigAndClient(&configShallowCopy, httpClient) if err != nil { - panic(err) + panic(fmt.Errorf("failed to create a crd clientset, err: %v", err)) } return cs } @@ -102,21 +103,18 @@ type impersonationRoundTripper struct { } func (r *impersonationRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { - // extract user and group from context and set impersonation headers - var userStr, groupStr string - user := req.Context().Value(authenticationv1.ImpersonateUserHeader) - if user != nil && r.enable { - userStr = user.(string) - req.Header.Set(authenticationv1.ImpersonateUserHeader, userStr) - } - group := req.Context().Value(authenticationv1.ImpersonateGroupHeader) - if group != nil && r.enable { - groupStr = group.(string) - for _, g := range strings.Split(groupStr, "|") { - req.Header.Set(authenticationv1.ImpersonateGroupHeader, g) + var user, group string + if r.enable { + if v := req.Context().Value(authenticationv1.ImpersonateUserHeader); v != nil { + user = v.(string) + req.Header.Set(authenticationv1.ImpersonateUserHeader, user) + } + if v := req.Context().Value(authenticationv1.ImpersonateGroupHeader); v != nil { + group = v.(string) + req.Header[authenticationv1.ImpersonateGroupHeader] = strings.Split(group, "|") } } - - klog.V(4).Infof("KubeClient: request.method=%s, request.path=%s, user=%q, group= %q", req.Method, req.URL.Path, userStr, groupStr) + klog.V(4).Infof("KubeClient: request.method=%s, request.path=%s, user=%q, group= %q", + req.Method, req.URL.Path, user, group) return r.rt.RoundTrip(req) } diff --git a/cloud/pkg/common/client/impersonation_test.go b/cloud/pkg/common/client/impersonation_test.go new file mode 100644 index 000000000..1733f0cc4 --- /dev/null +++ b/cloud/pkg/common/client/impersonation_test.go @@ -0,0 +1,67 @@ +package client + +import ( + "context" + "fmt" + "net/http" + "net/url" + "testing" + + "github.com/stretchr/testify/assert" + authenticationv1 "k8s.io/api/authentication/v1" + + ctxutl "github.com/kubeedge/kubeedge/cloud/pkg/common/context" +) + +type fakeNextRoundTripper struct { + enable bool +} + +func (f *fakeNextRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { + if f.enable { + if vals := req.Header[authenticationv1.ImpersonateUserHeader]; len(vals) == 0 || vals[0] == "" { + return nil, fmt.Errorf("invalid request header %s", authenticationv1.ImpersonateUserHeader) + } + if vals := req.Header[authenticationv1.ImpersonateGroupHeader]; len(vals) == 0 || vals[0] == "" { + return nil, fmt.Errorf("invalid request header %s", authenticationv1.ImpersonateGroupHeader) + } + } else { + if vals := req.Header[authenticationv1.ImpersonateUserHeader]; len(vals) > 0 { + return nil, fmt.Errorf("invalid request header %s", authenticationv1.ImpersonateUserHeader) + } + if vals := req.Header[authenticationv1.ImpersonateGroupHeader]; len(vals) > 0 { + return nil, fmt.Errorf("invalid request header %s", authenticationv1.ImpersonateGroupHeader) + } + } + return nil, nil +} + +func TestRoundTrip(t *testing.T) { + cases := []struct { + name string + enable bool + }{ + {name: "enable impersonation", enable: true}, + {name: "disable impersonation", enable: false}, + } + + url, err := url.Parse("http://localhost:6443/apis") + assert.NoError(t, err) + ctx := ctxutl.WithEdgeNode(context.TODO(), "test-node") + + for _, c := range cases { + t.Run(c.name, func(t *testing.T) { + req := &http.Request{ + Method: http.MethodGet, + URL: url, + Header: make(http.Header), + } + r := &impersonationRoundTripper{ + enable: c.enable, + rt: &fakeNextRoundTripper{enable: c.enable}, + } + _, err := r.RoundTrip(req.WithContext(ctx)) + assert.NoError(t, err) + }) + } +} diff --git a/cloud/pkg/common/informers/fake_informer_manager.go b/cloud/pkg/common/informers/fake_informer_manager.go index 9e933299e..e4a1043cc 100644 --- a/cloud/pkg/common/informers/fake_informer_manager.go +++ b/cloud/pkg/common/informers/fake_informer_manager.go @@ -31,9 +31,9 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - kubeedgefake "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/fake" - crdinformers "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" + kubeedgefake "github.com/kubeedge/api/client/clientset/versioned/fake" + crdinformers "github.com/kubeedge/api/client/informers/externalversions" ) type fakeManager struct { diff --git a/cloud/pkg/common/informers/informer_manager.go b/cloud/pkg/common/informers/informer_manager.go index 4b7fb721b..c64664723 100644 --- a/cloud/pkg/common/informers/informer_manager.go +++ b/cloud/pkg/common/informers/informer_manager.go @@ -33,11 +33,11 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" + edgescheme "github.com/kubeedge/api/client/clientset/versioned/scheme" + edgeinformers "github.com/kubeedge/api/client/informers/externalversions" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/common/constants" - edgescheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" - edgeinformers "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions" ) var ( diff --git a/cloud/pkg/common/monitor/monitor.go b/cloud/pkg/common/monitor/monitor.go index 48b04e34f..7620a433e 100644 --- a/cloud/pkg/common/monitor/monitor.go +++ b/cloud/pkg/common/monitor/monitor.go @@ -27,8 +27,8 @@ import ( "github.com/prometheus/client_golang/prometheus/promhttp" "k8s.io/klog/v2" + config "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" beehivecontext "github.com/kubeedge/beehive/pkg/core/context" - config "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) const ( diff --git a/cloud/pkg/controllermanager/controllermanager.go b/cloud/pkg/controllermanager/controllermanager.go index 790e55a47..c4db1f062 100644 --- a/cloud/pkg/controllermanager/controllermanager.go +++ b/cloud/pkg/controllermanager/controllermanager.go @@ -13,11 +13,11 @@ import ( controllerruntime "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/manager" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/overridemanager" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/statusmanager" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/nodegroup" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) var appsScheme = runtime.NewScheme() diff --git a/cloud/pkg/controllermanager/edgeapplication/edgeapplicationcontroller.go b/cloud/pkg/controllermanager/edgeapplication/edgeapplicationcontroller.go index e245e6ece..cffe2a032 100644 --- a/cloud/pkg/controllermanager/edgeapplication/edgeapplicationcontroller.go +++ b/cloud/pkg/controllermanager/edgeapplication/edgeapplicationcontroller.go @@ -24,12 +24,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/handler" "sigs.k8s.io/controller-runtime/pkg/source" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/constants" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/overridemanager" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/statusmanager" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/utils" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/nodegroup" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) // Controller is to sync EdgeApplication. diff --git a/cloud/pkg/controllermanager/edgeapplication/overridemanager/commandoverrider.go b/cloud/pkg/controllermanager/edgeapplication/overridemanager/commandoverrider.go index bbdd12753..06113651e 100644 --- a/cloud/pkg/controllermanager/edgeapplication/overridemanager/commandoverrider.go +++ b/cloud/pkg/controllermanager/edgeapplication/overridemanager/commandoverrider.go @@ -14,7 +14,7 @@ import ( "k8s.io/apimachinery/pkg/util/sets" "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + "github.com/kubeedge/api/apis/apps/v1alpha1" ) type CommandOverrider struct{} diff --git a/cloud/pkg/controllermanager/edgeapplication/overridemanager/envoverrider.go b/cloud/pkg/controllermanager/edgeapplication/overridemanager/envoverrider.go index 60e1f321d..2c76eb200 100644 --- a/cloud/pkg/controllermanager/edgeapplication/overridemanager/envoverrider.go +++ b/cloud/pkg/controllermanager/edgeapplication/overridemanager/envoverrider.go @@ -26,7 +26,7 @@ import ( "k8s.io/apimachinery/pkg/util/sets" "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + "github.com/kubeedge/api/apis/apps/v1alpha1" ) type EnvOverrider struct{} diff --git a/cloud/pkg/controllermanager/edgeapplication/overridemanager/imageoverrider.go b/cloud/pkg/controllermanager/edgeapplication/overridemanager/imageoverrider.go index 5e6dbb31a..d72e67bda 100644 --- a/cloud/pkg/controllermanager/edgeapplication/overridemanager/imageoverrider.go +++ b/cloud/pkg/controllermanager/edgeapplication/overridemanager/imageoverrider.go @@ -15,8 +15,8 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/klog/v2" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/overridemanager/imageparser" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) type ImageOverrider struct{} diff --git a/cloud/pkg/controllermanager/edgeapplication/overridemanager/overridemanager.go b/cloud/pkg/controllermanager/edgeapplication/overridemanager/overridemanager.go index f3f3c8999..26fa5350e 100644 --- a/cloud/pkg/controllermanager/edgeapplication/overridemanager/overridemanager.go +++ b/cloud/pkg/controllermanager/edgeapplication/overridemanager/overridemanager.go @@ -8,7 +8,7 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" errorutil "k8s.io/apimachinery/pkg/util/errors" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" ) // overrideOption defines the JSONPatch operator diff --git a/cloud/pkg/controllermanager/edgeapplication/overridemanager/replicasoverrider.go b/cloud/pkg/controllermanager/edgeapplication/overridemanager/replicasoverrider.go index 5ebd1e1ba..ae0b15042 100644 --- a/cloud/pkg/controllermanager/edgeapplication/overridemanager/replicasoverrider.go +++ b/cloud/pkg/controllermanager/edgeapplication/overridemanager/replicasoverrider.go @@ -5,7 +5,7 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - apppsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + apppsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" ) const ( diff --git a/cloud/pkg/controllermanager/edgeapplication/overridemanager/resourcesoverrider.go b/cloud/pkg/controllermanager/edgeapplication/overridemanager/resourcesoverrider.go index f49c671b3..ea36ed8fd 100644 --- a/cloud/pkg/controllermanager/edgeapplication/overridemanager/resourcesoverrider.go +++ b/cloud/pkg/controllermanager/edgeapplication/overridemanager/resourcesoverrider.go @@ -24,7 +24,7 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + "github.com/kubeedge/api/apis/apps/v1alpha1" ) type ResourcesOverrider struct{} diff --git a/cloud/pkg/controllermanager/edgeapplication/statusmanager/reconciler.go b/cloud/pkg/controllermanager/edgeapplication/statusmanager/reconciler.go index ab1fccae2..d84269f56 100644 --- a/cloud/pkg/controllermanager/edgeapplication/statusmanager/reconciler.go +++ b/cloud/pkg/controllermanager/edgeapplication/statusmanager/reconciler.go @@ -16,10 +16,10 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/event" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/constants" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/overridemanager" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/utils" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) type statusReconciler struct { diff --git a/cloud/pkg/controllermanager/edgeapplication/statusmanager/statusmanager.go b/cloud/pkg/controllermanager/edgeapplication/statusmanager/statusmanager.go index 53973e8d1..0f3cf188d 100644 --- a/cloud/pkg/controllermanager/edgeapplication/statusmanager/statusmanager.go +++ b/cloud/pkg/controllermanager/edgeapplication/statusmanager/statusmanager.go @@ -18,9 +18,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/manager" "sigs.k8s.io/controller-runtime/pkg/source" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/overridemanager" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/utils" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) type StatusManager interface { diff --git a/cloud/pkg/controllermanager/edgeapplication/utils/utils.go b/cloud/pkg/controllermanager/edgeapplication/utils/utils.go index c18f89d58..0cb0025d1 100644 --- a/cloud/pkg/controllermanager/edgeapplication/utils/utils.go +++ b/cloud/pkg/controllermanager/edgeapplication/utils/utils.go @@ -8,8 +8,8 @@ import ( "k8s.io/apimachinery/pkg/util/errors" "k8s.io/klog/v2" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/edgeapplication/overridemanager" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) type ResourceInfo struct { diff --git a/cloud/pkg/controllermanager/nodegroup/nodegroupcontroller.go b/cloud/pkg/controllermanager/nodegroup/nodegroupcontroller.go index 7b1d9ae91..65fcc2fd8 100644 --- a/cloud/pkg/controllermanager/nodegroup/nodegroupcontroller.go +++ b/cloud/pkg/controllermanager/nodegroup/nodegroupcontroller.go @@ -19,7 +19,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" "sigs.k8s.io/controller-runtime/pkg/handler" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" ) const ( diff --git a/cloud/pkg/csidriver/controllerserver_test.go b/cloud/pkg/csidriver/controllerserver_test.go new file mode 100644 index 000000000..618c24f7a --- /dev/null +++ b/cloud/pkg/csidriver/controllerserver_test.go @@ -0,0 +1,173 @@ +/* +Copyright 2024 The KubeEdge 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. +*/ + +package csidriver + +import ( + "testing" + + "github.com/container-storage-interface/spec/lib/go/csi" + "github.com/stretchr/testify/assert" + "golang.org/x/net/context" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func TestNewControllerServer(t *testing.T) { + assert := assert.New(t) + + nodeID := "test-node" + kubeEdgeEndpoint := "http://localhost:8080/test" + + cs := newControllerServer(nodeID, kubeEdgeEndpoint) + assert.NotNil(cs) + + assert.Equal(nodeID, cs.nodeID) + assert.Equal(kubeEdgeEndpoint, cs.kubeEdgeEndpoint) + + expectedCaps := getControllerServiceCapabilities( + []csi.ControllerServiceCapability_RPC_Type{ + csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME, + csi.ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUME, + }) + assert.Equal(expectedCaps, cs.caps) + + assert.Equal(csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME, + cs.caps[0].GetRpc().GetType()) + assert.Equal(csi.ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUME, + cs.caps[1].GetRpc().GetType()) +} + +func TestValidateVolumeCapabilities(t *testing.T) { + assert := assert.New(t) + + cs := &controllerServer{ + nodeID: "test-node", + kubeEdgeEndpoint: "http://localhost:8080/test", + } + + // Test case 1: Invalid request (missing volume ID) + invalidReq := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeCapabilities: []*csi.VolumeCapability{ + { + AccessType: &csi.VolumeCapability_Mount{ + Mount: &csi.VolumeCapability_MountVolume{}, + }, + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + } + + result, err := cs.ValidateVolumeCapabilities(context.Background(), invalidReq) + assert.Error(err) + assert.Nil(result) + assert.Equal(codes.InvalidArgument, status.Code(err)) + assert.Contains(err.Error(), "Volume ID cannot be empty") + + // Test case 2: Invalid request (missing volume capabilities) + invalidReq2 := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: "test-volume-id", + } + + result, err = cs.ValidateVolumeCapabilities(context.Background(), invalidReq2) + assert.Error(err) + assert.Nil(result) + assert.Equal(codes.InvalidArgument, status.Code(err)) + assert.Contains(err.Error(), "test-volume-id") + + // Test case 3: Valid request + validReq := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: "test-volume-id", + VolumeCapabilities: []*csi.VolumeCapability{ + { + AccessType: &csi.VolumeCapability_Mount{ + Mount: &csi.VolumeCapability_MountVolume{}, + }, + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + } + + result, err = cs.ValidateVolumeCapabilities(context.Background(), validReq) + assert.NoError(err) + assert.NotNil(result) + assert.NotNil(result.Confirmed) + assert.NotEmpty(result.Confirmed.VolumeCapabilities) + assert.Equal(csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + result.Confirmed.VolumeCapabilities[0].AccessMode.Mode) +} + +func TestControllerGetCapabilities(t *testing.T) { + assert := assert.New(t) + + cs := &controllerServer{ + nodeID: "test-node", + kubeEdgeEndpoint: "http://localhost:8080/test", + caps: getControllerServiceCapabilities( + []csi.ControllerServiceCapability_RPC_Type{ + csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME, + csi.ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUME, + }, + ), + } + + req := &csi.ControllerGetCapabilitiesRequest{} + resp, err := cs.ControllerGetCapabilities(context.Background(), req) + assert.NoError(err) + assert.NotNil(resp) + + expectedCaps := []csi.ControllerServiceCapability_RPC_Type{ + csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME, + csi.ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUME, + } + + for i, cap := range resp.Capabilities { + assert.Equal(expectedCaps[i], cap.GetRpc().Type, + "Capability %d should be %v", i, expectedCaps[i]) + } +} + +func TestGetControllerServiceCapabilities(t *testing.T) { + assert := assert.New(t) + + // Test case 1: Empty capability list + emptyCaps := getControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{}) + assert.Empty(emptyCaps) + + // Test case 2: One capability + singleCapType := csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME + singleCap := getControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{singleCapType}) + + assert.Equal(singleCapType, singleCap[0].GetRpc().Type) + + // Test case 3: Multiple capabilities + multiCapTypes := []csi.ControllerServiceCapability_RPC_Type{ + csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME, + csi.ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUME, + csi.ControllerServiceCapability_RPC_LIST_VOLUMES, + } + multiCaps := getControllerServiceCapabilities(multiCapTypes) + + assert.Len(multiCaps, 3) + for i, capType := range multiCapTypes { + assert.Equal(capType, multiCaps[i].GetRpc().Type, + "Capability %d should be %v", i, capType) + } +} diff --git a/cloud/pkg/csidriver/identityserver_test.go b/cloud/pkg/csidriver/identityserver_test.go new file mode 100644 index 000000000..fd0bb6fa1 --- /dev/null +++ b/cloud/pkg/csidriver/identityserver_test.go @@ -0,0 +1,116 @@ +/* +Copyright 2024 The KubeEdge 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. +*/ + +package csidriver + +import ( + "context" + "testing" + + "github.com/container-storage-interface/spec/lib/go/csi" + "github.com/stretchr/testify/assert" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func TestNewIdentityServer(t *testing.T) { + assert := assert.New(t) + + name := "test-server" + version := "v1.0.0" + + ids := newIdentityServer(name, version) + + assert.NotNil(ids) + assert.Equal(name, ids.name) + assert.Equal(version, ids.version) +} + +func TestGetPluginInfo(t *testing.T) { + assert := assert.New(t) + + testCases := []struct { + name string + version string + expectError bool + errorCode codes.Code + }{ + { + name: "test-driver", + version: "v1.0.0", + expectError: false, + errorCode: codes.OK, + }, + { + name: "", + version: "v1.0.0", + expectError: true, + errorCode: codes.Unavailable, + }, + { + name: "test-driver", + version: "", + expectError: true, + errorCode: codes.Unavailable, + }, + { + name: "", + version: "", + expectError: true, + errorCode: codes.Unavailable, + }, + } + + for _, tc := range testCases { + ids := newIdentityServer(tc.name, tc.version) + result, err := ids.GetPluginInfo(context.Background(), &csi.GetPluginInfoRequest{}) + + if tc.expectError { + assert.Error(err) + assert.Equal(tc.errorCode, status.Code(err)) + } else { + assert.NoError(err) + assert.NotNil(result) + assert.Equal(tc.name, result.Name) + assert.Equal(tc.version, result.VendorVersion) + } + } +} + +func TestProbe(t *testing.T) { + assert := assert.New(t) + + ids := newIdentityServer("test-driver", "v1.0.0") + resp, err := ids.Probe(context.Background(), &csi.ProbeRequest{}) + + assert.NoError(err) + assert.NotNil(resp) +} + +func TestGetPluginCapabilities(t *testing.T) { + assert := assert.New(t) + + ids := newIdentityServer("test-driver", "v1.0.0") + result, err := ids.GetPluginCapabilities(context.Background(), &csi.GetPluginCapabilitiesRequest{}) + + assert.NoError(err) + assert.NotNil(result) + assert.Len(result.Capabilities, 1) + + capabilities := result.Capabilities[0] + assert.NotNil(capabilities.GetService()) + assert.Equal(csi.PluginCapability_Service_CONTROLLER_SERVICE, capabilities.GetService().Type) +} diff --git a/cloud/pkg/csidriver/uds_test.go b/cloud/pkg/csidriver/uds_test.go new file mode 100644 index 000000000..dafd118be --- /dev/null +++ b/cloud/pkg/csidriver/uds_test.go @@ -0,0 +1,39 @@ +/* +Copyright 2024 The KubeEdge 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. +*/ + +package csidriver + +import ( + "testing" + + "github.com/stretchr/testify/assert" +) + +func TestNewUnixDomainSocket(t *testing.T) { + assert := assert.New(t) + + // Using default buffer size + us := NewUnixDomainSocket("/tmp/test.sock") + assert.NotNil(us) + assert.Equal("/tmp/test.sock", us.filename) + assert.Equal(DefaultBufferSize, us.buffersize) + + // Using custom buffer size + us = NewUnixDomainSocket("/tmp/test.sock", 2048) + assert.NotNil(us) + assert.Equal("/tmp/test.sock", us.filename) + assert.Equal(2048, us.buffersize) +} diff --git a/cloud/pkg/csidriver/utils_test.go b/cloud/pkg/csidriver/utils_test.go new file mode 100644 index 000000000..3fe5189ed --- /dev/null +++ b/cloud/pkg/csidriver/utils_test.go @@ -0,0 +1,189 @@ +/* +Copyright 2024 The KubeEdge 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. +*/ + +package csidriver + +import ( + "testing" + + "github.com/stretchr/testify/assert" + + "github.com/kubeedge/beehive/pkg/core/model" +) + +func TestParseEndpoint(t *testing.T) { + assert := assert.New(t) + + testCases := []struct { + input string + expectedStrOne string + expectedStrTwo string + expectError bool + }{ + { + input: "unix:///tmp/test.sock", + expectedStrOne: "unix", + expectedStrTwo: "/tmp/test.sock", + expectError: false, + }, + { + input: "unix://tmp/test.sock", + expectedStrOne: "unix", + expectedStrTwo: "tmp/test.sock", + expectError: false, + }, + { + input: "tcp://127.0.0.1:8080", + expectedStrOne: "tcp", + expectedStrTwo: "127.0.0.1:8080", + expectError: false, + }, + { + input: "/tmp/test.sock", + expectedStrOne: "", + expectedStrTwo: "", + expectError: true, + }, + { + input: "unix://", + expectedStrOne: "", + expectedStrTwo: "", + expectError: true, + }, + } + + for _, tc := range testCases { + firstStr, secondStr, err := parseEndpoint(tc.input) + if tc.expectError { + assert.Error(err) + } else { + assert.NoError(err) + assert.Equal(tc.expectedStrOne, firstStr) + assert.Equal(tc.expectedStrTwo, secondStr) + } + } +} + +func TestBuildResource(t *testing.T) { + assert := assert.New(t) + + tests := []struct { + name string + nodeID string + namespace string + resourceType string + resourceID string + want string + wantErr bool + }{ + { + name: "Valid resource without resourceID", + nodeID: "node1", + namespace: "default", + resourceType: "volume", + resourceID: "", + want: "node/node1/default/volume", + wantErr: false, + }, + { + name: "Valid resource with resourceID", + nodeID: "node1", + namespace: "default", + resourceType: "volume", + resourceID: "vol1", + want: "node/node1/default/volume/vol1", + wantErr: false, + }, + { + name: "Resource without nodeID", + nodeID: "", + namespace: "default", + resourceType: "volume", + resourceID: "", + want: "", + wantErr: true, + }, + { + name: "Resource missing namespace", + nodeID: "node1", + namespace: "", + resourceType: "volume", + resourceID: "", + want: "", + wantErr: true, + }, + { + name: "Resource without resourceType", + nodeID: "node1", + namespace: "default", + resourceType: "", + resourceID: "", + want: "", + wantErr: true, + }, + } + + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + got, err := buildResource(test.nodeID, test.namespace, test.resourceType, test.resourceID) + if test.wantErr { + assert.Error(err) + } else { + assert.NoError(err) + assert.Equal(test.want, got) + } + }) + } +} + +func TestExtractMessage(t *testing.T) { + assert := assert.New(t) + + tests := []struct { + name string + context string + wantErr bool + }{ + { + name: "Valid JSON", + context: `{"header":{"namespace":"default"},"router":{"resource":"test"},"content":"test"}`, + wantErr: false, + }, + { + name: "Invalid JSON", + context: `{invalid json}`, + wantErr: true, + }, + { + name: "Empty context", + context: "", + wantErr: true, + }, + } + + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + msg, err := extractMessage(test.context) + if test.wantErr { + assert.Error(err) + } else { + assert.NoError(err) + assert.NotNil(msg) + assert.IsType(&model.Message{}, msg) + } + }) + } +} diff --git a/cloud/pkg/devicecontroller/config/config.go b/cloud/pkg/devicecontroller/config/config.go index 7dd024115..ac382b9ff 100644 --- a/cloud/pkg/devicecontroller/config/config.go +++ b/cloud/pkg/devicecontroller/config/config.go @@ -3,7 +3,7 @@ package config import ( "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) var Config Configure diff --git a/cloud/pkg/devicecontroller/controller/downstream.go b/cloud/pkg/devicecontroller/controller/downstream.go index adc3c3ac1..48a5a1c38 100644 --- a/cloud/pkg/devicecontroller/controller/downstream.go +++ b/cloud/pkg/devicecontroller/controller/downstream.go @@ -29,6 +29,8 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/devices/v1beta1" + crdinformers "github.com/kubeedge/api/client/informers/externalversions" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -37,8 +39,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/constants" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/manager" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/types" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - crdinformers "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions" "github.com/kubeedge/kubeedge/pkg/util" ) diff --git a/cloud/pkg/devicecontroller/controller/upstream.go b/cloud/pkg/devicecontroller/controller/upstream.go index a9a9ae4b3..3da64881d 100644 --- a/cloud/pkg/devicecontroller/controller/upstream.go +++ b/cloud/pkg/devicecontroller/controller/upstream.go @@ -23,6 +23,8 @@ import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/devices/v1beta1" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" keclient "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -33,8 +35,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/constants" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/types" commonconst "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" ) // DeviceStatus is structure to patch device status diff --git a/cloud/pkg/devicecontroller/devicecontroller.go b/cloud/pkg/devicecontroller/devicecontroller.go index 2b11fd69e..5d5ae3b4f 100644 --- a/cloud/pkg/devicecontroller/devicecontroller.go +++ b/cloud/pkg/devicecontroller/devicecontroller.go @@ -5,12 +5,12 @@ import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/config" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/controller" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) // DeviceController use beehive context message layer diff --git a/cloud/pkg/devicecontroller/manager/devicemodel_test.go b/cloud/pkg/devicecontroller/manager/devicemodel_test.go index a63aa0d65..c83cc88a2 100644 --- a/cloud/pkg/devicecontroller/manager/devicemodel_test.go +++ b/cloud/pkg/devicecontroller/manager/devicemodel_test.go @@ -7,8 +7,8 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/config" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestDeviceModelManager_Events(t *testing.T) { diff --git a/cloud/pkg/dynamiccontroller/config/config.go b/cloud/pkg/dynamiccontroller/config/config.go index 479486c17..23afe2687 100644 --- a/cloud/pkg/dynamiccontroller/config/config.go +++ b/cloud/pkg/dynamiccontroller/config/config.go @@ -19,7 +19,7 @@ package config import ( "sync" - configv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + configv1alpha1 "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) var Config Configure diff --git a/cloud/pkg/dynamiccontroller/dynamiccontroller.go b/cloud/pkg/dynamiccontroller/dynamiccontroller.go index 6c6557874..568b8b373 100644 --- a/cloud/pkg/dynamiccontroller/dynamiccontroller.go +++ b/cloud/pkg/dynamiccontroller/dynamiccontroller.go @@ -21,6 +21,7 @@ import ( "k8s.io/client-go/dynamic/dynamicinformer" "k8s.io/klog/v2" + configv1alpha1 "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" @@ -30,7 +31,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/dynamiccontroller/config" "github.com/kubeedge/kubeedge/cloud/pkg/dynamiccontroller/filter/defaultmaster" "github.com/kubeedge/kubeedge/cloud/pkg/dynamiccontroller/filter/endpointresource" - configv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) // DynamicController use dynamicSharedInformer to dispatch messages diff --git a/cloud/pkg/edgecontroller/controller/downstream.go b/cloud/pkg/edgecontroller/controller/downstream.go index c7bd2d0a1..9fd9a1d68 100644 --- a/cloud/pkg/edgecontroller/controller/downstream.go +++ b/cloud/pkg/edgecontroller/controller/downstream.go @@ -12,6 +12,9 @@ import ( clientgov1 "k8s.io/client-go/listers/core/v1" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + routerv1 "github.com/kubeedge/api/apis/rules/v1" + crdinformers "github.com/kubeedge/api/client/informers/externalversions" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -21,9 +24,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/edgecontroller/constants" "github.com/kubeedge/kubeedge/cloud/pkg/edgecontroller/manager" commonconstants "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - routerv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - crdinformers "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions" ) // DownstreamController watch kubernetes api server and send change to edge diff --git a/cloud/pkg/edgecontroller/controller/upstream.go b/cloud/pkg/edgecontroller/controller/upstream.go index d249814fe..c9ad133ae 100644 --- a/cloud/pkg/edgecontroller/controller/upstream.go +++ b/cloud/pkg/edgecontroller/controller/upstream.go @@ -49,6 +49,9 @@ import ( corelisters "k8s.io/client-go/listers/core/v1" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -62,9 +65,6 @@ import ( comconstants "github.com/kubeedge/kubeedge/common/constants" common "github.com/kubeedge/kubeedge/common/constants" edgeapi "github.com/kubeedge/kubeedge/common/types" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" "github.com/kubeedge/kubeedge/pkg/metaserver/util" kubeedgeutil "github.com/kubeedge/kubeedge/pkg/util" ) diff --git a/cloud/pkg/edgecontroller/edgecontroller.go b/cloud/pkg/edgecontroller/edgecontroller.go index 6c011c8ae..b6848a646 100644 --- a/cloud/pkg/edgecontroller/edgecontroller.go +++ b/cloud/pkg/edgecontroller/edgecontroller.go @@ -3,11 +3,11 @@ package edgecontroller import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/cloud/pkg/edgecontroller/controller" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) // EdgeController use beehive context message layer diff --git a/cloud/pkg/edgecontroller/manager/configmap.go b/cloud/pkg/edgecontroller/manager/configmap.go index 6e1c5b691..0e55a55da 100644 --- a/cloud/pkg/edgecontroller/manager/configmap.go +++ b/cloud/pkg/edgecontroller/manager/configmap.go @@ -4,7 +4,7 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) // ConfigMapManager manage all events of configmap by SharedInformer diff --git a/cloud/pkg/edgecontroller/manager/configmap_test.go b/cloud/pkg/edgecontroller/manager/configmap_test.go index 8fac7113e..a41e8c29e 100644 --- a/cloud/pkg/edgecontroller/manager/configmap_test.go +++ b/cloud/pkg/edgecontroller/manager/configmap_test.go @@ -25,9 +25,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestConfigMapManager_Events(t *testing.T) { diff --git a/cloud/pkg/edgecontroller/manager/node_test.go b/cloud/pkg/edgecontroller/manager/node_test.go index bc3a2ebc7..985d41053 100644 --- a/cloud/pkg/edgecontroller/manager/node_test.go +++ b/cloud/pkg/edgecontroller/manager/node_test.go @@ -25,9 +25,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestNodesManager_Events(t *testing.T) { diff --git a/cloud/pkg/edgecontroller/manager/pod.go b/cloud/pkg/edgecontroller/manager/pod.go index 64174aea5..c3a5148a0 100644 --- a/cloud/pkg/edgecontroller/manager/pod.go +++ b/cloud/pkg/edgecontroller/manager/pod.go @@ -8,7 +8,7 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) // PodManager is a manager watch pod change event diff --git a/cloud/pkg/edgecontroller/manager/pod_test.go b/cloud/pkg/edgecontroller/manager/pod_test.go index 1b7b9dcc9..b73ee58f8 100644 --- a/cloud/pkg/edgecontroller/manager/pod_test.go +++ b/cloud/pkg/edgecontroller/manager/pod_test.go @@ -26,9 +26,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestIsPodUpdated(t *testing.T) { diff --git a/cloud/pkg/edgecontroller/manager/rule.go b/cloud/pkg/edgecontroller/manager/rule.go index 82324df2c..d76082f10 100644 --- a/cloud/pkg/edgecontroller/manager/rule.go +++ b/cloud/pkg/edgecontroller/manager/rule.go @@ -4,7 +4,7 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) // RuleManager manage all events of rule by SharedInformer diff --git a/cloud/pkg/edgecontroller/manager/rule_test.go b/cloud/pkg/edgecontroller/manager/rule_test.go index 536775af1..b410349b9 100644 --- a/cloud/pkg/edgecontroller/manager/rule_test.go +++ b/cloud/pkg/edgecontroller/manager/rule_test.go @@ -25,9 +25,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestRuleManager_Events(t *testing.T) { diff --git a/cloud/pkg/edgecontroller/manager/ruleendpoint.go b/cloud/pkg/edgecontroller/manager/ruleendpoint.go index 34e7b8d12..54eead576 100644 --- a/cloud/pkg/edgecontroller/manager/ruleendpoint.go +++ b/cloud/pkg/edgecontroller/manager/ruleendpoint.go @@ -4,7 +4,7 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) // RuleEndpointManager manage all events of rule by SharedInformer diff --git a/cloud/pkg/edgecontroller/manager/ruleendpoint_test.go b/cloud/pkg/edgecontroller/manager/ruleendpoint_test.go index 67df7a9f3..cce280651 100644 --- a/cloud/pkg/edgecontroller/manager/ruleendpoint_test.go +++ b/cloud/pkg/edgecontroller/manager/ruleendpoint_test.go @@ -25,9 +25,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestRuleEndpointManager_Events(t *testing.T) { diff --git a/cloud/pkg/edgecontroller/manager/secret.go b/cloud/pkg/edgecontroller/manager/secret.go index fc8958d39..d5229dd72 100644 --- a/cloud/pkg/edgecontroller/manager/secret.go +++ b/cloud/pkg/edgecontroller/manager/secret.go @@ -4,7 +4,7 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) // SecretManager manage all events of secret by SharedInformer diff --git a/cloud/pkg/edgecontroller/manager/secret_test.go b/cloud/pkg/edgecontroller/manager/secret_test.go index 82cde4b0e..99ffea8cb 100644 --- a/cloud/pkg/edgecontroller/manager/secret_test.go +++ b/cloud/pkg/edgecontroller/manager/secret_test.go @@ -25,9 +25,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) func TestSecretManager_Events(t *testing.T) { diff --git a/cloud/pkg/policycontroller/manager/reconcile.go b/cloud/pkg/policycontroller/manager/reconcile.go index f57f15416..dab2c1cf2 100644 --- a/cloud/pkg/policycontroller/manager/reconcile.go +++ b/cloud/pkg/policycontroller/manager/reconcile.go @@ -23,12 +23,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/handler" "sigs.k8s.io/controller-runtime/pkg/predicate" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/messagelayer" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/cloud/pkg/edgecontroller/constants" commonconstants "github.com/kubeedge/kubeedge/common/constants" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" ) type Controller struct { diff --git a/cloud/pkg/policycontroller/manager/reconcile_test.go b/cloud/pkg/policycontroller/manager/reconcile_test.go index 032b1190d..3c94169dc 100644 --- a/cloud/pkg/policycontroller/manager/reconcile_test.go +++ b/cloud/pkg/policycontroller/manager/reconcile_test.go @@ -22,12 +22,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/fake" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" "github.com/kubeedge/beehive/pkg/common" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/messagelayer" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" ) func TestIntersectSlice(t *testing.T) { diff --git a/cloud/pkg/policycontroller/policycontroller.go b/cloud/pkg/policycontroller/policycontroller.go index 734f0aee5..5e6f96e84 100644 --- a/cloud/pkg/policycontroller/policycontroller.go +++ b/cloud/pkg/policycontroller/policycontroller.go @@ -12,12 +12,12 @@ import ( controllerruntime "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/manager" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/cloud/pkg/common/messagelayer" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" pm "github.com/kubeedge/kubeedge/cloud/pkg/policycontroller/manager" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" kefeatures "github.com/kubeedge/kubeedge/pkg/features" ) diff --git a/cloud/pkg/router/config/config.go b/cloud/pkg/router/config/config.go index 798708404..7b2b67ab2 100644 --- a/cloud/pkg/router/config/config.go +++ b/cloud/pkg/router/config/config.go @@ -3,7 +3,7 @@ package config import ( "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) var Config Configure diff --git a/cloud/pkg/router/provider/eventbus/eventbus.go b/cloud/pkg/router/provider/eventbus/eventbus.go index 955587c23..a60b49208 100644 --- a/cloud/pkg/router/provider/eventbus/eventbus.go +++ b/cloud/pkg/router/provider/eventbus/eventbus.go @@ -7,6 +7,7 @@ import ( "k8s.io/klog/v2" + v1 "github.com/kubeedge/api/apis/rules/v1" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub" @@ -15,7 +16,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/router/listener" "github.com/kubeedge/kubeedge/cloud/pkg/router/provider" "github.com/kubeedge/kubeedge/edge/pkg/common/message" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" ) const ( diff --git a/cloud/pkg/router/provider/rest/rest.go b/cloud/pkg/router/provider/rest/rest.go index 894f1207d..6c06f9432 100644 --- a/cloud/pkg/router/provider/rest/rest.go +++ b/cloud/pkg/router/provider/rest/rest.go @@ -13,13 +13,13 @@ import ( "k8s.io/klog/v2" + v1 "github.com/kubeedge/api/apis/rules/v1" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/router/constants" "github.com/kubeedge/kubeedge/cloud/pkg/router/listener" "github.com/kubeedge/kubeedge/cloud/pkg/router/provider" httpUtils "github.com/kubeedge/kubeedge/cloud/pkg/router/utils/http" commonType "github.com/kubeedge/kubeedge/common/types" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" ) var inited int32 diff --git a/cloud/pkg/router/provider/servicebus/servicebus.go b/cloud/pkg/router/provider/servicebus/servicebus.go index 557ab6e51..e1b246050 100644 --- a/cloud/pkg/router/provider/servicebus/servicebus.go +++ b/cloud/pkg/router/provider/servicebus/servicebus.go @@ -10,6 +10,7 @@ import ( "k8s.io/klog/v2" + v1 "github.com/kubeedge/api/apis/rules/v1" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub" @@ -19,7 +20,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/router/provider" commonconstants "github.com/kubeedge/kubeedge/common/constants" commonType "github.com/kubeedge/kubeedge/common/types" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" ) type servicebusFactory struct{} diff --git a/cloud/pkg/router/provider/source.go b/cloud/pkg/router/provider/source.go index e887d0f3f..1a5a90255 100644 --- a/cloud/pkg/router/provider/source.go +++ b/cloud/pkg/router/provider/source.go @@ -3,8 +3,8 @@ package provider import ( "k8s.io/klog/v2" + v1 "github.com/kubeedge/api/apis/rules/v1" "github.com/kubeedge/kubeedge/cloud/pkg/router/listener" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" ) type SourceFactory interface { diff --git a/cloud/pkg/router/provider/target.go b/cloud/pkg/router/provider/target.go index d319d7109..c66b5aa10 100644 --- a/cloud/pkg/router/provider/target.go +++ b/cloud/pkg/router/provider/target.go @@ -3,7 +3,7 @@ package provider import ( "k8s.io/klog/v2" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + v1 "github.com/kubeedge/api/apis/rules/v1" ) type TargetFactory interface { diff --git a/cloud/pkg/router/router.go b/cloud/pkg/router/router.go index 5322a990a..7c55d4293 100644 --- a/cloud/pkg/router/router.go +++ b/cloud/pkg/router/router.go @@ -3,6 +3,7 @@ package router import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" routerconfig "github.com/kubeedge/kubeedge/cloud/pkg/router/config" @@ -15,7 +16,6 @@ import ( _ "github.com/kubeedge/kubeedge/cloud/pkg/router/provider/servicebus" // init rule _ "github.com/kubeedge/kubeedge/cloud/pkg/router/rule" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) type router struct { diff --git a/cloud/pkg/router/rule/rule.go b/cloud/pkg/router/rule/rule.go index 6e61547a6..023e84a06 100644 --- a/cloud/pkg/router/rule/rule.go +++ b/cloud/pkg/router/rule/rule.go @@ -7,11 +7,11 @@ import ( "k8s.io/klog/v2" + routerv1 "github.com/kubeedge/api/apis/rules/v1" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/cloud/pkg/router/listener" "github.com/kubeedge/kubeedge/cloud/pkg/router/provider" - routerv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" ) var ( diff --git a/cloud/pkg/synccontroller/clusterobjectsync.go b/cloud/pkg/synccontroller/clusterobjectsync.go index ea046dcb5..52b75b049 100644 --- a/cloud/pkg/synccontroller/clusterobjectsync.go +++ b/cloud/pkg/synccontroller/clusterobjectsync.go @@ -13,11 +13,11 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" commonconst "github.com/kubeedge/kubeedge/common/constants" v2 "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao/v2" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" "github.com/kubeedge/kubeedge/pkg/metaserver/util" ) diff --git a/cloud/pkg/synccontroller/config/config.go b/cloud/pkg/synccontroller/config/config.go index ad9529867..f0d0dffdd 100644 --- a/cloud/pkg/synccontroller/config/config.go +++ b/cloud/pkg/synccontroller/config/config.go @@ -3,7 +3,7 @@ package config import ( "sync" - configv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + configv1alpha1 "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) var Config Configure diff --git a/cloud/pkg/synccontroller/config/config_test.go b/cloud/pkg/synccontroller/config/config_test.go index 7341a6b08..5e7c57b8d 100644 --- a/cloud/pkg/synccontroller/config/config_test.go +++ b/cloud/pkg/synccontroller/config/config_test.go @@ -20,7 +20,7 @@ import ( "reflect" "testing" - configv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + configv1alpha1 "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) // TestInitConfigure() tests configuration initialized only once diff --git a/cloud/pkg/synccontroller/objectsync.go b/cloud/pkg/synccontroller/objectsync.go index 3482e2338..9cbcbb1ca 100644 --- a/cloud/pkg/synccontroller/objectsync.go +++ b/cloud/pkg/synccontroller/objectsync.go @@ -13,13 +13,13 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/messagelayer" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" edgectrconst "github.com/kubeedge/kubeedge/cloud/pkg/edgecontroller/constants" commonconst "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" "github.com/kubeedge/kubeedge/pkg/metaserver/util" ) diff --git a/cloud/pkg/synccontroller/objectsync_test.go b/cloud/pkg/synccontroller/objectsync_test.go index 5fa94a742..7afe275a0 100644 --- a/cloud/pkg/synccontroller/objectsync_test.go +++ b/cloud/pkg/synccontroller/objectsync_test.go @@ -28,6 +28,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/dynamic/fake" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" "github.com/kubeedge/beehive/pkg/common" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" @@ -36,7 +37,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" "github.com/kubeedge/kubeedge/cloud/pkg/common/messagelayer" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" ) func TestCompareResourceVersion(t *testing.T) { diff --git a/cloud/pkg/synccontroller/synccontroller.go b/cloud/pkg/synccontroller/synccontroller.go index b3fb12b99..14861e69b 100644 --- a/cloud/pkg/synccontroller/synccontroller.go +++ b/cloud/pkg/synccontroller/synccontroller.go @@ -14,16 +14,16 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" + configv1alpha1 "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" + reliablesyncslisters "github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" keclient "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/common/informers" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/cloud/pkg/synccontroller/config" - configv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - reliablesyncslisters "github.com/kubeedge/kubeedge/pkg/client/listers/reliablesyncs/v1alpha1" ) // SyncController use beehive context message layer diff --git a/cloud/pkg/synccontroller/synccontroller_test.go b/cloud/pkg/synccontroller/synccontroller_test.go index 722b8faa8..392aebe8c 100644 --- a/cloud/pkg/synccontroller/synccontroller_test.go +++ b/cloud/pkg/synccontroller/synccontroller_test.go @@ -27,14 +27,14 @@ import ( "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" + configv1alpha1 "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + crdfake "github.com/kubeedge/api/client/clientset/versioned/fake" + crdinformers "github.com/kubeedge/api/client/informers/externalversions" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" tf "github.com/kubeedge/kubeedge/cloud/pkg/cloudhub/common/testing" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" "github.com/kubeedge/kubeedge/cloud/pkg/synccontroller/config" - configv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - crdfake "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/fake" - crdinformers "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions" ) func TestNewSyncControllerAndStartIt(t *testing.T) { diff --git a/cloud/pkg/taskmanager/config/config.go b/cloud/pkg/taskmanager/config/config.go index 1940f14f8..976613e96 100644 --- a/cloud/pkg/taskmanager/config/config.go +++ b/cloud/pkg/taskmanager/config/config.go @@ -19,7 +19,7 @@ package config import ( "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) var Config Configure diff --git a/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_controller.go b/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_controller.go index 31dc525aa..fb3d903d4 100644 --- a/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_controller.go +++ b/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_controller.go @@ -32,6 +32,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" keclient "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -40,9 +43,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/controller" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/manager" commontypes "github.com/kubeedge/kubeedge/common/types" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_task.go b/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_task.go index 3778a0ed8..aedd8fe08 100644 --- a/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_task.go +++ b/cloud/pkg/taskmanager/imageprepullcontroller/image_prepull_task.go @@ -23,11 +23,11 @@ import ( "k8s.io/klog/v2" + fsmapi "github.com/kubeedge/api/apis/fsm/v1alpha1" + v1alpha12 "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util" - fsmapi "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - v1alpha12 "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/cloud/pkg/taskmanager/manager/executor.go b/cloud/pkg/taskmanager/manager/executor.go index d3a7aec45..e1ab747fd 100644 --- a/cloud/pkg/taskmanager/manager/executor.go +++ b/cloud/pkg/taskmanager/manager/executor.go @@ -28,6 +28,8 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -37,8 +39,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/controller" "github.com/kubeedge/kubeedge/common/constants" commontypes "github.com/kubeedge/kubeedge/common/types" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/cloud/pkg/taskmanager/manager/upstream.go b/cloud/pkg/taskmanager/manager/upstream.go index b94370cf3..bd9db709b 100644 --- a/cloud/pkg/taskmanager/manager/upstream.go +++ b/cloud/pkg/taskmanager/manager/upstream.go @@ -23,6 +23,7 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" keclient "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -32,7 +33,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/controller" "github.com/kubeedge/kubeedge/common/types" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/cloud/pkg/taskmanager/nodeupgradecontroller/node_upgrade_controller.go b/cloud/pkg/taskmanager/nodeupgradecontroller/node_upgrade_controller.go index 649b95cbb..12377bce0 100644 --- a/cloud/pkg/taskmanager/nodeupgradecontroller/node_upgrade_controller.go +++ b/cloud/pkg/taskmanager/nodeupgradecontroller/node_upgrade_controller.go @@ -35,6 +35,9 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" keclient "github.com/kubeedge/kubeedge/cloud/pkg/common/client" @@ -43,9 +46,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/controller" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/manager" commontypes "github.com/kubeedge/kubeedge/common/types" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/cloud/pkg/taskmanager/nodeupgradecontroller/upgrade_task.go b/cloud/pkg/taskmanager/nodeupgradecontroller/upgrade_task.go index 6f28eb9ae..14f8873c9 100644 --- a/cloud/pkg/taskmanager/nodeupgradecontroller/upgrade_task.go +++ b/cloud/pkg/taskmanager/nodeupgradecontroller/upgrade_task.go @@ -20,11 +20,11 @@ import ( "fmt" "time" + fsmapi "github.com/kubeedge/api/apis/fsm/v1alpha1" + v1alpha12 "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/common/client" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util" - fsmapi "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - v1alpha12 "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/cloud/pkg/taskmanager/task_manager.go b/cloud/pkg/taskmanager/task_manager.go index 425ecff64..d78365c2e 100644 --- a/cloud/pkg/taskmanager/task_manager.go +++ b/cloud/pkg/taskmanager/task_manager.go @@ -21,6 +21,7 @@ import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/common/modules" @@ -30,7 +31,6 @@ import ( "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/nodeupgradecontroller" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/controller" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) type TaskManager struct { diff --git a/cloud/pkg/taskmanager/util/controller/controller.go b/cloud/pkg/taskmanager/util/controller/controller.go index e29a081fd..3ff2fbbe9 100644 --- a/cloud/pkg/taskmanager/util/controller/controller.go +++ b/cloud/pkg/taskmanager/util/controller/controller.go @@ -25,11 +25,11 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" + crdClientset "github.com/kubeedge/api/client/clientset/versioned" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util" "github.com/kubeedge/kubeedge/cloud/pkg/taskmanager/util/manager" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - crdClientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/cloud/pkg/taskmanager/util/util.go b/cloud/pkg/taskmanager/util/util.go index bf3aea571..e998047a5 100644 --- a/cloud/pkg/taskmanager/util/util.go +++ b/cloud/pkg/taskmanager/util/util.go @@ -26,8 +26,8 @@ import ( versionutil "k8s.io/apimachinery/pkg/util/version" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" ) const ( diff --git a/cloud/test/integration/controllermanager/controllermanager_suite_test.go b/cloud/test/integration/controllermanager/controllermanager_suite_test.go index 17c87da05..62a7d26df 100644 --- a/cloud/test/integration/controllermanager/controllermanager_suite_test.go +++ b/cloud/test/integration/controllermanager/controllermanager_suite_test.go @@ -27,8 +27,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/envtest" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) // Values of the following two variables will be linked when diff --git a/cloud/test/integration/controllermanager/controllermanager_test.go b/cloud/test/integration/controllermanager/controllermanager_test.go index 715c9209c..846e2f163 100644 --- a/cloud/test/integration/controllermanager/controllermanager_test.go +++ b/cloud/test/integration/controllermanager/controllermanager_test.go @@ -34,8 +34,8 @@ import ( "k8s.io/utils/pointer" "sigs.k8s.io/controller-runtime/pkg/client" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "github.com/kubeedge/kubeedge/cloud/pkg/controllermanager/nodegroup" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" ) const ( diff --git a/common/constants/default.go b/common/constants/default.go index 216e721ac..d0820fefd 100644 --- a/common/constants/default.go +++ b/common/constants/default.go @@ -174,3 +174,5 @@ const ( // DeviceTwin DefaultDMISockPath = "/etc/kubeedge/dmi.sock" ) + +const ISO8601UTC = "2006-01-02T15:04:05Z" diff --git a/common/types/types.go b/common/types/types.go index 412fc82c2..32065dc19 100644 --- a/common/types/types.go +++ b/common/types/types.go @@ -6,8 +6,8 @@ import ( metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" ) // PodStatusRequest is Message.Content which comes from edge diff --git a/edge/cmd/edgecore/app/options/options.go b/edge/cmd/edgecore/app/options/options.go index ebc09e470..5f546d3b2 100644 --- a/edge/cmd/edgecore/app/options/options.go +++ b/edge/cmd/edgecore/app/options/options.go @@ -23,8 +23,8 @@ import ( "k8s.io/apimachinery/pkg/util/validation/field" cliflag "k8s.io/component-base/cli/flag" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/pkg/util/validation" ) diff --git a/edge/cmd/edgecore/app/server.go b/edge/cmd/edgecore/app/server.go index 9a86e5c9a..bef214337 100644 --- a/edge/cmd/edgecore/app/server.go +++ b/edge/cmd/edgecore/app/server.go @@ -15,6 +15,8 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/yaml" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/edge/cmd/edgecore/app/options" @@ -28,8 +30,6 @@ import ( "github.com/kubeedge/kubeedge/edge/pkg/metamanager" "github.com/kubeedge/kubeedge/edge/pkg/servicebus" "github.com/kubeedge/kubeedge/edge/test" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2/validation" "github.com/kubeedge/kubeedge/pkg/features" "github.com/kubeedge/kubeedge/pkg/util" "github.com/kubeedge/kubeedge/pkg/util/flag" diff --git a/edge/cmd/edgemark/hollow_edgecore.go b/edge/cmd/edgemark/hollow_edgecore.go index 671592e0f..7a20018e4 100644 --- a/edge/cmd/edgemark/hollow_edgecore.go +++ b/edge/cmd/edgemark/hollow_edgecore.go @@ -50,12 +50,12 @@ import ( "k8s.io/kubernetes/pkg/volume/util/subpath" "k8s.io/mount-utils" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/edge/pkg/common/dbm" "github.com/kubeedge/kubeedge/edge/pkg/edged" "github.com/kubeedge/kubeedge/edge/pkg/edgehub" "github.com/kubeedge/kubeedge/edge/pkg/metamanager" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) type hollowEdgeNodeConfig struct { diff --git a/edge/pkg/devicetwin/config/config.go b/edge/pkg/devicetwin/config/config.go index b164bf108..de45b2a44 100644 --- a/edge/pkg/devicetwin/config/config.go +++ b/edge/pkg/devicetwin/config/config.go @@ -3,7 +3,7 @@ package config import ( "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) var config Configure diff --git a/edge/pkg/devicetwin/devicetwin.go b/edge/pkg/devicetwin/devicetwin.go index 1fb43e510..7b1e92f53 100644 --- a/edge/pkg/devicetwin/devicetwin.go +++ b/edge/pkg/devicetwin/devicetwin.go @@ -3,13 +3,13 @@ package devicetwin import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" "github.com/kubeedge/kubeedge/edge/pkg/common/modules" deviceconfig "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/config" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtclient" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcontext" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtmodule" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) // DeviceTwin the module diff --git a/edge/pkg/devicetwin/dmiclient/client.go b/edge/pkg/devicetwin/dmiclient/client.go index 7f7ad0b02..f56b3feb5 100644 --- a/edge/pkg/devicetwin/dmiclient/client.go +++ b/edge/pkg/devicetwin/dmiclient/client.go @@ -26,10 +26,10 @@ import ( "google.golang.org/grpc" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/devices/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" deviceconst "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/constants" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcommon" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" ) type DMIClient struct { diff --git a/edge/pkg/devicetwin/dmiserver/server.go b/edge/pkg/devicetwin/dmiserver/server.go index 49b1fb0e7..5f76bf42b 100644 --- a/edge/pkg/devicetwin/dmiserver/server.go +++ b/edge/pkg/devicetwin/dmiserver/server.go @@ -31,6 +31,8 @@ import ( "google.golang.org/grpc/reflection" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/devices/v1beta1" + pb "github.com/kubeedge/api/apis/dmi/v1beta1" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" beehiveModel "github.com/kubeedge/beehive/pkg/core/model" deviceconst "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/constants" @@ -42,8 +44,6 @@ import ( "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dmiclient" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcommon" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - pb "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" "github.com/kubeedge/kubeedge/pkg/util" ) diff --git a/edge/pkg/devicetwin/dtcommon/util.go b/edge/pkg/devicetwin/dtcommon/util.go index 5ef05c80a..34d2ab655 100644 --- a/edge/pkg/devicetwin/dtcommon/util.go +++ b/edge/pkg/devicetwin/dtcommon/util.go @@ -13,9 +13,9 @@ import ( "google.golang.org/protobuf/types/known/wrapperspb" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/devices/v1beta1" + pb "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/constants" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - pb "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" ) // ValidateValue validate value type diff --git a/edge/pkg/devicetwin/dtmanager/device.go b/edge/pkg/devicetwin/dtmanager/device.go index 1990ec1b5..fe374de8c 100644 --- a/edge/pkg/devicetwin/dtmanager/device.go +++ b/edge/pkg/devicetwin/dtmanager/device.go @@ -10,13 +10,13 @@ import ( "k8s.io/klog/v2" "github.com/kubeedge/beehive/pkg/core/model" + common "github.com/kubeedge/kubeedge/common/constants" messagepkg "github.com/kubeedge/kubeedge/edge/pkg/common/message" "github.com/kubeedge/kubeedge/edge/pkg/common/modules" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtclient" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcommon" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcontext" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dttype" - "github.com/kubeedge/kubeedge/pkg/apis" ) var ( @@ -99,7 +99,7 @@ func dealDeviceStateUpdate(context *dtcontext.DTContext, resource string, msg in } var lastOnline string if state == dtcommon.DeviceStatusOnline || state == dtcommon.DeviceStatusOK { - lastOnline = time.Now().Format(apis.ISO8601UTC) + lastOnline = time.Now().Format(common.ISO8601UTC) } for i := 1; i <= dtcommon.RetryTimes; i++ { err = dtclient.UpdateDeviceFields( diff --git a/edge/pkg/devicetwin/dtmanager/dmiworker.go b/edge/pkg/devicetwin/dtmanager/dmiworker.go index cf267ef01..0b1ea761f 100644 --- a/edge/pkg/devicetwin/dtmanager/dmiworker.go +++ b/edge/pkg/devicetwin/dtmanager/dmiworker.go @@ -25,6 +25,8 @@ import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/devices/v1beta1" + pb "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/cloud/pkg/devicecontroller/constants" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dmiclient" @@ -33,8 +35,6 @@ import ( "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtcontext" "github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dttype" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - pb "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" "github.com/kubeedge/kubeedge/pkg/util" ) diff --git a/edge/pkg/edged/config/config.go b/edge/pkg/edged/config/config.go index c547f1015..8bd18f8b4 100644 --- a/edge/pkg/edged/config/config.go +++ b/edge/pkg/edged/config/config.go @@ -12,7 +12,7 @@ import ( "k8s.io/kubernetes/pkg/kubelet" kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) var Config Configure diff --git a/edge/pkg/edged/edged.go b/edge/pkg/edged/edged.go index ed72333c2..065f7c30f 100644 --- a/edge/pkg/edged/edged.go +++ b/edge/pkg/edged/edged.go @@ -48,6 +48,7 @@ import ( kubelettypes "k8s.io/kubernetes/pkg/kubelet/types" csiplugin "k8s.io/kubernetes/pkg/volume/csi" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" @@ -59,7 +60,6 @@ import ( "github.com/kubeedge/kubeedge/edge/pkg/metamanager" metaclient "github.com/kubeedge/kubeedge/edge/pkg/metamanager/client" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" kefeatures "github.com/kubeedge/kubeedge/pkg/features" "github.com/kubeedge/kubeedge/pkg/version" ) diff --git a/edge/pkg/edgehub/certificate/certmanager.go b/edge/pkg/edgehub/certificate/certmanager.go index c1130a7a2..5a32a6938 100644 --- a/edge/pkg/edgehub/certificate/certmanager.go +++ b/edge/pkg/edgehub/certificate/certmanager.go @@ -19,9 +19,9 @@ import ( "k8s.io/client-go/util/keyutil" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/edge/pkg/edgehub/common/http" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/pkg/security/certs" "github.com/kubeedge/kubeedge/pkg/security/token" ) diff --git a/edge/pkg/edgehub/config/config.go b/edge/pkg/edgehub/config/config.go index b8dee189f..71d8b503b 100644 --- a/edge/pkg/edgehub/config/config.go +++ b/edge/pkg/edgehub/config/config.go @@ -4,7 +4,7 @@ import ( "strings" "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) var Config Configure diff --git a/edge/pkg/edgehub/config/config_test.go b/edge/pkg/edgehub/config/config_test.go index bdf77eff5..33e8520fd 100644 --- a/edge/pkg/edgehub/config/config_test.go +++ b/edge/pkg/edgehub/config/config_test.go @@ -19,7 +19,7 @@ package config import ( "testing" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) func TestInitConfigure(t *testing.T) { diff --git a/edge/pkg/edgehub/edgehub.go b/edge/pkg/edgehub/edgehub.go index 5bb3a341c..4754fc586 100644 --- a/edge/pkg/edgehub/edgehub.go +++ b/edge/pkg/edgehub/edgehub.go @@ -7,6 +7,7 @@ import ( "k8s.io/client-go/util/flowcontrol" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/edge/pkg/common/modules" @@ -15,7 +16,6 @@ import ( "github.com/kubeedge/kubeedge/edge/pkg/edgehub/config" // register Task handler _ "github.com/kubeedge/kubeedge/edge/pkg/edgehub/task" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) // EdgeHub defines edgehub object structure diff --git a/edge/pkg/edgehub/edgehub_test.go b/edge/pkg/edgehub/edgehub_test.go index 9361455ff..a4a9cadee 100644 --- a/edge/pkg/edgehub/edgehub_test.go +++ b/edge/pkg/edgehub/edgehub_test.go @@ -19,8 +19,8 @@ package edgehub import ( "testing" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/edge/pkg/edgehub/config" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) func TestGetCertSyncChannel(t *testing.T) { diff --git a/edge/pkg/edgehub/task/taskexecutor/image_prepull.go b/edge/pkg/edgehub/task/taskexecutor/image_prepull.go index 3fdfb7e35..d3eca2e5a 100644 --- a/edge/pkg/edgehub/task/taskexecutor/image_prepull.go +++ b/edge/pkg/edgehub/task/taskexecutor/image_prepull.go @@ -25,6 +25,8 @@ import ( runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/common/types" commontypes "github.com/kubeedge/kubeedge/common/types" @@ -32,8 +34,6 @@ import ( edgeutil "github.com/kubeedge/kubeedge/edge/pkg/common/util" metaclient "github.com/kubeedge/kubeedge/edge/pkg/metamanager/client" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/edge/pkg/edgehub/task/taskexecutor/node_backup.go b/edge/pkg/edgehub/task/taskexecutor/node_backup.go index 3661b992a..95b7c2c98 100644 --- a/edge/pkg/edgehub/task/taskexecutor/node_backup.go +++ b/edge/pkg/edgehub/task/taskexecutor/node_backup.go @@ -24,11 +24,11 @@ import ( "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/common/constants" commontypes "github.com/kubeedge/kubeedge/common/types" "github.com/kubeedge/kubeedge/edge/cmd/edgecore/app/options" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" "github.com/kubeedge/kubeedge/pkg/version" ) diff --git a/edge/pkg/edgehub/task/taskexecutor/node_rollback.go b/edge/pkg/edgehub/task/taskexecutor/node_rollback.go index 85233dc45..98a65dea8 100644 --- a/edge/pkg/edgehub/task/taskexecutor/node_rollback.go +++ b/edge/pkg/edgehub/task/taskexecutor/node_rollback.go @@ -22,8 +22,8 @@ import ( "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" commontypes "github.com/kubeedge/kubeedge/common/types" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" "github.com/kubeedge/kubeedge/pkg/version" ) diff --git a/edge/pkg/edgehub/task/taskexecutor/node_upgrade.go b/edge/pkg/edgehub/task/taskexecutor/node_upgrade.go index 54954f776..92c784713 100644 --- a/edge/pkg/edgehub/task/taskexecutor/node_upgrade.go +++ b/edge/pkg/edgehub/task/taskexecutor/node_upgrade.go @@ -24,11 +24,11 @@ import ( "k8s.io/klog/v2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/common/types" commontypes "github.com/kubeedge/kubeedge/common/types" "github.com/kubeedge/kubeedge/edge/cmd/edgecore/app/options" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" "github.com/kubeedge/kubeedge/pkg/version" ) diff --git a/edge/pkg/edgehub/task/taskexecutor/pre_check.go b/edge/pkg/edgehub/task/taskexecutor/pre_check.go index da68a2077..469d1c432 100644 --- a/edge/pkg/edgehub/task/taskexecutor/pre_check.go +++ b/edge/pkg/edgehub/task/taskexecutor/pre_check.go @@ -25,8 +25,8 @@ import ( "github.com/shirou/gopsutil/disk" "github.com/shirou/gopsutil/v3/mem" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/common/types" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/edge/pkg/edgehub/task/taskexecutor/task_executor.go b/edge/pkg/edgehub/task/taskexecutor/task_executor.go index 03f4f0811..ebbe33e86 100644 --- a/edge/pkg/edgehub/task/taskexecutor/task_executor.go +++ b/edge/pkg/edgehub/task/taskexecutor/task_executor.go @@ -21,8 +21,8 @@ import ( "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/common/types" - "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/edge/pkg/edgestream/config/config.go b/edge/pkg/edgestream/config/config.go index 6a0bd9769..4015924dc 100644 --- a/edge/pkg/edgestream/config/config.go +++ b/edge/pkg/edgestream/config/config.go @@ -19,7 +19,7 @@ package config import ( "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) var Config Configure diff --git a/edge/pkg/edgestream/edgestream.go b/edge/pkg/edgestream/edgestream.go index 64f54ed5d..052b8bfda 100644 --- a/edge/pkg/edgestream/edgestream.go +++ b/edge/pkg/edgestream/edgestream.go @@ -26,12 +26,12 @@ import ( "github.com/gorilla/websocket" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/edge/pkg/common/modules" "github.com/kubeedge/kubeedge/edge/pkg/edgehub" "github.com/kubeedge/kubeedge/edge/pkg/edgestream/config" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/pkg/stream" "github.com/kubeedge/kubeedge/pkg/util" ) diff --git a/edge/pkg/eventbus/common/util/common_test.go b/edge/pkg/eventbus/common/util/common_test.go index 7a5be874a..7381bb01b 100644 --- a/edge/pkg/eventbus/common/util/common_test.go +++ b/edge/pkg/eventbus/common/util/common_test.go @@ -29,8 +29,8 @@ import ( MQTT "github.com/eclipse/paho.mqtt.golang" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" eventconfig "github.com/kubeedge/kubeedge/edge/pkg/eventbus/config" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) var clientOptions = MQTT.NewClientOptions() diff --git a/edge/pkg/eventbus/config/config.go b/edge/pkg/eventbus/config/config.go index 2f5cdc833..959bd38a2 100644 --- a/edge/pkg/eventbus/config/config.go +++ b/edge/pkg/eventbus/config/config.go @@ -3,7 +3,7 @@ package config import ( "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) var Config Configure diff --git a/edge/pkg/eventbus/eventbus.go b/edge/pkg/eventbus/eventbus.go index f402c60aa..229ce921e 100644 --- a/edge/pkg/eventbus/eventbus.go +++ b/edge/pkg/eventbus/eventbus.go @@ -8,6 +8,7 @@ import ( "github.com/beego/beego/v2/client/orm" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" messagepkg "github.com/kubeedge/kubeedge/edge/pkg/common/message" @@ -16,7 +17,6 @@ import ( eventconfig "github.com/kubeedge/kubeedge/edge/pkg/eventbus/config" "github.com/kubeedge/kubeedge/edge/pkg/eventbus/dao" mqttBus "github.com/kubeedge/kubeedge/edge/pkg/eventbus/mqtt" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) var mqttServer *mqttBus.Server diff --git a/edge/pkg/metamanager/client/serviceaccount.go b/edge/pkg/metamanager/client/serviceaccount.go index df861cb63..b6086f7ec 100644 --- a/edge/pkg/metamanager/client/serviceaccount.go +++ b/edge/pkg/metamanager/client/serviceaccount.go @@ -10,11 +10,11 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/klog/v2" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/edge/pkg/common/message" "github.com/kubeedge/kubeedge/edge/pkg/common/modules" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" ) // ServiceAccountTokenGetter is interface to get client service account token diff --git a/edge/pkg/metamanager/client/serviceaccountaccess.go b/edge/pkg/metamanager/client/serviceaccountaccess.go index 8dbcf3fa9..1dcc555a4 100644 --- a/edge/pkg/metamanager/client/serviceaccountaccess.go +++ b/edge/pkg/metamanager/client/serviceaccountaccess.go @@ -13,9 +13,9 @@ import ( "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/serviceaccount" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" ) const ( diff --git a/edge/pkg/metamanager/config/config.go b/edge/pkg/metamanager/config/config.go index 08da7fee8..ca235982f 100644 --- a/edge/pkg/metamanager/config/config.go +++ b/edge/pkg/metamanager/config/config.go @@ -3,8 +3,8 @@ package config import ( "sync" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" metaserverconfig "github.com/kubeedge/kubeedge/edge/pkg/metamanager/metaserver/config" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) var Config Configure diff --git a/edge/pkg/metamanager/metamanager.go b/edge/pkg/metamanager/metamanager.go index cd0c7c41b..68b956665 100644 --- a/edge/pkg/metamanager/metamanager.go +++ b/edge/pkg/metamanager/metamanager.go @@ -4,6 +4,7 @@ import ( "github.com/beego/beego/v2/client/orm" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/kubeedge/edge/pkg/common/modules" @@ -13,7 +14,6 @@ import ( "github.com/kubeedge/kubeedge/edge/pkg/metamanager/metaserver" metaserverconfig "github.com/kubeedge/kubeedge/edge/pkg/metamanager/metaserver/config" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/metaserver/kubernetes/storage/sqlite/imitator" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) type metaManager struct { diff --git a/edge/pkg/metamanager/metaserver/config/config.go b/edge/pkg/metamanager/metaserver/config/config.go index e9d47c340..615c08a9c 100644 --- a/edge/pkg/metamanager/metaserver/config/config.go +++ b/edge/pkg/metamanager/metaserver/config/config.go @@ -3,8 +3,8 @@ package config import ( "sync" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" edgehubconfig "github.com/kubeedge/kubeedge/edge/pkg/edgehub/config" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) var Config Configure diff --git a/edge/pkg/metamanager/process_test.go b/edge/pkg/metamanager/process_test.go index d3d60f8a1..91acfb746 100644 --- a/edge/pkg/metamanager/process_test.go +++ b/edge/pkg/metamanager/process_test.go @@ -28,6 +28,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/uuid" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/common" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" @@ -39,7 +40,6 @@ import ( "github.com/kubeedge/kubeedge/edge/pkg/common/modules" metaManagerConfig "github.com/kubeedge/kubeedge/edge/pkg/metamanager/config" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) const ( diff --git a/edge/pkg/servicebus/config/config.go b/edge/pkg/servicebus/config/config.go index 870c1f520..62f3cde80 100644 --- a/edge/pkg/servicebus/config/config.go +++ b/edge/pkg/servicebus/config/config.go @@ -3,7 +3,7 @@ package config import ( "sync" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) var Config Configure diff --git a/edge/pkg/servicebus/servicebus.go b/edge/pkg/servicebus/servicebus.go index 9fc0ca560..9d6fc9d68 100644 --- a/edge/pkg/servicebus/servicebus.go +++ b/edge/pkg/servicebus/servicebus.go @@ -14,6 +14,7 @@ import ( utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" beehiveModel "github.com/kubeedge/beehive/pkg/core/model" @@ -23,7 +24,6 @@ import ( servicebusConfig "github.com/kubeedge/kubeedge/edge/pkg/servicebus/config" "github.com/kubeedge/kubeedge/edge/pkg/servicebus/dao" "github.com/kubeedge/kubeedge/edge/pkg/servicebus/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) var ( diff --git a/edge/test/integration/metaserver/metaserver_suite_test.go b/edge/test/integration/metaserver/metaserver_suite_test.go index a73ec3c14..d18f60238 100644 --- a/edge/test/integration/metaserver/metaserver_suite_test.go +++ b/edge/test/integration/metaserver/metaserver_suite_test.go @@ -6,10 +6,10 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" + edgeconfig "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/edge/test/integration/utils" "github.com/kubeedge/kubeedge/edge/test/integration/utils/common" "github.com/kubeedge/kubeedge/edge/test/integration/utils/edge" - edgeconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" kefeatures "github.com/kubeedge/kubeedge/pkg/features" "github.com/kubeedge/kubeedge/tests/integration/framework" ) diff --git a/edge/test/integration/utils/test_setup.go b/edge/test/integration/utils/test_setup.go index 1d89ec713..ef993759e 100644 --- a/edge/test/integration/utils/test_setup.go +++ b/edge/test/integration/utils/test_setup.go @@ -9,7 +9,7 @@ import ( "sigs.k8s.io/yaml" - edgecore "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + edgecore "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) const ( diff --git a/edge/test/test.go b/edge/test/test.go index 2e69169ab..53df5ce78 100644 --- a/edge/test/test.go +++ b/edge/test/test.go @@ -9,12 +9,12 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core" beehiveContext "github.com/kubeedge/beehive/pkg/core/context" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/edge/pkg/common/message" "github.com/kubeedge/kubeedge/edge/pkg/common/modules" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) const ( @@ -18,6 +18,7 @@ require ( github.com/golang/protobuf v1.5.4 github.com/google/uuid v1.6.0 github.com/gorilla/websocket v1.5.0 + github.com/kubeedge/api v0.0.0 github.com/kubeedge/beehive v0.0.0 github.com/kubeedge/viaduct v0.0.0 github.com/kubernetes-csi/csi-lib-utils v0.6.1 @@ -44,7 +45,7 @@ require ( k8s.io/cri-api v0.29.6 k8s.io/klog/v2 v2.110.1 k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 - k8s.io/kubelet v0.29.6 + k8s.io/kubelet v0.29.6 // indirect k8s.io/kubernetes v1.29.6 k8s.io/mount-utils v0.29.6 k8s.io/utils v0.0.0-20230726121419-3b25d923346b @@ -290,6 +291,7 @@ replace ( github.com/containerd/containerd => github.com/containerd/containerd v1.5.18 github.com/emicklei/go-restful/v3 => github.com/emicklei/go-restful/v3 v3.7.5-0.20220308211933-7c971ca4d0fd github.com/gopherjs/gopherjs v0.0.0 => github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect + github.com/kubeedge/api => ./staging/src/github.com/kubeedge/api github.com/kubeedge/beehive => ./staging/src/github.com/kubeedge/beehive github.com/kubeedge/viaduct => ./staging/src/github.com/kubeedge/viaduct github.com/spf13/viper => github.com/spf13/viper v1.8.1 @@ -1083,8 +1083,9 @@ github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSw github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:rZfgFAXFS/z/lEd6LJmf9HVZ1LkgYiHx5pHhV5DR16M= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible h1:7ZaBxOI7TMoYBfyA3cQHErNNyAWIKUMIwqxEtgHOs5c= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.5+incompatible h1:/l4kBbb4/vGSsdtB5nUe8L7B9mImVMaBPw9L/0TBHU8= +github.com/form3tech-oss/jwt-go v3.2.5+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/foxcpp/go-mockdns v1.0.0 h1:7jBqxd3WDWwi/6WhDvacvH1XsN3rOLXyHM1uhvIx6FI= github.com/foxcpp/go-mockdns v1.0.0/go.mod h1:lgRN6+KxQBawyIghpnl5CezHFGS9VLzvtVlwxvzXTQ4= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= diff --git a/hack/generate-crds.sh b/hack/generate-crds.sh index bc29ee1f4..91adfb212 100755 --- a/hack/generate-crds.sh +++ b/hack/generate-crds.sh @@ -70,7 +70,9 @@ function :pre:install: { function :gen:crds: { # generate crds + cd staging/src/github.com/kubeedge/api/apis $(which controller-gen) paths="./..." ${_crdOptions} output:crd:artifacts:config=${_tmpdir} + cd - } # remove the last element if it ends with "s", i.e: devicemodels -> devicemodel diff --git a/hack/generate-dmi-proto.sh b/hack/generate-dmi-proto.sh index 7ed709c46..ad933c697 100755 --- a/hack/generate-dmi-proto.sh +++ b/hack/generate-dmi-proto.sh @@ -17,7 +17,7 @@ set -o errexit set -o nounset set -o pipefail -DMI_DIR=pkg/apis/dmi +DMI_DIR=staging/src/github.com/kubeedge/api/apis/dmi DMI_VERSION=v1beta1 DMI_API_FILE=api.proto DMI_API_GO_FILE=api.pb.go diff --git a/hack/lib/util.sh b/hack/lib/util.sh index d49d012e2..56e0044e0 100755 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -82,7 +82,7 @@ function kube::util::md5() { function util:create_gopath_tree() { local repo_root=$1 local go_path=$2 - local go_pkg_dir="${go_path}/src/github.com/kubeedge/kubeedge" + local go_pkg_dir="${go_path}/src/github.com/kubeedge/api" go_pkg_dir=$(dirname "${go_pkg_dir}") mkdir -p "${go_pkg_dir}" if [[ ! -e "${go_pkg_dir}" || "$(readlink "${go_pkg_dir}")" != "${repo_root}" ]]; then diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 1814f7346..5a500db39 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -31,10 +31,10 @@ trap "cleanup" EXIT SIGINT cleanup source "${KUBEEDGE_ROOT}"/hack/lib/util.sh -util:create_gopath_tree "${KUBEEDGE_ROOT}" "${go_path}" +util:create_gopath_tree "${KUBEEDGE_ROOT}/staging/src/github.com/kubeedge/api" "${go_path}" export GOPATH="${go_path}" ${KUBEEDGE_ROOT}/hack/generate-groups.sh "deepcopy,client,informer,lister" \ -github.com/kubeedge/kubeedge/pkg/client github.com/kubeedge/kubeedge/pkg/apis \ +github.com/kubeedge/api/client github.com/kubeedge/api/apis \ "devices:v1beta1 reliablesyncs:v1alpha1 rules:v1 apps:v1alpha1 operations:v1alpha1 policy:v1alpha1" \ --go-header-file ${KUBEEDGE_ROOT}/hack/boilerplate/boilerplate.txt diff --git a/hack/verify-codegen.sh b/hack/verify-codegen.sh index a9adc1979..2ed55b8b1 100755 --- a/hack/verify-codegen.sh +++ b/hack/verify-codegen.sh @@ -20,8 +20,8 @@ set -o pipefail KUBEEDGE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" -DIFFROOT="${KUBEEDGE_ROOT}/pkg" -TMP_DIFFROOT="${KUBEEDGE_ROOT}/_tmp/pkg" +DIFFROOT="${KUBEEDGE_ROOT}/staging/src/github.com/kubeedge/api" +TMP_DIFFROOT="${KUBEEDGE_ROOT}/_tmp/api" _tmp="${KUBEEDGE_ROOT}/_tmp" cleanup() { diff --git a/keadm/cmd/keadm/app/cmd/debug/collect.go b/keadm/cmd/keadm/app/cmd/debug/collect.go index 74a2d6768..f2f45a916 100644 --- a/keadm/cmd/keadm/app/cmd/debug/collect.go +++ b/keadm/cmd/keadm/app/cmd/debug/collect.go @@ -8,10 +8,10 @@ import ( "github.com/spf13/cobra" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) var ( diff --git a/keadm/cmd/keadm/app/cmd/debug/diagnose.go b/keadm/cmd/keadm/app/cmd/debug/diagnose.go index ce5cf2e56..c4c9b412e 100644 --- a/keadm/cmd/keadm/app/cmd/debug/diagnose.go +++ b/keadm/cmd/keadm/app/cmd/debug/diagnose.go @@ -7,11 +7,11 @@ import ( "github.com/spf13/cobra" v1 "k8s.io/api/core/v1" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/common/types" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) var ( diff --git a/keadm/cmd/keadm/app/cmd/debug/get.go b/keadm/cmd/keadm/app/cmd/debug/get.go index 237b1eb14..c09b4fc85 100644 --- a/keadm/cmd/keadm/app/cmd/debug/get.go +++ b/keadm/cmd/keadm/app/cmd/debug/get.go @@ -34,12 +34,12 @@ import ( printersinternal "k8s.io/kubernetes/pkg/printers/internalversion" "k8s.io/kubernetes/pkg/printers/storage" + edgecoreCfg "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/beehive/pkg/core/model" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/edge/pkg/common/dbm" "github.com/kubeedge/kubeedge/edge/pkg/common/util" "github.com/kubeedge/kubeedge/edge/pkg/metamanager/dao" - edgecoreCfg "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" ) const ( diff --git a/keadm/cmd/keadm/app/cmd/debug/get_test.go b/keadm/cmd/keadm/app/cmd/debug/get_test.go index e99668a41..88801c75e 100644 --- a/keadm/cmd/keadm/app/cmd/debug/get_test.go +++ b/keadm/cmd/keadm/app/cmd/debug/get_test.go @@ -20,7 +20,7 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - edgecoreCfg "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + edgecoreCfg "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) func TestNewCmdDebugGet(t *testing.T) { diff --git a/keadm/cmd/keadm/app/cmd/edge/join.go b/keadm/cmd/keadm/app/cmd/edge/join.go index ca062daac..b90cec32d 100644 --- a/keadm/cmd/keadm/app/cmd/edge/join.go +++ b/keadm/cmd/keadm/app/cmd/edge/join.go @@ -23,10 +23,10 @@ import ( "github.com/spf13/cobra" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/viaduct/pkg/api" ) diff --git a/keadm/cmd/keadm/app/cmd/edge/join_others.go b/keadm/cmd/keadm/app/cmd/edge/join_others.go index da8fb13f9..59040dcca 100644 --- a/keadm/cmd/keadm/app/cmd/edge/join_others.go +++ b/keadm/cmd/keadm/app/cmd/edge/join_others.go @@ -33,11 +33,11 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/yaml" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2/validation" pkgutil "github.com/kubeedge/kubeedge/pkg/util" "github.com/kubeedge/viaduct/pkg/api" ) diff --git a/keadm/cmd/keadm/app/cmd/edge/join_windows.go b/keadm/cmd/keadm/app/cmd/edge/join_windows.go index 054e0ffe4..094e5bd27 100644 --- a/keadm/cmd/keadm/app/cmd/edge/join_windows.go +++ b/keadm/cmd/keadm/app/cmd/edge/join_windows.go @@ -35,11 +35,11 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/yaml" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2/validation" pkgutil "github.com/kubeedge/kubeedge/pkg/util" "github.com/kubeedge/viaduct/pkg/api" ) diff --git a/keadm/cmd/keadm/app/cmd/edge/rollback.go b/keadm/cmd/keadm/app/cmd/edge/rollback.go index 0423e9193..9b3d7b7c6 100644 --- a/keadm/cmd/keadm/app/cmd/edge/rollback.go +++ b/keadm/cmd/keadm/app/cmd/edge/rollback.go @@ -24,10 +24,10 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/yaml" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" "github.com/kubeedge/kubeedge/pkg/version" ) diff --git a/keadm/cmd/keadm/app/cmd/edge/upgrade.go b/keadm/cmd/keadm/app/cmd/edge/upgrade.go index ebe92f984..46e95c862 100644 --- a/keadm/cmd/keadm/app/cmd/edge/upgrade.go +++ b/keadm/cmd/keadm/app/cmd/edge/upgrade.go @@ -26,11 +26,11 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/yaml" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/common/constants" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" "github.com/kubeedge/kubeedge/pkg/util/fsm" ) diff --git a/keadm/cmd/keadm/app/cmd/util/cloudinstaller.go b/keadm/cmd/keadm/app/cmd/util/cloudinstaller.go index 93e6b5b94..efe7d7ab4 100644 --- a/keadm/cmd/keadm/app/cmd/util/cloudinstaller.go +++ b/keadm/cmd/keadm/app/cmd/util/cloudinstaller.go @@ -5,9 +5,9 @@ import ( "os" "strings" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" "github.com/kubeedge/kubeedge/common/constants" types "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" ) // KubeCloudInstTool embeds Common struct diff --git a/keadm/cmd/keadm/app/cmd/util/common.go b/keadm/cmd/keadm/app/cmd/util/common.go index a5065484e..5944f62e9 100644 --- a/keadm/cmd/keadm/app/cmd/util/common.go +++ b/keadm/cmd/keadm/app/cmd/util/common.go @@ -44,11 +44,10 @@ import ( "k8s.io/client-go/tools/clientcmd" "k8s.io/klog/v2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/common/constants" commontypes "github.com/kubeedge/kubeedge/common/types" types "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" - "github.com/kubeedge/kubeedge/pkg/apis" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/pkg/util/fsm" pkgversion "github.com/kubeedge/kubeedge/pkg/version" ) @@ -654,7 +653,7 @@ func ReportTaskResult(config *v1alpha2.EdgeCoreConfig, taskType, taskID string, NodeName: config.Modules.Edged.HostnameOverride, Event: event.Type, Action: event.Action, - Time: time.Now().Format(apis.ISO8601UTC), + Time: time.Now().Format(constants.ISO8601UTC), Reason: event.Msg, } edgeHub := config.Modules.EdgeHub diff --git a/keadm/cmd/keadm/app/cmd/util/edgecoreinstaller.go b/keadm/cmd/keadm/app/cmd/util/edgecoreinstaller.go index 842cda521..f2abfd6b6 100755 --- a/keadm/cmd/keadm/app/cmd/util/edgecoreinstaller.go +++ b/keadm/cmd/keadm/app/cmd/util/edgecoreinstaller.go @@ -24,10 +24,10 @@ import ( "strconv" "strings" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation" "github.com/kubeedge/kubeedge/common/constants" types "github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2/validation" "github.com/kubeedge/kubeedge/pkg/util" "github.com/kubeedge/viaduct/pkg/api" ) diff --git a/keadm/cmd/keadm/app/cmd/util/image.go b/keadm/cmd/keadm/app/cmd/util/image.go index aa664d368..16aea2f7b 100644 --- a/keadm/cmd/keadm/app/cmd/util/image.go +++ b/keadm/cmd/keadm/app/cmd/util/image.go @@ -30,8 +30,8 @@ import ( "k8s.io/kubernetes/pkg/kubelet/cm" "k8s.io/kubernetes/pkg/kubelet/cri/remote" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/common/constants" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/pkg/image" ) diff --git a/keadm/cmd/keadm/app/cmd/util/set_test.go b/keadm/cmd/keadm/app/cmd/util/set_test.go index 9ae26dee9..e93fb823e 100644 --- a/keadm/cmd/keadm/app/cmd/util/set_test.go +++ b/keadm/cmd/keadm/app/cmd/util/set_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) func TestParseSetByComma(t *testing.T) { diff --git a/pkg/apis/common.go b/pkg/apis/common.go deleted file mode 100644 index 6f556a651..000000000 --- a/pkg/apis/common.go +++ /dev/null @@ -1,3 +0,0 @@ -package apis - -const ISO8601UTC = "2006-01-02T15:04:05Z" diff --git a/pkg/util/fsm/fsm.go b/pkg/util/fsm/fsm.go index e2ca35bda..d908d8ab3 100644 --- a/pkg/util/fsm/fsm.go +++ b/pkg/util/fsm/fsm.go @@ -21,7 +21,7 @@ import ( "k8s.io/klog/v2" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" ) type FSM struct { diff --git a/apidoc/generated/openapi/zz_generated.openapi.go b/staging/src/github.com/kubeedge/api/apidoc/generated/openapi/zz_generated.openapi.go index 1005f8f04..0f606e456 100644 --- a/apidoc/generated/openapi/zz_generated.openapi.go +++ b/staging/src/github.com/kubeedge/api/apidoc/generated/openapi/zz_generated.openapi.go @@ -1,3 +1,4 @@ + /* Copyright The KubeEdge Authors. @@ -29,408 +30,412 @@ import ( func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { return map[string]common.OpenAPIDefinition{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.CommandArgsOverrider": schema_pkg_apis_apps_v1alpha1_CommandArgsOverrider(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplication": schema_pkg_apis_apps_v1alpha1_EdgeApplication(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplicationList": schema_pkg_apis_apps_v1alpha1_EdgeApplicationList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplicationSpec": schema_pkg_apis_apps_v1alpha1_EdgeApplicationSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplicationStatus": schema_pkg_apis_apps_v1alpha1_EdgeApplicationStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EnvOverrider": schema_pkg_apis_apps_v1alpha1_EnvOverrider(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ImageOverrider": schema_pkg_apis_apps_v1alpha1_ImageOverrider(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ImagePredicate": schema_pkg_apis_apps_v1alpha1_ImagePredicate(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.Manifest": schema_pkg_apis_apps_v1alpha1_Manifest(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ManifestStatus": schema_pkg_apis_apps_v1alpha1_ManifestStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroup": schema_pkg_apis_apps_v1alpha1_NodeGroup(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroupList": schema_pkg_apis_apps_v1alpha1_NodeGroupList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroupSpec": schema_pkg_apis_apps_v1alpha1_NodeGroupSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroupStatus": schema_pkg_apis_apps_v1alpha1_NodeGroupStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeStatus": schema_pkg_apis_apps_v1alpha1_NodeStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.Overriders": schema_pkg_apis_apps_v1alpha1_Overriders(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourceIdentifier": schema_pkg_apis_apps_v1alpha1_ResourceIdentifier(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourceTemplate": schema_pkg_apis_apps_v1alpha1_ResourceTemplate(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourcesOverrider": schema_pkg_apis_apps_v1alpha1_ResourcesOverrider(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.TargetNodeGroup": schema_pkg_apis_apps_v1alpha1_TargetNodeGroup(ref), - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.WorkloadScope": schema_pkg_apis_apps_v1alpha1_WorkloadScope(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.BluetoothOperations": schema_pkg_apis_devices_v1alpha2_BluetoothOperations(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.BluetoothReadConverter": schema_pkg_apis_devices_v1alpha2_BluetoothReadConverter(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue": schema_pkg_apis_devices_v1alpha2_CustomizedValue(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DataProperty": schema_pkg_apis_devices_v1alpha2_DataProperty(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.Device": schema_pkg_apis_devices_v1alpha2_Device(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceData": schema_pkg_apis_devices_v1alpha2_DeviceData(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceList": schema_pkg_apis_devices_v1alpha2_DeviceList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceModel": schema_pkg_apis_devices_v1alpha2_DeviceModel(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceModelList": schema_pkg_apis_devices_v1alpha2_DeviceModelList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceModelSpec": schema_pkg_apis_devices_v1alpha2_DeviceModelSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceProperty": schema_pkg_apis_devices_v1alpha2_DeviceProperty(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DevicePropertyVisitor": schema_pkg_apis_devices_v1alpha2_DevicePropertyVisitor(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceSpec": schema_pkg_apis_devices_v1alpha2_DeviceSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceStatus": schema_pkg_apis_devices_v1alpha2_DeviceStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyType": schema_pkg_apis_devices_v1alpha2_PropertyType(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeBoolean": schema_pkg_apis_devices_v1alpha2_PropertyTypeBoolean(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeBytes": schema_pkg_apis_devices_v1alpha2_PropertyTypeBytes(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeDouble": schema_pkg_apis_devices_v1alpha2_PropertyTypeDouble(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeFloat": schema_pkg_apis_devices_v1alpha2_PropertyTypeFloat(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeInt64": schema_pkg_apis_devices_v1alpha2_PropertyTypeInt64(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeString": schema_pkg_apis_devices_v1alpha2_PropertyTypeString(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfig": schema_pkg_apis_devices_v1alpha2_ProtocolConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigBluetooth": schema_pkg_apis_devices_v1alpha2_ProtocolConfigBluetooth(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCOM": schema_pkg_apis_devices_v1alpha2_ProtocolConfigCOM(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCommon": schema_pkg_apis_devices_v1alpha2_ProtocolConfigCommon(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCustomized": schema_pkg_apis_devices_v1alpha2_ProtocolConfigCustomized(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigModbus": schema_pkg_apis_devices_v1alpha2_ProtocolConfigModbus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigOpcUA": schema_pkg_apis_devices_v1alpha2_ProtocolConfigOpcUA(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigTCP": schema_pkg_apis_devices_v1alpha2_ProtocolConfigTCP(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.Twin": schema_pkg_apis_devices_v1alpha2_Twin(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.TwinProperty": schema_pkg_apis_devices_v1alpha2_TwinProperty(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfig": schema_pkg_apis_devices_v1alpha2_VisitorConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigBluetooth": schema_pkg_apis_devices_v1alpha2_VisitorConfigBluetooth(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigCustomized": schema_pkg_apis_devices_v1alpha2_VisitorConfigCustomized(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigModbus": schema_pkg_apis_devices_v1alpha2_VisitorConfigModbus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigOPCUA": schema_pkg_apis_devices_v1alpha2_VisitorConfigOPCUA(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.CustomizedValue": schema_pkg_apis_devices_v1beta1_CustomizedValue(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodConfig": schema_pkg_apis_devices_v1beta1_DBMethodConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodInfluxdb2": schema_pkg_apis_devices_v1beta1_DBMethodInfluxdb2(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodMySQL": schema_pkg_apis_devices_v1beta1_DBMethodMySQL(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodRedis": schema_pkg_apis_devices_v1beta1_DBMethodRedis(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodTDEngine": schema_pkg_apis_devices_v1beta1_DBMethodTDEngine(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Device": schema_pkg_apis_devices_v1beta1_Device(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceList": schema_pkg_apis_devices_v1beta1_DeviceList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceModel": schema_pkg_apis_devices_v1beta1_DeviceModel(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceModelList": schema_pkg_apis_devices_v1beta1_DeviceModelList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceModelSpec": schema_pkg_apis_devices_v1beta1_DeviceModelSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceProperty": schema_pkg_apis_devices_v1beta1_DeviceProperty(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceSpec": schema_pkg_apis_devices_v1beta1_DeviceSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceStatus": schema_pkg_apis_devices_v1beta1_DeviceStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Influxdb2ClientConfig": schema_pkg_apis_devices_v1beta1_Influxdb2ClientConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Influxdb2DataConfig": schema_pkg_apis_devices_v1beta1_Influxdb2DataConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.ModelProperty": schema_pkg_apis_devices_v1beta1_ModelProperty(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.MySQLClientConfig": schema_pkg_apis_devices_v1beta1_MySQLClientConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.ProtocolConfig": schema_pkg_apis_devices_v1beta1_ProtocolConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethod": schema_pkg_apis_devices_v1beta1_PushMethod(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethodHTTP": schema_pkg_apis_devices_v1beta1_PushMethodHTTP(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethodMQTT": schema_pkg_apis_devices_v1beta1_PushMethodMQTT(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.RedisClientConfig": schema_pkg_apis_devices_v1beta1_RedisClientConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TDEngineClientConfig": schema_pkg_apis_devices_v1beta1_TDEngineClientConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Twin": schema_pkg_apis_devices_v1beta1_Twin(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TwinProperty": schema_pkg_apis_devices_v1beta1_TwinProperty(ref), - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.VisitorConfig": schema_pkg_apis_devices_v1beta1_VisitorConfig(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJob": schema_pkg_apis_operations_v1alpha1_ImagePrePullJob(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJobList": schema_pkg_apis_operations_v1alpha1_ImagePrePullJobList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJobSpec": schema_pkg_apis_operations_v1alpha1_ImagePrePullJobSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJobStatus": schema_pkg_apis_operations_v1alpha1_ImagePrePullJobStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullStatus": schema_pkg_apis_operations_v1alpha1_ImagePrePullStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullTemplate": schema_pkg_apis_operations_v1alpha1_ImagePrePullTemplate(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImageStatus": schema_pkg_apis_operations_v1alpha1_ImageStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJob": schema_pkg_apis_operations_v1alpha1_NodeUpgradeJob(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJobList": schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJobSpec": schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJobStatus": schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.TaskStatus": schema_pkg_apis_operations_v1alpha1_TaskStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessClusterRoleBinding": schema_pkg_apis_policy_v1alpha1_AccessClusterRoleBinding(ref), - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessRoleBinding": schema_pkg_apis_policy_v1alpha1_AccessRoleBinding(ref), - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessSpec": schema_pkg_apis_policy_v1alpha1_AccessSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessStatus": schema_pkg_apis_policy_v1alpha1_AccessStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.ServiceAccountAccess": schema_pkg_apis_policy_v1alpha1_ServiceAccountAccess(ref), - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.ServiceAccountAccessList": schema_pkg_apis_policy_v1alpha1_ServiceAccountAccessList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ClusterObjectSync": schema_pkg_apis_reliablesyncs_v1alpha1_ClusterObjectSync(ref), - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ClusterObjectSyncList": schema_pkg_apis_reliablesyncs_v1alpha1_ClusterObjectSyncList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSync": schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSync(ref), - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncList": schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncSpec": schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncStatus": schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncStatus(ref), - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.Rule": schema_pkg_apis_rules_v1_Rule(ref), - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleEndpoint": schema_pkg_apis_rules_v1_RuleEndpoint(ref), - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleEndpointList": schema_pkg_apis_rules_v1_RuleEndpointList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleEndpointSpec": schema_pkg_apis_rules_v1_RuleEndpointSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleList": schema_pkg_apis_rules_v1_RuleList(ref), - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleSpec": schema_pkg_apis_rules_v1_RuleSpec(ref), - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleStatus": schema_pkg_apis_rules_v1_RuleStatus(ref), - "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource": schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref), - "k8s.io/api/core/v1.Affinity": schema_k8sio_api_core_v1_Affinity(ref), - "k8s.io/api/core/v1.AttachedVolume": schema_k8sio_api_core_v1_AttachedVolume(ref), - "k8s.io/api/core/v1.AvoidPods": schema_k8sio_api_core_v1_AvoidPods(ref), - "k8s.io/api/core/v1.AzureDiskVolumeSource": schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref), - "k8s.io/api/core/v1.AzureFilePersistentVolumeSource": schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref), - "k8s.io/api/core/v1.AzureFileVolumeSource": schema_k8sio_api_core_v1_AzureFileVolumeSource(ref), - "k8s.io/api/core/v1.Binding": schema_k8sio_api_core_v1_Binding(ref), - "k8s.io/api/core/v1.CSIPersistentVolumeSource": schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref), - "k8s.io/api/core/v1.CSIVolumeSource": schema_k8sio_api_core_v1_CSIVolumeSource(ref), - "k8s.io/api/core/v1.Capabilities": schema_k8sio_api_core_v1_Capabilities(ref), - "k8s.io/api/core/v1.CephFSPersistentVolumeSource": schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref), - "k8s.io/api/core/v1.CephFSVolumeSource": schema_k8sio_api_core_v1_CephFSVolumeSource(ref), - "k8s.io/api/core/v1.CinderPersistentVolumeSource": schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref), - "k8s.io/api/core/v1.CinderVolumeSource": schema_k8sio_api_core_v1_CinderVolumeSource(ref), - "k8s.io/api/core/v1.ClaimSource": schema_k8sio_api_core_v1_ClaimSource(ref), - "k8s.io/api/core/v1.ClientIPConfig": schema_k8sio_api_core_v1_ClientIPConfig(ref), - "k8s.io/api/core/v1.ComponentCondition": schema_k8sio_api_core_v1_ComponentCondition(ref), - "k8s.io/api/core/v1.ComponentStatus": schema_k8sio_api_core_v1_ComponentStatus(ref), - "k8s.io/api/core/v1.ComponentStatusList": schema_k8sio_api_core_v1_ComponentStatusList(ref), - "k8s.io/api/core/v1.ConfigMap": schema_k8sio_api_core_v1_ConfigMap(ref), - "k8s.io/api/core/v1.ConfigMapEnvSource": schema_k8sio_api_core_v1_ConfigMapEnvSource(ref), - "k8s.io/api/core/v1.ConfigMapKeySelector": schema_k8sio_api_core_v1_ConfigMapKeySelector(ref), - "k8s.io/api/core/v1.ConfigMapList": schema_k8sio_api_core_v1_ConfigMapList(ref), - "k8s.io/api/core/v1.ConfigMapNodeConfigSource": schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref), - "k8s.io/api/core/v1.ConfigMapProjection": schema_k8sio_api_core_v1_ConfigMapProjection(ref), - "k8s.io/api/core/v1.ConfigMapVolumeSource": schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref), - "k8s.io/api/core/v1.Container": schema_k8sio_api_core_v1_Container(ref), - "k8s.io/api/core/v1.ContainerImage": schema_k8sio_api_core_v1_ContainerImage(ref), - "k8s.io/api/core/v1.ContainerPort": schema_k8sio_api_core_v1_ContainerPort(ref), - "k8s.io/api/core/v1.ContainerResizePolicy": schema_k8sio_api_core_v1_ContainerResizePolicy(ref), - "k8s.io/api/core/v1.ContainerState": schema_k8sio_api_core_v1_ContainerState(ref), - "k8s.io/api/core/v1.ContainerStateRunning": schema_k8sio_api_core_v1_ContainerStateRunning(ref), - "k8s.io/api/core/v1.ContainerStateTerminated": schema_k8sio_api_core_v1_ContainerStateTerminated(ref), - "k8s.io/api/core/v1.ContainerStateWaiting": schema_k8sio_api_core_v1_ContainerStateWaiting(ref), - "k8s.io/api/core/v1.ContainerStatus": schema_k8sio_api_core_v1_ContainerStatus(ref), - "k8s.io/api/core/v1.DaemonEndpoint": schema_k8sio_api_core_v1_DaemonEndpoint(ref), - "k8s.io/api/core/v1.DownwardAPIProjection": schema_k8sio_api_core_v1_DownwardAPIProjection(ref), - "k8s.io/api/core/v1.DownwardAPIVolumeFile": schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref), - "k8s.io/api/core/v1.DownwardAPIVolumeSource": schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref), - "k8s.io/api/core/v1.EmptyDirVolumeSource": schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref), - "k8s.io/api/core/v1.EndpointAddress": schema_k8sio_api_core_v1_EndpointAddress(ref), - "k8s.io/api/core/v1.EndpointPort": schema_k8sio_api_core_v1_EndpointPort(ref), - "k8s.io/api/core/v1.EndpointSubset": schema_k8sio_api_core_v1_EndpointSubset(ref), - "k8s.io/api/core/v1.Endpoints": schema_k8sio_api_core_v1_Endpoints(ref), - "k8s.io/api/core/v1.EndpointsList": schema_k8sio_api_core_v1_EndpointsList(ref), - "k8s.io/api/core/v1.EnvFromSource": schema_k8sio_api_core_v1_EnvFromSource(ref), - "k8s.io/api/core/v1.EnvVar": schema_k8sio_api_core_v1_EnvVar(ref), - "k8s.io/api/core/v1.EnvVarSource": schema_k8sio_api_core_v1_EnvVarSource(ref), - "k8s.io/api/core/v1.EphemeralContainer": schema_k8sio_api_core_v1_EphemeralContainer(ref), - "k8s.io/api/core/v1.EphemeralContainerCommon": schema_k8sio_api_core_v1_EphemeralContainerCommon(ref), - "k8s.io/api/core/v1.EphemeralVolumeSource": schema_k8sio_api_core_v1_EphemeralVolumeSource(ref), - "k8s.io/api/core/v1.Event": schema_k8sio_api_core_v1_Event(ref), - "k8s.io/api/core/v1.EventList": schema_k8sio_api_core_v1_EventList(ref), - "k8s.io/api/core/v1.EventSeries": schema_k8sio_api_core_v1_EventSeries(ref), - "k8s.io/api/core/v1.EventSource": schema_k8sio_api_core_v1_EventSource(ref), - "k8s.io/api/core/v1.ExecAction": schema_k8sio_api_core_v1_ExecAction(ref), - "k8s.io/api/core/v1.FCVolumeSource": schema_k8sio_api_core_v1_FCVolumeSource(ref), - "k8s.io/api/core/v1.FlexPersistentVolumeSource": schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref), - "k8s.io/api/core/v1.FlexVolumeSource": schema_k8sio_api_core_v1_FlexVolumeSource(ref), - "k8s.io/api/core/v1.FlockerVolumeSource": schema_k8sio_api_core_v1_FlockerVolumeSource(ref), - "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource": schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref), - "k8s.io/api/core/v1.GRPCAction": schema_k8sio_api_core_v1_GRPCAction(ref), - "k8s.io/api/core/v1.GitRepoVolumeSource": schema_k8sio_api_core_v1_GitRepoVolumeSource(ref), - "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource": schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref), - "k8s.io/api/core/v1.GlusterfsVolumeSource": schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref), - "k8s.io/api/core/v1.HTTPGetAction": schema_k8sio_api_core_v1_HTTPGetAction(ref), - "k8s.io/api/core/v1.HTTPHeader": schema_k8sio_api_core_v1_HTTPHeader(ref), - "k8s.io/api/core/v1.HostAlias": schema_k8sio_api_core_v1_HostAlias(ref), - "k8s.io/api/core/v1.HostIP": schema_k8sio_api_core_v1_HostIP(ref), - "k8s.io/api/core/v1.HostPathVolumeSource": schema_k8sio_api_core_v1_HostPathVolumeSource(ref), - "k8s.io/api/core/v1.ISCSIPersistentVolumeSource": schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref), - "k8s.io/api/core/v1.ISCSIVolumeSource": schema_k8sio_api_core_v1_ISCSIVolumeSource(ref), - "k8s.io/api/core/v1.KeyToPath": schema_k8sio_api_core_v1_KeyToPath(ref), - "k8s.io/api/core/v1.Lifecycle": schema_k8sio_api_core_v1_Lifecycle(ref), - "k8s.io/api/core/v1.LifecycleHandler": schema_k8sio_api_core_v1_LifecycleHandler(ref), - "k8s.io/api/core/v1.LimitRange": schema_k8sio_api_core_v1_LimitRange(ref), - "k8s.io/api/core/v1.LimitRangeItem": schema_k8sio_api_core_v1_LimitRangeItem(ref), - "k8s.io/api/core/v1.LimitRangeList": schema_k8sio_api_core_v1_LimitRangeList(ref), - "k8s.io/api/core/v1.LimitRangeSpec": schema_k8sio_api_core_v1_LimitRangeSpec(ref), - "k8s.io/api/core/v1.List": schema_k8sio_api_core_v1_List(ref), - "k8s.io/api/core/v1.LoadBalancerIngress": schema_k8sio_api_core_v1_LoadBalancerIngress(ref), - "k8s.io/api/core/v1.LoadBalancerStatus": schema_k8sio_api_core_v1_LoadBalancerStatus(ref), - "k8s.io/api/core/v1.LocalObjectReference": schema_k8sio_api_core_v1_LocalObjectReference(ref), - "k8s.io/api/core/v1.LocalVolumeSource": schema_k8sio_api_core_v1_LocalVolumeSource(ref), - "k8s.io/api/core/v1.NFSVolumeSource": schema_k8sio_api_core_v1_NFSVolumeSource(ref), - "k8s.io/api/core/v1.Namespace": schema_k8sio_api_core_v1_Namespace(ref), - "k8s.io/api/core/v1.NamespaceCondition": schema_k8sio_api_core_v1_NamespaceCondition(ref), - "k8s.io/api/core/v1.NamespaceList": schema_k8sio_api_core_v1_NamespaceList(ref), - "k8s.io/api/core/v1.NamespaceSpec": schema_k8sio_api_core_v1_NamespaceSpec(ref), - "k8s.io/api/core/v1.NamespaceStatus": schema_k8sio_api_core_v1_NamespaceStatus(ref), - "k8s.io/api/core/v1.Node": schema_k8sio_api_core_v1_Node(ref), - "k8s.io/api/core/v1.NodeAddress": schema_k8sio_api_core_v1_NodeAddress(ref), - "k8s.io/api/core/v1.NodeAffinity": schema_k8sio_api_core_v1_NodeAffinity(ref), - "k8s.io/api/core/v1.NodeCondition": schema_k8sio_api_core_v1_NodeCondition(ref), - "k8s.io/api/core/v1.NodeConfigSource": schema_k8sio_api_core_v1_NodeConfigSource(ref), - "k8s.io/api/core/v1.NodeConfigStatus": schema_k8sio_api_core_v1_NodeConfigStatus(ref), - "k8s.io/api/core/v1.NodeDaemonEndpoints": schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref), - "k8s.io/api/core/v1.NodeList": schema_k8sio_api_core_v1_NodeList(ref), - "k8s.io/api/core/v1.NodeProxyOptions": schema_k8sio_api_core_v1_NodeProxyOptions(ref), - "k8s.io/api/core/v1.NodeResources": schema_k8sio_api_core_v1_NodeResources(ref), - "k8s.io/api/core/v1.NodeSelector": schema_k8sio_api_core_v1_NodeSelector(ref), - "k8s.io/api/core/v1.NodeSelectorRequirement": schema_k8sio_api_core_v1_NodeSelectorRequirement(ref), - "k8s.io/api/core/v1.NodeSelectorTerm": schema_k8sio_api_core_v1_NodeSelectorTerm(ref), - "k8s.io/api/core/v1.NodeSpec": schema_k8sio_api_core_v1_NodeSpec(ref), - "k8s.io/api/core/v1.NodeStatus": schema_k8sio_api_core_v1_NodeStatus(ref), - "k8s.io/api/core/v1.NodeSystemInfo": schema_k8sio_api_core_v1_NodeSystemInfo(ref), - "k8s.io/api/core/v1.ObjectFieldSelector": schema_k8sio_api_core_v1_ObjectFieldSelector(ref), - "k8s.io/api/core/v1.ObjectReference": schema_k8sio_api_core_v1_ObjectReference(ref), - "k8s.io/api/core/v1.PersistentVolume": schema_k8sio_api_core_v1_PersistentVolume(ref), - "k8s.io/api/core/v1.PersistentVolumeClaim": schema_k8sio_api_core_v1_PersistentVolumeClaim(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimCondition": schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimList": schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimSpec": schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimStatus": schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimTemplate": schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref), - "k8s.io/api/core/v1.PersistentVolumeList": schema_k8sio_api_core_v1_PersistentVolumeList(ref), - "k8s.io/api/core/v1.PersistentVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeSource(ref), - "k8s.io/api/core/v1.PersistentVolumeSpec": schema_k8sio_api_core_v1_PersistentVolumeSpec(ref), - "k8s.io/api/core/v1.PersistentVolumeStatus": schema_k8sio_api_core_v1_PersistentVolumeStatus(ref), - "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource": schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref), - "k8s.io/api/core/v1.Pod": schema_k8sio_api_core_v1_Pod(ref), - "k8s.io/api/core/v1.PodAffinity": schema_k8sio_api_core_v1_PodAffinity(ref), - "k8s.io/api/core/v1.PodAffinityTerm": schema_k8sio_api_core_v1_PodAffinityTerm(ref), - "k8s.io/api/core/v1.PodAntiAffinity": schema_k8sio_api_core_v1_PodAntiAffinity(ref), - "k8s.io/api/core/v1.PodAttachOptions": schema_k8sio_api_core_v1_PodAttachOptions(ref), - "k8s.io/api/core/v1.PodCondition": schema_k8sio_api_core_v1_PodCondition(ref), - "k8s.io/api/core/v1.PodDNSConfig": schema_k8sio_api_core_v1_PodDNSConfig(ref), - "k8s.io/api/core/v1.PodDNSConfigOption": schema_k8sio_api_core_v1_PodDNSConfigOption(ref), - "k8s.io/api/core/v1.PodExecOptions": schema_k8sio_api_core_v1_PodExecOptions(ref), - "k8s.io/api/core/v1.PodIP": schema_k8sio_api_core_v1_PodIP(ref), - "k8s.io/api/core/v1.PodList": schema_k8sio_api_core_v1_PodList(ref), - "k8s.io/api/core/v1.PodLogOptions": schema_k8sio_api_core_v1_PodLogOptions(ref), - "k8s.io/api/core/v1.PodOS": schema_k8sio_api_core_v1_PodOS(ref), - "k8s.io/api/core/v1.PodPortForwardOptions": schema_k8sio_api_core_v1_PodPortForwardOptions(ref), - "k8s.io/api/core/v1.PodProxyOptions": schema_k8sio_api_core_v1_PodProxyOptions(ref), - "k8s.io/api/core/v1.PodReadinessGate": schema_k8sio_api_core_v1_PodReadinessGate(ref), - "k8s.io/api/core/v1.PodResourceClaim": schema_k8sio_api_core_v1_PodResourceClaim(ref), - "k8s.io/api/core/v1.PodResourceClaimStatus": schema_k8sio_api_core_v1_PodResourceClaimStatus(ref), - "k8s.io/api/core/v1.PodSchedulingGate": schema_k8sio_api_core_v1_PodSchedulingGate(ref), - "k8s.io/api/core/v1.PodSecurityContext": schema_k8sio_api_core_v1_PodSecurityContext(ref), - "k8s.io/api/core/v1.PodSignature": schema_k8sio_api_core_v1_PodSignature(ref), - "k8s.io/api/core/v1.PodSpec": schema_k8sio_api_core_v1_PodSpec(ref), - "k8s.io/api/core/v1.PodStatus": schema_k8sio_api_core_v1_PodStatus(ref), - "k8s.io/api/core/v1.PodStatusResult": schema_k8sio_api_core_v1_PodStatusResult(ref), - "k8s.io/api/core/v1.PodTemplate": schema_k8sio_api_core_v1_PodTemplate(ref), - "k8s.io/api/core/v1.PodTemplateList": schema_k8sio_api_core_v1_PodTemplateList(ref), - "k8s.io/api/core/v1.PodTemplateSpec": schema_k8sio_api_core_v1_PodTemplateSpec(ref), - "k8s.io/api/core/v1.PortStatus": schema_k8sio_api_core_v1_PortStatus(ref), - "k8s.io/api/core/v1.PortworxVolumeSource": schema_k8sio_api_core_v1_PortworxVolumeSource(ref), - "k8s.io/api/core/v1.PreferAvoidPodsEntry": schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref), - "k8s.io/api/core/v1.PreferredSchedulingTerm": schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref), - "k8s.io/api/core/v1.Probe": schema_k8sio_api_core_v1_Probe(ref), - "k8s.io/api/core/v1.ProbeHandler": schema_k8sio_api_core_v1_ProbeHandler(ref), - "k8s.io/api/core/v1.ProjectedVolumeSource": schema_k8sio_api_core_v1_ProjectedVolumeSource(ref), - "k8s.io/api/core/v1.QuobyteVolumeSource": schema_k8sio_api_core_v1_QuobyteVolumeSource(ref), - "k8s.io/api/core/v1.RBDPersistentVolumeSource": schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref), - "k8s.io/api/core/v1.RBDVolumeSource": schema_k8sio_api_core_v1_RBDVolumeSource(ref), - "k8s.io/api/core/v1.RangeAllocation": schema_k8sio_api_core_v1_RangeAllocation(ref), - "k8s.io/api/core/v1.ReplicationController": schema_k8sio_api_core_v1_ReplicationController(ref), - "k8s.io/api/core/v1.ReplicationControllerCondition": schema_k8sio_api_core_v1_ReplicationControllerCondition(ref), - "k8s.io/api/core/v1.ReplicationControllerList": schema_k8sio_api_core_v1_ReplicationControllerList(ref), - "k8s.io/api/core/v1.ReplicationControllerSpec": schema_k8sio_api_core_v1_ReplicationControllerSpec(ref), - "k8s.io/api/core/v1.ReplicationControllerStatus": schema_k8sio_api_core_v1_ReplicationControllerStatus(ref), - "k8s.io/api/core/v1.ResourceClaim": schema_k8sio_api_core_v1_ResourceClaim(ref), - "k8s.io/api/core/v1.ResourceFieldSelector": schema_k8sio_api_core_v1_ResourceFieldSelector(ref), - "k8s.io/api/core/v1.ResourceQuota": schema_k8sio_api_core_v1_ResourceQuota(ref), - "k8s.io/api/core/v1.ResourceQuotaList": schema_k8sio_api_core_v1_ResourceQuotaList(ref), - "k8s.io/api/core/v1.ResourceQuotaSpec": schema_k8sio_api_core_v1_ResourceQuotaSpec(ref), - "k8s.io/api/core/v1.ResourceQuotaStatus": schema_k8sio_api_core_v1_ResourceQuotaStatus(ref), - "k8s.io/api/core/v1.ResourceRequirements": schema_k8sio_api_core_v1_ResourceRequirements(ref), - "k8s.io/api/core/v1.SELinuxOptions": schema_k8sio_api_core_v1_SELinuxOptions(ref), - "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource": schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref), - "k8s.io/api/core/v1.ScaleIOVolumeSource": schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref), - "k8s.io/api/core/v1.ScopeSelector": schema_k8sio_api_core_v1_ScopeSelector(ref), - "k8s.io/api/core/v1.ScopedResourceSelectorRequirement": schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref), - "k8s.io/api/core/v1.SeccompProfile": schema_k8sio_api_core_v1_SeccompProfile(ref), - "k8s.io/api/core/v1.Secret": schema_k8sio_api_core_v1_Secret(ref), - "k8s.io/api/core/v1.SecretEnvSource": schema_k8sio_api_core_v1_SecretEnvSource(ref), - "k8s.io/api/core/v1.SecretKeySelector": schema_k8sio_api_core_v1_SecretKeySelector(ref), - "k8s.io/api/core/v1.SecretList": schema_k8sio_api_core_v1_SecretList(ref), - "k8s.io/api/core/v1.SecretProjection": schema_k8sio_api_core_v1_SecretProjection(ref), - "k8s.io/api/core/v1.SecretReference": schema_k8sio_api_core_v1_SecretReference(ref), - "k8s.io/api/core/v1.SecretVolumeSource": schema_k8sio_api_core_v1_SecretVolumeSource(ref), - "k8s.io/api/core/v1.SecurityContext": schema_k8sio_api_core_v1_SecurityContext(ref), - "k8s.io/api/core/v1.SerializedReference": schema_k8sio_api_core_v1_SerializedReference(ref), - "k8s.io/api/core/v1.Service": schema_k8sio_api_core_v1_Service(ref), - "k8s.io/api/core/v1.ServiceAccount": schema_k8sio_api_core_v1_ServiceAccount(ref), - "k8s.io/api/core/v1.ServiceAccountList": schema_k8sio_api_core_v1_ServiceAccountList(ref), - "k8s.io/api/core/v1.ServiceAccountTokenProjection": schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref), - "k8s.io/api/core/v1.ServiceList": schema_k8sio_api_core_v1_ServiceList(ref), - "k8s.io/api/core/v1.ServicePort": schema_k8sio_api_core_v1_ServicePort(ref), - "k8s.io/api/core/v1.ServiceProxyOptions": schema_k8sio_api_core_v1_ServiceProxyOptions(ref), - "k8s.io/api/core/v1.ServiceSpec": schema_k8sio_api_core_v1_ServiceSpec(ref), - "k8s.io/api/core/v1.ServiceStatus": schema_k8sio_api_core_v1_ServiceStatus(ref), - "k8s.io/api/core/v1.SessionAffinityConfig": schema_k8sio_api_core_v1_SessionAffinityConfig(ref), - "k8s.io/api/core/v1.StorageOSPersistentVolumeSource": schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref), - "k8s.io/api/core/v1.StorageOSVolumeSource": schema_k8sio_api_core_v1_StorageOSVolumeSource(ref), - "k8s.io/api/core/v1.Sysctl": schema_k8sio_api_core_v1_Sysctl(ref), - "k8s.io/api/core/v1.TCPSocketAction": schema_k8sio_api_core_v1_TCPSocketAction(ref), - "k8s.io/api/core/v1.Taint": schema_k8sio_api_core_v1_Taint(ref), - "k8s.io/api/core/v1.Toleration": schema_k8sio_api_core_v1_Toleration(ref), - "k8s.io/api/core/v1.TopologySelectorLabelRequirement": schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref), - "k8s.io/api/core/v1.TopologySelectorTerm": schema_k8sio_api_core_v1_TopologySelectorTerm(ref), - "k8s.io/api/core/v1.TopologySpreadConstraint": schema_k8sio_api_core_v1_TopologySpreadConstraint(ref), - "k8s.io/api/core/v1.TypedLocalObjectReference": schema_k8sio_api_core_v1_TypedLocalObjectReference(ref), - "k8s.io/api/core/v1.TypedObjectReference": schema_k8sio_api_core_v1_TypedObjectReference(ref), - "k8s.io/api/core/v1.Volume": schema_k8sio_api_core_v1_Volume(ref), - "k8s.io/api/core/v1.VolumeDevice": schema_k8sio_api_core_v1_VolumeDevice(ref), - "k8s.io/api/core/v1.VolumeMount": schema_k8sio_api_core_v1_VolumeMount(ref), - "k8s.io/api/core/v1.VolumeNodeAffinity": schema_k8sio_api_core_v1_VolumeNodeAffinity(ref), - "k8s.io/api/core/v1.VolumeProjection": schema_k8sio_api_core_v1_VolumeProjection(ref), - "k8s.io/api/core/v1.VolumeSource": schema_k8sio_api_core_v1_VolumeSource(ref), - "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource": schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref), - "k8s.io/api/core/v1.WeightedPodAffinityTerm": schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref), - "k8s.io/api/core/v1.WindowsSecurityContextOptions": schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref), - "k8s.io/api/rbac/v1.AggregationRule": schema_k8sio_api_rbac_v1_AggregationRule(ref), - "k8s.io/api/rbac/v1.ClusterRole": schema_k8sio_api_rbac_v1_ClusterRole(ref), - "k8s.io/api/rbac/v1.ClusterRoleBinding": schema_k8sio_api_rbac_v1_ClusterRoleBinding(ref), - "k8s.io/api/rbac/v1.ClusterRoleBindingList": schema_k8sio_api_rbac_v1_ClusterRoleBindingList(ref), - "k8s.io/api/rbac/v1.ClusterRoleList": schema_k8sio_api_rbac_v1_ClusterRoleList(ref), - "k8s.io/api/rbac/v1.PolicyRule": schema_k8sio_api_rbac_v1_PolicyRule(ref), - "k8s.io/api/rbac/v1.Role": schema_k8sio_api_rbac_v1_Role(ref), - "k8s.io/api/rbac/v1.RoleBinding": schema_k8sio_api_rbac_v1_RoleBinding(ref), - "k8s.io/api/rbac/v1.RoleBindingList": schema_k8sio_api_rbac_v1_RoleBindingList(ref), - "k8s.io/api/rbac/v1.RoleList": schema_k8sio_api_rbac_v1_RoleList(ref), - "k8s.io/api/rbac/v1.RoleRef": schema_k8sio_api_rbac_v1_RoleRef(ref), - "k8s.io/api/rbac/v1.Subject": schema_k8sio_api_rbac_v1_Subject(ref), - "k8s.io/apimachinery/pkg/api/resource.Quantity": schema_apimachinery_pkg_api_resource_Quantity(ref), - "k8s.io/apimachinery/pkg/api/resource.int64Amount": schema_apimachinery_pkg_api_resource_int64Amount(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), - "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), - "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), - "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), - "k8s.io/apimachinery/pkg/version.Info": schema_k8sio_apimachinery_pkg_version_Info(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.CommandArgsOverrider": schema_api_apis_apps_v1alpha1_CommandArgsOverrider(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplication": schema_api_apis_apps_v1alpha1_EdgeApplication(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplicationList": schema_api_apis_apps_v1alpha1_EdgeApplicationList(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplicationSpec": schema_api_apis_apps_v1alpha1_EdgeApplicationSpec(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplicationStatus": schema_api_apis_apps_v1alpha1_EdgeApplicationStatus(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.EnvOverrider": schema_api_apis_apps_v1alpha1_EnvOverrider(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.ImageOverrider": schema_api_apis_apps_v1alpha1_ImageOverrider(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.ImagePredicate": schema_api_apis_apps_v1alpha1_ImagePredicate(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.Manifest": schema_api_apis_apps_v1alpha1_Manifest(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.ManifestStatus": schema_api_apis_apps_v1alpha1_ManifestStatus(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroup": schema_api_apis_apps_v1alpha1_NodeGroup(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroupList": schema_api_apis_apps_v1alpha1_NodeGroupList(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroupSpec": schema_api_apis_apps_v1alpha1_NodeGroupSpec(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroupStatus": schema_api_apis_apps_v1alpha1_NodeGroupStatus(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeStatus": schema_api_apis_apps_v1alpha1_NodeStatus(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.Overriders": schema_api_apis_apps_v1alpha1_Overriders(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.ResourceIdentifier": schema_api_apis_apps_v1alpha1_ResourceIdentifier(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.ResourceTemplate": schema_api_apis_apps_v1alpha1_ResourceTemplate(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.ResourcesOverrider": schema_api_apis_apps_v1alpha1_ResourcesOverrider(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.TargetNodeGroup": schema_api_apis_apps_v1alpha1_TargetNodeGroup(ref), + "github.com/kubeedge/api/apis/apps/v1alpha1.WorkloadScope": schema_api_apis_apps_v1alpha1_WorkloadScope(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.BluetoothOperations": schema_api_apis_devices_v1alpha2_BluetoothOperations(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.BluetoothReadConverter": schema_api_apis_devices_v1alpha2_BluetoothReadConverter(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue": schema_api_apis_devices_v1alpha2_CustomizedValue(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DataProperty": schema_api_apis_devices_v1alpha2_DataProperty(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.Device": schema_api_apis_devices_v1alpha2_Device(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceData": schema_api_apis_devices_v1alpha2_DeviceData(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceList": schema_api_apis_devices_v1alpha2_DeviceList(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceModel": schema_api_apis_devices_v1alpha2_DeviceModel(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceModelList": schema_api_apis_devices_v1alpha2_DeviceModelList(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceModelSpec": schema_api_apis_devices_v1alpha2_DeviceModelSpec(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceProperty": schema_api_apis_devices_v1alpha2_DeviceProperty(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DevicePropertyVisitor": schema_api_apis_devices_v1alpha2_DevicePropertyVisitor(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceSpec": schema_api_apis_devices_v1alpha2_DeviceSpec(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceStatus": schema_api_apis_devices_v1alpha2_DeviceStatus(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyType": schema_api_apis_devices_v1alpha2_PropertyType(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeBoolean": schema_api_apis_devices_v1alpha2_PropertyTypeBoolean(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeBytes": schema_api_apis_devices_v1alpha2_PropertyTypeBytes(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeDouble": schema_api_apis_devices_v1alpha2_PropertyTypeDouble(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeFloat": schema_api_apis_devices_v1alpha2_PropertyTypeFloat(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeInt64": schema_api_apis_devices_v1alpha2_PropertyTypeInt64(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeString": schema_api_apis_devices_v1alpha2_PropertyTypeString(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfig": schema_api_apis_devices_v1alpha2_ProtocolConfig(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigBluetooth": schema_api_apis_devices_v1alpha2_ProtocolConfigBluetooth(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCOM": schema_api_apis_devices_v1alpha2_ProtocolConfigCOM(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCommon": schema_api_apis_devices_v1alpha2_ProtocolConfigCommon(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCustomized": schema_api_apis_devices_v1alpha2_ProtocolConfigCustomized(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigModbus": schema_api_apis_devices_v1alpha2_ProtocolConfigModbus(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigOpcUA": schema_api_apis_devices_v1alpha2_ProtocolConfigOpcUA(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigTCP": schema_api_apis_devices_v1alpha2_ProtocolConfigTCP(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.Twin": schema_api_apis_devices_v1alpha2_Twin(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.TwinProperty": schema_api_apis_devices_v1alpha2_TwinProperty(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfig": schema_api_apis_devices_v1alpha2_VisitorConfig(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigBluetooth": schema_api_apis_devices_v1alpha2_VisitorConfigBluetooth(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigCustomized": schema_api_apis_devices_v1alpha2_VisitorConfigCustomized(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigModbus": schema_api_apis_devices_v1alpha2_VisitorConfigModbus(ref), + "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigOPCUA": schema_api_apis_devices_v1alpha2_VisitorConfigOPCUA(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.CustomizedValue": schema_api_apis_devices_v1beta1_CustomizedValue(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodConfig": schema_api_apis_devices_v1beta1_DBMethodConfig(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodInfluxdb2": schema_api_apis_devices_v1beta1_DBMethodInfluxdb2(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodMySQL": schema_api_apis_devices_v1beta1_DBMethodMySQL(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodRedis": schema_api_apis_devices_v1beta1_DBMethodRedis(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodTDEngine": schema_api_apis_devices_v1beta1_DBMethodTDEngine(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.Device": schema_api_apis_devices_v1beta1_Device(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceList": schema_api_apis_devices_v1beta1_DeviceList(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceModel": schema_api_apis_devices_v1beta1_DeviceModel(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceModelList": schema_api_apis_devices_v1beta1_DeviceModelList(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceModelSpec": schema_api_apis_devices_v1beta1_DeviceModelSpec(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceProperty": schema_api_apis_devices_v1beta1_DeviceProperty(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceSpec": schema_api_apis_devices_v1beta1_DeviceSpec(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceStatus": schema_api_apis_devices_v1beta1_DeviceStatus(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.Influxdb2ClientConfig": schema_api_apis_devices_v1beta1_Influxdb2ClientConfig(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.Influxdb2DataConfig": schema_api_apis_devices_v1beta1_Influxdb2DataConfig(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.ModelProperty": schema_api_apis_devices_v1beta1_ModelProperty(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.MySQLClientConfig": schema_api_apis_devices_v1beta1_MySQLClientConfig(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.ProtocolConfig": schema_api_apis_devices_v1beta1_ProtocolConfig(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.PushMethod": schema_api_apis_devices_v1beta1_PushMethod(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.PushMethodHTTP": schema_api_apis_devices_v1beta1_PushMethodHTTP(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.PushMethodMQTT": schema_api_apis_devices_v1beta1_PushMethodMQTT(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.RedisClientConfig": schema_api_apis_devices_v1beta1_RedisClientConfig(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.TDEngineClientConfig": schema_api_apis_devices_v1beta1_TDEngineClientConfig(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.Twin": schema_api_apis_devices_v1beta1_Twin(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.TwinProperty": schema_api_apis_devices_v1beta1_TwinProperty(ref), + "github.com/kubeedge/api/apis/devices/v1beta1.VisitorConfig": schema_api_apis_devices_v1beta1_VisitorConfig(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJob": schema_api_apis_operations_v1alpha1_ImagePrePullJob(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJobList": schema_api_apis_operations_v1alpha1_ImagePrePullJobList(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJobSpec": schema_api_apis_operations_v1alpha1_ImagePrePullJobSpec(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJobStatus": schema_api_apis_operations_v1alpha1_ImagePrePullJobStatus(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullStatus": schema_api_apis_operations_v1alpha1_ImagePrePullStatus(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullTemplate": schema_api_apis_operations_v1alpha1_ImagePrePullTemplate(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.ImageStatus": schema_api_apis_operations_v1alpha1_ImageStatus(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJob": schema_api_apis_operations_v1alpha1_NodeUpgradeJob(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJobList": schema_api_apis_operations_v1alpha1_NodeUpgradeJobList(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJobSpec": schema_api_apis_operations_v1alpha1_NodeUpgradeJobSpec(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJobStatus": schema_api_apis_operations_v1alpha1_NodeUpgradeJobStatus(ref), + "github.com/kubeedge/api/apis/operations/v1alpha1.TaskStatus": schema_api_apis_operations_v1alpha1_TaskStatus(ref), + "github.com/kubeedge/api/apis/policy/v1alpha1.AccessClusterRoleBinding": schema_api_apis_policy_v1alpha1_AccessClusterRoleBinding(ref), + "github.com/kubeedge/api/apis/policy/v1alpha1.AccessRoleBinding": schema_api_apis_policy_v1alpha1_AccessRoleBinding(ref), + "github.com/kubeedge/api/apis/policy/v1alpha1.AccessSpec": schema_api_apis_policy_v1alpha1_AccessSpec(ref), + "github.com/kubeedge/api/apis/policy/v1alpha1.AccessStatus": schema_api_apis_policy_v1alpha1_AccessStatus(ref), + "github.com/kubeedge/api/apis/policy/v1alpha1.ServiceAccountAccess": schema_api_apis_policy_v1alpha1_ServiceAccountAccess(ref), + "github.com/kubeedge/api/apis/policy/v1alpha1.ServiceAccountAccessList": schema_api_apis_policy_v1alpha1_ServiceAccountAccessList(ref), + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ClusterObjectSync": schema_api_apis_reliablesyncs_v1alpha1_ClusterObjectSync(ref), + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ClusterObjectSyncList": schema_api_apis_reliablesyncs_v1alpha1_ClusterObjectSyncList(ref), + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSync": schema_api_apis_reliablesyncs_v1alpha1_ObjectSync(ref), + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncList": schema_api_apis_reliablesyncs_v1alpha1_ObjectSyncList(ref), + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncSpec": schema_api_apis_reliablesyncs_v1alpha1_ObjectSyncSpec(ref), + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncStatus": schema_api_apis_reliablesyncs_v1alpha1_ObjectSyncStatus(ref), + "github.com/kubeedge/api/apis/rules/v1.Rule": schema_api_apis_rules_v1_Rule(ref), + "github.com/kubeedge/api/apis/rules/v1.RuleEndpoint": schema_api_apis_rules_v1_RuleEndpoint(ref), + "github.com/kubeedge/api/apis/rules/v1.RuleEndpointList": schema_api_apis_rules_v1_RuleEndpointList(ref), + "github.com/kubeedge/api/apis/rules/v1.RuleEndpointSpec": schema_api_apis_rules_v1_RuleEndpointSpec(ref), + "github.com/kubeedge/api/apis/rules/v1.RuleList": schema_api_apis_rules_v1_RuleList(ref), + "github.com/kubeedge/api/apis/rules/v1.RuleSpec": schema_api_apis_rules_v1_RuleSpec(ref), + "github.com/kubeedge/api/apis/rules/v1.RuleStatus": schema_api_apis_rules_v1_RuleStatus(ref), + "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource": schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref), + "k8s.io/api/core/v1.Affinity": schema_k8sio_api_core_v1_Affinity(ref), + "k8s.io/api/core/v1.AttachedVolume": schema_k8sio_api_core_v1_AttachedVolume(ref), + "k8s.io/api/core/v1.AvoidPods": schema_k8sio_api_core_v1_AvoidPods(ref), + "k8s.io/api/core/v1.AzureDiskVolumeSource": schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref), + "k8s.io/api/core/v1.AzureFilePersistentVolumeSource": schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref), + "k8s.io/api/core/v1.AzureFileVolumeSource": schema_k8sio_api_core_v1_AzureFileVolumeSource(ref), + "k8s.io/api/core/v1.Binding": schema_k8sio_api_core_v1_Binding(ref), + "k8s.io/api/core/v1.CSIPersistentVolumeSource": schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref), + "k8s.io/api/core/v1.CSIVolumeSource": schema_k8sio_api_core_v1_CSIVolumeSource(ref), + "k8s.io/api/core/v1.Capabilities": schema_k8sio_api_core_v1_Capabilities(ref), + "k8s.io/api/core/v1.CephFSPersistentVolumeSource": schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref), + "k8s.io/api/core/v1.CephFSVolumeSource": schema_k8sio_api_core_v1_CephFSVolumeSource(ref), + "k8s.io/api/core/v1.CinderPersistentVolumeSource": schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref), + "k8s.io/api/core/v1.CinderVolumeSource": schema_k8sio_api_core_v1_CinderVolumeSource(ref), + "k8s.io/api/core/v1.ClaimSource": schema_k8sio_api_core_v1_ClaimSource(ref), + "k8s.io/api/core/v1.ClientIPConfig": schema_k8sio_api_core_v1_ClientIPConfig(ref), + "k8s.io/api/core/v1.ClusterTrustBundleProjection": schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref), + "k8s.io/api/core/v1.ComponentCondition": schema_k8sio_api_core_v1_ComponentCondition(ref), + "k8s.io/api/core/v1.ComponentStatus": schema_k8sio_api_core_v1_ComponentStatus(ref), + "k8s.io/api/core/v1.ComponentStatusList": schema_k8sio_api_core_v1_ComponentStatusList(ref), + "k8s.io/api/core/v1.ConfigMap": schema_k8sio_api_core_v1_ConfigMap(ref), + "k8s.io/api/core/v1.ConfigMapEnvSource": schema_k8sio_api_core_v1_ConfigMapEnvSource(ref), + "k8s.io/api/core/v1.ConfigMapKeySelector": schema_k8sio_api_core_v1_ConfigMapKeySelector(ref), + "k8s.io/api/core/v1.ConfigMapList": schema_k8sio_api_core_v1_ConfigMapList(ref), + "k8s.io/api/core/v1.ConfigMapNodeConfigSource": schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref), + "k8s.io/api/core/v1.ConfigMapProjection": schema_k8sio_api_core_v1_ConfigMapProjection(ref), + "k8s.io/api/core/v1.ConfigMapVolumeSource": schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref), + "k8s.io/api/core/v1.Container": schema_k8sio_api_core_v1_Container(ref), + "k8s.io/api/core/v1.ContainerImage": schema_k8sio_api_core_v1_ContainerImage(ref), + "k8s.io/api/core/v1.ContainerPort": schema_k8sio_api_core_v1_ContainerPort(ref), + "k8s.io/api/core/v1.ContainerResizePolicy": schema_k8sio_api_core_v1_ContainerResizePolicy(ref), + "k8s.io/api/core/v1.ContainerState": schema_k8sio_api_core_v1_ContainerState(ref), + "k8s.io/api/core/v1.ContainerStateRunning": schema_k8sio_api_core_v1_ContainerStateRunning(ref), + "k8s.io/api/core/v1.ContainerStateTerminated": schema_k8sio_api_core_v1_ContainerStateTerminated(ref), + "k8s.io/api/core/v1.ContainerStateWaiting": schema_k8sio_api_core_v1_ContainerStateWaiting(ref), + "k8s.io/api/core/v1.ContainerStatus": schema_k8sio_api_core_v1_ContainerStatus(ref), + "k8s.io/api/core/v1.DaemonEndpoint": schema_k8sio_api_core_v1_DaemonEndpoint(ref), + "k8s.io/api/core/v1.DownwardAPIProjection": schema_k8sio_api_core_v1_DownwardAPIProjection(ref), + "k8s.io/api/core/v1.DownwardAPIVolumeFile": schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref), + "k8s.io/api/core/v1.DownwardAPIVolumeSource": schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref), + "k8s.io/api/core/v1.EmptyDirVolumeSource": schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref), + "k8s.io/api/core/v1.EndpointAddress": schema_k8sio_api_core_v1_EndpointAddress(ref), + "k8s.io/api/core/v1.EndpointPort": schema_k8sio_api_core_v1_EndpointPort(ref), + "k8s.io/api/core/v1.EndpointSubset": schema_k8sio_api_core_v1_EndpointSubset(ref), + "k8s.io/api/core/v1.Endpoints": schema_k8sio_api_core_v1_Endpoints(ref), + "k8s.io/api/core/v1.EndpointsList": schema_k8sio_api_core_v1_EndpointsList(ref), + "k8s.io/api/core/v1.EnvFromSource": schema_k8sio_api_core_v1_EnvFromSource(ref), + "k8s.io/api/core/v1.EnvVar": schema_k8sio_api_core_v1_EnvVar(ref), + "k8s.io/api/core/v1.EnvVarSource": schema_k8sio_api_core_v1_EnvVarSource(ref), + "k8s.io/api/core/v1.EphemeralContainer": schema_k8sio_api_core_v1_EphemeralContainer(ref), + "k8s.io/api/core/v1.EphemeralContainerCommon": schema_k8sio_api_core_v1_EphemeralContainerCommon(ref), + "k8s.io/api/core/v1.EphemeralVolumeSource": schema_k8sio_api_core_v1_EphemeralVolumeSource(ref), + "k8s.io/api/core/v1.Event": schema_k8sio_api_core_v1_Event(ref), + "k8s.io/api/core/v1.EventList": schema_k8sio_api_core_v1_EventList(ref), + "k8s.io/api/core/v1.EventSeries": schema_k8sio_api_core_v1_EventSeries(ref), + "k8s.io/api/core/v1.EventSource": schema_k8sio_api_core_v1_EventSource(ref), + "k8s.io/api/core/v1.ExecAction": schema_k8sio_api_core_v1_ExecAction(ref), + "k8s.io/api/core/v1.FCVolumeSource": schema_k8sio_api_core_v1_FCVolumeSource(ref), + "k8s.io/api/core/v1.FlexPersistentVolumeSource": schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref), + "k8s.io/api/core/v1.FlexVolumeSource": schema_k8sio_api_core_v1_FlexVolumeSource(ref), + "k8s.io/api/core/v1.FlockerVolumeSource": schema_k8sio_api_core_v1_FlockerVolumeSource(ref), + "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource": schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref), + "k8s.io/api/core/v1.GRPCAction": schema_k8sio_api_core_v1_GRPCAction(ref), + "k8s.io/api/core/v1.GitRepoVolumeSource": schema_k8sio_api_core_v1_GitRepoVolumeSource(ref), + "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource": schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref), + "k8s.io/api/core/v1.GlusterfsVolumeSource": schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref), + "k8s.io/api/core/v1.HTTPGetAction": schema_k8sio_api_core_v1_HTTPGetAction(ref), + "k8s.io/api/core/v1.HTTPHeader": schema_k8sio_api_core_v1_HTTPHeader(ref), + "k8s.io/api/core/v1.HostAlias": schema_k8sio_api_core_v1_HostAlias(ref), + "k8s.io/api/core/v1.HostIP": schema_k8sio_api_core_v1_HostIP(ref), + "k8s.io/api/core/v1.HostPathVolumeSource": schema_k8sio_api_core_v1_HostPathVolumeSource(ref), + "k8s.io/api/core/v1.ISCSIPersistentVolumeSource": schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref), + "k8s.io/api/core/v1.ISCSIVolumeSource": schema_k8sio_api_core_v1_ISCSIVolumeSource(ref), + "k8s.io/api/core/v1.KeyToPath": schema_k8sio_api_core_v1_KeyToPath(ref), + "k8s.io/api/core/v1.Lifecycle": schema_k8sio_api_core_v1_Lifecycle(ref), + "k8s.io/api/core/v1.LifecycleHandler": schema_k8sio_api_core_v1_LifecycleHandler(ref), + "k8s.io/api/core/v1.LimitRange": schema_k8sio_api_core_v1_LimitRange(ref), + "k8s.io/api/core/v1.LimitRangeItem": schema_k8sio_api_core_v1_LimitRangeItem(ref), + "k8s.io/api/core/v1.LimitRangeList": schema_k8sio_api_core_v1_LimitRangeList(ref), + "k8s.io/api/core/v1.LimitRangeSpec": schema_k8sio_api_core_v1_LimitRangeSpec(ref), + "k8s.io/api/core/v1.List": schema_k8sio_api_core_v1_List(ref), + "k8s.io/api/core/v1.LoadBalancerIngress": schema_k8sio_api_core_v1_LoadBalancerIngress(ref), + "k8s.io/api/core/v1.LoadBalancerStatus": schema_k8sio_api_core_v1_LoadBalancerStatus(ref), + "k8s.io/api/core/v1.LocalObjectReference": schema_k8sio_api_core_v1_LocalObjectReference(ref), + "k8s.io/api/core/v1.LocalVolumeSource": schema_k8sio_api_core_v1_LocalVolumeSource(ref), + "k8s.io/api/core/v1.ModifyVolumeStatus": schema_k8sio_api_core_v1_ModifyVolumeStatus(ref), + "k8s.io/api/core/v1.NFSVolumeSource": schema_k8sio_api_core_v1_NFSVolumeSource(ref), + "k8s.io/api/core/v1.Namespace": schema_k8sio_api_core_v1_Namespace(ref), + "k8s.io/api/core/v1.NamespaceCondition": schema_k8sio_api_core_v1_NamespaceCondition(ref), + "k8s.io/api/core/v1.NamespaceList": schema_k8sio_api_core_v1_NamespaceList(ref), + "k8s.io/api/core/v1.NamespaceSpec": schema_k8sio_api_core_v1_NamespaceSpec(ref), + "k8s.io/api/core/v1.NamespaceStatus": schema_k8sio_api_core_v1_NamespaceStatus(ref), + "k8s.io/api/core/v1.Node": schema_k8sio_api_core_v1_Node(ref), + "k8s.io/api/core/v1.NodeAddress": schema_k8sio_api_core_v1_NodeAddress(ref), + "k8s.io/api/core/v1.NodeAffinity": schema_k8sio_api_core_v1_NodeAffinity(ref), + "k8s.io/api/core/v1.NodeCondition": schema_k8sio_api_core_v1_NodeCondition(ref), + "k8s.io/api/core/v1.NodeConfigSource": schema_k8sio_api_core_v1_NodeConfigSource(ref), + "k8s.io/api/core/v1.NodeConfigStatus": schema_k8sio_api_core_v1_NodeConfigStatus(ref), + "k8s.io/api/core/v1.NodeDaemonEndpoints": schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref), + "k8s.io/api/core/v1.NodeList": schema_k8sio_api_core_v1_NodeList(ref), + "k8s.io/api/core/v1.NodeProxyOptions": schema_k8sio_api_core_v1_NodeProxyOptions(ref), + "k8s.io/api/core/v1.NodeResources": schema_k8sio_api_core_v1_NodeResources(ref), + "k8s.io/api/core/v1.NodeSelector": schema_k8sio_api_core_v1_NodeSelector(ref), + "k8s.io/api/core/v1.NodeSelectorRequirement": schema_k8sio_api_core_v1_NodeSelectorRequirement(ref), + "k8s.io/api/core/v1.NodeSelectorTerm": schema_k8sio_api_core_v1_NodeSelectorTerm(ref), + "k8s.io/api/core/v1.NodeSpec": schema_k8sio_api_core_v1_NodeSpec(ref), + "k8s.io/api/core/v1.NodeStatus": schema_k8sio_api_core_v1_NodeStatus(ref), + "k8s.io/api/core/v1.NodeSystemInfo": schema_k8sio_api_core_v1_NodeSystemInfo(ref), + "k8s.io/api/core/v1.ObjectFieldSelector": schema_k8sio_api_core_v1_ObjectFieldSelector(ref), + "k8s.io/api/core/v1.ObjectReference": schema_k8sio_api_core_v1_ObjectReference(ref), + "k8s.io/api/core/v1.PersistentVolume": schema_k8sio_api_core_v1_PersistentVolume(ref), + "k8s.io/api/core/v1.PersistentVolumeClaim": schema_k8sio_api_core_v1_PersistentVolumeClaim(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimCondition": schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimList": schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimSpec": schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimStatus": schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimTemplate": schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref), + "k8s.io/api/core/v1.PersistentVolumeList": schema_k8sio_api_core_v1_PersistentVolumeList(ref), + "k8s.io/api/core/v1.PersistentVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeSource(ref), + "k8s.io/api/core/v1.PersistentVolumeSpec": schema_k8sio_api_core_v1_PersistentVolumeSpec(ref), + "k8s.io/api/core/v1.PersistentVolumeStatus": schema_k8sio_api_core_v1_PersistentVolumeStatus(ref), + "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource": schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref), + "k8s.io/api/core/v1.Pod": schema_k8sio_api_core_v1_Pod(ref), + "k8s.io/api/core/v1.PodAffinity": schema_k8sio_api_core_v1_PodAffinity(ref), + "k8s.io/api/core/v1.PodAffinityTerm": schema_k8sio_api_core_v1_PodAffinityTerm(ref), + "k8s.io/api/core/v1.PodAntiAffinity": schema_k8sio_api_core_v1_PodAntiAffinity(ref), + "k8s.io/api/core/v1.PodAttachOptions": schema_k8sio_api_core_v1_PodAttachOptions(ref), + "k8s.io/api/core/v1.PodCondition": schema_k8sio_api_core_v1_PodCondition(ref), + "k8s.io/api/core/v1.PodDNSConfig": schema_k8sio_api_core_v1_PodDNSConfig(ref), + "k8s.io/api/core/v1.PodDNSConfigOption": schema_k8sio_api_core_v1_PodDNSConfigOption(ref), + "k8s.io/api/core/v1.PodExecOptions": schema_k8sio_api_core_v1_PodExecOptions(ref), + "k8s.io/api/core/v1.PodIP": schema_k8sio_api_core_v1_PodIP(ref), + "k8s.io/api/core/v1.PodList": schema_k8sio_api_core_v1_PodList(ref), + "k8s.io/api/core/v1.PodLogOptions": schema_k8sio_api_core_v1_PodLogOptions(ref), + "k8s.io/api/core/v1.PodOS": schema_k8sio_api_core_v1_PodOS(ref), + "k8s.io/api/core/v1.PodPortForwardOptions": schema_k8sio_api_core_v1_PodPortForwardOptions(ref), + "k8s.io/api/core/v1.PodProxyOptions": schema_k8sio_api_core_v1_PodProxyOptions(ref), + "k8s.io/api/core/v1.PodReadinessGate": schema_k8sio_api_core_v1_PodReadinessGate(ref), + "k8s.io/api/core/v1.PodResourceClaim": schema_k8sio_api_core_v1_PodResourceClaim(ref), + "k8s.io/api/core/v1.PodResourceClaimStatus": schema_k8sio_api_core_v1_PodResourceClaimStatus(ref), + "k8s.io/api/core/v1.PodSchedulingGate": schema_k8sio_api_core_v1_PodSchedulingGate(ref), + "k8s.io/api/core/v1.PodSecurityContext": schema_k8sio_api_core_v1_PodSecurityContext(ref), + "k8s.io/api/core/v1.PodSignature": schema_k8sio_api_core_v1_PodSignature(ref), + "k8s.io/api/core/v1.PodSpec": schema_k8sio_api_core_v1_PodSpec(ref), + "k8s.io/api/core/v1.PodStatus": schema_k8sio_api_core_v1_PodStatus(ref), + "k8s.io/api/core/v1.PodStatusResult": schema_k8sio_api_core_v1_PodStatusResult(ref), + "k8s.io/api/core/v1.PodTemplate": schema_k8sio_api_core_v1_PodTemplate(ref), + "k8s.io/api/core/v1.PodTemplateList": schema_k8sio_api_core_v1_PodTemplateList(ref), + "k8s.io/api/core/v1.PodTemplateSpec": schema_k8sio_api_core_v1_PodTemplateSpec(ref), + "k8s.io/api/core/v1.PortStatus": schema_k8sio_api_core_v1_PortStatus(ref), + "k8s.io/api/core/v1.PortworxVolumeSource": schema_k8sio_api_core_v1_PortworxVolumeSource(ref), + "k8s.io/api/core/v1.PreferAvoidPodsEntry": schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref), + "k8s.io/api/core/v1.PreferredSchedulingTerm": schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref), + "k8s.io/api/core/v1.Probe": schema_k8sio_api_core_v1_Probe(ref), + "k8s.io/api/core/v1.ProbeHandler": schema_k8sio_api_core_v1_ProbeHandler(ref), + "k8s.io/api/core/v1.ProjectedVolumeSource": schema_k8sio_api_core_v1_ProjectedVolumeSource(ref), + "k8s.io/api/core/v1.QuobyteVolumeSource": schema_k8sio_api_core_v1_QuobyteVolumeSource(ref), + "k8s.io/api/core/v1.RBDPersistentVolumeSource": schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref), + "k8s.io/api/core/v1.RBDVolumeSource": schema_k8sio_api_core_v1_RBDVolumeSource(ref), + "k8s.io/api/core/v1.RangeAllocation": schema_k8sio_api_core_v1_RangeAllocation(ref), + "k8s.io/api/core/v1.ReplicationController": schema_k8sio_api_core_v1_ReplicationController(ref), + "k8s.io/api/core/v1.ReplicationControllerCondition": schema_k8sio_api_core_v1_ReplicationControllerCondition(ref), + "k8s.io/api/core/v1.ReplicationControllerList": schema_k8sio_api_core_v1_ReplicationControllerList(ref), + "k8s.io/api/core/v1.ReplicationControllerSpec": schema_k8sio_api_core_v1_ReplicationControllerSpec(ref), + "k8s.io/api/core/v1.ReplicationControllerStatus": schema_k8sio_api_core_v1_ReplicationControllerStatus(ref), + "k8s.io/api/core/v1.ResourceClaim": schema_k8sio_api_core_v1_ResourceClaim(ref), + "k8s.io/api/core/v1.ResourceFieldSelector": schema_k8sio_api_core_v1_ResourceFieldSelector(ref), + "k8s.io/api/core/v1.ResourceQuota": schema_k8sio_api_core_v1_ResourceQuota(ref), + "k8s.io/api/core/v1.ResourceQuotaList": schema_k8sio_api_core_v1_ResourceQuotaList(ref), + "k8s.io/api/core/v1.ResourceQuotaSpec": schema_k8sio_api_core_v1_ResourceQuotaSpec(ref), + "k8s.io/api/core/v1.ResourceQuotaStatus": schema_k8sio_api_core_v1_ResourceQuotaStatus(ref), + "k8s.io/api/core/v1.ResourceRequirements": schema_k8sio_api_core_v1_ResourceRequirements(ref), + "k8s.io/api/core/v1.SELinuxOptions": schema_k8sio_api_core_v1_SELinuxOptions(ref), + "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource": schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref), + "k8s.io/api/core/v1.ScaleIOVolumeSource": schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref), + "k8s.io/api/core/v1.ScopeSelector": schema_k8sio_api_core_v1_ScopeSelector(ref), + "k8s.io/api/core/v1.ScopedResourceSelectorRequirement": schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref), + "k8s.io/api/core/v1.SeccompProfile": schema_k8sio_api_core_v1_SeccompProfile(ref), + "k8s.io/api/core/v1.Secret": schema_k8sio_api_core_v1_Secret(ref), + "k8s.io/api/core/v1.SecretEnvSource": schema_k8sio_api_core_v1_SecretEnvSource(ref), + "k8s.io/api/core/v1.SecretKeySelector": schema_k8sio_api_core_v1_SecretKeySelector(ref), + "k8s.io/api/core/v1.SecretList": schema_k8sio_api_core_v1_SecretList(ref), + "k8s.io/api/core/v1.SecretProjection": schema_k8sio_api_core_v1_SecretProjection(ref), + "k8s.io/api/core/v1.SecretReference": schema_k8sio_api_core_v1_SecretReference(ref), + "k8s.io/api/core/v1.SecretVolumeSource": schema_k8sio_api_core_v1_SecretVolumeSource(ref), + "k8s.io/api/core/v1.SecurityContext": schema_k8sio_api_core_v1_SecurityContext(ref), + "k8s.io/api/core/v1.SerializedReference": schema_k8sio_api_core_v1_SerializedReference(ref), + "k8s.io/api/core/v1.Service": schema_k8sio_api_core_v1_Service(ref), + "k8s.io/api/core/v1.ServiceAccount": schema_k8sio_api_core_v1_ServiceAccount(ref), + "k8s.io/api/core/v1.ServiceAccountList": schema_k8sio_api_core_v1_ServiceAccountList(ref), + "k8s.io/api/core/v1.ServiceAccountTokenProjection": schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref), + "k8s.io/api/core/v1.ServiceList": schema_k8sio_api_core_v1_ServiceList(ref), + "k8s.io/api/core/v1.ServicePort": schema_k8sio_api_core_v1_ServicePort(ref), + "k8s.io/api/core/v1.ServiceProxyOptions": schema_k8sio_api_core_v1_ServiceProxyOptions(ref), + "k8s.io/api/core/v1.ServiceSpec": schema_k8sio_api_core_v1_ServiceSpec(ref), + "k8s.io/api/core/v1.ServiceStatus": schema_k8sio_api_core_v1_ServiceStatus(ref), + "k8s.io/api/core/v1.SessionAffinityConfig": schema_k8sio_api_core_v1_SessionAffinityConfig(ref), + "k8s.io/api/core/v1.SleepAction": schema_k8sio_api_core_v1_SleepAction(ref), + "k8s.io/api/core/v1.StorageOSPersistentVolumeSource": schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref), + "k8s.io/api/core/v1.StorageOSVolumeSource": schema_k8sio_api_core_v1_StorageOSVolumeSource(ref), + "k8s.io/api/core/v1.Sysctl": schema_k8sio_api_core_v1_Sysctl(ref), + "k8s.io/api/core/v1.TCPSocketAction": schema_k8sio_api_core_v1_TCPSocketAction(ref), + "k8s.io/api/core/v1.Taint": schema_k8sio_api_core_v1_Taint(ref), + "k8s.io/api/core/v1.Toleration": schema_k8sio_api_core_v1_Toleration(ref), + "k8s.io/api/core/v1.TopologySelectorLabelRequirement": schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref), + "k8s.io/api/core/v1.TopologySelectorTerm": schema_k8sio_api_core_v1_TopologySelectorTerm(ref), + "k8s.io/api/core/v1.TopologySpreadConstraint": schema_k8sio_api_core_v1_TopologySpreadConstraint(ref), + "k8s.io/api/core/v1.TypedLocalObjectReference": schema_k8sio_api_core_v1_TypedLocalObjectReference(ref), + "k8s.io/api/core/v1.TypedObjectReference": schema_k8sio_api_core_v1_TypedObjectReference(ref), + "k8s.io/api/core/v1.Volume": schema_k8sio_api_core_v1_Volume(ref), + "k8s.io/api/core/v1.VolumeDevice": schema_k8sio_api_core_v1_VolumeDevice(ref), + "k8s.io/api/core/v1.VolumeMount": schema_k8sio_api_core_v1_VolumeMount(ref), + "k8s.io/api/core/v1.VolumeNodeAffinity": schema_k8sio_api_core_v1_VolumeNodeAffinity(ref), + "k8s.io/api/core/v1.VolumeProjection": schema_k8sio_api_core_v1_VolumeProjection(ref), + "k8s.io/api/core/v1.VolumeResourceRequirements": schema_k8sio_api_core_v1_VolumeResourceRequirements(ref), + "k8s.io/api/core/v1.VolumeSource": schema_k8sio_api_core_v1_VolumeSource(ref), + "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource": schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref), + "k8s.io/api/core/v1.WeightedPodAffinityTerm": schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref), + "k8s.io/api/core/v1.WindowsSecurityContextOptions": schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref), + "k8s.io/api/rbac/v1.AggregationRule": schema_k8sio_api_rbac_v1_AggregationRule(ref), + "k8s.io/api/rbac/v1.ClusterRole": schema_k8sio_api_rbac_v1_ClusterRole(ref), + "k8s.io/api/rbac/v1.ClusterRoleBinding": schema_k8sio_api_rbac_v1_ClusterRoleBinding(ref), + "k8s.io/api/rbac/v1.ClusterRoleBindingList": schema_k8sio_api_rbac_v1_ClusterRoleBindingList(ref), + "k8s.io/api/rbac/v1.ClusterRoleList": schema_k8sio_api_rbac_v1_ClusterRoleList(ref), + "k8s.io/api/rbac/v1.PolicyRule": schema_k8sio_api_rbac_v1_PolicyRule(ref), + "k8s.io/api/rbac/v1.Role": schema_k8sio_api_rbac_v1_Role(ref), + "k8s.io/api/rbac/v1.RoleBinding": schema_k8sio_api_rbac_v1_RoleBinding(ref), + "k8s.io/api/rbac/v1.RoleBindingList": schema_k8sio_api_rbac_v1_RoleBindingList(ref), + "k8s.io/api/rbac/v1.RoleList": schema_k8sio_api_rbac_v1_RoleList(ref), + "k8s.io/api/rbac/v1.RoleRef": schema_k8sio_api_rbac_v1_RoleRef(ref), + "k8s.io/api/rbac/v1.Subject": schema_k8sio_api_rbac_v1_Subject(ref), + "k8s.io/apimachinery/pkg/api/resource.Quantity": schema_apimachinery_pkg_api_resource_Quantity(ref), + "k8s.io/apimachinery/pkg/api/resource.int64Amount": schema_apimachinery_pkg_api_resource_int64Amount(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), + "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), + "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), + "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), + "k8s.io/apimachinery/pkg/version.Info": schema_k8sio_apimachinery_pkg_version_Info(ref), } } -func schema_pkg_apis_apps_v1alpha1_CommandArgsOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_CommandArgsOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -475,7 +480,7 @@ func schema_pkg_apis_apps_v1alpha1_CommandArgsOverrider(ref common.ReferenceCall } } -func schema_pkg_apis_apps_v1alpha1_EdgeApplication(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_EdgeApplication(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -506,25 +511,25 @@ func schema_pkg_apis_apps_v1alpha1_EdgeApplication(ref common.ReferenceCallback) SchemaProps: spec.SchemaProps{ Description: "Spec represents the desired behavior of EdgeApplication.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplicationSpec"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplicationSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status represents the status of PropagationStatus.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplicationStatus"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplicationStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplicationSpec", "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplicationStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplicationSpec", "github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplicationStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_apps_v1alpha1_EdgeApplicationList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_EdgeApplicationList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -558,7 +563,7 @@ func schema_pkg_apis_apps_v1alpha1_EdgeApplicationList(ref common.ReferenceCallb Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplication"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplication"), }, }, }, @@ -569,11 +574,11 @@ func schema_pkg_apis_apps_v1alpha1_EdgeApplicationList(ref common.ReferenceCallb }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EdgeApplication", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.EdgeApplication", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_apps_v1alpha1_EdgeApplicationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_EdgeApplicationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -584,14 +589,14 @@ func schema_pkg_apis_apps_v1alpha1_EdgeApplicationSpec(ref common.ReferenceCallb SchemaProps: spec.SchemaProps{ Description: "WorkloadTemplate contains original templates of resources to be deployed as an EdgeApplication.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourceTemplate"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.ResourceTemplate"), }, }, "workloadScope": { SchemaProps: spec.SchemaProps{ Description: "WorkloadScope represents which node groups the workload will be deployed in.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.WorkloadScope"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.WorkloadScope"), }, }, }, @@ -599,11 +604,11 @@ func schema_pkg_apis_apps_v1alpha1_EdgeApplicationSpec(ref common.ReferenceCallb }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourceTemplate", "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.WorkloadScope"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.ResourceTemplate", "github.com/kubeedge/api/apis/apps/v1alpha1.WorkloadScope"}, } } -func schema_pkg_apis_apps_v1alpha1_EdgeApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_EdgeApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -618,7 +623,7 @@ func schema_pkg_apis_apps_v1alpha1_EdgeApplicationStatus(ref common.ReferenceCal Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ManifestStatus"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.ManifestStatus"), }, }, }, @@ -628,11 +633,11 @@ func schema_pkg_apis_apps_v1alpha1_EdgeApplicationStatus(ref common.ReferenceCal }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ManifestStatus"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.ManifestStatus"}, } } -func schema_pkg_apis_apps_v1alpha1_EnvOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_EnvOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -678,7 +683,7 @@ func schema_pkg_apis_apps_v1alpha1_EnvOverrider(ref common.ReferenceCallback) co } } -func schema_pkg_apis_apps_v1alpha1_ImageOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_ImageOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -688,7 +693,7 @@ func schema_pkg_apis_apps_v1alpha1_ImageOverrider(ref common.ReferenceCallback) "predicate": { SchemaProps: spec.SchemaProps{ Description: "Predicate filters images before applying the rule.\n\nDefaults to nil, in that case, the system will automatically detect image fields if the resource type is Pod, ReplicaSet, Deployment or StatefulSet by following rule:\n - Pod: /spec/containers/<N>/image\n - ReplicaSet: /spec/template/spec/containers/<N>/image\n - Deployment: /spec/template/spec/containers/<N>/image\n - StatefulSet: /spec/template/spec/containers/<N>/image\nIn addition, all images will be processed if the resource object has more than one containers.\n\nIf not nil, only images matches the filters will be processed.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ImagePredicate"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.ImagePredicate"), }, }, "component": { @@ -719,11 +724,11 @@ func schema_pkg_apis_apps_v1alpha1_ImageOverrider(ref common.ReferenceCallback) }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ImagePredicate"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.ImagePredicate"}, } } -func schema_pkg_apis_apps_v1alpha1_ImagePredicate(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_ImagePredicate(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -745,7 +750,7 @@ func schema_pkg_apis_apps_v1alpha1_ImagePredicate(ref common.ReferenceCallback) } } -func schema_pkg_apis_apps_v1alpha1_Manifest(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_Manifest(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -756,7 +761,7 @@ func schema_pkg_apis_apps_v1alpha1_Manifest(ref common.ReferenceCallback) common } } -func schema_pkg_apis_apps_v1alpha1_ManifestStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_ManifestStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -767,7 +772,7 @@ func schema_pkg_apis_apps_v1alpha1_ManifestStatus(ref common.ReferenceCallback) SchemaProps: spec.SchemaProps{ Description: "Identifier represents the identity of a resource linking to manifests in spec.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourceIdentifier"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.ResourceIdentifier"), }, }, "conditions": { @@ -782,11 +787,11 @@ func schema_pkg_apis_apps_v1alpha1_ManifestStatus(ref common.ReferenceCallback) }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourceIdentifier"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.ResourceIdentifier"}, } } -func schema_pkg_apis_apps_v1alpha1_NodeGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_NodeGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -817,25 +822,25 @@ func schema_pkg_apis_apps_v1alpha1_NodeGroup(ref common.ReferenceCallback) commo SchemaProps: spec.SchemaProps{ Description: "Spec represents the specification of the desired behavior of member nodegroup.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroupSpec"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroupSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status represents the status of member nodegroup.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroupStatus"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroupStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroupSpec", "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroupStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroupSpec", "github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroupStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_apps_v1alpha1_NodeGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_NodeGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -869,7 +874,7 @@ func schema_pkg_apis_apps_v1alpha1_NodeGroupList(ref common.ReferenceCallback) c Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroup"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroup"), }, }, }, @@ -880,11 +885,11 @@ func schema_pkg_apis_apps_v1alpha1_NodeGroupList(ref common.ReferenceCallback) c }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeGroup", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeGroup", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_apps_v1alpha1_NodeGroupSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_NodeGroupSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -928,7 +933,7 @@ func schema_pkg_apis_apps_v1alpha1_NodeGroupSpec(ref common.ReferenceCallback) c } } -func schema_pkg_apis_apps_v1alpha1_NodeGroupStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_NodeGroupStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -943,7 +948,7 @@ func schema_pkg_apis_apps_v1alpha1_NodeGroupStatus(ref common.ReferenceCallback) Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeStatus"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.NodeStatus"), }, }, }, @@ -953,11 +958,11 @@ func schema_pkg_apis_apps_v1alpha1_NodeGroupStatus(ref common.ReferenceCallback) }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.NodeStatus"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.NodeStatus"}, } } -func schema_pkg_apis_apps_v1alpha1_NodeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_NodeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1002,7 +1007,7 @@ func schema_pkg_apis_apps_v1alpha1_NodeStatus(ref common.ReferenceCallback) comm } } -func schema_pkg_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1024,7 +1029,7 @@ func schema_pkg_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) comm Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ImageOverrider"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.ImageOverrider"), }, }, }, @@ -1038,7 +1043,7 @@ func schema_pkg_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) comm Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EnvOverrider"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.EnvOverrider"), }, }, }, @@ -1052,7 +1057,7 @@ func schema_pkg_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) comm Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.CommandArgsOverrider"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.CommandArgsOverrider"), }, }, }, @@ -1066,7 +1071,7 @@ func schema_pkg_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) comm Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.CommandArgsOverrider"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.CommandArgsOverrider"), }, }, }, @@ -1080,7 +1085,7 @@ func schema_pkg_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) comm Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourcesOverrider"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.ResourcesOverrider"), }, }, }, @@ -1090,11 +1095,11 @@ func schema_pkg_apis_apps_v1alpha1_Overriders(ref common.ReferenceCallback) comm }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.CommandArgsOverrider", "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.EnvOverrider", "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ImageOverrider", "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.ResourcesOverrider"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.CommandArgsOverrider", "github.com/kubeedge/api/apis/apps/v1alpha1.EnvOverrider", "github.com/kubeedge/api/apis/apps/v1alpha1.ImageOverrider", "github.com/kubeedge/api/apis/apps/v1alpha1.ResourcesOverrider"}, } } -func schema_pkg_apis_apps_v1alpha1_ResourceIdentifier(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_ResourceIdentifier(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1158,7 +1163,7 @@ func schema_pkg_apis_apps_v1alpha1_ResourceIdentifier(ref common.ReferenceCallba } } -func schema_pkg_apis_apps_v1alpha1_ResourceTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_ResourceTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1172,8 +1177,7 @@ func schema_pkg_apis_apps_v1alpha1_ResourceTemplate(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.Manifest"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.Manifest"), }, }, }, @@ -1183,11 +1187,11 @@ func schema_pkg_apis_apps_v1alpha1_ResourceTemplate(ref common.ReferenceCallback }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.Manifest"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.Manifest"}, } } -func schema_pkg_apis_apps_v1alpha1_ResourcesOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_ResourcesOverrider(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1218,7 +1222,7 @@ func schema_pkg_apis_apps_v1alpha1_ResourcesOverrider(ref common.ReferenceCallba } } -func schema_pkg_apis_apps_v1alpha1_TargetNodeGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_TargetNodeGroup(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1237,7 +1241,7 @@ func schema_pkg_apis_apps_v1alpha1_TargetNodeGroup(ref common.ReferenceCallback) SchemaProps: spec.SchemaProps{ Description: "Overriders represents the override rules that would apply on workload.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.Overriders"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.Overriders"), }, }, }, @@ -1245,11 +1249,11 @@ func schema_pkg_apis_apps_v1alpha1_TargetNodeGroup(ref common.ReferenceCallback) }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.Overriders"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.Overriders"}, } } -func schema_pkg_apis_apps_v1alpha1_WorkloadScope(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_apps_v1alpha1_WorkloadScope(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1264,7 +1268,7 @@ func schema_pkg_apis_apps_v1alpha1_WorkloadScope(ref common.ReferenceCallback) c Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.TargetNodeGroup"), + Ref: ref("github.com/kubeedge/api/apis/apps/v1alpha1.TargetNodeGroup"), }, }, }, @@ -1274,11 +1278,11 @@ func schema_pkg_apis_apps_v1alpha1_WorkloadScope(ref common.ReferenceCallback) c }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1.TargetNodeGroup"}, + "github.com/kubeedge/api/apis/apps/v1alpha1.TargetNodeGroup"}, } } -func schema_pkg_apis_devices_v1alpha2_BluetoothOperations(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_BluetoothOperations(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1305,7 +1309,7 @@ func schema_pkg_apis_devices_v1alpha2_BluetoothOperations(ref common.ReferenceCa } } -func schema_pkg_apis_devices_v1alpha2_BluetoothReadConverter(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_BluetoothReadConverter(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1348,7 +1352,7 @@ func schema_pkg_apis_devices_v1alpha2_BluetoothReadConverter(ref common.Referenc Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.BluetoothOperations"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.BluetoothOperations"), }, }, }, @@ -1358,11 +1362,11 @@ func schema_pkg_apis_devices_v1alpha2_BluetoothReadConverter(ref common.Referenc }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.BluetoothOperations"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.BluetoothOperations"}, } } -func schema_pkg_apis_devices_v1alpha2_CustomizedValue(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_CustomizedValue(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1373,7 +1377,7 @@ func schema_pkg_apis_devices_v1alpha2_CustomizedValue(ref common.ReferenceCallba } } -func schema_pkg_apis_devices_v1alpha2_DataProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DataProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1409,7 +1413,7 @@ func schema_pkg_apis_devices_v1alpha2_DataProperty(ref common.ReferenceCallback) } } -func schema_pkg_apis_devices_v1alpha2_Device(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_Device(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1439,24 +1443,24 @@ func schema_pkg_apis_devices_v1alpha2_Device(ref common.ReferenceCallback) commo "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceSpec"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DeviceSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceStatus"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DeviceStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceSpec", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceSpec", "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceData(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceData(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1471,7 +1475,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceData(ref common.ReferenceCallback) c Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DataProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DataProperty"), }, }, }, @@ -1488,11 +1492,11 @@ func schema_pkg_apis_devices_v1alpha2_DeviceData(ref common.ReferenceCallback) c }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DataProperty"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.DataProperty"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1526,7 +1530,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceList(ref common.ReferenceCallback) c Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.Device"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.Device"), }, }, }, @@ -1537,11 +1541,11 @@ func schema_pkg_apis_devices_v1alpha2_DeviceList(ref common.ReferenceCallback) c }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.Device", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.Device", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceModel(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceModel(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1571,18 +1575,18 @@ func schema_pkg_apis_devices_v1alpha2_DeviceModel(ref common.ReferenceCallback) "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceModelSpec"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DeviceModelSpec"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceModelSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceModelSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceModelList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceModelList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1616,7 +1620,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceModelList(ref common.ReferenceCallba Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceModel"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DeviceModel"), }, }, }, @@ -1627,11 +1631,11 @@ func schema_pkg_apis_devices_v1alpha2_DeviceModelList(ref common.ReferenceCallba }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceModel", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceModel", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceModelSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceModelSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1653,7 +1657,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceModelSpec(ref common.ReferenceCallba Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DeviceProperty"), }, }, }, @@ -1663,11 +1667,11 @@ func schema_pkg_apis_devices_v1alpha2_DeviceModelSpec(ref common.ReferenceCallba }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceProperty"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceProperty"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1692,18 +1696,18 @@ func schema_pkg_apis_devices_v1alpha2_DeviceProperty(ref common.ReferenceCallbac SchemaProps: spec.SchemaProps{ Description: "Required: PropertyType represents the type and data validation of the property.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyType"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.PropertyType"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyType"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyType"}, } } -func schema_pkg_apis_devices_v1alpha2_DevicePropertyVisitor(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DevicePropertyVisitor(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1734,42 +1738,42 @@ func schema_pkg_apis_devices_v1alpha2_DevicePropertyVisitor(ref common.Reference "customizedValues": { SchemaProps: spec.SchemaProps{ Description: "Customized values for visitor of provided protocols", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue"), }, }, "opcua": { SchemaProps: spec.SchemaProps{ Description: "Opcua represents a set of additional visitor config fields of opc-ua protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigOPCUA"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigOPCUA"), }, }, "modbus": { SchemaProps: spec.SchemaProps{ Description: "Modbus represents a set of additional visitor config fields of modbus protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigModbus"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigModbus"), }, }, "bluetooth": { SchemaProps: spec.SchemaProps{ Description: "Bluetooth represents a set of additional visitor config fields of bluetooth protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigBluetooth"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigBluetooth"), }, }, "customizedProtocol": { SchemaProps: spec.SchemaProps{ Description: "CustomizedProtocol represents a set of visitor config fields of bluetooth protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigCustomized"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigCustomized"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigBluetooth", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigCustomized", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigModbus", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigOPCUA"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue", "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigBluetooth", "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigCustomized", "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigModbus", "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigOPCUA"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1786,7 +1790,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceSpec(ref common.ReferenceCallback) c SchemaProps: spec.SchemaProps{ Description: "Required: The protocol configuration used to connect to the device.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfig"), }, }, "propertyVisitors": { @@ -1797,7 +1801,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceSpec(ref common.ReferenceCallback) c Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DevicePropertyVisitor"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DevicePropertyVisitor"), }, }, }, @@ -1807,7 +1811,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceSpec(ref common.ReferenceCallback) c SchemaProps: spec.SchemaProps{ Description: "Data section describe a list of time-series properties which should be processed on edge node.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceData"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.DeviceData"), }, }, "nodeSelector": { @@ -1820,11 +1824,11 @@ func schema_pkg_apis_devices_v1alpha2_DeviceSpec(ref common.ReferenceCallback) c }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DeviceData", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.DevicePropertyVisitor", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfig", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.NodeSelector"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.DeviceData", "github.com/kubeedge/api/apis/devices/v1alpha2.DevicePropertyVisitor", "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfig", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.NodeSelector"}, } } -func schema_pkg_apis_devices_v1alpha2_DeviceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_DeviceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1839,7 +1843,7 @@ func schema_pkg_apis_devices_v1alpha2_DeviceStatus(ref common.ReferenceCallback) Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.Twin"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.Twin"), }, }, }, @@ -1849,11 +1853,11 @@ func schema_pkg_apis_devices_v1alpha2_DeviceStatus(ref common.ReferenceCallback) }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.Twin"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.Twin"}, } } -func schema_pkg_apis_devices_v1alpha2_PropertyType(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_PropertyType(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1862,43 +1866,43 @@ func schema_pkg_apis_devices_v1alpha2_PropertyType(ref common.ReferenceCallback) Properties: map[string]spec.Schema{ "int": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeInt64"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeInt64"), }, }, "string": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeString"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeString"), }, }, "double": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeDouble"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeDouble"), }, }, "float": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeFloat"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeFloat"), }, }, "boolean": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeBoolean"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeBoolean"), }, }, "bytes": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeBytes"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeBytes"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeBoolean", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeBytes", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeDouble", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeFloat", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeInt64", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.PropertyTypeString"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeBoolean", "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeBytes", "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeDouble", "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeFloat", "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeInt64", "github.com/kubeedge/api/apis/devices/v1alpha2.PropertyTypeString"}, } } -func schema_pkg_apis_devices_v1alpha2_PropertyTypeBoolean(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_PropertyTypeBoolean(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1923,7 +1927,7 @@ func schema_pkg_apis_devices_v1alpha2_PropertyTypeBoolean(ref common.ReferenceCa } } -func schema_pkg_apis_devices_v1alpha2_PropertyTypeBytes(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_PropertyTypeBytes(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1942,7 +1946,7 @@ func schema_pkg_apis_devices_v1alpha2_PropertyTypeBytes(ref common.ReferenceCall } } -func schema_pkg_apis_devices_v1alpha2_PropertyTypeDouble(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_PropertyTypeDouble(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -1986,7 +1990,7 @@ func schema_pkg_apis_devices_v1alpha2_PropertyTypeDouble(ref common.ReferenceCal } } -func schema_pkg_apis_devices_v1alpha2_PropertyTypeFloat(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_PropertyTypeFloat(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2030,7 +2034,7 @@ func schema_pkg_apis_devices_v1alpha2_PropertyTypeFloat(ref common.ReferenceCall } } -func schema_pkg_apis_devices_v1alpha2_PropertyTypeInt64(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_PropertyTypeInt64(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2074,7 +2078,7 @@ func schema_pkg_apis_devices_v1alpha2_PropertyTypeInt64(ref common.ReferenceCall } } -func schema_pkg_apis_devices_v1alpha2_PropertyTypeString(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_PropertyTypeString(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2099,7 +2103,7 @@ func schema_pkg_apis_devices_v1alpha2_PropertyTypeString(ref common.ReferenceCal } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2109,42 +2113,42 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfig(ref common.ReferenceCallbac "opcua": { SchemaProps: spec.SchemaProps{ Description: "Protocol configuration for opc-ua", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigOpcUA"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigOpcUA"), }, }, "modbus": { SchemaProps: spec.SchemaProps{ Description: "Protocol configuration for modbus", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigModbus"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigModbus"), }, }, "bluetooth": { SchemaProps: spec.SchemaProps{ Description: "Protocol configuration for bluetooth", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigBluetooth"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigBluetooth"), }, }, "common": { SchemaProps: spec.SchemaProps{ Description: "Configuration for protocol common part", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCommon"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCommon"), }, }, "customizedProtocol": { SchemaProps: spec.SchemaProps{ Description: "Configuration for customized protocol", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCustomized"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCustomized"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigBluetooth", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCommon", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCustomized", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigModbus", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigOpcUA"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigBluetooth", "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCommon", "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCustomized", "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigModbus", "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigOpcUA"}, } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfigBluetooth(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfigBluetooth(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2163,7 +2167,7 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigBluetooth(ref common.Referen } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfigCOM(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfigCOM(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2210,7 +2214,7 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigCOM(ref common.ReferenceCall } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfigCommon(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfigCommon(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2219,12 +2223,12 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigCommon(ref common.ReferenceC Properties: map[string]spec.Schema{ "com": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCOM"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCOM"), }, }, "tcp": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigTCP"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigTCP"), }, }, "commType": { @@ -2272,18 +2276,18 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigCommon(ref common.ReferenceC "customizedValues": { SchemaProps: spec.SchemaProps{ Description: "Customized values for provided protocol", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigCOM", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.ProtocolConfigTCP"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue", "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigCOM", "github.com/kubeedge/api/apis/devices/v1alpha2.ProtocolConfigTCP"}, } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfigCustomized(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfigCustomized(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2299,18 +2303,18 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigCustomized(ref common.Refere "configData": { SchemaProps: spec.SchemaProps{ Description: "Any config data", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue"}, } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfigModbus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfigModbus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2330,7 +2334,7 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigModbus(ref common.ReferenceC } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfigOpcUA(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfigOpcUA(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2398,7 +2402,7 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigOpcUA(ref common.ReferenceCa } } -func schema_pkg_apis_devices_v1alpha2_ProtocolConfigTCP(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_ProtocolConfigTCP(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2424,7 +2428,7 @@ func schema_pkg_apis_devices_v1alpha2_ProtocolConfigTCP(ref common.ReferenceCall } } -func schema_pkg_apis_devices_v1alpha2_Twin(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_Twin(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2442,25 +2446,25 @@ func schema_pkg_apis_devices_v1alpha2_Twin(ref common.ReferenceCallback) common. SchemaProps: spec.SchemaProps{ Description: "Required: the desired property value.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.TwinProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.TwinProperty"), }, }, "reported": { SchemaProps: spec.SchemaProps{ Description: "Required: the reported property value.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.TwinProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.TwinProperty"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.TwinProperty"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.TwinProperty"}, } } -func schema_pkg_apis_devices_v1alpha2_TwinProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_TwinProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2498,7 +2502,7 @@ func schema_pkg_apis_devices_v1alpha2_TwinProperty(ref common.ReferenceCallback) } } -func schema_pkg_apis_devices_v1alpha2_VisitorConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_VisitorConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2508,36 +2512,36 @@ func schema_pkg_apis_devices_v1alpha2_VisitorConfig(ref common.ReferenceCallback "opcua": { SchemaProps: spec.SchemaProps{ Description: "Opcua represents a set of additional visitor config fields of opc-ua protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigOPCUA"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigOPCUA"), }, }, "modbus": { SchemaProps: spec.SchemaProps{ Description: "Modbus represents a set of additional visitor config fields of modbus protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigModbus"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigModbus"), }, }, "bluetooth": { SchemaProps: spec.SchemaProps{ Description: "Bluetooth represents a set of additional visitor config fields of bluetooth protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigBluetooth"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigBluetooth"), }, }, "customizedProtocol": { SchemaProps: spec.SchemaProps{ Description: "CustomizedProtocol represents a set of visitor config fields of bluetooth protocol.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigCustomized"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigCustomized"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigBluetooth", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigCustomized", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigModbus", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.VisitorConfigOPCUA"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigBluetooth", "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigCustomized", "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigModbus", "github.com/kubeedge/api/apis/devices/v1alpha2.VisitorConfigOPCUA"}, } } -func schema_pkg_apis_devices_v1alpha2_VisitorConfigBluetooth(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_VisitorConfigBluetooth(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2570,18 +2574,18 @@ func schema_pkg_apis_devices_v1alpha2_VisitorConfigBluetooth(ref common.Referenc SchemaProps: spec.SchemaProps{ Description: "Responsible for converting the data being read from the bluetooth device into a form that is understandable by the platform", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.BluetoothReadConverter"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.BluetoothReadConverter"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.BluetoothReadConverter"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.BluetoothReadConverter"}, } } -func schema_pkg_apis_devices_v1alpha2_VisitorConfigCustomized(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_VisitorConfigCustomized(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2598,18 +2602,18 @@ func schema_pkg_apis_devices_v1alpha2_VisitorConfigCustomized(ref common.Referen "configData": { SchemaProps: spec.SchemaProps{ Description: "Required: The configData of customized protocol", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2.CustomizedValue"}, + "github.com/kubeedge/api/apis/devices/v1alpha2.CustomizedValue"}, } } -func schema_pkg_apis_devices_v1alpha2_VisitorConfigModbus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_VisitorConfigModbus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2664,7 +2668,7 @@ func schema_pkg_apis_devices_v1alpha2_VisitorConfigModbus(ref common.ReferenceCa } } -func schema_pkg_apis_devices_v1alpha2_VisitorConfigOPCUA(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1alpha2_VisitorConfigOPCUA(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2691,7 +2695,7 @@ func schema_pkg_apis_devices_v1alpha2_VisitorConfigOPCUA(ref common.ReferenceCal } } -func schema_pkg_apis_devices_v1beta1_CustomizedValue(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_CustomizedValue(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2702,7 +2706,7 @@ func schema_pkg_apis_devices_v1beta1_CustomizedValue(ref common.ReferenceCallbac } } -func schema_pkg_apis_devices_v1beta1_DBMethodConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DBMethodConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2711,33 +2715,33 @@ func schema_pkg_apis_devices_v1beta1_DBMethodConfig(ref common.ReferenceCallback "influxdb2": { SchemaProps: spec.SchemaProps{ Description: "method configuration for database", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodInfluxdb2"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DBMethodInfluxdb2"), }, }, "redis": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodRedis"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DBMethodRedis"), }, }, "TDEngine": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodTDEngine"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DBMethodTDEngine"), }, }, "mysql": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodMySQL"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DBMethodMySQL"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodInfluxdb2", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodMySQL", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodRedis", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodTDEngine"}, + "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodInfluxdb2", "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodMySQL", "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodRedis", "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodTDEngine"}, } } -func schema_pkg_apis_devices_v1beta1_DBMethodInfluxdb2(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DBMethodInfluxdb2(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2746,24 +2750,24 @@ func schema_pkg_apis_devices_v1beta1_DBMethodInfluxdb2(ref common.ReferenceCallb "influxdb2ClientConfig": { SchemaProps: spec.SchemaProps{ Description: "Config of influx database", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Influxdb2ClientConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.Influxdb2ClientConfig"), }, }, "influxdb2DataConfig": { SchemaProps: spec.SchemaProps{ Description: "config of device data when push to influx database", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Influxdb2DataConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.Influxdb2DataConfig"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Influxdb2ClientConfig", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Influxdb2DataConfig"}, + "github.com/kubeedge/api/apis/devices/v1beta1.Influxdb2ClientConfig", "github.com/kubeedge/api/apis/devices/v1beta1.Influxdb2DataConfig"}, } } -func schema_pkg_apis_devices_v1beta1_DBMethodMySQL(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DBMethodMySQL(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2771,18 +2775,18 @@ func schema_pkg_apis_devices_v1beta1_DBMethodMySQL(ref common.ReferenceCallback) Properties: map[string]spec.Schema{ "mysqlClientConfig": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.MySQLClientConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.MySQLClientConfig"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.MySQLClientConfig"}, + "github.com/kubeedge/api/apis/devices/v1beta1.MySQLClientConfig"}, } } -func schema_pkg_apis_devices_v1beta1_DBMethodRedis(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DBMethodRedis(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2791,18 +2795,18 @@ func schema_pkg_apis_devices_v1beta1_DBMethodRedis(ref common.ReferenceCallback) "redisClientConfig": { SchemaProps: spec.SchemaProps{ Description: "RedisClientConfig of redis database", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.RedisClientConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.RedisClientConfig"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.RedisClientConfig"}, + "github.com/kubeedge/api/apis/devices/v1beta1.RedisClientConfig"}, } } -func schema_pkg_apis_devices_v1beta1_DBMethodTDEngine(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DBMethodTDEngine(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2811,18 +2815,18 @@ func schema_pkg_apis_devices_v1beta1_DBMethodTDEngine(ref common.ReferenceCallba "TDEngineClientConfig": { SchemaProps: spec.SchemaProps{ Description: "tdengineClientConfig of tdengine database", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TDEngineClientConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.TDEngineClientConfig"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TDEngineClientConfig"}, + "github.com/kubeedge/api/apis/devices/v1beta1.TDEngineClientConfig"}, } } -func schema_pkg_apis_devices_v1beta1_Device(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_Device(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2852,24 +2856,24 @@ func schema_pkg_apis_devices_v1beta1_Device(ref common.ReferenceCallback) common "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceSpec"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DeviceSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceStatus"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DeviceStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceSpec", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceSpec", "github.com/kubeedge/api/apis/devices/v1beta1.DeviceStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_devices_v1beta1_DeviceList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DeviceList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2903,7 +2907,7 @@ func schema_pkg_apis_devices_v1beta1_DeviceList(ref common.ReferenceCallback) co Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Device"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.Device"), }, }, }, @@ -2914,11 +2918,11 @@ func schema_pkg_apis_devices_v1beta1_DeviceList(ref common.ReferenceCallback) co }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Device", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/devices/v1beta1.Device", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_devices_v1beta1_DeviceModel(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DeviceModel(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2948,18 +2952,18 @@ func schema_pkg_apis_devices_v1beta1_DeviceModel(ref common.ReferenceCallback) c "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceModelSpec"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DeviceModelSpec"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceModelSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceModelSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_devices_v1beta1_DeviceModelList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DeviceModelList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -2993,7 +2997,7 @@ func schema_pkg_apis_devices_v1beta1_DeviceModelList(ref common.ReferenceCallbac Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceModel"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DeviceModel"), }, }, }, @@ -3004,11 +3008,11 @@ func schema_pkg_apis_devices_v1beta1_DeviceModelList(ref common.ReferenceCallbac }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceModel", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceModel", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_devices_v1beta1_DeviceModelSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DeviceModelSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3023,7 +3027,7 @@ func schema_pkg_apis_devices_v1beta1_DeviceModelSpec(ref common.ReferenceCallbac Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.ModelProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.ModelProperty"), }, }, }, @@ -3040,11 +3044,11 @@ func schema_pkg_apis_devices_v1beta1_DeviceModelSpec(ref common.ReferenceCallbac }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.ModelProperty"}, + "github.com/kubeedge/api/apis/devices/v1beta1.ModelProperty"}, } } -func schema_pkg_apis_devices_v1beta1_DeviceProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DeviceProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3062,14 +3066,14 @@ func schema_pkg_apis_devices_v1beta1_DeviceProperty(ref common.ReferenceCallback SchemaProps: spec.SchemaProps{ Description: "The desired property value.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TwinProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.TwinProperty"), }, }, "visitors": { SchemaProps: spec.SchemaProps{ Description: "Visitors are intended to be consumed by device mappers which connect to devices and collect data / perform actions on the device. Required: Protocol relevant config details about the how to access the device property.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.VisitorConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.VisitorConfig"), }, }, "reportCycle": { @@ -3096,18 +3100,18 @@ func schema_pkg_apis_devices_v1beta1_DeviceProperty(ref common.ReferenceCallback "pushMethod": { SchemaProps: spec.SchemaProps{ Description: "PushMethod represents the protocol used to push data, please ensure that the mapper can access the destination address.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethod"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.PushMethod"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethod", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TwinProperty", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.VisitorConfig"}, + "github.com/kubeedge/api/apis/devices/v1beta1.PushMethod", "github.com/kubeedge/api/apis/devices/v1beta1.TwinProperty", "github.com/kubeedge/api/apis/devices/v1beta1.VisitorConfig"}, } } -func schema_pkg_apis_devices_v1beta1_DeviceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DeviceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3135,7 +3139,7 @@ func schema_pkg_apis_devices_v1beta1_DeviceSpec(ref common.ReferenceCallback) co Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DeviceProperty"), }, }, }, @@ -3145,18 +3149,18 @@ func schema_pkg_apis_devices_v1beta1_DeviceSpec(ref common.ReferenceCallback) co SchemaProps: spec.SchemaProps{ Description: "Required: The protocol configuration used to connect to the device.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.ProtocolConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.ProtocolConfig"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DeviceProperty", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.ProtocolConfig", "k8s.io/api/core/v1.LocalObjectReference"}, + "github.com/kubeedge/api/apis/devices/v1beta1.DeviceProperty", "github.com/kubeedge/api/apis/devices/v1beta1.ProtocolConfig", "k8s.io/api/core/v1.LocalObjectReference"}, } } -func schema_pkg_apis_devices_v1beta1_DeviceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_DeviceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3171,21 +3175,35 @@ func schema_pkg_apis_devices_v1beta1_DeviceStatus(ref common.ReferenceCallback) Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Twin"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.Twin"), }, }, }, }, }, + "state": { + SchemaProps: spec.SchemaProps{ + Description: "Optional: The state of the device.", + Type: []string{"string"}, + Format: "", + }, + }, + "lastOnlineTime": { + SchemaProps: spec.SchemaProps{ + Description: "Optional: The last time the device was online.", + Type: []string{"string"}, + Format: "", + }, + }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.Twin"}, + "github.com/kubeedge/api/apis/devices/v1beta1.Twin"}, } } -func schema_pkg_apis_devices_v1beta1_Influxdb2ClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_Influxdb2ClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3218,7 +3236,7 @@ func schema_pkg_apis_devices_v1beta1_Influxdb2ClientConfig(ref common.ReferenceC } } -func schema_pkg_apis_devices_v1beta1_Influxdb2DataConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_Influxdb2DataConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3260,7 +3278,7 @@ func schema_pkg_apis_devices_v1beta1_Influxdb2DataConfig(ref common.ReferenceCal } } -func schema_pkg_apis_devices_v1beta1_ModelProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_ModelProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3320,7 +3338,7 @@ func schema_pkg_apis_devices_v1beta1_ModelProperty(ref common.ReferenceCallback) } } -func schema_pkg_apis_devices_v1beta1_MySQLClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_MySQLClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3353,7 +3371,7 @@ func schema_pkg_apis_devices_v1beta1_MySQLClientConfig(ref common.ReferenceCallb } } -func schema_pkg_apis_devices_v1beta1_ProtocolConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_ProtocolConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3369,18 +3387,18 @@ func schema_pkg_apis_devices_v1beta1_ProtocolConfig(ref common.ReferenceCallback "configData": { SchemaProps: spec.SchemaProps{ Description: "Any config data", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.CustomizedValue"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.CustomizedValue"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.CustomizedValue"}, + "github.com/kubeedge/api/apis/devices/v1beta1.CustomizedValue"}, } } -func schema_pkg_apis_devices_v1beta1_PushMethod(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_PushMethod(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3389,30 +3407,30 @@ func schema_pkg_apis_devices_v1beta1_PushMethod(ref common.ReferenceCallback) co "http": { SchemaProps: spec.SchemaProps{ Description: "HTTP Push method configuration for http", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethodHTTP"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.PushMethodHTTP"), }, }, "mqtt": { SchemaProps: spec.SchemaProps{ Description: "MQTT Push method configuration for mqtt", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethodMQTT"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.PushMethodMQTT"), }, }, "dbMethod": { SchemaProps: spec.SchemaProps{ Description: "DBMethod represents the method used to push data to database, please ensure that the mapper can access the destination address.", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodConfig"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.DBMethodConfig"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.DBMethodConfig", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethodHTTP", "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.PushMethodMQTT"}, + "github.com/kubeedge/api/apis/devices/v1beta1.DBMethodConfig", "github.com/kubeedge/api/apis/devices/v1beta1.PushMethodHTTP", "github.com/kubeedge/api/apis/devices/v1beta1.PushMethodMQTT"}, } } -func schema_pkg_apis_devices_v1beta1_PushMethodHTTP(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_PushMethodHTTP(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3448,7 +3466,7 @@ func schema_pkg_apis_devices_v1beta1_PushMethodHTTP(ref common.ReferenceCallback } } -func schema_pkg_apis_devices_v1beta1_PushMethodMQTT(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_PushMethodMQTT(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3488,7 +3506,7 @@ func schema_pkg_apis_devices_v1beta1_PushMethodMQTT(ref common.ReferenceCallback } } -func schema_pkg_apis_devices_v1beta1_RedisClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_RedisClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3528,7 +3546,7 @@ func schema_pkg_apis_devices_v1beta1_RedisClientConfig(ref common.ReferenceCallb } } -func schema_pkg_apis_devices_v1beta1_TDEngineClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_TDEngineClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3554,7 +3572,7 @@ func schema_pkg_apis_devices_v1beta1_TDEngineClientConfig(ref common.ReferenceCa } } -func schema_pkg_apis_devices_v1beta1_Twin(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_Twin(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3572,25 +3590,25 @@ func schema_pkg_apis_devices_v1beta1_Twin(ref common.ReferenceCallback) common.O SchemaProps: spec.SchemaProps{ Description: "Required: the reported property value.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TwinProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.TwinProperty"), }, }, "observedDesired": { SchemaProps: spec.SchemaProps{ Description: "The meaning of here is to indicate desired value of `deviceProperty.Desired` that the mapper has received in current cycle. Useful in cases that people want to check whether the mapper is working appropriately and its internal status is up-to-date. This value should be only updated by devicecontroller upstream.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TwinProperty"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.TwinProperty"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.TwinProperty"}, + "github.com/kubeedge/api/apis/devices/v1beta1.TwinProperty"}, } } -func schema_pkg_apis_devices_v1beta1_TwinProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_TwinProperty(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3628,7 +3646,7 @@ func schema_pkg_apis_devices_v1beta1_TwinProperty(ref common.ReferenceCallback) } } -func schema_pkg_apis_devices_v1beta1_VisitorConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_devices_v1beta1_VisitorConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3644,18 +3662,18 @@ func schema_pkg_apis_devices_v1beta1_VisitorConfig(ref common.ReferenceCallback) "configData": { SchemaProps: spec.SchemaProps{ Description: "Required: The configData of customized protocol", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.CustomizedValue"), + Ref: ref("github.com/kubeedge/api/apis/devices/v1beta1.CustomizedValue"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1.CustomizedValue"}, + "github.com/kubeedge/api/apis/devices/v1beta1.CustomizedValue"}, } } -func schema_pkg_apis_operations_v1alpha1_ImagePrePullJob(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_ImagePrePullJob(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3686,14 +3704,14 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullJob(ref common.ReferenceCal SchemaProps: spec.SchemaProps{ Description: "Spec represents the specification of the desired behavior of ImagePrePullJob.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJobSpec"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status represents the status of ImagePrePullJob.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJobStatus"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJobStatus"), }, }, }, @@ -3701,11 +3719,11 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullJob(ref common.ReferenceCal }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJobSpec", "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJobStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJobSpec", "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJobStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_ImagePrePullJobList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3741,7 +3759,7 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobList(ref common.Referenc Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJob"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJob"), }, }, }, @@ -3752,11 +3770,11 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobList(ref common.Referenc }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullJob", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullJob", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_ImagePrePullJobSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3767,18 +3785,18 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobSpec(ref common.Referenc SchemaProps: spec.SchemaProps{ Description: "ImagePrepullTemplate represents original templates of imagePrePull", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullTemplate"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullTemplate"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullTemplate"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullTemplate"}, } } -func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_ImagePrePullJobStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3828,7 +3846,7 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobStatus(ref common.Refere Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullStatus"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullStatus"), }, }, }, @@ -3838,11 +3856,11 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullJobStatus(ref common.Refere }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImagePrePullStatus"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.ImagePrePullStatus"}, } } -func schema_pkg_apis_operations_v1alpha1_ImagePrePullStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_ImagePrePullStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3852,7 +3870,7 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullStatus(ref common.Reference "nodeStatus": { SchemaProps: spec.SchemaProps{ Description: "TaskStatus represents the status for each node", - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.TaskStatus"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.TaskStatus"), }, }, "imageStatus": { @@ -3863,7 +3881,7 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullStatus(ref common.Reference Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImageStatus"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.ImageStatus"), }, }, }, @@ -3873,11 +3891,11 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullStatus(ref common.Reference }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.ImageStatus", "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.TaskStatus"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.ImageStatus", "github.com/kubeedge/api/apis/operations/v1alpha1.TaskStatus"}, } } -func schema_pkg_apis_operations_v1alpha1_ImagePrePullTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_ImagePrePullTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3978,7 +3996,7 @@ func schema_pkg_apis_operations_v1alpha1_ImagePrePullTemplate(ref common.Referen } } -func schema_pkg_apis_operations_v1alpha1_ImageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_ImageStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4012,7 +4030,7 @@ func schema_pkg_apis_operations_v1alpha1_ImageStatus(ref common.ReferenceCallbac } } -func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJob(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_NodeUpgradeJob(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4043,25 +4061,25 @@ func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJob(ref common.ReferenceCall SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of NodeUpgradeJob.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJobSpec"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the NodeUpgradeJob.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJobStatus"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJobStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJobSpec", "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJobStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJobSpec", "github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJobStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_NodeUpgradeJobList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4097,7 +4115,7 @@ func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobList(ref common.Reference Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJob"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJob"), }, }, }, @@ -4108,11 +4126,11 @@ func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobList(ref common.Reference }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.NodeUpgradeJob", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.NodeUpgradeJob", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_NodeUpgradeJobSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4197,7 +4215,7 @@ func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobSpec(ref common.Reference } } -func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_NodeUpgradeJobStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4261,7 +4279,7 @@ func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobStatus(ref common.Referen Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.TaskStatus"), + Ref: ref("github.com/kubeedge/api/apis/operations/v1alpha1.TaskStatus"), }, }, }, @@ -4271,11 +4289,11 @@ func schema_pkg_apis_operations_v1alpha1_NodeUpgradeJobStatus(ref common.Referen }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1.TaskStatus"}, + "github.com/kubeedge/api/apis/operations/v1alpha1.TaskStatus"}, } } -func schema_pkg_apis_operations_v1alpha1_TaskStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_operations_v1alpha1_TaskStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4330,7 +4348,7 @@ func schema_pkg_apis_operations_v1alpha1_TaskStatus(ref common.ReferenceCallback } } -func schema_pkg_apis_policy_v1alpha1_AccessClusterRoleBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_policy_v1alpha1_AccessClusterRoleBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4366,7 +4384,7 @@ func schema_pkg_apis_policy_v1alpha1_AccessClusterRoleBinding(ref common.Referen } } -func schema_pkg_apis_policy_v1alpha1_AccessRoleBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_policy_v1alpha1_AccessRoleBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4402,7 +4420,7 @@ func schema_pkg_apis_policy_v1alpha1_AccessRoleBinding(ref common.ReferenceCallb } } -func schema_pkg_apis_policy_v1alpha1_AccessSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_policy_v1alpha1_AccessSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4431,7 +4449,7 @@ func schema_pkg_apis_policy_v1alpha1_AccessSpec(ref common.ReferenceCallback) co Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessRoleBinding"), + Ref: ref("github.com/kubeedge/api/apis/policy/v1alpha1.AccessRoleBinding"), }, }, }, @@ -4445,7 +4463,7 @@ func schema_pkg_apis_policy_v1alpha1_AccessSpec(ref common.ReferenceCallback) co Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessClusterRoleBinding"), + Ref: ref("github.com/kubeedge/api/apis/policy/v1alpha1.AccessClusterRoleBinding"), }, }, }, @@ -4455,11 +4473,11 @@ func schema_pkg_apis_policy_v1alpha1_AccessSpec(ref common.ReferenceCallback) co }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessClusterRoleBinding", "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessRoleBinding", "k8s.io/api/core/v1.ServiceAccount"}, + "github.com/kubeedge/api/apis/policy/v1alpha1.AccessClusterRoleBinding", "github.com/kubeedge/api/apis/policy/v1alpha1.AccessRoleBinding", "k8s.io/api/core/v1.ServiceAccount"}, } } -func schema_pkg_apis_policy_v1alpha1_AccessStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_policy_v1alpha1_AccessStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4487,7 +4505,7 @@ func schema_pkg_apis_policy_v1alpha1_AccessStatus(ref common.ReferenceCallback) } } -func schema_pkg_apis_policy_v1alpha1_ServiceAccountAccess(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_policy_v1alpha1_ServiceAccountAccess(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4518,25 +4536,25 @@ func schema_pkg_apis_policy_v1alpha1_ServiceAccountAccess(ref common.ReferenceCa SchemaProps: spec.SchemaProps{ Description: "Spec represents the specification of rbac.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessSpec"), + Ref: ref("github.com/kubeedge/api/apis/policy/v1alpha1.AccessSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status represents the node list which store the rules.", Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessStatus"), + Ref: ref("github.com/kubeedge/api/apis/policy/v1alpha1.AccessStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessSpec", "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.AccessStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/policy/v1alpha1.AccessSpec", "github.com/kubeedge/api/apis/policy/v1alpha1.AccessStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_policy_v1alpha1_ServiceAccountAccessList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_policy_v1alpha1_ServiceAccountAccessList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4570,7 +4588,7 @@ func schema_pkg_apis_policy_v1alpha1_ServiceAccountAccessList(ref common.Referen Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.ServiceAccountAccess"), + Ref: ref("github.com/kubeedge/api/apis/policy/v1alpha1.ServiceAccountAccess"), }, }, }, @@ -4581,11 +4599,11 @@ func schema_pkg_apis_policy_v1alpha1_ServiceAccountAccessList(ref common.Referen }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1.ServiceAccountAccess", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/policy/v1alpha1.ServiceAccountAccess", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_reliablesyncs_v1alpha1_ClusterObjectSync(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_reliablesyncs_v1alpha1_ClusterObjectSync(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4615,24 +4633,24 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ClusterObjectSync(ref common.Referen "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncSpec"), + Ref: ref("github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncStatus"), + Ref: ref("github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncSpec", "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncSpec", "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_reliablesyncs_v1alpha1_ClusterObjectSyncList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_reliablesyncs_v1alpha1_ClusterObjectSyncList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4668,7 +4686,7 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ClusterObjectSyncList(ref common.Ref Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ClusterObjectSync"), + Ref: ref("github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ClusterObjectSync"), }, }, }, @@ -4679,11 +4697,11 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ClusterObjectSyncList(ref common.Ref }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ClusterObjectSync", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ClusterObjectSync", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSync(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_reliablesyncs_v1alpha1_ObjectSync(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4714,24 +4732,24 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSync(ref common.ReferenceCallb "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncSpec"), + Ref: ref("github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncStatus"), + Ref: ref("github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncStatus"), }, }, }, }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncSpec", "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSyncStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncSpec", "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSyncStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_reliablesyncs_v1alpha1_ObjectSyncList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4767,7 +4785,7 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncList(ref common.ReferenceC Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSync"), + Ref: ref("github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSync"), }, }, }, @@ -4778,11 +4796,11 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncList(ref common.ReferenceC }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1.ObjectSync", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1.ObjectSync", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_reliablesyncs_v1alpha1_ObjectSyncSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4816,7 +4834,7 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncSpec(ref common.ReferenceC } } -func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_reliablesyncs_v1alpha1_ObjectSyncStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4836,7 +4854,7 @@ func schema_pkg_apis_reliablesyncs_v1alpha1_ObjectSyncStatus(ref common.Referenc } } -func schema_pkg_apis_rules_v1_Rule(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_rules_v1_Rule(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4866,13 +4884,13 @@ func schema_pkg_apis_rules_v1_Rule(ref common.ReferenceCallback) common.OpenAPID "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleSpec"), + Ref: ref("github.com/kubeedge/api/apis/rules/v1.RuleSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleStatus"), + Ref: ref("github.com/kubeedge/api/apis/rules/v1.RuleStatus"), }, }, }, @@ -4880,11 +4898,11 @@ func schema_pkg_apis_rules_v1_Rule(ref common.ReferenceCallback) common.OpenAPID }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleSpec", "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/rules/v1.RuleSpec", "github.com/kubeedge/api/apis/rules/v1.RuleStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_rules_v1_RuleEndpoint(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_rules_v1_RuleEndpoint(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4914,7 +4932,7 @@ func schema_pkg_apis_rules_v1_RuleEndpoint(ref common.ReferenceCallback) common. "spec": { SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleEndpointSpec"), + Ref: ref("github.com/kubeedge/api/apis/rules/v1.RuleEndpointSpec"), }, }, }, @@ -4922,11 +4940,11 @@ func schema_pkg_apis_rules_v1_RuleEndpoint(ref common.ReferenceCallback) common. }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleEndpointSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/kubeedge/api/apis/rules/v1.RuleEndpointSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } -func schema_pkg_apis_rules_v1_RuleEndpointList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_rules_v1_RuleEndpointList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -4960,7 +4978,7 @@ func schema_pkg_apis_rules_v1_RuleEndpointList(ref common.ReferenceCallback) com Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleEndpoint"), + Ref: ref("github.com/kubeedge/api/apis/rules/v1.RuleEndpoint"), }, }, }, @@ -4971,11 +4989,11 @@ func schema_pkg_apis_rules_v1_RuleEndpointList(ref common.ReferenceCallback) com }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.RuleEndpoint", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/rules/v1.RuleEndpoint", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_rules_v1_RuleEndpointSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_rules_v1_RuleEndpointSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -5013,7 +5031,7 @@ func schema_pkg_apis_rules_v1_RuleEndpointSpec(ref common.ReferenceCallback) com } } -func schema_pkg_apis_rules_v1_RuleList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_rules_v1_RuleList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -5047,7 +5065,7 @@ func schema_pkg_apis_rules_v1_RuleList(ref common.ReferenceCallback) common.Open Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("github.com/kubeedge/kubeedge/pkg/apis/rules/v1.Rule"), + Ref: ref("github.com/kubeedge/api/apis/rules/v1.Rule"), }, }, }, @@ -5058,11 +5076,11 @@ func schema_pkg_apis_rules_v1_RuleList(ref common.ReferenceCallback) common.Open }, }, Dependencies: []string{ - "github.com/kubeedge/kubeedge/pkg/apis/rules/v1.Rule", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/kubeedge/api/apis/rules/v1.Rule", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_pkg_apis_rules_v1_RuleSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_rules_v1_RuleSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -5124,7 +5142,7 @@ func schema_pkg_apis_rules_v1_RuleSpec(ref common.ReferenceCallback) common.Open } } -func schema_pkg_apis_rules_v1_RuleStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_api_apis_rules_v1_RuleStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -5568,7 +5586,7 @@ func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCall }, "nodeExpandSecretRef": { SchemaProps: spec.SchemaProps{ - Description: "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is a beta field which is enabled default by CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + Description: "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.", Ref: ref("k8s.io/api/core/v1.SecretReference"), }, }, @@ -5949,6 +5967,57 @@ func schema_k8sio_api_core_v1_ClientIPConfig(ref common.ReferenceCallback) commo } } +func schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "name": { + SchemaProps: spec.SchemaProps{ + Description: "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.", + Type: []string{"string"}, + Format: "", + }, + }, + "signerName": { + SchemaProps: spec.SchemaProps{ + Description: "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.", + Type: []string{"string"}, + Format: "", + }, + }, + "labelSelector": { + SchemaProps: spec.SchemaProps{ + Description: "Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as \"match nothing\". If set but empty, interpreted as \"match everything\".", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), + }, + }, + "optional": { + SchemaProps: spec.SchemaProps{ + Description: "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.", + Type: []string{"boolean"}, + Format: "", + }, + }, + "path": { + SchemaProps: spec.SchemaProps{ + Description: "Relative path from the volume root to write the bundle.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"path"}, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"}, + } +} + func schema_k8sio_api_core_v1_ComponentCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -6872,7 +6941,6 @@ func schema_k8sio_api_core_v1_ContainerStateRunning(ref common.ReferenceCallback "startedAt": { SchemaProps: spec.SchemaProps{ Description: "Time at which the container was last (re-)started", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -6923,14 +6991,12 @@ func schema_k8sio_api_core_v1_ContainerStateTerminated(ref common.ReferenceCallb "startedAt": { SchemaProps: spec.SchemaProps{ Description: "Time at which previous execution of the container started", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "finishedAt": { SchemaProps: spec.SchemaProps{ Description: "Time at which the container last terminated", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -7060,8 +7126,7 @@ func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) comm Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -7321,7 +7386,7 @@ func schema_k8sio_api_core_v1_EndpointPort(ref common.ReferenceCallback) common. }, "appProtocol": { SchemaProps: spec.SchemaProps{ - Description: "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + Description: "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", Type: []string{"string"}, Format: "", }, @@ -8241,14 +8306,12 @@ func schema_k8sio_api_core_v1_Event(ref common.ReferenceCallback) common.OpenAPI "firstTimestamp": { SchemaProps: spec.SchemaProps{ Description: "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "lastTimestamp": { SchemaProps: spec.SchemaProps{ Description: "The time at which the most recent occurrence of this event was recorded.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -8269,7 +8332,6 @@ func schema_k8sio_api_core_v1_Event(ref common.ReferenceCallback) common.OpenAPI "eventTime": { SchemaProps: spec.SchemaProps{ Description: "Time when this Event was first observed.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), }, }, @@ -8385,7 +8447,6 @@ func schema_k8sio_api_core_v1_EventSeries(ref common.ReferenceCallback) common.O "lastObservedTime": { SchemaProps: spec.SchemaProps{ Description: "Time of the last occurrence observed", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime"), }, }, @@ -8869,7 +8930,6 @@ func schema_k8sio_api_core_v1_HTTPGetAction(ref common.ReferenceCallback) common "port": { SchemaProps: spec.SchemaProps{ Description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"), }, }, @@ -9321,11 +9381,17 @@ func schema_k8sio_api_core_v1_LifecycleHandler(ref common.ReferenceCallback) com Ref: ref("k8s.io/api/core/v1.TCPSocketAction"), }, }, + "sleep": { + SchemaProps: spec.SchemaProps{ + Description: "Sleep represents the duration that the container should sleep before being terminated.", + Ref: ref("k8s.io/api/core/v1.SleepAction"), + }, + }, }, }, }, Dependencies: []string{ - "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.TCPSocketAction"}, + "k8s.io/api/core/v1.ExecAction", "k8s.io/api/core/v1.HTTPGetAction", "k8s.io/api/core/v1.SleepAction", "k8s.io/api/core/v1.TCPSocketAction"}, } } @@ -9395,8 +9461,7 @@ func schema_k8sio_api_core_v1_LimitRangeItem(ref common.ReferenceCallback) commo Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -9410,8 +9475,7 @@ func schema_k8sio_api_core_v1_LimitRangeItem(ref common.ReferenceCallback) commo Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -9425,8 +9489,7 @@ func schema_k8sio_api_core_v1_LimitRangeItem(ref common.ReferenceCallback) commo Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -9440,8 +9503,7 @@ func schema_k8sio_api_core_v1_LimitRangeItem(ref common.ReferenceCallback) commo Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -9455,8 +9517,7 @@ func schema_k8sio_api_core_v1_LimitRangeItem(ref common.ReferenceCallback) commo Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -9587,8 +9648,7 @@ func schema_k8sio_api_core_v1_List(ref common.ReferenceCallback) common.OpenAPID Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), + Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), }, }, }, @@ -9624,6 +9684,13 @@ func schema_k8sio_api_core_v1_LoadBalancerIngress(ref common.ReferenceCallback) Format: "", }, }, + "ipMode": { + SchemaProps: spec.SchemaProps{ + Description: "IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.", + Type: []string{"string"}, + Format: "", + }, + }, "ports": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ @@ -9734,6 +9801,36 @@ func schema_k8sio_api_core_v1_LocalVolumeSource(ref common.ReferenceCallback) co } } +func schema_k8sio_api_core_v1_ModifyVolumeStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "targetVolumeAttributesClassName": { + SchemaProps: spec.SchemaProps{ + Description: "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + Type: []string{"string"}, + Format: "", + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Description: "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.\n\nPossible enum values:\n - `\"InProgress\"` InProgress indicates that the volume is being modified\n - `\"Infeasible\"` Infeasible indicates that the request has been rejected as invalid by the CSI driver. To resolve the error, a valid VolumeAttributesClass needs to be specified\n - `\"Pending\"` Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not existing", + Default: "", + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"InProgress", "Infeasible", "Pending"}, + }, + }, + }, + Required: []string{"status"}, + }, + }, + } +} + func schema_k8sio_api_core_v1_NFSVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -9846,8 +9943,7 @@ func schema_k8sio_api_core_v1_NamespaceCondition(ref common.ReferenceCallback) c }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "reason": { @@ -10134,14 +10230,12 @@ func schema_k8sio_api_core_v1_NodeCondition(ref common.ReferenceCallback) common "lastHeartbeatTime": { SchemaProps: spec.SchemaProps{ Description: "Last time we got an update on a given condition.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -10351,8 +10445,7 @@ func schema_k8sio_api_core_v1_NodeResources(ref common.ReferenceCallback) common Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -10594,8 +10687,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -10609,8 +10701,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -11054,14 +11145,12 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref common.Referenc "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "lastProbeTime is the time we probed the condition.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "lastTransitionTime is the time the condition transitioned from one status to another.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -11171,7 +11260,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCall SchemaProps: spec.SchemaProps{ Description: "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", Default: map[string]interface{}{}, - Ref: ref("k8s.io/api/core/v1.ResourceRequirements"), + Ref: ref("k8s.io/api/core/v1.VolumeResourceRequirements"), }, }, "volumeName": { @@ -11208,11 +11297,18 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCall Ref: ref("k8s.io/api/core/v1.TypedObjectReference"), }, }, + "volumeAttributesClassName": { + SchemaProps: spec.SchemaProps{ + Description: "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.", + Type: []string{"string"}, + Format: "", + }, + }, }, }, }, Dependencies: []string{ - "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/api/core/v1.TypedObjectReference", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"}, + "k8s.io/api/core/v1.TypedLocalObjectReference", "k8s.io/api/core/v1.TypedObjectReference", "k8s.io/api/core/v1.VolumeResourceRequirements", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"}, } } @@ -11254,8 +11350,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -11289,8 +11384,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -11317,11 +11411,24 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa }, }, }, + "currentVolumeAttributesClassName": { + SchemaProps: spec.SchemaProps{ + Description: "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.", + Type: []string{"string"}, + Format: "", + }, + }, + "modifyVolumeStatus": { + SchemaProps: spec.SchemaProps{ + Description: "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.", + Ref: ref("k8s.io/api/core/v1.ModifyVolumeStatus"), + }, + }, }, }, }, Dependencies: []string{ - "k8s.io/api/core/v1.PersistentVolumeClaimCondition", "k8s.io/apimachinery/pkg/api/resource.Quantity"}, + "k8s.io/api/core/v1.ModifyVolumeStatus", "k8s.io/api/core/v1.PersistentVolumeClaimCondition", "k8s.io/apimachinery/pkg/api/resource.Quantity"}, } } @@ -11597,8 +11704,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -11806,6 +11912,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Ref: ref("k8s.io/api/core/v1.VolumeNodeAffinity"), }, }, + "volumeAttributesClassName": { + SchemaProps: spec.SchemaProps{ + Description: "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.", + Type: []string{"string"}, + Format: "", + }, + }, }, }, }, @@ -11845,7 +11958,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeStatus(ref common.ReferenceCallbac }, "lastPhaseTransitionTime": { SchemaProps: spec.SchemaProps{ - Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.", + Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).", Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -11988,7 +12101,7 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Properties: map[string]spec.Schema{ "labelSelector": { SchemaProps: spec.SchemaProps{ - Description: "A label query over a set of resources, in this case pods.", + Description: "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.", Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), }, }, @@ -12021,6 +12134,46 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"), }, }, + "matchLabelKeys": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "mismatchLabelKeys": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "atomic", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, }, Required: []string{"topologyKey"}, }, @@ -12161,14 +12314,12 @@ func schema_k8sio_api_core_v1_PodCondition(ref common.ReferenceCallback) common. "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time we probed the condition.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transitioned from one status to another.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -13186,8 +13337,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -13757,7 +13907,6 @@ func schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref common.ReferenceCallback) "evictionTime": { SchemaProps: spec.SchemaProps{ Description: "Time at which this entry was added to the list.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -14317,7 +14466,6 @@ func schema_k8sio_api_core_v1_ReplicationControllerCondition(ref common.Referenc "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "The last time the condition transitioned from one status to another.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -14570,7 +14718,6 @@ func schema_k8sio_api_core_v1_ResourceFieldSelector(ref common.ReferenceCallback "divisor": { SchemaProps: spec.SchemaProps{ Description: "Specifies the output format of the exposed resources, defaults to \"1\"", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, @@ -14704,8 +14851,7 @@ func schema_k8sio_api_core_v1_ResourceQuotaSpec(ref common.ReferenceCallback) co Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -14755,8 +14901,7 @@ func schema_k8sio_api_core_v1_ResourceQuotaStatus(ref common.ReferenceCallback) Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -14770,8 +14915,7 @@ func schema_k8sio_api_core_v1_ResourceQuotaStatus(ref common.ReferenceCallback) Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -14800,8 +14944,7 @@ func schema_k8sio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -14815,8 +14958,7 @@ func schema_k8sio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), }, }, }, @@ -15930,7 +16072,7 @@ func schema_k8sio_api_core_v1_ServicePort(ref common.ReferenceCallback) common.O }, "appProtocol": { SchemaProps: spec.SchemaProps{ - Description: "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + Description: "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", Type: []string{"string"}, Format: "", }, @@ -15946,7 +16088,6 @@ func schema_k8sio_api_core_v1_ServicePort(ref common.ReferenceCallback) common.O "targetPort": { SchemaProps: spec.SchemaProps{ Description: "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"), }, }, @@ -16293,6 +16434,28 @@ func schema_k8sio_api_core_v1_SessionAffinityConfig(ref common.ReferenceCallback } } +func schema_k8sio_api_core_v1_SleepAction(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "SleepAction describes a \"sleep\" action.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "seconds": { + SchemaProps: spec.SchemaProps{ + Description: "Seconds is the number of seconds to sleep.", + Default: 0, + Type: []string{"integer"}, + Format: "int64", + }, + }, + }, + Required: []string{"seconds"}, + }, + }, + } +} + func schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -16431,7 +16594,6 @@ func schema_k8sio_api_core_v1_TCPSocketAction(ref common.ReferenceCallback) comm "port": { SchemaProps: spec.SchemaProps{ Description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"), }, }, @@ -17132,11 +17294,60 @@ func schema_k8sio_api_core_v1_VolumeProjection(ref common.ReferenceCallback) com Ref: ref("k8s.io/api/core/v1.ServiceAccountTokenProjection"), }, }, + "clusterTrustBundle": { + SchemaProps: spec.SchemaProps{ + Description: "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.", + Ref: ref("k8s.io/api/core/v1.ClusterTrustBundleProjection"), + }, + }, }, }, }, Dependencies: []string{ - "k8s.io/api/core/v1.ConfigMapProjection", "k8s.io/api/core/v1.DownwardAPIProjection", "k8s.io/api/core/v1.SecretProjection", "k8s.io/api/core/v1.ServiceAccountTokenProjection"}, + "k8s.io/api/core/v1.ClusterTrustBundleProjection", "k8s.io/api/core/v1.ConfigMapProjection", "k8s.io/api/core/v1.DownwardAPIProjection", "k8s.io/api/core/v1.SecretProjection", "k8s.io/api/core/v1.ServiceAccountTokenProjection"}, + } +} + +func schema_k8sio_api_core_v1_VolumeResourceRequirements(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "VolumeResourceRequirements describes the storage resource requirements for a volume.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "limits": { + SchemaProps: spec.SchemaProps{ + Description: "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Allows: true, + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + }, + }, + }, + }, + }, + "requests": { + SchemaProps: spec.SchemaProps{ + Description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Allows: true, + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: ref("k8s.io/apimachinery/pkg/api/resource.Quantity"), + }, + }, + }, + }, + }, + }, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/api/resource.Quantity"}, } } @@ -18560,7 +18771,6 @@ func schema_pkg_apis_meta_v1_Condition(ref common.ReferenceCallback) common.Open "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -19116,8 +19326,7 @@ func schema_pkg_apis_meta_v1_List(ref common.ReferenceCallback) common.OpenAPIDe Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), + Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), }, }, }, @@ -19403,7 +19612,6 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope "creationTimestamp": { SchemaProps: spec.SchemaProps{ Description: "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, @@ -20185,7 +20393,6 @@ func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenA "object": { SchemaProps: spec.SchemaProps{ Description: "This field contains the requested additional information about each object based on the includeObject policy when requesting the Table. If \"None\", this field is empty, if \"Object\" this will be the default serialization of the object for the current API version, and if \"Metadata\" (the default) will contain the object metadata. Check the returned kind and apiVersion of the object before parsing. The media type of the object will always match the enclosing list - if this as a JSON table, these will be JSON encoded objects.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), }, }, @@ -20384,7 +20591,6 @@ func schema_pkg_apis_meta_v1_WatchEvent(ref common.ReferenceCallback) common.Ope "object": { SchemaProps: spec.SchemaProps{ Description: "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.", - Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"), }, }, diff --git a/apidoc/generated/swagger/swagger.json b/staging/src/github.com/kubeedge/api/apidoc/generated/swagger/swagger.json index 579fe725e..41248e461 100644 --- a/apidoc/generated/swagger/swagger.json +++ b/staging/src/github.com/kubeedge/api/apidoc/generated/swagger/swagger.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "description": "Kubeedge is Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration System. For more information, please see https://github.com/Kubeedge/Kubeedge.", + "description": "KubeEdge is an open source system for extending native containerized application orchestration capabilities to hosts at Edge. For more information, please see https://github.com/Kubeedge/Kubeedge.", "title": "Kubeedge OpenAPI", "license": { "name": "Apache 2.0", @@ -124,7 +124,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplicationList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplicationList" } } }, @@ -152,7 +152,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -227,7 +227,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplicationList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplicationList" } } }, @@ -261,7 +261,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, { @@ -286,19 +286,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } } }, @@ -391,7 +391,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -417,7 +417,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } } }, @@ -451,7 +451,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, { @@ -476,13 +476,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } } }, @@ -601,13 +601,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } } }, @@ -631,7 +631,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -657,7 +657,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } } }, @@ -691,7 +691,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, { @@ -716,13 +716,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } } }, @@ -782,13 +782,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } } }, @@ -812,7 +812,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -872,7 +872,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroupList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroupList" } } }, @@ -906,7 +906,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, { @@ -931,19 +931,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } } }, @@ -1033,7 +1033,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -1059,7 +1059,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } } }, @@ -1093,7 +1093,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, { @@ -1118,13 +1118,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } } }, @@ -1243,13 +1243,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } } }, @@ -1270,7 +1270,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -1296,7 +1296,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } } }, @@ -1330,7 +1330,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, { @@ -1355,13 +1355,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } } }, @@ -1421,13 +1421,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } } }, @@ -1448,7 +1448,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -1504,7 +1504,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -1578,7 +1578,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -1660,7 +1660,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -1731,7 +1731,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -1810,7 +1810,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -1913,7 +1913,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModelList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModelList" } } }, @@ -1941,7 +1941,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -1984,7 +1984,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceList" } } }, @@ -2012,7 +2012,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -2087,7 +2087,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModelList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModelList" } } }, @@ -2121,7 +2121,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, { @@ -2146,19 +2146,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } } }, @@ -2251,7 +2251,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -2277,7 +2277,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } } }, @@ -2311,7 +2311,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, { @@ -2336,13 +2336,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } } }, @@ -2461,13 +2461,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } } }, @@ -2491,7 +2491,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -2517,7 +2517,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } } }, @@ -2551,7 +2551,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, { @@ -2576,13 +2576,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } } }, @@ -2642,13 +2642,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } } }, @@ -2672,7 +2672,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -2732,7 +2732,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceList" } } }, @@ -2766,7 +2766,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, { @@ -2791,19 +2791,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } } }, @@ -2896,7 +2896,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -2922,7 +2922,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } } }, @@ -2956,7 +2956,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, { @@ -2981,13 +2981,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } } }, @@ -3106,13 +3106,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } } }, @@ -3136,7 +3136,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -3162,7 +3162,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } } }, @@ -3196,7 +3196,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, { @@ -3221,13 +3221,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } } }, @@ -3287,13 +3287,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } } }, @@ -3317,7 +3317,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -3373,7 +3373,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -3444,7 +3444,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -3518,7 +3518,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -3600,7 +3600,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -3674,7 +3674,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -3756,7 +3756,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -3829,7 +3829,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModelList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModelList" } } }, @@ -3857,7 +3857,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -3900,7 +3900,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceList" } } }, @@ -3928,7 +3928,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -4003,7 +4003,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModelList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModelList" } } }, @@ -4037,7 +4037,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, { @@ -4062,19 +4062,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } } }, @@ -4167,7 +4167,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -4193,7 +4193,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } } }, @@ -4227,7 +4227,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, { @@ -4252,13 +4252,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } } }, @@ -4377,13 +4377,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } } }, @@ -4407,7 +4407,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -4433,7 +4433,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } } }, @@ -4467,7 +4467,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, { @@ -4492,13 +4492,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } } }, @@ -4558,13 +4558,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } } }, @@ -4588,7 +4588,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -4648,7 +4648,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceList" } } }, @@ -4682,7 +4682,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, { @@ -4707,19 +4707,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } } }, @@ -4812,7 +4812,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -4838,7 +4838,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } } }, @@ -4872,7 +4872,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, { @@ -4897,13 +4897,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } } }, @@ -5022,13 +5022,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } } }, @@ -5052,7 +5052,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -5078,7 +5078,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } } }, @@ -5112,7 +5112,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, { @@ -5137,13 +5137,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } } }, @@ -5203,13 +5203,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } } }, @@ -5233,7 +5233,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -5289,7 +5289,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -5360,7 +5360,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -5434,7 +5434,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -5516,7 +5516,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -5590,7 +5590,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -5672,7 +5672,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -5807,7 +5807,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJobList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJobList" } } }, @@ -5841,7 +5841,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, { @@ -5866,19 +5866,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } } }, @@ -5968,7 +5968,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -5994,7 +5994,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } } }, @@ -6028,7 +6028,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, { @@ -6053,13 +6053,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } } }, @@ -6178,13 +6178,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } } }, @@ -6205,7 +6205,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -6231,7 +6231,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } } }, @@ -6265,7 +6265,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, { @@ -6290,13 +6290,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } } }, @@ -6356,13 +6356,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } } }, @@ -6383,7 +6383,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -6443,7 +6443,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJobList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJobList" } } }, @@ -6477,7 +6477,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, { @@ -6502,19 +6502,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } } }, @@ -6604,7 +6604,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -6630,7 +6630,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } } }, @@ -6664,7 +6664,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, { @@ -6689,13 +6689,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } } }, @@ -6814,13 +6814,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } } }, @@ -6841,7 +6841,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -6867,7 +6867,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } } }, @@ -6901,7 +6901,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, { @@ -6926,13 +6926,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } } }, @@ -6992,13 +6992,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } } }, @@ -7019,7 +7019,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -7075,7 +7075,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -7154,7 +7154,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -7225,7 +7225,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -7304,7 +7304,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -7439,7 +7439,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccessList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccessList" } } }, @@ -7473,7 +7473,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, { @@ -7498,19 +7498,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } } }, @@ -7603,7 +7603,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -7629,7 +7629,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } } }, @@ -7663,7 +7663,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, { @@ -7688,13 +7688,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } } }, @@ -7813,13 +7813,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } } }, @@ -7843,7 +7843,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -7869,7 +7869,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } } }, @@ -7903,7 +7903,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, { @@ -7928,13 +7928,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } } }, @@ -7994,13 +7994,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } } }, @@ -8024,7 +8024,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -8052,7 +8052,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccessList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccessList" } } }, @@ -8080,7 +8080,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -8154,7 +8154,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -8236,7 +8236,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -8307,7 +8307,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -8442,7 +8442,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSyncList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSyncList" } } }, @@ -8476,7 +8476,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, { @@ -8501,19 +8501,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } } }, @@ -8603,7 +8603,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -8629,7 +8629,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } } }, @@ -8663,7 +8663,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, { @@ -8688,13 +8688,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } } }, @@ -8813,13 +8813,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } } }, @@ -8840,7 +8840,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -8866,7 +8866,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } } }, @@ -8900,7 +8900,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, { @@ -8925,13 +8925,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } } }, @@ -8991,13 +8991,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } } }, @@ -9018,7 +9018,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -9078,7 +9078,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncList" } } }, @@ -9112,7 +9112,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, { @@ -9137,19 +9137,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } } }, @@ -9242,7 +9242,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -9268,7 +9268,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } } }, @@ -9302,7 +9302,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, { @@ -9327,13 +9327,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } } }, @@ -9452,13 +9452,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } } }, @@ -9482,7 +9482,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -9508,7 +9508,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } } }, @@ -9542,7 +9542,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, { @@ -9567,13 +9567,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } } }, @@ -9633,13 +9633,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } } }, @@ -9663,7 +9663,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -9691,7 +9691,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncList" } } }, @@ -9719,7 +9719,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -9790,7 +9790,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -9869,7 +9869,7 @@ "required": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -9943,7 +9943,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -10025,7 +10025,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -10096,7 +10096,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -10231,7 +10231,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.RuleList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.RuleList" } } }, @@ -10265,7 +10265,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, { @@ -10290,19 +10290,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } } }, @@ -10395,7 +10395,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -10421,7 +10421,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } } }, @@ -10455,7 +10455,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, { @@ -10480,13 +10480,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } } }, @@ -10605,13 +10605,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } } }, @@ -10635,7 +10635,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -10661,7 +10661,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } } }, @@ -10695,7 +10695,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, { @@ -10720,13 +10720,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } } }, @@ -10786,13 +10786,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } } }, @@ -10816,7 +10816,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -10844,7 +10844,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.RuleList" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.RuleList" } } }, @@ -10872,7 +10872,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -10946,7 +10946,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -11028,7 +11028,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -11099,7 +11099,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -11120,7 +11120,7 @@ } }, "definitions": { - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.CommandArgsOverrider": { + "com.github.kubeedge.api.apis.apps.v1alpha1.CommandArgsOverrider": { "description": "CommandArgsOverrider represents the rules dedicated to handling command/args overrides.", "type": "object", "required": [ @@ -11148,7 +11148,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication": { + "com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication": { "description": "EdgeApplication is the Schema for the edgeapplications API", "type": "object", "properties": { @@ -11167,12 +11167,12 @@ "spec": { "description": "Spec represents the desired behavior of EdgeApplication.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplicationSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplicationSpec" }, "status": { "description": "Status represents the status of PropagationStatus.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplicationStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplicationStatus" } }, "x-kubernetes-group-version-kind": [ @@ -11183,7 +11183,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplicationList": { + "com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplicationList": { "description": "EdgeApplicationList contains a list of EdgeApplication", "type": "object", "required": [ @@ -11198,7 +11198,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplication" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplication" } }, "kind": { @@ -11218,7 +11218,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplicationSpec": { + "com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplicationSpec": { "description": "EdgeApplicationSpec defines the desired state of EdgeApplication", "type": "object", "required": [ @@ -11228,16 +11228,16 @@ "workloadScope": { "description": "WorkloadScope represents which node groups the workload will be deployed in.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.WorkloadScope" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.WorkloadScope" }, "workloadTemplate": { "description": "WorkloadTemplate contains original templates of resources to be deployed as an EdgeApplication.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ResourceTemplate" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.ResourceTemplate" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EdgeApplicationStatus": { + "com.github.kubeedge.api.apis.apps.v1alpha1.EdgeApplicationStatus": { "description": "EdgeApplicationStatus defines the observed state of EdgeApplication", "type": "object", "properties": { @@ -11246,12 +11246,12 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ManifestStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.ManifestStatus" } } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EnvOverrider": { + "com.github.kubeedge.api.apis.apps.v1alpha1.EnvOverrider": { "description": "EnvOverrider represents the rules dedicated to handling env overrides.", "type": "object", "required": [ @@ -11279,7 +11279,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ImageOverrider": { + "com.github.kubeedge.api.apis.apps.v1alpha1.ImageOverrider": { "description": "ImageOverrider represents the rules dedicated to handling image overrides.", "type": "object", "required": [ @@ -11299,7 +11299,7 @@ }, "predicate": { "description": "Predicate filters images before applying the rule.\n\nDefaults to nil, in that case, the system will automatically detect image fields if the resource type is Pod, ReplicaSet, Deployment or StatefulSet by following rule:\n - Pod: /spec/containers/\u003cN\u003e/image\n - ReplicaSet: /spec/template/spec/containers/\u003cN\u003e/image\n - Deployment: /spec/template/spec/containers/\u003cN\u003e/image\n - StatefulSet: /spec/template/spec/containers/\u003cN\u003e/image\nIn addition, all images will be processed if the resource object has more than one containers.\n\nIf not nil, only images matches the filters will be processed.", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ImagePredicate" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.ImagePredicate" }, "value": { "description": "Value to be applied to image. Must not be empty when operator is 'add' or 'replace'. Defaults to empty and ignored when operator is 'remove'.", @@ -11307,7 +11307,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ImagePredicate": { + "com.github.kubeedge.api.apis.apps.v1alpha1.ImagePredicate": { "description": "ImagePredicate describes images filter.", "type": "object", "required": [ @@ -11321,11 +11321,11 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.Manifest": { + "com.github.kubeedge.api.apis.apps.v1alpha1.Manifest": { "description": "Manifest represents a resource to be deployed on managed node groups.", "type": "object" }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ManifestStatus": { + "com.github.kubeedge.api.apis.apps.v1alpha1.ManifestStatus": { "description": "ManifestStatus contains running status of a specific manifest in spec.", "type": "object", "required": [ @@ -11339,11 +11339,11 @@ "identifier": { "description": "Identifier represents the identity of a resource linking to manifests in spec.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ResourceIdentifier" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.ResourceIdentifier" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup": { + "com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup": { "description": "NodeGroup is the Schema for the nodegroups API", "type": "object", "properties": { @@ -11362,12 +11362,12 @@ "spec": { "description": "Spec represents the specification of the desired behavior of member nodegroup.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroupSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroupSpec" }, "status": { "description": "Status represents the status of member nodegroup.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroupStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroupStatus" } }, "x-kubernetes-group-version-kind": [ @@ -11378,7 +11378,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroupList": { + "com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroupList": { "description": "NodeGroupList contains a list of NodeGroup", "type": "object", "required": [ @@ -11393,7 +11393,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroup" } }, "kind": { @@ -11413,7 +11413,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroupSpec": { + "com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroupSpec": { "description": "NodeGroupSpec defines the desired state of NodeGroup", "type": "object", "properties": { @@ -11435,7 +11435,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeGroupStatus": { + "com.github.kubeedge.api.apis.apps.v1alpha1.NodeGroupStatus": { "description": "NodeGroupStatus contains the observed status of all selected nodes in this NodeGroup, including nodes that have been one of the members of this NodeGroup and those have not.", "type": "object", "properties": { @@ -11444,12 +11444,12 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.NodeStatus" } } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.NodeStatus": { + "com.github.kubeedge.api.apis.apps.v1alpha1.NodeStatus": { "description": "NodeStatus contains status of node that selected by this NodeGroup.", "type": "object", "required": [ @@ -11479,7 +11479,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.Overriders": { + "com.github.kubeedge.api.apis.apps.v1alpha1.Overriders": { "description": "Overriders represents the override rules that would apply on resources.", "type": "object", "properties": { @@ -11488,7 +11488,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.CommandArgsOverrider" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.CommandArgsOverrider" } }, "commandOverriders": { @@ -11496,7 +11496,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.CommandArgsOverrider" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.CommandArgsOverrider" } }, "envOverriders": { @@ -11504,7 +11504,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.EnvOverrider" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.EnvOverrider" } }, "imageOverriders": { @@ -11512,7 +11512,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ImageOverrider" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.ImageOverrider" } }, "replicas": { @@ -11525,12 +11525,12 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ResourcesOverrider" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.ResourcesOverrider" } } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ResourceIdentifier": { + "com.github.kubeedge.api.apis.apps.v1alpha1.ResourceIdentifier": { "description": "ResourceIdentifier provides the identifiers needed to interact with any arbitrary object.", "type": "object", "required": [ @@ -11569,7 +11569,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ResourceTemplate": { + "com.github.kubeedge.api.apis.apps.v1alpha1.ResourceTemplate": { "description": "ResourceTemplate represents original templates of resources to be deployed as an EdgeApplication.", "type": "object", "properties": { @@ -11577,13 +11577,12 @@ "description": "Manifests represent a list of Kubernetes resources to be deployed on the managed node groups.", "type": "array", "items": { - "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.Manifest" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.Manifest" } } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.ResourcesOverrider": { + "com.github.kubeedge.api.apis.apps.v1alpha1.ResourcesOverrider": { "description": "ResourcesOverrider represents the rules dedicated to handling resources overrides.", "type": "object", "required": [ @@ -11602,7 +11601,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.TargetNodeGroup": { + "com.github.kubeedge.api.apis.apps.v1alpha1.TargetNodeGroup": { "description": "TargetNodeGroup represents the target node group of workload to be deployed, including override rules to apply for this node group.", "type": "object", "required": [ @@ -11617,11 +11616,11 @@ "overriders": { "description": "Overriders represents the override rules that would apply on workload.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.Overriders" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.Overriders" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.WorkloadScope": { + "com.github.kubeedge.api.apis.apps.v1alpha1.WorkloadScope": { "description": "WorkloadScope represents which node groups the workload should be deployed in.", "type": "object", "properties": { @@ -11630,12 +11629,12 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.apps.v1alpha1.TargetNodeGroup" + "$ref": "#/definitions/com.github.kubeedge.api.apis.apps.v1alpha1.TargetNodeGroup" } } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.BluetoothOperations": { + "com.github.kubeedge.api.apis.devices.v1alpha2.BluetoothOperations": { "description": "Specify the operation that should be performed to convert incoming data into understandable form", "type": "object", "properties": { @@ -11650,7 +11649,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.BluetoothReadConverter": { + "com.github.kubeedge.api.apis.devices.v1alpha2.BluetoothReadConverter": { "description": "Specifies the operations that may need to be performed to convert the data", "type": "object", "properties": { @@ -11664,7 +11663,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.BluetoothOperations" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.BluetoothOperations" } }, "shiftLeft": { @@ -11684,11 +11683,11 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.CustomizedValue": { + "com.github.kubeedge.api.apis.devices.v1alpha2.CustomizedValue": { "description": "CustomizedValue contains a map type data", "type": "object" }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DataProperty": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DataProperty": { "description": "DataProperty represents the device property for external use.", "type": "object", "properties": { @@ -11706,7 +11705,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device": { + "com.github.kubeedge.api.apis.devices.v1alpha2.Device": { "description": "Device is the Schema for the devices API", "type": "object", "properties": { @@ -11724,11 +11723,11 @@ }, "spec": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceSpec" }, "status": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceStatus" } }, "x-kubernetes-group-version-kind": [ @@ -11739,7 +11738,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceData": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceData": { "description": "DeviceData reports the device's time-series data to edge MQTT broker. These data should not be processed by edgecore. Instead, they can be processed by third-party data-processing apps like EMQX kuiper.", "type": "object", "properties": { @@ -11748,7 +11747,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DataProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DataProperty" } }, "dataTopic": { @@ -11757,7 +11756,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceList": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceList": { "description": "DeviceList contains a list of Device", "type": "object", "required": [ @@ -11772,7 +11771,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Device" } }, "kind": { @@ -11792,7 +11791,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel": { "description": "DeviceModel is the Schema for the device model API", "type": "object", "properties": { @@ -11810,7 +11809,7 @@ }, "spec": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModelSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModelSpec" } }, "x-kubernetes-group-version-kind": [ @@ -11821,7 +11820,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModelList": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModelList": { "description": "DeviceModelList contains a list of DeviceModel", "type": "object", "required": [ @@ -11836,7 +11835,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModel" } }, "kind": { @@ -11856,7 +11855,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceModelSpec": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceModelSpec": { "description": "DeviceModelSpec defines the model / template for a device.It is a blueprint which describes the device capabilities and access mechanism via property visitors.", "type": "object", "properties": { @@ -11865,7 +11864,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceProperty" } }, "protocol": { @@ -11874,7 +11873,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceProperty": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceProperty": { "description": "DeviceProperty describes an individual device property / attribute like temperature / humidity etc.", "type": "object", "properties": { @@ -11889,17 +11888,17 @@ "type": { "description": "Required: PropertyType represents the type and data validation of the property.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyType" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.PropertyType" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DevicePropertyVisitor": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DevicePropertyVisitor": { "description": "DevicePropertyVisitor describes the specifics of accessing a particular device property. Visitors are intended to be consumed by device mappers which connect to devices and collect data / perform actions on the device.", "type": "object", "properties": { "bluetooth": { "description": "Bluetooth represents a set of additional visitor config fields of bluetooth protocol.", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigBluetooth" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigBluetooth" }, "collectCycle": { "description": "Define how frequent mapper will collect from device.", @@ -11908,19 +11907,19 @@ }, "customizedProtocol": { "description": "CustomizedProtocol represents a set of visitor config fields of bluetooth protocol.", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigCustomized" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigCustomized" }, "customizedValues": { "description": "Customized values for visitor of provided protocols", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.CustomizedValue" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.CustomizedValue" }, "modbus": { "description": "Modbus represents a set of additional visitor config fields of modbus protocol.", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigModbus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigModbus" }, "opcua": { "description": "Opcua represents a set of additional visitor config fields of opc-ua protocol.", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigOPCUA" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigOPCUA" }, "propertyName": { "description": "Required: The device property name to be accessed. This should refer to one of the device properties defined in the device model.", @@ -11933,14 +11932,14 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceSpec": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceSpec": { "description": "DeviceSpec represents a single device instance. It is an instantation of a device model.", "type": "object", "properties": { "data": { "description": "Data section describe a list of time-series properties which should be processed on edge node.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceData" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DeviceData" }, "deviceModelRef": { "description": "Required: DeviceModelRef is reference to the device model used as a template to create the device instance.", @@ -11955,17 +11954,17 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DevicePropertyVisitor" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.DevicePropertyVisitor" } }, "protocol": { "description": "Required: The protocol configuration used to connect to the device.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfig" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.DeviceStatus": { + "com.github.kubeedge.api.apis.devices.v1alpha2.DeviceStatus": { "description": "DeviceStatus reports the device state and the desired/reported values of twin attributes.", "type": "object", "properties": { @@ -11974,36 +11973,36 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Twin" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.Twin" } } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyType": { + "com.github.kubeedge.api.apis.devices.v1alpha2.PropertyType": { "description": "Represents the type and data validation of a property. Only one of its members may be specified.", "type": "object", "properties": { "boolean": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeBoolean" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeBoolean" }, "bytes": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeBytes" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeBytes" }, "double": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeDouble" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeDouble" }, "float": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeFloat" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeFloat" }, "int": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeInt64" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeInt64" }, "string": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeString" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeString" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeBoolean": { + "com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeBoolean": { "type": "object", "properties": { "accessMode": { @@ -12015,7 +12014,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeBytes": { + "com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeBytes": { "type": "object", "properties": { "accessMode": { @@ -12024,7 +12023,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeDouble": { + "com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeDouble": { "type": "object", "properties": { "accessMode": { @@ -12049,7 +12048,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeFloat": { + "com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeFloat": { "type": "object", "properties": { "accessMode": { @@ -12074,7 +12073,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeInt64": { + "com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeInt64": { "type": "object", "properties": { "accessMode": { @@ -12099,7 +12098,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.PropertyTypeString": { + "com.github.kubeedge.api.apis.devices.v1alpha2.PropertyTypeString": { "type": "object", "properties": { "accessMode": { @@ -12111,33 +12110,33 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfig": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfig": { "description": "Only one of its members may be specified.", "type": "object", "properties": { "bluetooth": { "description": "Protocol configuration for bluetooth", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigBluetooth" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigBluetooth" }, "common": { "description": "Configuration for protocol common part", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigCommon" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigCommon" }, "customizedProtocol": { "description": "Configuration for customized protocol", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigCustomized" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigCustomized" }, "modbus": { "description": "Protocol configuration for modbus", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigModbus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigModbus" }, "opcua": { "description": "Protocol configuration for opc-ua", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigOpcUA" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigOpcUA" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigBluetooth": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigBluetooth": { "type": "object", "properties": { "macAddress": { @@ -12146,7 +12145,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigCOM": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigCOM": { "type": "object", "properties": { "baudRate": { @@ -12174,7 +12173,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigCommon": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigCommon": { "description": "Only one of COM or TCP may be specified.", "type": "object", "properties": { @@ -12193,7 +12192,7 @@ "type": "string" }, "com": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigCOM" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigCOM" }, "commType": { "description": "Communication type, like tcp client, tcp server or COM", @@ -12201,7 +12200,7 @@ }, "customizedValues": { "description": "Customized values for provided protocol", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.CustomizedValue" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.CustomizedValue" }, "reconnRetryTimes": { "description": "Reconnecting retry times", @@ -12214,16 +12213,16 @@ "format": "int64" }, "tcp": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigTCP" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigTCP" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigCustomized": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigCustomized": { "type": "object", "properties": { "configData": { "description": "Any config data", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.CustomizedValue" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.CustomizedValue" }, "protocolName": { "description": "Unique protocol name Required.", @@ -12231,7 +12230,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigModbus": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigModbus": { "description": "Only one of its members may be specified.", "type": "object", "properties": { @@ -12242,7 +12241,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigOpcUA": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigOpcUA": { "type": "object", "properties": { "certificate": { @@ -12280,7 +12279,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.ProtocolConfigTCP": { + "com.github.kubeedge.api.apis.devices.v1alpha2.ProtocolConfigTCP": { "type": "object", "properties": { "ip": { @@ -12294,14 +12293,14 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.Twin": { + "com.github.kubeedge.api.apis.devices.v1alpha2.Twin": { "description": "Twin provides a logical representation of control properties (writable properties in the device model). The properties can have a Desired state and a Reported state. The cloud configures the `Desired`state of a device property and this configuration update is pushed to the edge node. The mapper sends a command to the device to change this property value as per the desired state . It receives the `Reported` state of the property once the previous operation is complete and sends the reported state to the cloud. Offline device interaction in the edge is possible via twin properties for control/command operations.", "type": "object", "properties": { "desired": { "description": "Required: the desired property value.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.TwinProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.TwinProperty" }, "propertyName": { "description": "Required: The property name for which the desired/reported values are specified. This property should be present in the device model.", @@ -12310,11 +12309,11 @@ "reported": { "description": "Required: the reported property value.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.TwinProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.TwinProperty" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.TwinProperty": { + "com.github.kubeedge.api.apis.devices.v1alpha2.TwinProperty": { "description": "TwinProperty represents the device property for which an Expected/Actual state can be defined.", "type": "object", "required": [ @@ -12336,7 +12335,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigBluetooth": { + "com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigBluetooth": { "description": "Common visitor configurations for bluetooth protocol", "type": "object", "properties": { @@ -12347,7 +12346,7 @@ "dataConverter": { "description": "Responsible for converting the data being read from the bluetooth device into a form that is understandable by the platform", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.BluetoothReadConverter" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.BluetoothReadConverter" }, "dataWrite": { "description": "Responsible for converting the data coming from the platform into a form that is understood by the bluetooth device For example: \"ON\":[1], \"OFF\":[0]", @@ -12359,13 +12358,13 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigCustomized": { + "com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigCustomized": { "description": "Common visitor configurations for customized protocol", "type": "object", "properties": { "configData": { "description": "Required: The configData of customized protocol", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.CustomizedValue" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1alpha2.CustomizedValue" }, "protocolName": { "description": "Required: name of customized protocol", @@ -12373,7 +12372,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigModbus": { + "com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigModbus": { "description": "Common visitor configurations for modbus protocol", "type": "object", "properties": { @@ -12406,7 +12405,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1alpha2.VisitorConfigOPCUA": { + "com.github.kubeedge.api.apis.devices.v1alpha2.VisitorConfigOPCUA": { "description": "Common visitor configurations for opc-ua protocol", "type": "object", "properties": { @@ -12420,68 +12419,68 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.CustomizedValue": { + "com.github.kubeedge.api.apis.devices.v1beta1.CustomizedValue": { "description": "CustomizedValue contains a map type data", "type": "object" }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.DBMethodConfig": { "type": "object", "properties": { "TDEngine": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodTDEngine" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DBMethodTDEngine" }, "influxdb2": { "description": "method configuration for database", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodInfluxdb2" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DBMethodInfluxdb2" }, "mysql": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodMySQL" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DBMethodMySQL" }, "redis": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodRedis" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DBMethodRedis" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodInfluxdb2": { + "com.github.kubeedge.api.apis.devices.v1beta1.DBMethodInfluxdb2": { "type": "object", "properties": { "influxdb2ClientConfig": { "description": "Config of influx database", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Influxdb2ClientConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Influxdb2ClientConfig" }, "influxdb2DataConfig": { "description": "config of device data when push to influx database", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Influxdb2DataConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Influxdb2DataConfig" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodMySQL": { + "com.github.kubeedge.api.apis.devices.v1beta1.DBMethodMySQL": { "type": "object", "properties": { "mysqlClientConfig": { - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.MySQLClientConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.MySQLClientConfig" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodRedis": { + "com.github.kubeedge.api.apis.devices.v1beta1.DBMethodRedis": { "type": "object", "properties": { "redisClientConfig": { "description": "RedisClientConfig of redis database", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.RedisClientConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.RedisClientConfig" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodTDEngine": { + "com.github.kubeedge.api.apis.devices.v1beta1.DBMethodTDEngine": { "type": "object", "properties": { "TDEngineClientConfig": { "description": "tdengineClientConfig of tdengine database", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.TDEngineClientConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.TDEngineClientConfig" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device": { + "com.github.kubeedge.api.apis.devices.v1beta1.Device": { "description": "Device is the Schema for the devices API", "type": "object", "properties": { @@ -12499,11 +12498,11 @@ }, "spec": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceSpec" }, "status": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceStatus" } }, "x-kubernetes-group-version-kind": [ @@ -12514,7 +12513,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceList": { + "com.github.kubeedge.api.apis.devices.v1beta1.DeviceList": { "description": "DeviceList contains a list of Device", "type": "object", "required": [ @@ -12529,7 +12528,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Device" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Device" } }, "kind": { @@ -12549,7 +12548,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel": { + "com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel": { "description": "DeviceModel is the Schema for the device model API", "type": "object", "properties": { @@ -12567,7 +12566,7 @@ }, "spec": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModelSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModelSpec" } }, "x-kubernetes-group-version-kind": [ @@ -12578,7 +12577,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModelList": { + "com.github.kubeedge.api.apis.devices.v1beta1.DeviceModelList": { "description": "DeviceModelList contains a list of DeviceModel", "type": "object", "required": [ @@ -12593,7 +12592,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModel" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceModel" } }, "kind": { @@ -12613,7 +12612,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceModelSpec": { + "com.github.kubeedge.api.apis.devices.v1beta1.DeviceModelSpec": { "description": "DeviceModelSpec defines the model for a device.It is a blueprint which describes the device capabilities and access mechanism via property visitors.", "type": "object", "properties": { @@ -12622,7 +12621,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.ModelProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.ModelProperty" } }, "protocol": { @@ -12631,7 +12630,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceProperty": { + "com.github.kubeedge.api.apis.devices.v1beta1.DeviceProperty": { "description": "DeviceProperty describes the specifics all the properties of the device.", "type": "object", "properties": { @@ -12643,7 +12642,7 @@ "desired": { "description": "The desired property value.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.TwinProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.TwinProperty" }, "name": { "description": "Required: The device property name to be accessed. It must be unique. Note: If you need to use the built-in stream data processing function, you need to define Name as saveFrame or saveVideo", @@ -12651,7 +12650,7 @@ }, "pushMethod": { "description": "PushMethod represents the protocol used to push data, please ensure that the mapper can access the destination address.", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.PushMethod" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.PushMethod" }, "reportCycle": { "description": "Define how frequent mapper will report the value.", @@ -12665,11 +12664,11 @@ "visitors": { "description": "Visitors are intended to be consumed by device mappers which connect to devices and collect data / perform actions on the device. Required: Protocol relevant config details about the how to access the device property.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.VisitorConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.VisitorConfig" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceSpec": { + "com.github.kubeedge.api.apis.devices.v1beta1.DeviceSpec": { "description": "DeviceSpec represents a single device instance.", "type": "object", "properties": { @@ -12686,31 +12685,39 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DeviceProperty" } }, "protocol": { "description": "Required: The protocol configuration used to connect to the device.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.ProtocolConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.ProtocolConfig" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DeviceStatus": { + "com.github.kubeedge.api.apis.devices.v1beta1.DeviceStatus": { "description": "DeviceStatus reports the device state and the desired/reported values of twin attributes.", "type": "object", "properties": { + "lastOnlineTime": { + "description": "Optional: The last time the device was online.", + "type": "string" + }, + "state": { + "description": "Optional: The state of the device.", + "type": "string" + }, "twins": { "description": "A list of device twins containing desired/reported desired/reported values of twin properties. Optional: A passive device won't have twin properties and this list could be empty.", "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Twin" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.Twin" } } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Influxdb2ClientConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.Influxdb2ClientConfig": { "type": "object", "properties": { "bucket": { @@ -12727,7 +12734,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Influxdb2DataConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.Influxdb2DataConfig": { "type": "object", "properties": { "fieldKey": { @@ -12748,7 +12755,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.ModelProperty": { + "com.github.kubeedge.api.apis.devices.v1beta1.ModelProperty": { "description": "ModelProperty describes an individual device property / attribute like temperature / humidity etc.", "type": "object", "properties": { @@ -12780,7 +12787,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.MySQLClientConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.MySQLClientConfig": { "type": "object", "properties": { "addr": { @@ -12797,12 +12804,12 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.ProtocolConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.ProtocolConfig": { "type": "object", "properties": { "configData": { "description": "Any config data", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.CustomizedValue" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.CustomizedValue" }, "protocolName": { "description": "Unique protocol name Required.", @@ -12810,24 +12817,24 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.PushMethod": { + "com.github.kubeedge.api.apis.devices.v1beta1.PushMethod": { "type": "object", "properties": { "dbMethod": { "description": "DBMethod represents the method used to push data to database, please ensure that the mapper can access the destination address.", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.DBMethodConfig" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.DBMethodConfig" }, "http": { "description": "HTTP Push method configuration for http", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.PushMethodHTTP" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.PushMethodHTTP" }, "mqtt": { "description": "MQTT Push method configuration for mqtt", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.PushMethodMQTT" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.PushMethodMQTT" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.PushMethodHTTP": { + "com.github.kubeedge.api.apis.devices.v1beta1.PushMethodHTTP": { "type": "object", "properties": { "hostName": { @@ -12846,7 +12853,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.PushMethodMQTT": { + "com.github.kubeedge.api.apis.devices.v1beta1.PushMethodMQTT": { "type": "object", "properties": { "address": { @@ -12868,7 +12875,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.RedisClientConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.RedisClientConfig": { "type": "object", "properties": { "addr": { @@ -12892,7 +12899,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.TDEngineClientConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.TDEngineClientConfig": { "type": "object", "properties": { "addr": { @@ -12905,14 +12912,14 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.Twin": { + "com.github.kubeedge.api.apis.devices.v1beta1.Twin": { "description": "Twin provides a logical representation of control properties (writable properties in the device model). The properties can have a Desired state and a Reported state. The cloud configures the `Desired`state of a device property and this configuration update is pushed to the edge node. The mapper sends a command to the device to change this property value as per the desired state . It receives the `Reported` state of the property once the previous operation is complete and sends the reported state to the cloud. Offline device interaction in the edge is possible via twin properties for control/command operations.", "type": "object", "properties": { "observedDesired": { "description": "The meaning of here is to indicate desired value of `deviceProperty.Desired` that the mapper has received in current cycle. Useful in cases that people want to check whether the mapper is working appropriately and its internal status is up-to-date. This value should be only updated by devicecontroller upstream.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.TwinProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.TwinProperty" }, "propertyName": { "description": "Required: The property name for which the desired/reported values are specified. This property should be present in the device model.", @@ -12921,11 +12928,11 @@ "reported": { "description": "Required: the reported property value.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.TwinProperty" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.TwinProperty" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.TwinProperty": { + "com.github.kubeedge.api.apis.devices.v1beta1.TwinProperty": { "description": "TwinProperty represents the device property for which an Expected/Actual state can be defined.", "type": "object", "required": [ @@ -12947,12 +12954,12 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.VisitorConfig": { + "com.github.kubeedge.api.apis.devices.v1beta1.VisitorConfig": { "type": "object", "properties": { "configData": { "description": "Required: The configData of customized protocol", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.devices.v1beta1.CustomizedValue" + "$ref": "#/definitions/com.github.kubeedge.api.apis.devices.v1beta1.CustomizedValue" }, "protocolName": { "description": "Required: name of customized protocol", @@ -12960,7 +12967,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob": { + "com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob": { "description": "ImagePrePullJob is used to prepull images on edge node.", "type": "object", "required": [ @@ -12982,12 +12989,12 @@ "spec": { "description": "Spec represents the specification of the desired behavior of ImagePrePullJob.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJobSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJobSpec" }, "status": { "description": "Status represents the status of ImagePrePullJob.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJobStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJobStatus" } }, "x-kubernetes-group-version-kind": [ @@ -12998,7 +13005,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJobList": { + "com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJobList": { "description": "ImagePrePullJobList is a list of ImagePrePullJob.", "type": "object", "required": [ @@ -13014,7 +13021,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJob" } }, "kind": { @@ -13035,18 +13042,18 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJobSpec": { + "com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJobSpec": { "description": "ImagePrePullSpec represents the specification of the desired behavior of ImagePrePullJob.", "type": "object", "properties": { "imagePrePullTemplate": { "description": "ImagePrepullTemplate represents original templates of imagePrePull", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullTemplate" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullTemplate" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullJobStatus": { + "com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullJobStatus": { "description": "ImagePrePullJobStatus stores the status of ImagePrePullJob. contains images prepull status on multiple edge nodes.", "type": "object", "properties": { @@ -13071,7 +13078,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullStatus" } }, "time": { @@ -13080,7 +13087,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullStatus": { + "com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullStatus": { "description": "ImagePrePullStatus stores image prepull status for each edge node.", "type": "object", "properties": { @@ -13089,16 +13096,16 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImageStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.ImageStatus" } }, "nodeStatus": { "description": "TaskStatus represents the status for each node", - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.TaskStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.TaskStatus" } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImagePrePullTemplate": { + "com.github.kubeedge.api.apis.operations.v1alpha1.ImagePrePullTemplate": { "description": "ImagePrePullTemplate represents original templates of imagePrePull", "type": "object", "properties": { @@ -13155,7 +13162,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.ImageStatus": { + "com.github.kubeedge.api.apis.operations.v1alpha1.ImageStatus": { "description": "ImageStatus stores the prepull status for each image.", "type": "object", "properties": { @@ -13173,7 +13180,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob": { + "com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob": { "description": "NodeUpgradeJob is used to upgrade edge node from cloud side.", "type": "object", "properties": { @@ -13192,12 +13199,12 @@ "spec": { "description": "Specification of the desired behavior of NodeUpgradeJob.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJobSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJobSpec" }, "status": { "description": "Most recently observed status of the NodeUpgradeJob.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJobStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJobStatus" } }, "x-kubernetes-group-version-kind": [ @@ -13208,7 +13215,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJobList": { + "com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJobList": { "description": "NodeUpgradeJobList is a list of NodeUpgradeJob.", "type": "object", "required": [ @@ -13224,7 +13231,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJob" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJob" } }, "kind": { @@ -13245,7 +13252,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJobSpec": { + "com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJobSpec": { "description": "NodeUpgradeJobSpec is the specification of the desired behavior of the NodeUpgradeJob.", "type": "object", "properties": { @@ -13292,7 +13299,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.NodeUpgradeJobStatus": { + "com.github.kubeedge.api.apis.operations.v1alpha1.NodeUpgradeJobStatus": { "description": "NodeUpgradeJobStatus stores the status of NodeUpgradeJob. contains multiple edge nodes upgrade status.", "type": "object", "properties": { @@ -13317,7 +13324,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.TaskStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.operations.v1alpha1.TaskStatus" } }, "reason": { @@ -13334,7 +13341,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.operations.v1alpha1.TaskStatus": { + "com.github.kubeedge.api.apis.operations.v1alpha1.TaskStatus": { "description": "TaskStatus stores the status of Upgrade for each edge node.", "type": "object", "properties": { @@ -13364,7 +13371,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessClusterRoleBinding": { + "com.github.kubeedge.api.apis.policy.v1alpha1.AccessClusterRoleBinding": { "description": "AccessClusterRoleBinding represents rbac ClusterRoleBinding plus detailed ClusterRole info.", "type": "object", "properties": { @@ -13383,7 +13390,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessRoleBinding": { + "com.github.kubeedge.api.apis.policy.v1alpha1.AccessRoleBinding": { "description": "AccessRoleBinding represents rbac rolebinding plus detailed role info.", "type": "object", "properties": { @@ -13402,7 +13409,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessSpec": { + "com.github.kubeedge.api.apis.policy.v1alpha1.AccessSpec": { "description": "AccessSpec defines the desired state of AccessSpec", "type": "object", "properties": { @@ -13411,7 +13418,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessClusterRoleBinding" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.AccessClusterRoleBinding" } }, "accessRoleBinding": { @@ -13419,7 +13426,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessRoleBinding" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.AccessRoleBinding" } }, "serviceAccount": { @@ -13433,7 +13440,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessStatus": { + "com.github.kubeedge.api.apis.policy.v1alpha1.AccessStatus": { "description": "AccessStatus defines the observed state of ServiceAccountAccess", "type": "object", "properties": { @@ -13447,7 +13454,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess": { + "com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess": { "description": "ServiceAccountAccess is the Schema for the ServiceAccountAccess API", "type": "object", "properties": { @@ -13466,12 +13473,12 @@ "spec": { "description": "Spec represents the specification of rbac.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.AccessSpec" }, "status": { "description": "Status represents the node list which store the rules.", "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.AccessStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.AccessStatus" } }, "x-kubernetes-group-version-kind": [ @@ -13482,7 +13489,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccessList": { + "com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccessList": { "description": "ServiceAccountAccessList contains a list of ServiceAccountAccess", "type": "object", "required": [ @@ -13497,7 +13504,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.policy.v1alpha1.ServiceAccountAccess" + "$ref": "#/definitions/com.github.kubeedge.api.apis.policy.v1alpha1.ServiceAccountAccess" } }, "kind": { @@ -13517,7 +13524,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync": { + "com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync": { "description": "ClusterObjectSync stores the state of the cluster level, nonNamespaced object that was successfully persisted to the edge node. ClusterObjectSync name is a concatenation of the node name which receiving the object and the object UUID.", "type": "object", "properties": { @@ -13535,11 +13542,11 @@ }, "spec": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncSpec" }, "status": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncStatus" } }, "x-kubernetes-group-version-kind": [ @@ -13550,7 +13557,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSyncList": { + "com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSyncList": { "description": "ClusterObjectSyncList is a list of ObjectSync.", "type": "object", "required": [ @@ -13566,7 +13573,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ClusterObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ClusterObjectSync" } }, "kind": { @@ -13587,7 +13594,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync": { + "com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync": { "description": "ObjectSync stores the state of the namespaced object that was successfully persisted to the edge node. ObjectSync name is a concatenation of the node name which receiving the object and the object UUID.", "type": "object", "properties": { @@ -13606,11 +13613,11 @@ }, "spec": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncSpec" }, "status": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncStatus" } }, "x-kubernetes-group-version-kind": [ @@ -13621,7 +13628,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncList": { + "com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncList": { "description": "ObjectSyncList is a list of ObjectSync.", "type": "object", "required": [ @@ -13637,7 +13644,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSync" + "$ref": "#/definitions/com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSync" } }, "kind": { @@ -13658,7 +13665,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncSpec": { + "com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncSpec": { "description": "ObjectSyncSpec stores the details of objects that persist to the edge.", "type": "object", "properties": { @@ -13676,7 +13683,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.reliablesyncs.v1alpha1.ObjectSyncStatus": { + "com.github.kubeedge.api.apis.reliablesyncs.v1alpha1.ObjectSyncStatus": { "description": "ObjectSyncStatus stores the resourceversion of objects that persist to the edge.", "type": "object", "properties": { @@ -13686,7 +13693,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule": { + "com.github.kubeedge.api.apis.rules.v1.Rule": { "description": "Rule is the Schema for the rules API", "type": "object", "required": [ @@ -13707,11 +13714,11 @@ }, "spec": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.RuleSpec" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.RuleSpec" }, "status": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.RuleStatus" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.RuleStatus" } }, "x-kubernetes-group-version-kind": [ @@ -13722,7 +13729,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.rules.v1.RuleList": { + "com.github.kubeedge.api.apis.rules.v1.RuleList": { "description": "RuleList contains a list of Rule", "type": "object", "required": [ @@ -13737,7 +13744,7 @@ "type": "array", "items": { "default": {}, - "$ref": "#/definitions/com.github.kubeedge.kubeedge.pkg.apis.rules.v1.Rule" + "$ref": "#/definitions/com.github.kubeedge.api.apis.rules.v1.Rule" } }, "kind": { @@ -13757,7 +13764,7 @@ } ] }, - "com.github.kubeedge.kubeedge.pkg.apis.rules.v1.RuleSpec": { + "com.github.kubeedge.api.apis.rules.v1.RuleSpec": { "description": "RuleSpec defines rule of message delivery.", "type": "object", "required": [ @@ -13795,7 +13802,7 @@ } } }, - "com.github.kubeedge.kubeedge.pkg.apis.rules.v1.RuleStatus": { + "com.github.kubeedge.api.apis.rules.v1.RuleStatus": { "description": "RuleStatus defines status of message delivery.", "type": "object", "required": [ @@ -14062,7 +14069,6 @@ }, "divisor": { "description": "Specifies the output format of the exposed resources, defaults to \"1\"", - "default": {}, "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, "resource": { @@ -14093,7 +14099,6 @@ "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "type": "object", "additionalProperties": { - "default": {}, "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, @@ -14101,7 +14106,6 @@ "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "type": "object", "additionalProperties": { - "default": {}, "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } } @@ -14758,7 +14762,7 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha1" + "version": "v1" }, { "group": "flowcontrol.apiserver.k8s.io", @@ -15038,7 +15042,6 @@ }, "creationTimestamp": { "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "default": {}, "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" }, "deletionGracePeriodSeconds": { @@ -15315,7 +15318,6 @@ "properties": { "object": { "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.", - "default": {}, "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" }, "type": { @@ -15482,7 +15484,7 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "WatchEvent", - "version": "v1alpha1" + "version": "v1" }, { "group": "flowcontrol.apiserver.k8s.io", @@ -15715,10 +15717,10 @@ "name": "orphanDependents", "in": "query" }, - "pretty-nN7o5FEq": { + "pretty-tJGM1-ng": { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "name": "pretty", "in": "query" }, diff --git a/pkg/client/clientset/versioned/doc.go b/staging/src/github.com/kubeedge/api/apidoc/tools/boilerplate/boilerplate.txt index 50cc25fd6..3a677dd04 100644 --- a/pkg/client/clientset/versioned/doc.go +++ b/staging/src/github.com/kubeedge/api/apidoc/tools/boilerplate/boilerplate.txt @@ -13,8 +13,3 @@ 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. - -// This package has the automatically generated clientset. -package versioned diff --git a/apidoc/tools/generate-openapi.sh b/staging/src/github.com/kubeedge/api/apidoc/tools/generate-openapi.sh index 3495b89c8..30613795c 100644 --- a/apidoc/tools/generate-openapi.sh +++ b/staging/src/github.com/kubeedge/api/apidoc/tools/generate-openapi.sh @@ -37,13 +37,13 @@ fi # Run openapi-gen to generate files echo "Generating with openapi-gen..." openapi-gen \ - --input-dirs "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" \ - --input-dirs "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" \ - --input-dirs "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2" \ - --input-dirs "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" \ - --input-dirs "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" \ - --input-dirs "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" \ - --input-dirs "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" \ + --input-dirs "github.com/kubeedge/api/apis/apps/v1alpha1" \ + --input-dirs "github.com/kubeedge/api/apis/policy/v1alpha1" \ + --input-dirs "github.com/kubeedge/api/apis/devices/v1alpha2" \ + --input-dirs "github.com/kubeedge/api/apis/devices/v1beta1" \ + --input-dirs "github.com/kubeedge/api/apis/operations/v1alpha1" \ + --input-dirs "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" \ + --input-dirs "github.com/kubeedge/api/apis/rules/v1" \ --input-dirs "k8s.io/api/rbac/v1" \ --input-dirs "k8s.io/api/core/v1" \ --input-dirs "k8s.io/apimachinery/pkg/apis/meta/v1" \ @@ -52,7 +52,7 @@ openapi-gen \ --input-dirs "k8s.io/apimachinery/pkg/api/resource" \ --output-base "${KUBEEDGE_ROOT}/apidoc/generated"\ --output-package "openapi" \ - --go-header-file "${KUBEEDGE_ROOT}/hack/boilerplate/boilerplate.txt" \ + --go-header-file "${KUBEEDGE_ROOT}/apidoc/tools/boilerplate/boilerplate.txt" \ --output-file-base "zz_generated.openapi"\ --v "9" diff --git a/apidoc/tools/generate-swagger.go b/staging/src/github.com/kubeedge/api/apidoc/tools/generate-swagger.go index de6b6e5fe..f008145c8 100644 --- a/apidoc/tools/generate-swagger.go +++ b/staging/src/github.com/kubeedge/api/apidoc/tools/generate-swagger.go @@ -28,15 +28,15 @@ import ( "k8s.io/kube-openapi/pkg/common" "k8s.io/kube-openapi/pkg/validation/spec" - generatedopenapi "github.com/kubeedge/kubeedge/apidoc/generated/openapi" - "github.com/kubeedge/kubeedge/apidoc/tools/lib" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - devicesv1alpha2 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1alpha2" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + generatedopenapi "github.com/kubeedge/api/apidoc/generated/openapi" + "github.com/kubeedge/api/apidoc/tools/lib" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + devicesv1alpha2 "github.com/kubeedge/api/apis/devices/v1alpha2" + devicesv1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + operationsv1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" + reliablesyncsv1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" ) func main() { diff --git a/apidoc/tools/lib/render.go b/staging/src/github.com/kubeedge/api/apidoc/tools/lib/render.go index 04ee5472d..04ee5472d 100644 --- a/apidoc/tools/lib/render.go +++ b/staging/src/github.com/kubeedge/api/apidoc/tools/lib/render.go diff --git a/apidoc/tools/lib/storage.go b/staging/src/github.com/kubeedge/api/apidoc/tools/lib/storage.go index b40732bc3..b40732bc3 100644 --- a/apidoc/tools/lib/storage.go +++ b/staging/src/github.com/kubeedge/api/apidoc/tools/lib/storage.go diff --git a/apidoc/tools/update-swagger-docs.sh b/staging/src/github.com/kubeedge/api/apidoc/tools/update-swagger-docs.sh index 9a34fd590..9a34fd590 100644 --- a/apidoc/tools/update-swagger-docs.sh +++ b/staging/src/github.com/kubeedge/api/apidoc/tools/update-swagger-docs.sh diff --git a/pkg/apis/apps/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/doc.go index 27e7c9713..27e7c9713 100644 --- a/pkg/apis/apps/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/doc.go diff --git a/pkg/apis/apps/v1alpha1/edgeapplication_types.go b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/edgeapplication_types.go index 7edc8e1c0..7edc8e1c0 100644 --- a/pkg/apis/apps/v1alpha1/edgeapplication_types.go +++ b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/edgeapplication_types.go diff --git a/pkg/apis/apps/v1alpha1/nodegroup_types.go b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/nodegroup_types.go index 2c9d059e9..2c9d059e9 100644 --- a/pkg/apis/apps/v1alpha1/nodegroup_types.go +++ b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/nodegroup_types.go diff --git a/pkg/apis/apps/v1alpha1/register.go b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/register.go index df43c8cdb..df43c8cdb 100644 --- a/pkg/apis/apps/v1alpha1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/register.go diff --git a/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/zz_generated.deepcopy.go index bedad63d2..bedad63d2 100644 --- a/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/github.com/kubeedge/api/apis/apps/v1alpha1/zz_generated.deepcopy.go diff --git a/staging/src/github.com/kubeedge/api/apis/common/constants/default.go b/staging/src/github.com/kubeedge/api/apis/common/constants/default.go new file mode 100644 index 000000000..d0820fefd --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/common/constants/default.go @@ -0,0 +1,178 @@ +package constants + +import ( + "time" + + v1 "k8s.io/api/core/v1" +) + +// Module name and group name +const ( + // SyncController + DefaultContextSendModuleName = "cloudhub" + + ProjectName = "KubeEdge" + + SystemName = "kubeedge" + SystemNamespace = SystemName + + CloudConfigMapName = "cloudcore" + EdgeMappingCloudKey = "cloudcore" + + // runtime + DockerContainerRuntime = "docker" + RemoteContainerRuntime = "remote" +) + +// Resources +const ( + DefaultCAURL = "/ca.crt" + DefaultCertURL = "/edge.crt" + DefaultNodeUpgradeURL = "/nodeupgrade" + DefaultTaskStateReportURL = "/task/{taskType}/name/{taskID}/node/{nodeID}/status" + DefaultServiceAccountIssuer = "https://kubernetes.default.svc.cluster.local" + + // Edged + DefaultDockerAddress = "unix:///var/run/docker.sock" + DefaultDockershimRootDir = "/var/lib/dockershim" + DefaultRuntimeType = "remote" + DefaultEdgedMemoryCapacity = 7852396000 + // DefaultMosquittoImage ... + // Deprecated: the mqtt broker is alreay managed by the DaemonSet in the cloud + DefaultMosquittoImage = "eclipse-mosquitto:1.6.15" + // update PodSandboxImage version when bumping k8s vendor version, consistent with vendor/k8s.io/kubernetes/cmd/kubelet/app/options/container_runtime.go defaultPodSandboxImageVersion + // When this value are updated, also update comments in pkg/apis/componentconfig/edgecore/v1alpha1/types.go + DefaultPodSandboxImage = "kubeedge/pause:3.6" + DefaultImagePullProgressDeadline = time.Minute + DefaultImageGCHighThreshold = 80 + DefaultImageGCLowThreshold = 40 + DefaultMaximumDeadContainersPerPod = 1 + DefaultHostnameOverride = "default-edge-node" + DefaultRegisterNodeNamespace = "default" + DefaultNetworkPluginMTU = 1500 + DefaultConcurrentConsumers = 5 + DefaultCgroupRoot = "" + DefaultVolumeStatsAggPeriod = time.Minute + DefaultTunnelPort = 10004 + DefaultClusterDomain = "cluster.local" + + CurrentSupportK8sVersion = "v1.29.5" + + // MetaManager + DefaultRemoteQueryTimeout = 60 + DefaultMetaServerAddr = "127.0.0.1:10550" + DefaultDummyServerAddr = "169.254.30.10:10550" + + // Config + DefaultKubeContentType = "application/vnd.kubernetes.protobuf" + DefaultKubeNamespace = v1.NamespaceAll + DefaultKubeQPS = 100.0 + DefaultKubeBurst = 200 + DefaultNodeLimit = 500 + DefaultKubeUpdateNodeFrequency = 20 + + // EdgeController + DefaultUpdatePodStatusWorkers = 1 + DefaultUpdateNodeStatusWorkers = 1 + DefaultQueryConfigMapWorkers = 100 + DefaultQuerySecretWorkers = 100 + DefaultQueryPersistentVolumeWorkers = 4 + DefaultQueryPersistentVolumeClaimWorkers = 4 + DefaultQueryVolumeAttachmentWorkers = 4 + DefaultCreateNodeWorkers = 100 + DefaultUpdateNodeWorkers = 4 + DefaultPatchPodWorkers = 100 + DefaultDeletePodWorkers = 100 + DefaultUpdateRuleStatusWorkers = 4 + DefaultQueryLeaseWorkers = 100 + DefaultServiceAccountTokenWorkers = 100 + DefaultCreatePodWorkers = 4 + DefaultCertificateSigningRequestWorkers = 4 + + DefaultUpdatePodStatusBuffer = 1024 + DefaultUpdateNodeStatusBuffer = 1024 + DefaultQueryConfigMapBuffer = 1024 + DefaultQuerySecretBuffer = 1024 + DefaultQueryPersistentVolumeBuffer = 1024 + DefaultQueryPersistentVolumeClaimBuffer = 1024 + DefaultQueryVolumeAttachmentBuffer = 1024 + DefaultCreateNodeBuffer = 1024 + DefaultUpdateNodeBuffer = 1024 + DefaultPatchPodBuffer = 1024 + DefaultDeletePodBuffer = 1024 + DefaultQueryLeaseBuffer = 1024 + DefaultServiceAccountTokenBuffer = 1024 + DefaultCreatePodBuffer = 1024 + DefaultCertificateSigningRequestBuffer = 1024 + + DefaultPodEventBuffer = 1 + DefaultConfigMapEventBuffer = 1 + DefaultSecretEventBuffer = 1 + DefaultRulesEventBuffer = 1 + DefaultRuleEndpointsEventBuffer = 1 + + // DeviceController + DefaultUpdateDeviceTwinsBuffer = 1024 + DefaultUpdateDeviceStatesBuffer = 1024 + DefaultDeviceEventBuffer = 1 + DefaultDeviceModelEventBuffer = 1 + DefaultUpdateDeviceStatusWorkers = 1 + + // TaskManager + DefaultNodeUpgradeJobStatusBuffer = 1024 + DefaultNodeUpgradeJobEventBuffer = 1 + DefaultNodeUpgradeJobWorkers = 1 + + // ImagePrePullController + DefaultImagePrePullJobStatusBuffer = 1024 + DefaultImagePrePullJobEventBuffer = 1 + DefaultImagePrePullJobWorkers = 1 + + // Resource sep + ResourceSep = "/" + + ResourceTypeService = "service" + ResourceTypeEndpoints = "endpoints" + + ResourceTypePersistentVolume = "persistentvolume" + ResourceTypePersistentVolumeClaim = "persistentvolumeclaim" + ResourceTypeVolumeAttachment = "volumeattachment" + + CSIResourceTypeVolume = "volume" + CSIOperationTypeCreateVolume = "createvolume" + CSIOperationTypeDeleteVolume = "deletevolume" + CSIOperationTypeControllerPublishVolume = "controllerpublishvolume" + CSIOperationTypeControllerUnpublishVolume = "controllerunpublishvolume" + CSISyncMsgRespTimeout = 1 * time.Minute + + ServerAddress = "127.0.0.1" + // ServerPort is the default port for the edgecore server on each host machine. + // May be overridden by a flag at startup in the future. + ServerPort = 10350 + + // MessageSuccessfulContent is the successful content value of Message struct + MessageSuccessfulContent string = "OK" + DefaultQPS = 30 + DefaultBurst = 60 + // MaxRespBodyLength is the max length of http response body + MaxRespBodyLength = 1 << 20 // 1 MiB + + EdgeNodeRoleKey = "node-role.kubernetes.io/edge" + EdgeNodeRoleValue = "" + + // DefaultMosquittoContainerName ... + // Deprecated: the mqtt broker is alreay managed by the DaemonSet in the cloud + DefaultMosquittoContainerName = "mqtt-kubeedge" + // DeployMqttContainerEnv ... + // Deprecated: the mqtt broker is alreay managed by the DaemonSet in the cloud + DeployMqttContainerEnv = "DEPLOY_MQTT_CONTAINER" + + // EdgeHub + DefaultWebSocketPort = 10000 + DefaultQuicPort = 10001 + + // DeviceTwin + DefaultDMISockPath = "/etc/kubeedge/dmi.sock" +) + +const ISO8601UTC = "2006-01-02T15:04:05Z" diff --git a/staging/src/github.com/kubeedge/api/apis/common/constants/default_others.go b/staging/src/github.com/kubeedge/api/apis/common/constants/default_others.go new file mode 100644 index 000000000..ed6891818 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/common/constants/default_others.go @@ -0,0 +1,36 @@ +//go:build !windows + +package constants + +// Resources +const ( + // Certificates + DefaultConfigDir = "/etc/kubeedge/config/" + DefaultCAFile = "/etc/kubeedge/ca/rootCA.crt" + DefaultCAKeyFile = "/etc/kubeedge/ca/rootCA.key" + DefaultCertFile = "/etc/kubeedge/certs/server.crt" + DefaultKeyFile = "/etc/kubeedge/certs/server.key" + + DefaultStreamCAFile = "/etc/kubeedge/ca/streamCA.crt" + DefaultStreamCertFile = "/etc/kubeedge/certs/stream.crt" + DefaultStreamKeyFile = "/etc/kubeedge/certs/stream.key" + + DefaultMqttCAFile = "/etc/kubeedge/ca/rootCA.crt" + DefaultMqttCertFile = "/etc/kubeedge/certs/server.crt" + DefaultMqttKeyFile = "/etc/kubeedge/certs/server.key" + + // Bootstrap file, contains token used by edgecore to apply for ca/cert + BootstrapFile = "/etc/kubeedge/bootstrap-edgecore.conf" + + // Edged + DefaultRootDir = "/var/lib/edged" + DefaultRemoteRuntimeEndpoint = "unix:///run/containerd/containerd.sock" + DefaultRemoteImageEndpoint = "unix:///run/containerd/containerd.sock" + DefaultCNIConfDir = "/etc/cni/net.d" + DefaultCNIBinDir = "/opt/cni/bin" + DefaultCNICacheDir = "/var/lib/cni/cache" + DefaultVolumePluginDir = "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/" + + // DefaultManifestsDir edge node default static pod path + DefaultManifestsDir = "/etc/kubeedge/manifests" +) diff --git a/staging/src/github.com/kubeedge/api/apis/common/constants/default_windows.go b/staging/src/github.com/kubeedge/api/apis/common/constants/default_windows.go new file mode 100644 index 000000000..54e0400d5 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/common/constants/default_windows.go @@ -0,0 +1,39 @@ +//go:build windows + +package constants + +// Module name and group name +const () + +// Resources +const ( + // Certificates + DefaultConfigDir = "c:\\etc\\kubeedge\\config\\" + DefaultCAFile = "c:\\etc\\kubeedge\\ca\\rootCA.crt" + DefaultCAKeyFile = "c:\\etc\\kubeedge\\ca\\rootCA.key" + DefaultCertFile = "c:\\etc\\kubeedge\\certs\\server.crt" + DefaultKeyFile = "c:\\etc\\kubeedge\\certs\\server.key" + + DefaultStreamCAFile = "c:\\etc\\kubeedge\\ca\\streamCA.crt" + DefaultStreamCertFile = "c:\\etc\\kubeedge\\certs\\stream.crt" + DefaultStreamKeyFile = "c:\\etc\\kubeedge\\certs\\stream.key" + + DefaultMqttCAFile = "c:\\etc\\kubeedge\\ca\\rootCA.crt" + DefaultMqttCertFile = "c:\\etc\\kubeedge\\certs\\server.crt" + DefaultMqttKeyFile = "c:\\etc\\kubeedge\\certs\\server.key" + + // Bootstrap file, contains token used by edgecore to apply for ca/cert + BootstrapFile = "c:\\etc\\kubeedge\\bootstrap-edgecore.conf" + + // Edged + DefaultRootDir = "c:\\var\\lib\\edged" + DefaultRemoteRuntimeEndpoint = "npipe://./pipe/containerd-containerd" + DefaultRemoteImageEndpoint = "npipe://./pipe/containerd-containerd" + DefaultCNIConfDir = "c:\\etc\\cni\\net.d" + DefaultCNIBinDir = "c:\\opt\\cni\\bin" + DefaultCNICacheDir = "c:\\var\\lib\\cni\\cache" + DefaultVolumePluginDir = "C:\\usr\\libexec\\kubernetes\\kubelet-plugins\\volume\\exec\\" + + // DefaultManifestsDir edge node default static pod path + DefaultManifestsDir = "c:\\etc\\kubeedge\\manifests\\" +) diff --git a/staging/src/github.com/kubeedge/api/apis/common/types/http.go b/staging/src/github.com/kubeedge/api/apis/common/types/http.go new file mode 100644 index 000000000..e1faa7f6c --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/common/types/http.go @@ -0,0 +1,24 @@ +package types + +import "net/http" + +// HTTPRequest is used structure used to unmarshal message content from cloud +type HTTPRequest struct { + Header http.Header `json:"header"` + Body []byte `json:"body"` + Method string `json:"method"` + URL string `json:"url"` +} + +// HTTPResponse is HTTP request's response structure used to send response to cloud +type HTTPResponse struct { + Header http.Header `json:"header"` + StatusCode int `json:"status_code"` + Body []byte `json:"body"` +} + +const ( + HeaderAuthorization = "Authorization" + HeaderNodeName = "NodeName" + HeaderExtKeyUsages = "ExtKeyUsages" +) diff --git a/staging/src/github.com/kubeedge/api/apis/common/types/types.go b/staging/src/github.com/kubeedge/api/apis/common/types/types.go new file mode 100644 index 000000000..32065dc19 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/common/types/types.go @@ -0,0 +1,112 @@ +package types + +import ( + v1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/api/resource" + metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" + + api "github.com/kubeedge/api/apis/fsm/v1alpha1" + "github.com/kubeedge/api/apis/operations/v1alpha1" +) + +// PodStatusRequest is Message.Content which comes from edge +type PodStatusRequest struct { + UID types.UID + Name string + Status v1.PodStatus +} + +// ExtendResource is the extended resource detail that comes from edge +type ExtendResource struct { + Name string `json:"name,omitempty"` + Type string `json:"type,omitempty"` + Capacity resource.Quantity `json:"capacity,omitempty"` +} + +// NodeStatusRequest is Message.Content which comes from edge +type NodeStatusRequest struct { + UID types.UID + Status v1.NodeStatus + ExtendResources map[v1.ResourceName][]ExtendResource +} + +// NodeUpgradeJobRequest is upgrade msg coming from cloud to edge +type NodeUpgradeJobRequest struct { + UpgradeID string + HistoryID string + Version string + UpgradeTool string + Image string +} + +// NodeUpgradeJobResponse is used to report status msg to cloudhub https service +type NodeUpgradeJobResponse struct { + UpgradeID string + HistoryID string + NodeName string + FromVersion string + ToVersion string + Status string + Reason string +} + +// NodePreCheckRequest is pre-check msg coming from cloud to edge +type NodePreCheckRequest struct { + CheckItem []string +} + +type NodeTaskRequest struct { + TaskID string + Type string + State string + Item interface{} +} + +type NodeTaskResponse struct { + // NodeName is the name of edge node. + NodeName string + // State represents for the upgrade state phase of the edge node. + // There are several possible state values: "", Upgrading, BackingUp, RollingBack and Checking. + State api.State + // Event represents for the event of the ImagePrePullJob. + // There are three possible event values: Init, Check, Pull. + Event string + // Action represents for the action of the ImagePrePullJob. + // There are three possible action values: Success, Failure, TimeOut. + Action api.Action + // Reason represents for the reason of the ImagePrePullJob. + Reason string + // Time represents for the running time of the ImagePrePullJob. + Time string + + ExternalMessage string +} + +// ObjectResp is the object that api-server response +type ObjectResp struct { + Object metaV1.Object + Err error +} + +// ImagePrePullJobRequest is image prepull msg from cloud to edge +type ImagePrePullJobRequest struct { + Images []string + NodeName string + Secret string + RetryTimes int32 + CheckItems []string +} + +// ImagePrePullJobResponse is used to report status msg to cloudhub https service from each node +type ImagePrePullJobResponse struct { + NodeName string + State string + Reason string + ImageStatus []v1alpha1.ImageStatus +} + +type RestartResponse struct { + ErrMessages []string `json:"errMessages,omitempty"` + LogMessages []string `json:"LogMessages,omitempty"` +} diff --git a/pkg/apis/componentconfig/OWNERS b/staging/src/github.com/kubeedge/api/apis/componentconfig/OWNERS index 0897c190b..0897c190b 100644 --- a/pkg/apis/componentconfig/OWNERS +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/OWNERS diff --git a/pkg/apis/componentconfig/cloudcore/v1alpha1/default.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/default.go index 9aa5cde0c..0667b40ca 100644 --- a/pkg/apis/componentconfig/cloudcore/v1alpha1/default.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/default.go @@ -22,7 +22,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" utilnet "k8s.io/apimachinery/pkg/util/net" - "github.com/kubeedge/kubeedge/common/constants" + "github.com/kubeedge/api/apis/common/constants" ) // NewDefaultCloudCoreConfig returns a full CloudCoreConfig object diff --git a/pkg/apis/componentconfig/cloudcore/v1alpha1/helper.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/helper.go index 02d41f2d1..02d41f2d1 100644 --- a/pkg/apis/componentconfig/cloudcore/v1alpha1/helper.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/helper.go diff --git a/pkg/apis/componentconfig/cloudcore/v1alpha1/register.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/register.go index 00ddbb03b..00ddbb03b 100644 --- a/pkg/apis/componentconfig/cloudcore/v1alpha1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/register.go diff --git a/pkg/apis/componentconfig/cloudcore/v1alpha1/types.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/types.go index 95001e2cc..95001e2cc 100644 --- a/pkg/apis/componentconfig/cloudcore/v1alpha1/types.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/types.go diff --git a/pkg/apis/componentconfig/cloudcore/v1alpha1/validation/validation.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/validation/validation.go index df6ed2882..5e05f6286 100644 --- a/pkg/apis/componentconfig/cloudcore/v1alpha1/validation/validation.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/validation/validation.go @@ -29,8 +29,8 @@ import ( "k8s.io/klog/v2" netutils "k8s.io/utils/net" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - utilvalidation "github.com/kubeedge/kubeedge/pkg/util/validation" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + utilvalidation "github.com/kubeedge/api/apis/util/validation" ) // ValidateCloudCoreConfiguration validates `c` and returns an errorList if it is invalid diff --git a/pkg/apis/componentconfig/cloudcore/v1alpha1/validation/validation_test.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/validation/validation_test.go index 029870535..28ad6e919 100644 --- a/pkg/apis/componentconfig/cloudcore/v1alpha1/validation/validation_test.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/validation/validation_test.go @@ -25,7 +25,7 @@ import ( "k8s.io/apimachinery/pkg/util/validation/field" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" ) func TestValidateCloudCoreConfiguration(t *testing.T) { diff --git a/pkg/apis/componentconfig/edgecore/v1alpha1/default.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/default.go index 4f6107911..222647ec7 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha1/default.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/default.go @@ -25,9 +25,9 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/kubeedge/kubeedge/common/constants" - metaconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/meta/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/util" + "github.com/kubeedge/api/apis/common/constants" + metaconfig "github.com/kubeedge/api/apis/componentconfig/meta/v1alpha1" + "github.com/kubeedge/api/apis/util" ) // NewDefaultEdgeCoreConfig returns a full EdgeCoreConfig object diff --git a/pkg/apis/componentconfig/edgecore/v1alpha1/helper.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/helper.go index c1ba802c5..c1ba802c5 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha1/helper.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/helper.go diff --git a/pkg/apis/componentconfig/edgecore/v1alpha1/register.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/register.go index a42316268..a42316268 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/register.go diff --git a/pkg/apis/componentconfig/edgecore/v1alpha1/types.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/types.go index 8f648f88c..7c125b33e 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha1/types.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/types.go @@ -22,7 +22,7 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - metaconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/meta/v1alpha1" + metaconfig "github.com/kubeedge/api/apis/componentconfig/meta/v1alpha1" ) const ( diff --git a/pkg/apis/componentconfig/edgecore/v1alpha1/validation/validation.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/validation/validation.go index a455511c1..da4d79036 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha1/validation/validation.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/validation/validation.go @@ -25,8 +25,8 @@ import ( "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/apis/core/validation" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha1" - utilvalidation "github.com/kubeedge/kubeedge/pkg/util/validation" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1" + utilvalidation "github.com/kubeedge/api/apis/util/validation" ) // ValidateEdgeCoreConfiguration validates `c` and returns an errorList if it is invalid diff --git a/pkg/apis/componentconfig/edgecore/v1alpha1/validation/validation_test.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/validation/validation_test.go index 87ce0120a..e97a326c4 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha1/validation/validation_test.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1/validation/validation_test.go @@ -25,7 +25,7 @@ import ( "k8s.io/apimachinery/pkg/util/validation/field" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha1" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha1" ) func TestValidateEdgeCoreConfiguration(t *testing.T) { diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/default.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default.go index 38358a727..d66089a7a 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/default.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default.go @@ -24,9 +24,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/kubeedge/kubeedge/common/constants" - metaconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/meta/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/util" + "github.com/kubeedge/api/apis/common/constants" + metaconfig "github.com/kubeedge/api/apis/componentconfig/meta/v1alpha1" + "github.com/kubeedge/api/apis/util" ) // NewDefaultEdgeCoreConfig returns a full EdgeCoreConfig object diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/default_kubelet_configuration.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default_kubelet_configuration.go index dc4274997..94398d576 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/default_kubelet_configuration.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default_kubelet_configuration.go @@ -34,7 +34,7 @@ import ( "k8s.io/kubernetes/pkg/kubelet/qos" utilpointer "k8s.io/utils/pointer" - "github.com/kubeedge/kubeedge/common/constants" + "github.com/kubeedge/api/apis/common/constants" ) // SetDefaultsKubeletConfiguration sets defaults for tailored kubelet configuration diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/default_others.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default_others.go index ba7dbb6c0..ba7dbb6c0 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/default_others.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default_others.go diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/default_windows.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default_windows.go index 4ff62fdef..4ff62fdef 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/default_windows.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/default_windows.go diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/helper.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/helper.go index a4857c5bf..a4857c5bf 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/helper.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/helper.go diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/register.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/register.go index 222afb6e4..222afb6e4 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/register.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/register.go diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/types.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/types.go index 6262cd80f..9ee60eb7c 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/types.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/types.go @@ -22,7 +22,7 @@ import ( logsapi "k8s.io/component-base/logs/api/v1" tailoredkubeletconfigv1beta1 "k8s.io/kubelet/config/v1beta1" - metaconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/meta/v1alpha1" + metaconfig "github.com/kubeedge/api/apis/componentconfig/meta/v1alpha1" ) const ( diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation.go index 6ed385136..869a0ea56 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation.go @@ -25,8 +25,8 @@ import ( "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/apis/core/validation" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" - utilvalidation "github.com/kubeedge/kubeedge/pkg/util/validation" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" + utilvalidation "github.com/kubeedge/api/apis/util/validation" ) // ValidateEdgeCoreConfiguration validates `c` and returns an errorList if it is invalid diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation_others.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation_others.go index 4a30bbe81..6bb159208 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation_others.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation_others.go @@ -5,7 +5,7 @@ package validation import ( "k8s.io/apimachinery/pkg/util/validation/field" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) // ValidateCgroupDriver validates `edged.TailoredKubeletConfig.CgroupDriver` and returns an errorList if it is invalid diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation_test.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation_test.go index 81a19a4ea..eb1a98915 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation_test.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation_test.go @@ -25,7 +25,7 @@ import ( "k8s.io/apimachinery/pkg/util/validation/field" - "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) func TestValidateEdgeCoreConfiguration(t *testing.T) { diff --git a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation_windows.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation_windows.go index 749cd5bd2..749cd5bd2 100644 --- a/pkg/apis/componentconfig/edgecore/v1alpha2/validation/validation_windows.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation/validation_windows.go diff --git a/pkg/apis/componentconfig/meta/v1alpha1/types.go b/staging/src/github.com/kubeedge/api/apis/componentconfig/meta/v1alpha1/types.go index 163cfe011..163cfe011 100644 --- a/pkg/apis/componentconfig/meta/v1alpha1/types.go +++ b/staging/src/github.com/kubeedge/api/apis/componentconfig/meta/v1alpha1/types.go diff --git a/pkg/apis/devices/v1alpha2/device_instance_types.go b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/device_instance_types.go index 025fcc0ce..025fcc0ce 100644 --- a/pkg/apis/devices/v1alpha2/device_instance_types.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/device_instance_types.go diff --git a/pkg/apis/devices/v1alpha2/device_model_types.go b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/device_model_types.go index 2a809dcdf..2a809dcdf 100644 --- a/pkg/apis/devices/v1alpha2/device_model_types.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/device_model_types.go diff --git a/pkg/apis/devices/v1alpha2/doc.go b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/doc.go index f3bd8722f..f3bd8722f 100644 --- a/pkg/apis/devices/v1alpha2/doc.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/doc.go diff --git a/pkg/apis/devices/v1alpha2/register.go b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/register.go index 6bf94f178..6bf94f178 100644 --- a/pkg/apis/devices/v1alpha2/register.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/register.go diff --git a/pkg/apis/devices/v1alpha2/zz_generated.deepcopy.go b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/zz_generated.deepcopy.go index a271226b7..a271226b7 100644 --- a/pkg/apis/devices/v1alpha2/zz_generated.deepcopy.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1alpha2/zz_generated.deepcopy.go diff --git a/pkg/apis/devices/v1beta1/device_instance_types.go b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/device_instance_types.go index 2ab13cbae..2ab13cbae 100644 --- a/pkg/apis/devices/v1beta1/device_instance_types.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/device_instance_types.go diff --git a/pkg/apis/devices/v1beta1/device_model_types.go b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/device_model_types.go index c4964ad1c..c4964ad1c 100644 --- a/pkg/apis/devices/v1beta1/device_model_types.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/device_model_types.go diff --git a/pkg/apis/devices/v1beta1/doc.go b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/doc.go index cbd63dede..cbd63dede 100644 --- a/pkg/apis/devices/v1beta1/doc.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/doc.go diff --git a/pkg/apis/devices/v1beta1/register.go b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/register.go index e392afec9..e392afec9 100644 --- a/pkg/apis/devices/v1beta1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/register.go diff --git a/pkg/apis/devices/v1beta1/zz_generated.deepcopy.go b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/zz_generated.deepcopy.go index 2c042490c..2c042490c 100644 --- a/pkg/apis/devices/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/github.com/kubeedge/api/apis/devices/v1beta1/zz_generated.deepcopy.go diff --git a/pkg/apis/dmi/services.go b/staging/src/github.com/kubeedge/api/apis/dmi/services.go index 24b75585b..d6dcc6064 100644 --- a/pkg/apis/dmi/services.go +++ b/staging/src/github.com/kubeedge/api/apis/dmi/services.go @@ -17,7 +17,7 @@ limitations under the License. package dmi import ( - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" ) // DeviceManagerService defines the public APIS for remote device management. diff --git a/pkg/apis/dmi/v1alpha1/api.pb.go b/staging/src/github.com/kubeedge/api/apis/dmi/v1alpha1/api.pb.go index f56a76844..f56a76844 100644 --- a/pkg/apis/dmi/v1alpha1/api.pb.go +++ b/staging/src/github.com/kubeedge/api/apis/dmi/v1alpha1/api.pb.go diff --git a/pkg/apis/dmi/v1alpha1/api.proto b/staging/src/github.com/kubeedge/api/apis/dmi/v1alpha1/api.proto index 55fad3bee..55fad3bee 100644 --- a/pkg/apis/dmi/v1alpha1/api.proto +++ b/staging/src/github.com/kubeedge/api/apis/dmi/v1alpha1/api.proto diff --git a/pkg/apis/dmi/v1beta1/api.pb.go b/staging/src/github.com/kubeedge/api/apis/dmi/v1beta1/api.pb.go index d9b99a6f6..d9b99a6f6 100644 --- a/pkg/apis/dmi/v1beta1/api.pb.go +++ b/staging/src/github.com/kubeedge/api/apis/dmi/v1beta1/api.pb.go diff --git a/pkg/apis/dmi/v1beta1/api.proto b/staging/src/github.com/kubeedge/api/apis/dmi/v1beta1/api.proto index 1542c7b84..1542c7b84 100644 --- a/pkg/apis/dmi/v1beta1/api.proto +++ b/staging/src/github.com/kubeedge/api/apis/dmi/v1beta1/api.proto diff --git a/pkg/apis/dmi/v1beta1/api_grpc.pb.go b/staging/src/github.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go index 31ae67626..31ae67626 100644 --- a/pkg/apis/dmi/v1beta1/api_grpc.pb.go +++ b/staging/src/github.com/kubeedge/api/apis/dmi/v1beta1/api_grpc.pb.go diff --git a/pkg/apis/fsm/v1alpha1/backup_task.go b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/backup_task.go index 1fd6c3983..1fd6c3983 100644 --- a/pkg/apis/fsm/v1alpha1/backup_task.go +++ b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/backup_task.go diff --git a/pkg/apis/fsm/v1alpha1/fsm.go b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/fsm.go index f93c6a870..f93c6a870 100644 --- a/pkg/apis/fsm/v1alpha1/fsm.go +++ b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/fsm.go diff --git a/pkg/apis/fsm/v1alpha1/image_prepull_task.go b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/image_prepull_task.go index 30b91be3a..30b91be3a 100644 --- a/pkg/apis/fsm/v1alpha1/image_prepull_task.go +++ b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/image_prepull_task.go diff --git a/pkg/apis/fsm/v1alpha1/rollback_task.go b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/rollback_task.go index f90d50583..f90d50583 100644 --- a/pkg/apis/fsm/v1alpha1/rollback_task.go +++ b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/rollback_task.go diff --git a/pkg/apis/fsm/v1alpha1/upgrade_task.go b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/upgrade_task.go index 0f1102fb4..0f1102fb4 100644 --- a/pkg/apis/fsm/v1alpha1/upgrade_task.go +++ b/staging/src/github.com/kubeedge/api/apis/fsm/v1alpha1/upgrade_task.go diff --git a/pkg/apis/operations/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/doc.go index 0f4731fc3..0f4731fc3 100644 --- a/pkg/apis/operations/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/doc.go diff --git a/pkg/apis/operations/v1alpha1/imageprepull_types.go b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/imageprepull_types.go index 7518c5d4a..cafed80ec 100644 --- a/pkg/apis/operations/v1alpha1/imageprepull_types.go +++ b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/imageprepull_types.go @@ -19,7 +19,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" ) // +genclient diff --git a/pkg/apis/operations/v1alpha1/register.go b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/register.go index d78a1013d..d78a1013d 100644 --- a/pkg/apis/operations/v1alpha1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/register.go diff --git a/pkg/apis/operations/v1alpha1/type.go b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/type.go index 09b42c13f..6387be279 100644 --- a/pkg/apis/operations/v1alpha1/type.go +++ b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/type.go @@ -19,7 +19,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - api "github.com/kubeedge/kubeedge/pkg/apis/fsm/v1alpha1" + api "github.com/kubeedge/api/apis/fsm/v1alpha1" ) // +genclient diff --git a/pkg/apis/operations/v1alpha1/zz_generated.deepcopy.go b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/zz_generated.deepcopy.go index bf26dabe8..bf26dabe8 100644 --- a/pkg/apis/operations/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/github.com/kubeedge/api/apis/operations/v1alpha1/zz_generated.deepcopy.go diff --git a/pkg/apis/policy/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/doc.go index 2a61807f1..2a61807f1 100644 --- a/pkg/apis/policy/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/doc.go diff --git a/pkg/apis/policy/v1alpha1/register.go b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/register.go index 103bc4fdd..103bc4fdd 100644 --- a/pkg/apis/policy/v1alpha1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/register.go diff --git a/pkg/apis/policy/v1alpha1/serviceaccountaccess_types.go b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/serviceaccountaccess_types.go index c052bb82b..c052bb82b 100644 --- a/pkg/apis/policy/v1alpha1/serviceaccountaccess_types.go +++ b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/serviceaccountaccess_types.go diff --git a/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/zz_generated.deepcopy.go index 0acd0afd6..0acd0afd6 100644 --- a/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/github.com/kubeedge/api/apis/policy/v1alpha1/zz_generated.deepcopy.go diff --git a/pkg/apis/reliablesyncs/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/doc.go index 7d097dcb1..7d097dcb1 100644 --- a/pkg/apis/reliablesyncs/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/doc.go diff --git a/pkg/apis/reliablesyncs/v1alpha1/register.go b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/register.go index d68054406..d68054406 100644 --- a/pkg/apis/reliablesyncs/v1alpha1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/register.go diff --git a/pkg/apis/reliablesyncs/v1alpha1/type.go b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/type.go index 77cf1b6f9..77cf1b6f9 100644 --- a/pkg/apis/reliablesyncs/v1alpha1/type.go +++ b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/type.go diff --git a/pkg/apis/reliablesyncs/v1alpha1/zz_generated.deepcopy.go b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/zz_generated.deepcopy.go index 6da2e1fa0..6da2e1fa0 100644 --- a/pkg/apis/reliablesyncs/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/github.com/kubeedge/api/apis/reliablesyncs/v1alpha1/zz_generated.deepcopy.go diff --git a/pkg/apis/rules/v1/doc.go b/staging/src/github.com/kubeedge/api/apis/rules/v1/doc.go index 8e912c01c..8e912c01c 100644 --- a/pkg/apis/rules/v1/doc.go +++ b/staging/src/github.com/kubeedge/api/apis/rules/v1/doc.go diff --git a/pkg/apis/rules/v1/register.go b/staging/src/github.com/kubeedge/api/apis/rules/v1/register.go index 9dbc37fda..9dbc37fda 100644 --- a/pkg/apis/rules/v1/register.go +++ b/staging/src/github.com/kubeedge/api/apis/rules/v1/register.go diff --git a/pkg/apis/rules/v1/types.go b/staging/src/github.com/kubeedge/api/apis/rules/v1/types.go index ebefc975d..ebefc975d 100644 --- a/pkg/apis/rules/v1/types.go +++ b/staging/src/github.com/kubeedge/api/apis/rules/v1/types.go diff --git a/pkg/apis/rules/v1/zz_generated.deepcopy.go b/staging/src/github.com/kubeedge/api/apis/rules/v1/zz_generated.deepcopy.go index b7316db9b..b7316db9b 100644 --- a/pkg/apis/rules/v1/zz_generated.deepcopy.go +++ b/staging/src/github.com/kubeedge/api/apis/rules/v1/zz_generated.deepcopy.go diff --git a/staging/src/github.com/kubeedge/api/apis/util/flag/flags.go b/staging/src/github.com/kubeedge/api/apis/util/flag/flags.go new file mode 100644 index 000000000..f278241ec --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/flag/flags.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The KubeEdge 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. +*/ + +package flag + +import ( + "fmt" + "os" + "strconv" + + "github.com/spf13/pflag" + "k8s.io/klog/v2" + "sigs.k8s.io/yaml" +) + +type ConfigValue int + +const ( + ConfigFalse ConfigValue = 0 + ConfigTrue ConfigValue = 1 +) + +func (m *ConfigValue) IsBoolFlag() bool { + return true +} + +func (m *ConfigValue) Get() interface{} { + return ConfigValue(*m) +} + +func (m *ConfigValue) Set(s string) error { + boolVal, err := strconv.ParseBool(s) + if boolVal { + *m = ConfigTrue + } else { + *m = ConfigFalse + } + return err +} + +func (m *ConfigValue) String() string { + return fmt.Sprintf("%v", bool(*m == ConfigTrue)) +} + +// The type of the flag as required by the pflag.Value interface +func (m *ConfigValue) Type() string { + return "config" +} + +func ConfigVar(p *ConfigValue, name string, value ConfigValue, usage string) { + *p = value + pflag.Var(p, name, usage) + pflag.Lookup(name).NoOptDefVal = "true" +} + +func Config(name string, value ConfigValue, usage string) *ConfigValue { + p := new(ConfigValue) + ConfigVar(p, name, value, usage) + return p +} + +const minConfigFlagName = "minconfig" +const defaultConfigFlagName = "defaultconfig" + +var ( + minConfigFlag = Config(minConfigFlagName, ConfigFalse, "Print min configuration for reference, users can refer to it to create their own configuration files, it is suitable for beginners.") + defaultConfigFlag = Config(defaultConfigFlagName, ConfigFalse, "Print default configuration for reference, users can refer to it to create their own configuration files, it is suitable for advanced users.") +) + +// AddFlags registers this package's flags on arbitrary FlagSets, such that they point to the +// same value as the global flags. +func AddFlags(fs *pflag.FlagSet) { + fs.AddFlag(pflag.Lookup(minConfigFlagName)) + fs.AddFlag(pflag.Lookup(defaultConfigFlagName)) +} + +// PrintMinConfigAndExitIfRequested will check if the -minconfig flag was passed +// and, if so, print the min config and exit. +func PrintMinConfigAndExitIfRequested(config interface{}) { + if *minConfigFlag == ConfigTrue { + data, err := yaml.Marshal(config) + if err != nil { + fmt.Printf("Marshal min config to yaml error %v\n", err) + os.Exit(1) + } + fmt.Println("# With --minconfig , you can easily used this configurations as reference.") + fmt.Println("# It's useful to users who are new to KubeEdge, and you can modify/create your own configs accordingly. ") + fmt.Println("# This configuration is suitable for beginners.") + fmt.Printf("\n%v\n\n", string(data)) + os.Exit(0) + } +} + +// PrintDefaultConfigAndExitIfRequested will check if the --defaultconfig flag was passed +// and, if so, print the default config and exit. +func PrintDefaultConfigAndExitIfRequested(config interface{}) { + if *defaultConfigFlag == ConfigTrue { + data, err := yaml.Marshal(config) + if err != nil { + fmt.Printf("Marshal default config to yaml error %v\n", err) + os.Exit(1) + } + fmt.Println("# With --defaultconfig flag, users can easily get a default full config file as reference, with all fields (and field descriptions) included and default values set. ") + fmt.Println("# Users can modify/create their own configs accordingly as reference. ") + fmt.Println("# Because it is a full configuration, it is more suitable for advanced users.") + fmt.Printf("\n%v\n\n", string(data)) + os.Exit(0) + } +} + +// PrintFlags logs the flags in the flagset +func PrintFlags(flags *pflag.FlagSet) { + flags.VisitAll(func(flag *pflag.Flag) { + klog.V(1).Infof("FLAG: --%s=%q", flag.Name, flag.Value) + }) +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/fsm/fsm.go b/staging/src/github.com/kubeedge/api/apis/util/fsm/fsm.go new file mode 100644 index 000000000..d908d8ab3 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/fsm/fsm.go @@ -0,0 +1,139 @@ +/* +Copyright 2023 The KubeEdge 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. +*/ + +package fsm + +import ( + "fmt" + + "k8s.io/klog/v2" + + api "github.com/kubeedge/api/apis/fsm/v1alpha1" +) + +type FSM struct { + id string + nodeName string + lastState api.State + currentFunc func(id, nodeName string) (api.State, error) + updateFunc func(id, nodeName string, state api.State, event Event) error + guard map[string]api.State + stageSequence map[api.State]api.State +} + +func (F *FSM) NodeName(nodeName string) *FSM { + F.nodeName = nodeName + return F +} + +type Event struct { + Type string + Action api.Action + Msg string + ExternalMessage string +} + +func (e Event) UniqueName() string { + return e.Type + "/" + string(e.Action) +} + +func (F *FSM) ID(id string) *FSM { + F.id = id + return F +} + +func (F *FSM) LastState(lastState api.State) { + F.lastState = lastState +} + +func (F *FSM) CurrentFunc(currentFunc func(id, nodeName string) (api.State, error)) *FSM { + F.currentFunc = currentFunc + return F +} + +func (F *FSM) UpdateFunc(updateFunc func(id, nodeName string, state api.State, event Event) error) *FSM { + F.updateFunc = updateFunc + return F +} + +func (F *FSM) Guard(guard map[string]api.State) *FSM { + F.guard = guard + return F +} + +func (F *FSM) StageSequence(stageSequence map[api.State]api.State) *FSM { + F.stageSequence = stageSequence + return F +} + +func (F *FSM) CurrentState() (api.State, error) { + if F.currentFunc == nil { + return "", fmt.Errorf("currentFunc is nil") + } + return F.currentFunc(F.id, F.nodeName) +} + +func (F *FSM) transitCheck(event Event) (api.State, api.State, error) { + currentState, err := F.CurrentState() + if err != nil { + return "", "", err + } + if F.guard == nil { + return "", "", fmt.Errorf("guard is nil ") + } + nextState, ok := F.guard[string(currentState)+"/"+event.UniqueName()] + if !ok { + return "", "", fmt.Errorf(string(currentState)+"/"+event.UniqueName(), " unsupported event") + } + return currentState, nextState, nil +} + +func (F *FSM) AllowTransit(event Event) error { + _, _, err := F.transitCheck(event) + return err +} + +func (F *FSM) Transit(event Event) error { + currentState, nextState, err := F.transitCheck(event) + if err != nil { + return err + } + if F.updateFunc == nil { + return fmt.Errorf("updateFunc is nil") + } + err = F.updateFunc(F.id, F.nodeName, nextState, event) + if err != nil { + return err + } + F.lastState = currentState + return nil +} + +func TaskFinish(state api.State) bool { + return state == api.TaskFailed || state == api.TaskSuccessful +} + +func (F *FSM) TaskStagCompleted(state api.State) bool { + currentState, err := F.CurrentState() + if err != nil { + klog.Errorf("get %s current state failed: %s", F.id, err.Error()) + return false + } + if F.stageSequence[currentState] == state || TaskFinish(state) { + return true + } + return false +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/pass-through/pass_through.go b/staging/src/github.com/kubeedge/api/apis/util/pass-through/pass_through.go new file mode 100644 index 000000000..2ce465afa --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/pass-through/pass_through.go @@ -0,0 +1,22 @@ +package passthrough + +type passRequest string + +const ( + versionRequest passRequest = "/version::get" + healthRequest passRequest = "/healthz::get" // deprecated: TODO remove this once it is gone + liveRequest passRequest = "/livez::get" + readyRequest passRequest = "/readyz::get" +) + +var passThroughMap = map[passRequest]bool{ + versionRequest: true, + healthRequest: true, + liveRequest: true, + readyRequest: true, +} + +// IsPassThroughPath determining whether the uri can be passed through +func IsPassThroughPath(path, verb string) bool { + return passThroughMap[passRequest(path+"::"+verb)] +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/pass-through/pass_through_test.go b/staging/src/github.com/kubeedge/api/apis/util/pass-through/pass_through_test.go new file mode 100644 index 000000000..04a9ec555 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/pass-through/pass_through_test.go @@ -0,0 +1,61 @@ +package passthrough + +import "testing" + +func TestIsPassThroughPath(t *testing.T) { + tests := []struct { + name string + path string + verb string + want bool + }{ + { + name: "/version::post is not pass through path", + path: "/version", + verb: "post", + want: false, + }, { + name: "/version::get is pass through path", + path: "/version", + verb: "get", + want: true, + }, { + name: "/healthz::put is not pass through path", + path: "/healthz", + verb: "put", + want: false, + }, { + name: "/healthz::get is pass through path", + path: "/healthz", + verb: "get", + want: true, + }, { + name: "/livez::patch is not pass through path", + path: "/livez", + verb: "patch", + want: false, + }, { + name: "/livez::get is pass through path", + path: "/livez", + verb: "get", + want: true, + }, { + name: "/readyz::delete is not pass through path", + path: "/readyz", + verb: "delete", + want: false, + }, { + name: "/readyz::get is pass through path", + path: "/readyz", + verb: "get", + want: true, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if got := IsPassThroughPath(tt.path, tt.verb); got != tt.want { + t.Errorf("IsPassThroughPath() = %v, want %v", got, tt.want) + } + }) + } +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/util.go b/staging/src/github.com/kubeedge/api/apis/util/util.go new file mode 100644 index 000000000..7d7e46eae --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/util.go @@ -0,0 +1,158 @@ +/* +Copyright 2018 The KubeEdge 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. +*/ + +package util + +import ( + "bytes" + "fmt" + "net" + "os" + "os/exec" + "path/filepath" + "strings" + + utilnet "k8s.io/apimachinery/pkg/util/net" + nodeutil "k8s.io/component-helpers/node/util" + "k8s.io/kubernetes/pkg/apis/core/validation" + + "github.com/kubeedge/api/apis/common/constants" +) + +func GetLocalIP(hostName string) (string, error) { + var ipAddr net.IP + var err error + + // If looks up host failed, will use utilnet.ChooseHostInterface() below, + // So ignore the error here + addrs, _ := net.LookupIP(hostName) + for _, addr := range addrs { + if err := ValidateNodeIP(addr); err != nil { + continue + } + if addr.To4() != nil { + ipAddr = addr + break + } + if ipAddr == nil && addr.To16() != nil { + ipAddr = addr + } + } + + if ipAddr == nil { + ipAddr, err = utilnet.ChooseHostInterface() + if err != nil { + return "", err + } + } + return ipAddr.String(), nil +} + +// ValidateNodeIP validates given node IP belongs to the current host +func ValidateNodeIP(nodeIP net.IP) error { + // Honor IP limitations set in setNodeStatus() + if nodeIP.To4() == nil && nodeIP.To16() == nil { + return fmt.Errorf("nodeIP must be a valid IP address") + } + if nodeIP.IsLoopback() { + return fmt.Errorf("nodeIP can't be loopback address") + } + if nodeIP.IsMulticast() { + return fmt.Errorf("nodeIP can't be a multicast address") + } + if nodeIP.IsLinkLocalUnicast() { + return fmt.Errorf("nodeIP can't be a link-local unicast address") + } + if nodeIP.IsUnspecified() { + return fmt.Errorf("nodeIP can't be an all zeros address") + } + + addrs, err := net.InterfaceAddrs() + if err != nil { + return err + } + for _, addr := range addrs { + var ip net.IP + switch v := addr.(type) { + case *net.IPNet: + ip = v.IP + case *net.IPAddr: + ip = v.IP + } + if ip != nil && ip.Equal(nodeIP) { + return nil + } + } + return fmt.Errorf("node IP: %q not found in the host's network interfaces", nodeIP.String()) +} + +// Command executes command and returns output +func Command(name string, arg []string) (string, error) { + cmd := exec.Command(name, arg...) + ret, err := cmd.Output() + if err != nil { + return string(ret), err + } + return strings.Trim(string(ret), "\n"), nil +} + +// GetCurPath returns filepath +func GetCurPath() string { + file, _ := exec.LookPath(os.Args[0]) + path, _ := filepath.Abs(file) + rst := filepath.Dir(path) + return rst +} + +func SpliceErrors(errors []error) string { + if len(errors) == 0 { + return "" + } + var stb strings.Builder + stb.WriteString("[\n") + for _, err := range errors { + stb.WriteString(fmt.Sprintf(" %s\n", err.Error())) + } + stb.WriteString("]\n") + return stb.String() +} + +// GetHostname returns a reasonable hostname +func GetHostname() string { + hostnameOverride, err := nodeutil.GetHostname("") + if err != nil { + return constants.DefaultHostnameOverride + } + msgs := validation.ValidateNodeName(hostnameOverride, false) + if len(msgs) > 0 { + return constants.DefaultHostnameOverride + } + return hostnameOverride +} + +// ConcatStrings use bytes.buffer to concatenate string variable +func ConcatStrings(ss ...string) string { + var bff bytes.Buffer + for _, s := range ss { + bff.WriteString(s) + } + return bff.String() +} + +// GetResourceID return resource ID +func GetResourceID(namespace, name string) string { + return namespace + "/" + name +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/util_test.go b/staging/src/github.com/kubeedge/api/apis/util/util_test.go new file mode 100644 index 000000000..03217caee --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/util_test.go @@ -0,0 +1,165 @@ +package util + +import ( + "errors" + "fmt" + "net" + "reflect" + "strings" + "testing" +) + +func TestValidateNodeIP(t *testing.T) { + hostnameOverride := GetHostname() + localIP, _ := GetLocalIP(hostnameOverride) + + cases := []struct { + name string + ip net.IP + expected error + }{ + { + name: "case1", + ip: nil, + expected: fmt.Errorf("nodeIP must be a valid IP address"), + }, + { + name: "case2", + ip: net.IPv4(127, 0, 0, 1), + expected: fmt.Errorf("nodeIP can't be loopback address"), + }, + { + name: "case3", + ip: net.IPv4(239, 0, 0, 254), + expected: fmt.Errorf("nodeIP can't be a multicast address"), + }, + { + name: "case4", + ip: net.IPv4(169, 254, 0, 0), + expected: fmt.Errorf("nodeIP can't be a link-local unicast address"), + }, + { + name: "case5", + ip: net.IPv4(0, 0, 0, 0), + expected: fmt.Errorf("nodeIP can't be an all zeros address"), + }, + { + name: "case 6", + ip: net.ParseIP(localIP), + expected: nil, + }, + { + name: "case 7", + ip: net.IPv4(114, 114, 114, 114), + expected: fmt.Errorf("node IP: %q not found in the host's network interfaces", "114.114.114.114"), + }, + } + for _, c := range cases { + err := ValidateNodeIP(c.ip) + if !reflect.DeepEqual(err, c.expected) { + t.Errorf("%v: expected %v, but got %v", c.name, c.expected, err) + } + } +} + +func TestCommand(t *testing.T) { + cases := []struct { + name string + command string + expected bool + }{ + { + name: "case1", + command: "fake_command_test", + expected: false, + }, + { + name: "case2", + command: "ls", + expected: true, + }, + } + for _, c := range cases { + _, err := Command(c.command, nil) + isSuccess := err == nil + if isSuccess != c.expected { + t.Errorf("%v: expected %v, but got %v", c.name, c.expected, isSuccess) + } + } +} + +func TestGetCurPath(t *testing.T) { + path := GetCurPath() + if path == "" { + t.Errorf("failed to get current path") + } +} + +func TestGetHostname(t *testing.T) { + name := GetHostname() + if name == "" { + t.Errorf("get host name failed") + } +} + +func TestGetLocalIP(t *testing.T) { + _, err := GetLocalIP(GetHostname()) + if err != nil { + t.Errorf("get local ip failed") + } +} + +func TestSpliceErrors(t *testing.T) { + err1 := errors.New("this is error 1") + err2 := errors.New("this is error 2") + err3 := errors.New("this is error 3") + + const head = "[\n" + var line1 = fmt.Sprintf(" %s\n", err1) + var line2 = fmt.Sprintf(" %s\n", err2) + var line3 = fmt.Sprintf(" %s\n", err3) + const tail = "]\n" + + sliceOutput := SpliceErrors([]error{err1, err2, err3}) + if strings.Index(sliceOutput, head) != 0 || + strings.Index(sliceOutput, line1) != len(head) || + strings.Index(sliceOutput, line2) != len(head+line1) || + strings.Index(sliceOutput, line3) != len(head+line1+line2) || + strings.Index(sliceOutput, tail) != len(head+line1+line2+line3) { + t.Error("the func format the multiple elements error slice unexpected") + return + } + + if SpliceErrors([]error{}) != "" || SpliceErrors(nil) != "" { + t.Error("the func format the zero-length error slice unexpected") + return + } +} + +func TestConcatStrings(t *testing.T) { + cases := []struct { + args []string + expect string + }{ + { + args: []string{}, + expect: "", + }, + { + args: nil, + expect: "", + }, + { + args: []string{"a", "", "b"}, + expect: "ab", + }, + } + var s string + for _, c := range cases { + s = ConcatStrings(c.args...) + if s != c.expect { + t.Errorf("the func return failed. expect: %s, actual: %s\n", c.expect, s) + return + } + } +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/validation/check.go b/staging/src/github.com/kubeedge/api/apis/util/validation/check.go new file mode 100644 index 000000000..06c5ce9bf --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/validation/check.go @@ -0,0 +1,14 @@ +package validation + +import ( + "os" +) + +// FileIsExist check file is exist +func FileIsExist(path string) bool { + _, err := os.Stat(path) + if err == nil { + return true + } + return os.IsExist(err) +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/validation/check_test.go b/staging/src/github.com/kubeedge/api/apis/util/validation/check_test.go new file mode 100644 index 000000000..9e58c0d90 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/validation/check_test.go @@ -0,0 +1,25 @@ +package validation + +import ( + "os" + "path/filepath" + "testing" +) + +func TestFileIsExist(t *testing.T) { + dir := t.TempDir() + + ef, err := os.CreateTemp(dir, "CheckFileIsExist") + if err == nil { + if !FileIsExist(ef.Name()) { + t.Fatalf("file %v should exist", ef.Name()) + } + } + + nonexistentDir := filepath.Join(dir, "not_exist_dir") + notExistFile := filepath.Join(nonexistentDir, "not_exist_file") + + if FileIsExist(notExistFile) { + t.Fatalf("file %v should not exist", notExistFile) + } +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/validation/validation.go b/staging/src/github.com/kubeedge/api/apis/util/validation/validation.go new file mode 100644 index 000000000..a5959146c --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/validation/validation.go @@ -0,0 +1,44 @@ +/* +Copyright 2019 The KubeEdge 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. +*/ + +package validation + +import ( + "fmt" + "net" +) + +// IsValidIP tests that the argument is a valid IP address. +func IsValidIP(value string) []string { + if net.ParseIP(value) == nil { + return []string{"must be a valid IP address, (e.g. 10.9.8.7)"} + } + return nil +} + +// IsValidPortNum tests that the argument is a valid, non-zero port number. +func IsValidPortNum(port int) []string { + if 1 <= port && port <= 65535 { + return nil + } + return []string{InclusiveRangeError(1, 65535)} +} + +// InclusiveRangeError returns a string explanation of a numeric "must be +// between" validation failure. +func InclusiveRangeError(lo, hi int) string { + return fmt.Sprintf(`must be between %d and %d, inclusive`, lo, hi) +} diff --git a/staging/src/github.com/kubeedge/api/apis/util/validation/validation_test.go b/staging/src/github.com/kubeedge/api/apis/util/validation/validation_test.go new file mode 100644 index 000000000..2a50fbe71 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/apis/util/validation/validation_test.go @@ -0,0 +1,96 @@ +package validation + +import ( + "reflect" + "testing" +) + +func TestIsValidIP(t *testing.T) { + cases := []struct { + Name string + IP string + Expect bool + }{ + { + Name: "valid ip", + IP: "1.1.1.1", + Expect: true, + }, + { + Name: "invalid have port", + IP: "1.1.1.1:1234", + Expect: false, + }, + { + Name: "invalid ip1", + IP: "1.1.1.", + Expect: false, + }, + { + Name: "invalid unit socket", + IP: "unix:///var/run/docker.sock", + Expect: false, + }, + { + Name: "invalid http", + IP: "http://127.0.0.1", + Expect: false, + }, + } + + for _, c := range cases { + t.Run(c.Name, func(t *testing.T) { + v := IsValidIP(c.IP) + get := len(v) == 0 + if get != c.Expect { + t.Errorf("Input %s Expect %v while get %v", c.IP, c.Expect, v) + } + }) + } +} + +func TestIsValidPortNum(t *testing.T) { + cases := []struct { + Name string + Port int + Expect []string + }{ + { + Name: "invalid port", + Port: 0, + Expect: []string{"must be between 1 and 65535, inclusive"}, + }, + { + Name: "valid port", + Port: 1, + Expect: nil, + }, + { + Name: "valid port", + Port: 65535, + Expect: nil, + }, + { + Name: "invalid port", + Port: 65536, + Expect: []string{"must be between 1 and 65535, inclusive"}, + }, + } + + for _, c := range cases { + t.Run(c.Name, func(t *testing.T) { + v := IsValidPortNum(c.Port) + if !reflect.DeepEqual(v, c.Expect) { + t.Errorf("Input %d Expect %v while get %v", c.Port, c.Expect, v) + } + }) + } +} + +func TestInclusiveRangeError(t *testing.T) { + result := InclusiveRangeError(1, 65535) + expect := "must be between 1 and 65535, inclusive" + if !reflect.DeepEqual(result, expect) { + t.Errorf("Expected %v while get %v", expect, result) + } +} diff --git a/pkg/client/clientset/versioned/clientset.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/clientset.go index 042438c9f..2074059d2 100644 --- a/pkg/client/clientset/versioned/clientset.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/clientset.go @@ -22,12 +22,12 @@ import ( "fmt" "net/http" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/apps/v1alpha1" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/devices/v1beta1" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/operations/v1alpha1" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/policy/v1alpha1" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1" - rulesv1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/rules/v1" + appsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1" + devicesv1beta1 "github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1" + operationsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1" + policyv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1" + reliablesyncsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1" + rulesv1 "github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/client/clientset/versioned/fake/clientset_generated.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/fake/clientset_generated.go index ba826d180..95896cc26 100644 --- a/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/fake/clientset_generated.go @@ -19,19 +19,19 @@ limitations under the License. package fake import ( - clientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/apps/v1alpha1" - fakeappsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/devices/v1beta1" - fakedevicesv1beta1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/devices/v1beta1/fake" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/operations/v1alpha1" - fakeoperationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/policy/v1alpha1" - fakepolicyv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/policy/v1alpha1/fake" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1" - fakereliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake" - rulesv1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/rules/v1" - fakerulesv1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/rules/v1/fake" + clientset "github.com/kubeedge/api/client/clientset/versioned" + appsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1" + fakeappsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake" + devicesv1beta1 "github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1" + fakedevicesv1beta1 "github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake" + operationsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1" + fakeoperationsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake" + policyv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1" + fakepolicyv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake" + reliablesyncsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1" + fakereliablesyncsv1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake" + rulesv1 "github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1" + fakerulesv1 "github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/client/clientset/versioned/fake/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/fake/doc.go index 2becea535..2becea535 100644 --- a/pkg/client/clientset/versioned/fake/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/fake/doc.go diff --git a/pkg/client/clientset/versioned/fake/register.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/fake/register.go index d92e8dccf..c6c4210c8 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/fake/register.go @@ -19,12 +19,12 @@ limitations under the License. package fake import ( - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + devicesv1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + operationsv1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" + reliablesyncsv1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/scheme/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/scheme/doc.go index 8379b8ba5..8379b8ba5 100644 --- a/pkg/client/clientset/versioned/scheme/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/scheme/doc.go diff --git a/pkg/client/clientset/versioned/scheme/register.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/scheme/register.go index 4591ced8d..7d5505fad 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/scheme/register.go @@ -19,12 +19,12 @@ limitations under the License. package scheme import ( - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + devicesv1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + operationsv1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" + reliablesyncsv1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go index 37aa54c5c..2541b8ed7 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/apps_client.go @@ -21,8 +21,8 @@ package v1alpha1 import ( "net/http" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + "github.com/kubeedge/api/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/doc.go index 62dbf54f4..62dbf54f4 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/doc.go diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/edgeapplication.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/edgeapplication.go index 211794139..7ef0f4cc9 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/edgeapplication.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/edgeapplication.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go index 937651e2e..937651e2e 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/doc.go diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go index 28008a704..26c627018 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/apps/v1alpha1" + v1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_edgeapplication.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_edgeapplication.go index e06a07a6e..3dd43cffa 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_edgeapplication.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_edgeapplication.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_nodegroup.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_nodegroup.go index 73093ec20..c264cf908 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_nodegroup.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake/fake_nodegroup.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go index 6111ecca1..6111ecca1 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/generated_expansion.go diff --git a/pkg/client/clientset/versioned/typed/apps/v1alpha1/nodegroup.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/nodegroup.go index de35a2401..03d5151b4 100644 --- a/pkg/client/clientset/versioned/typed/apps/v1alpha1/nodegroup.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/nodegroup.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/device.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/device.go index 46bc3868c..f7d1d0a41 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/device.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/device.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/devicemodel.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/devicemodel.go index a15b3f183..935ef22e8 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/devicemodel.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/devicemodel.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/devices_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/devices_client.go index 6468e1456..514a36824 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/devices_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/devices_client.go @@ -21,8 +21,8 @@ package v1beta1 import ( "net/http" - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + "github.com/kubeedge/api/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/doc.go index d7fa2365a..d7fa2365a 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/doc.go diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/doc.go index 937651e2e..937651e2e 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/doc.go diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/fake_device.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/fake_device.go index 27e509d9d..c25862972 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/fake_device.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/fake_device.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devicemodel.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devicemodel.go index 9005bbbee..f65745f16 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devicemodel.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devicemodel.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devices_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devices_client.go index 9630df6c3..c25724edd 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devices_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake/fake_devices_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1beta1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/devices/v1beta1" + v1beta1 "github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/devices/v1beta1/generated_expansion.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/generated_expansion.go index b6baee6b2..b6baee6b2 100644 --- a/pkg/client/clientset/versioned/typed/devices/v1beta1/generated_expansion.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/generated_expansion.go diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/doc.go index 62dbf54f4..62dbf54f4 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/doc.go diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go index 937651e2e..937651e2e 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/doc.go diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_imageprepulljob.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_imageprepulljob.go index cb7a54910..4ec1fabea 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_imageprepulljob.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_imageprepulljob.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_nodeupgradejob.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_nodeupgradejob.go index 705067bb3..3c2f13a85 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_nodeupgradejob.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_nodeupgradejob.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go index 4e898107d..21630c82e 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake/fake_operations_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/operations/v1alpha1" + v1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go index 3f5448bb5..3f5448bb5 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/generated_expansion.go diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/imageprepulljob.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/imageprepulljob.go index 7dd77f40b..1e24aa5d0 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/imageprepulljob.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/imageprepulljob.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/nodeupgradejob.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/nodeupgradejob.go index 7ebaf6925..185bbd7a0 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/nodeupgradejob.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/nodeupgradejob.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go index 74af5f488..a5442e1c4 100644 --- a/pkg/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/operations_client.go @@ -21,8 +21,8 @@ package v1alpha1 import ( "net/http" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + "github.com/kubeedge/api/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/policy/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/doc.go index 62dbf54f4..62dbf54f4 100644 --- a/pkg/client/clientset/versioned/typed/policy/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/doc.go diff --git a/pkg/client/clientset/versioned/typed/policy/v1alpha1/fake/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake/doc.go index 937651e2e..937651e2e 100644 --- a/pkg/client/clientset/versioned/typed/policy/v1alpha1/fake/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake/doc.go diff --git a/pkg/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_policy_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_policy_client.go index 2b2d4f4df..fa59910a7 100644 --- a/pkg/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_policy_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_policy_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/policy/v1alpha1" + v1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_serviceaccountaccess.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_serviceaccountaccess.go index c1ef1c9cd..9c4314203 100644 --- a/pkg/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_serviceaccountaccess.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake/fake_serviceaccountaccess.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/policy/v1alpha1/generated_expansion.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/generated_expansion.go index 3a23c0ae4..3a23c0ae4 100644 --- a/pkg/client/clientset/versioned/typed/policy/v1alpha1/generated_expansion.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/generated_expansion.go diff --git a/pkg/client/clientset/versioned/typed/policy/v1alpha1/policy_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/policy_client.go index e1ef05fe2..f3469a4cb 100644 --- a/pkg/client/clientset/versioned/typed/policy/v1alpha1/policy_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/policy_client.go @@ -21,8 +21,8 @@ package v1alpha1 import ( "net/http" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" + "github.com/kubeedge/api/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/policy/v1alpha1/serviceaccountaccess.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/serviceaccountaccess.go index 98ddc8d94..e267c2fde 100644 --- a/pkg/client/clientset/versioned/typed/policy/v1alpha1/serviceaccountaccess.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/serviceaccountaccess.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/clusterobjectsync.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/clusterobjectsync.go index 5b2926cd3..bfe2c8d86 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/clusterobjectsync.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/clusterobjectsync.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/doc.go index 62dbf54f4..62dbf54f4 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/doc.go diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/doc.go index 937651e2e..937651e2e 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/doc.go diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_clusterobjectsync.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_clusterobjectsync.go index 275c47e10..95499d11e 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_clusterobjectsync.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_clusterobjectsync.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_objectsync.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_objectsync.go index 2411738cb..bd71aea4c 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_objectsync.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_objectsync.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_reliablesyncs_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_reliablesyncs_client.go index c4ed9f915..4ac4b825f 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_reliablesyncs_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake/fake_reliablesyncs_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1" + v1alpha1 "github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/generated_expansion.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/generated_expansion.go index 008f1e960..008f1e960 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/generated_expansion.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/generated_expansion.go diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/objectsync.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/objectsync.go index c2f733e48..4a7f675bc 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/objectsync.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/objectsync.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/reliablesyncs_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/reliablesyncs_client.go index dcf1b55ba..956b53db4 100644 --- a/pkg/client/clientset/versioned/typed/reliablesyncs/v1alpha1/reliablesyncs_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/reliablesyncs_client.go @@ -21,8 +21,8 @@ package v1alpha1 import ( "net/http" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + "github.com/kubeedge/api/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/rules/v1/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/doc.go index caf68d6bb..caf68d6bb 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/doc.go diff --git a/pkg/client/clientset/versioned/typed/rules/v1/fake/doc.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/doc.go index 937651e2e..937651e2e 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/fake/doc.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/doc.go diff --git a/pkg/client/clientset/versioned/typed/rules/v1/fake/fake_rule.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/fake_rule.go index 550c97bf0..2af48b274 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/fake/fake_rule.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/fake_rule.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + v1 "github.com/kubeedge/api/apis/rules/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/rules/v1/fake/fake_ruleendpoint.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/fake_ruleendpoint.go index d7b46b4ec..ae593aec8 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/fake/fake_ruleendpoint.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/fake_ruleendpoint.go @@ -21,7 +21,7 @@ package fake import ( "context" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + v1 "github.com/kubeedge/api/apis/rules/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/clientset/versioned/typed/rules/v1/fake/fake_rules_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/fake_rules_client.go index 97112ea07..44ae873f8 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/fake/fake_rules_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake/fake_rules_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1 "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/typed/rules/v1" + v1 "github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/rules/v1/generated_expansion.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/generated_expansion.go index 921df2420..921df2420 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/generated_expansion.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/generated_expansion.go diff --git a/pkg/client/clientset/versioned/typed/rules/v1/rule.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/rule.go index 4d0b29d76..b08878b50 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/rule.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/rule.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1 "github.com/kubeedge/api/apis/rules/v1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/rules/v1/ruleendpoint.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/ruleendpoint.go index 9d10d053f..f3555e7bf 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/ruleendpoint.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/ruleendpoint.go @@ -22,8 +22,8 @@ import ( "context" "time" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - scheme "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1 "github.com/kubeedge/api/apis/rules/v1" + scheme "github.com/kubeedge/api/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/rules/v1/rules_client.go b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/rules_client.go index 5e7875bfe..4acf49e1f 100644 --- a/pkg/client/clientset/versioned/typed/rules/v1/rules_client.go +++ b/staging/src/github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/rules_client.go @@ -21,8 +21,8 @@ package v1 import ( "net/http" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned/scheme" + v1 "github.com/kubeedge/api/apis/rules/v1" + "github.com/kubeedge/api/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/informers/externalversions/apps/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/interface.go index dfc550dcc..bea6298b7 100644 --- a/pkg/client/informers/externalversions/apps/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/interface.go @@ -19,8 +19,8 @@ limitations under the License. package apps import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/apps/v1alpha1" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/edgeapplication.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1/edgeapplication.go index b6fff4001..0f16f5223 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/edgeapplication.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1/edgeapplication.go @@ -22,10 +22,10 @@ import ( "context" time "time" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/listers/apps/v1alpha1" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/listers/apps/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1/interface.go index 51c90bc2b..f5796c632 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/apps/v1alpha1/nodegroup.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1/nodegroup.go index 380e57cf7..5ed929a6e 100644 --- a/pkg/client/informers/externalversions/apps/v1alpha1/nodegroup.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1/nodegroup.go @@ -22,10 +22,10 @@ import ( "context" time "time" - appsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/listers/apps/v1alpha1" + appsv1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/listers/apps/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/devices/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/interface.go index 1b2ca8536..c29885a57 100644 --- a/pkg/client/informers/externalversions/devices/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/interface.go @@ -19,8 +19,8 @@ limitations under the License. package devices import ( - v1beta1 "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/devices/v1beta1" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + v1beta1 "github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/devices/v1beta1/device.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1/device.go index 0ad353c43..a7640045c 100644 --- a/pkg/client/informers/externalversions/devices/v1beta1/device.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1/device.go @@ -22,10 +22,10 @@ import ( "context" time "time" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1beta1 "github.com/kubeedge/kubeedge/pkg/client/listers/devices/v1beta1" + devicesv1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1beta1 "github.com/kubeedge/api/client/listers/devices/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/devices/v1beta1/devicemodel.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1/devicemodel.go index e1dfd14b6..3ef912d24 100644 --- a/pkg/client/informers/externalversions/devices/v1beta1/devicemodel.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1/devicemodel.go @@ -22,10 +22,10 @@ import ( "context" time "time" - devicesv1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1beta1 "github.com/kubeedge/kubeedge/pkg/client/listers/devices/v1beta1" + devicesv1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1beta1 "github.com/kubeedge/api/client/listers/devices/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/devices/v1beta1/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1/interface.go index 9e4c246a1..50eb68f08 100644 --- a/pkg/client/informers/externalversions/devices/v1beta1/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1beta1 import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/factory.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/factory.go index c729ab491..1a31dd7a0 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/factory.go @@ -23,14 +23,14 @@ import ( sync "sync" time "time" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - apps "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/apps" - devices "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/devices" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - operations "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/operations" - policy "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/policy" - reliablesyncs "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/reliablesyncs" - rules "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/rules" + versioned "github.com/kubeedge/api/client/clientset/versioned" + apps "github.com/kubeedge/api/client/informers/externalversions/apps" + devices "github.com/kubeedge/api/client/informers/externalversions/devices" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + operations "github.com/kubeedge/api/client/informers/externalversions/operations" + policy "github.com/kubeedge/api/client/informers/externalversions/policy" + reliablesyncs "github.com/kubeedge/api/client/informers/externalversions/reliablesyncs" + rules "github.com/kubeedge/api/client/informers/externalversions/rules" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/informers/externalversions/generic.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/generic.go index f56206105..437ea3f4a 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/generic.go @@ -21,12 +21,12 @@ package externalversions import ( "fmt" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" + operationsv1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" + reliablesyncsv1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + v1 "github.com/kubeedge/api/apis/rules/v1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/internalinterfaces/factory_interfaces.go index b1f833d45..b2d8b66a3 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -21,7 +21,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + versioned "github.com/kubeedge/api/client/clientset/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" diff --git a/pkg/client/informers/externalversions/operations/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/interface.go index b76dd3105..a2565cbae 100644 --- a/pkg/client/informers/externalversions/operations/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/interface.go @@ -19,8 +19,8 @@ limitations under the License. package operations import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/operations/v1alpha1" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/operations/v1alpha1/imageprepulljob.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1/imageprepulljob.go index 511d627a6..9d29bd324 100644 --- a/pkg/client/informers/externalversions/operations/v1alpha1/imageprepulljob.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1/imageprepulljob.go @@ -22,10 +22,10 @@ import ( "context" time "time" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/listers/operations/v1alpha1" + operationsv1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/listers/operations/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/operations/v1alpha1/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1/interface.go index 650ab553e..ceac7185f 100644 --- a/pkg/client/informers/externalversions/operations/v1alpha1/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/operations/v1alpha1/nodeupgradejob.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1/nodeupgradejob.go index 356599129..a1ce6a2ba 100644 --- a/pkg/client/informers/externalversions/operations/v1alpha1/nodeupgradejob.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1/nodeupgradejob.go @@ -22,10 +22,10 @@ import ( "context" time "time" - operationsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/listers/operations/v1alpha1" + operationsv1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/listers/operations/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/policy/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/policy/interface.go index d0ccc848c..ec5b0053d 100644 --- a/pkg/client/informers/externalversions/policy/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/policy/interface.go @@ -19,8 +19,8 @@ limitations under the License. package policy import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/policy/v1alpha1" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/informers/externalversions/policy/v1alpha1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/policy/v1alpha1/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/policy/v1alpha1/interface.go index 1af843a9f..171193522 100644 --- a/pkg/client/informers/externalversions/policy/v1alpha1/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/policy/v1alpha1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/policy/v1alpha1/serviceaccountaccess.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/policy/v1alpha1/serviceaccountaccess.go index 7c6694aeb..d5af8d777 100644 --- a/pkg/client/informers/externalversions/policy/v1alpha1/serviceaccountaccess.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/policy/v1alpha1/serviceaccountaccess.go @@ -22,10 +22,10 @@ import ( "context" time "time" - policyv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/listers/policy/v1alpha1" + policyv1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/listers/policy/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/reliablesyncs/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/interface.go index 374c3f317..a0d2e1c23 100644 --- a/pkg/client/informers/externalversions/reliablesyncs/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/interface.go @@ -19,8 +19,8 @@ limitations under the License. package reliablesyncs import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/reliablesyncs/v1alpha1" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/reliablesyncs/v1alpha1/clusterobjectsync.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1/clusterobjectsync.go index 66005161c..423b2fb9a 100644 --- a/pkg/client/informers/externalversions/reliablesyncs/v1alpha1/clusterobjectsync.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1/clusterobjectsync.go @@ -22,10 +22,10 @@ import ( "context" time "time" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/listers/reliablesyncs/v1alpha1" + reliablesyncsv1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/reliablesyncs/v1alpha1/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1/interface.go index c426c2f51..32442fd7b 100644 --- a/pkg/client/informers/externalversions/reliablesyncs/v1alpha1/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/reliablesyncs/v1alpha1/objectsync.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1/objectsync.go index ea137e3e0..12ca910d6 100644 --- a/pkg/client/informers/externalversions/reliablesyncs/v1alpha1/objectsync.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1/objectsync.go @@ -22,10 +22,10 @@ import ( "context" time "time" - reliablesyncsv1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/kubeedge/kubeedge/pkg/client/listers/reliablesyncs/v1alpha1" + reliablesyncsv1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/rules/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/interface.go index d0d8e373c..6fb781abe 100644 --- a/pkg/client/informers/externalversions/rules/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/interface.go @@ -19,8 +19,8 @@ limitations under the License. package rules import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/rules/v1" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1 "github.com/kubeedge/api/client/informers/externalversions/rules/v1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/rules/v1/interface.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/v1/interface.go index 99483461a..1c31b2e10 100644 --- a/pkg/client/informers/externalversions/rules/v1/interface.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/v1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/rules/v1/rule.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/v1/rule.go index cc9081906..881443f06 100644 --- a/pkg/client/informers/externalversions/rules/v1/rule.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/v1/rule.go @@ -22,10 +22,10 @@ import ( "context" time "time" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/kubeedge/kubeedge/pkg/client/listers/rules/v1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1 "github.com/kubeedge/api/client/listers/rules/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/rules/v1/ruleendpoint.go b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/v1/ruleendpoint.go index 7d9abc9d2..35675578c 100644 --- a/pkg/client/informers/externalversions/rules/v1/ruleendpoint.go +++ b/staging/src/github.com/kubeedge/api/client/informers/externalversions/rules/v1/ruleendpoint.go @@ -22,10 +22,10 @@ import ( "context" time "time" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - versioned "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" - internalinterfaces "github.com/kubeedge/kubeedge/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/kubeedge/kubeedge/pkg/client/listers/rules/v1" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" + versioned "github.com/kubeedge/api/client/clientset/versioned" + internalinterfaces "github.com/kubeedge/api/client/informers/externalversions/internalinterfaces" + v1 "github.com/kubeedge/api/client/listers/rules/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/listers/apps/v1alpha1/edgeapplication.go b/staging/src/github.com/kubeedge/api/client/listers/apps/v1alpha1/edgeapplication.go index b5e215f3c..8369d2bb3 100644 --- a/pkg/client/listers/apps/v1alpha1/edgeapplication.go +++ b/staging/src/github.com/kubeedge/api/client/listers/apps/v1alpha1/edgeapplication.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/apps/v1alpha1/expansion_generated.go b/staging/src/github.com/kubeedge/api/client/listers/apps/v1alpha1/expansion_generated.go index efe2db7a3..efe2db7a3 100644 --- a/pkg/client/listers/apps/v1alpha1/expansion_generated.go +++ b/staging/src/github.com/kubeedge/api/client/listers/apps/v1alpha1/expansion_generated.go diff --git a/pkg/client/listers/apps/v1alpha1/nodegroup.go b/staging/src/github.com/kubeedge/api/client/listers/apps/v1alpha1/nodegroup.go index 7c9cd600c..92ef9e50d 100644 --- a/pkg/client/listers/apps/v1alpha1/nodegroup.go +++ b/staging/src/github.com/kubeedge/api/client/listers/apps/v1alpha1/nodegroup.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/apps/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/apps/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/devices/v1beta1/device.go b/staging/src/github.com/kubeedge/api/client/listers/devices/v1beta1/device.go index fbb22e166..655155d84 100644 --- a/pkg/client/listers/devices/v1beta1/device.go +++ b/staging/src/github.com/kubeedge/api/client/listers/devices/v1beta1/device.go @@ -19,7 +19,7 @@ limitations under the License. package v1beta1 import ( - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/devices/v1beta1/devicemodel.go b/staging/src/github.com/kubeedge/api/client/listers/devices/v1beta1/devicemodel.go index 28bf2626e..188e02d35 100644 --- a/pkg/client/listers/devices/v1beta1/devicemodel.go +++ b/staging/src/github.com/kubeedge/api/client/listers/devices/v1beta1/devicemodel.go @@ -19,7 +19,7 @@ limitations under the License. package v1beta1 import ( - v1beta1 "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" + v1beta1 "github.com/kubeedge/api/apis/devices/v1beta1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/devices/v1beta1/expansion_generated.go b/staging/src/github.com/kubeedge/api/client/listers/devices/v1beta1/expansion_generated.go index d38e20937..d38e20937 100644 --- a/pkg/client/listers/devices/v1beta1/expansion_generated.go +++ b/staging/src/github.com/kubeedge/api/client/listers/devices/v1beta1/expansion_generated.go diff --git a/pkg/client/listers/operations/v1alpha1/expansion_generated.go b/staging/src/github.com/kubeedge/api/client/listers/operations/v1alpha1/expansion_generated.go index 7ff435cd6..7ff435cd6 100644 --- a/pkg/client/listers/operations/v1alpha1/expansion_generated.go +++ b/staging/src/github.com/kubeedge/api/client/listers/operations/v1alpha1/expansion_generated.go diff --git a/pkg/client/listers/operations/v1alpha1/imageprepulljob.go b/staging/src/github.com/kubeedge/api/client/listers/operations/v1alpha1/imageprepulljob.go index bb20ac4ac..a6993f823 100644 --- a/pkg/client/listers/operations/v1alpha1/imageprepulljob.go +++ b/staging/src/github.com/kubeedge/api/client/listers/operations/v1alpha1/imageprepulljob.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/operations/v1alpha1/nodeupgradejob.go b/staging/src/github.com/kubeedge/api/client/listers/operations/v1alpha1/nodeupgradejob.go index 0d6cfeac9..535efbcd4 100644 --- a/pkg/client/listers/operations/v1alpha1/nodeupgradejob.go +++ b/staging/src/github.com/kubeedge/api/client/listers/operations/v1alpha1/nodeupgradejob.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/operations/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/operations/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/policy/v1alpha1/expansion_generated.go b/staging/src/github.com/kubeedge/api/client/listers/policy/v1alpha1/expansion_generated.go index e94ff1647..e94ff1647 100644 --- a/pkg/client/listers/policy/v1alpha1/expansion_generated.go +++ b/staging/src/github.com/kubeedge/api/client/listers/policy/v1alpha1/expansion_generated.go diff --git a/pkg/client/listers/policy/v1alpha1/serviceaccountaccess.go b/staging/src/github.com/kubeedge/api/client/listers/policy/v1alpha1/serviceaccountaccess.go index 722eb516a..24d42b20a 100644 --- a/pkg/client/listers/policy/v1alpha1/serviceaccountaccess.go +++ b/staging/src/github.com/kubeedge/api/client/listers/policy/v1alpha1/serviceaccountaccess.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/policy/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/policy/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/reliablesyncs/v1alpha1/clusterobjectsync.go b/staging/src/github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1/clusterobjectsync.go index 83425f3ac..735bd7a25 100644 --- a/pkg/client/listers/reliablesyncs/v1alpha1/clusterobjectsync.go +++ b/staging/src/github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1/clusterobjectsync.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/reliablesyncs/v1alpha1/expansion_generated.go b/staging/src/github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1/expansion_generated.go index 185c78918..185c78918 100644 --- a/pkg/client/listers/reliablesyncs/v1alpha1/expansion_generated.go +++ b/staging/src/github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1/expansion_generated.go diff --git a/pkg/client/listers/reliablesyncs/v1alpha1/objectsync.go b/staging/src/github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1/objectsync.go index 8a92ff3d3..d2c726fb1 100644 --- a/pkg/client/listers/reliablesyncs/v1alpha1/objectsync.go +++ b/staging/src/github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1/objectsync.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/kubeedge/kubeedge/pkg/apis/reliablesyncs/v1alpha1" + v1alpha1 "github.com/kubeedge/api/apis/reliablesyncs/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/rules/v1/expansion_generated.go b/staging/src/github.com/kubeedge/api/client/listers/rules/v1/expansion_generated.go index 4f50dd151..4f50dd151 100644 --- a/pkg/client/listers/rules/v1/expansion_generated.go +++ b/staging/src/github.com/kubeedge/api/client/listers/rules/v1/expansion_generated.go diff --git a/pkg/client/listers/rules/v1/rule.go b/staging/src/github.com/kubeedge/api/client/listers/rules/v1/rule.go index aedb9cf61..2e81266d3 100644 --- a/pkg/client/listers/rules/v1/rule.go +++ b/staging/src/github.com/kubeedge/api/client/listers/rules/v1/rule.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + v1 "github.com/kubeedge/api/apis/rules/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/rules/v1/ruleendpoint.go b/staging/src/github.com/kubeedge/api/client/listers/rules/v1/ruleendpoint.go index 281587507..369d5ec6d 100644 --- a/pkg/client/listers/rules/v1/ruleendpoint.go +++ b/staging/src/github.com/kubeedge/api/client/listers/rules/v1/ruleendpoint.go @@ -19,7 +19,7 @@ limitations under the License. package v1 import ( - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" + v1 "github.com/kubeedge/api/apis/rules/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/staging/src/github.com/kubeedge/api/go.mod b/staging/src/github.com/kubeedge/api/go.mod new file mode 100644 index 000000000..02c640111 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/go.mod @@ -0,0 +1,208 @@ +module github.com/kubeedge/api + +go 1.21 + +require ( + github.com/cilium/ebpf v0.9.1 // indirect + github.com/docker/docker v23.0.1+incompatible // indirect + github.com/spf13/pflag v1.0.5 + google.golang.org/grpc v1.63.0 + google.golang.org/protobuf v1.33.0 + k8s.io/api v0.29.6 + k8s.io/apimachinery v0.29.6 + k8s.io/client-go v0.0.0 + k8s.io/component-base v0.29.6 + k8s.io/component-helpers v0.0.0 + k8s.io/klog/v2 v2.110.1 + k8s.io/kubelet v0.29.6 + k8s.io/kubernetes v1.29.6 + k8s.io/utils v0.0.0-20230726121419-3b25d923346b + sigs.k8s.io/yaml v1.3.0 +) + +require ( + k8s.io/apiserver v0.0.0 + k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 +) + +require ( + cloud.google.com/go/compute v1.24.0 // indirect + cloud.google.com/go/compute/metadata v0.2.3 // indirect + github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab // indirect + github.com/Microsoft/go-winio v0.6.0 // indirect + github.com/NYTimes/gziphandler v1.1.1 // indirect + github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect + github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/blang/semver/v4 v4.0.0 // indirect + github.com/cenkalti/backoff/v4 v4.2.1 // indirect + github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/checkpoint-restore/go-criu/v5 v5.3.0 // indirect + github.com/containerd/console v1.0.3 // indirect + github.com/containerd/ttrpc v1.2.2 // indirect + github.com/coreos/go-semver v0.3.1 // indirect + github.com/coreos/go-systemd/v22 v22.5.0 // indirect + github.com/cyphar/filepath-securejoin v0.2.4 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/distribution/reference v0.5.0 // indirect + github.com/docker/go-units v0.5.0 // indirect + github.com/emicklei/go-restful/v3 v3.11.0 // indirect + github.com/euank/go-kmsg-parser v2.0.0+incompatible // indirect + github.com/evanphx/json-patch v4.12.0+incompatible // indirect + github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/go-logr/logr v1.4.1 // indirect + github.com/go-logr/stdr v1.2.2 // indirect + github.com/go-openapi/jsonpointer v0.19.6 // indirect + github.com/go-openapi/jsonreference v0.20.2 // indirect + github.com/go-openapi/swag v0.22.3 // indirect + github.com/godbus/dbus/v5 v5.1.0 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.4 // indirect + github.com/google/cadvisor v0.48.1 // indirect + github.com/google/cel-go v0.17.7 // indirect + github.com/google/gnostic-models v0.6.8 // indirect + github.com/google/go-cmp v0.6.0 // indirect + github.com/google/gofuzz v1.2.0 // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/gorilla/websocket v1.5.0 // indirect + github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect + github.com/imdario/mergo v0.3.13 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/karrick/godirwalk v1.17.0 // indirect + github.com/mailru/easyjson v0.7.7 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect + github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible // indirect + github.com/moby/spdystream v0.2.0 // indirect + github.com/moby/sys/mountinfo v0.6.2 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/mrunalp/fileutils v0.5.1 // indirect + github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect + github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect + github.com/opencontainers/go-digest v1.0.0 // indirect + github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect + github.com/opencontainers/runc v1.1.10 // indirect + github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78 // indirect + github.com/opencontainers/selinux v1.11.0 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/prometheus/client_golang v1.16.0 // indirect + github.com/prometheus/client_model v0.5.0 // indirect + github.com/prometheus/common v0.44.0 // indirect + github.com/prometheus/procfs v0.12.0 // indirect + github.com/seccomp/libseccomp-golang v0.10.0 // indirect + github.com/sirupsen/logrus v1.9.0 // indirect + github.com/spf13/cobra v1.7.0 // indirect + github.com/stoewer/go-strcase v1.2.0 // indirect + github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect + github.com/vishvananda/netlink v1.1.0 // indirect + github.com/vishvananda/netns v0.0.4 // indirect + go.etcd.io/etcd/api/v3 v3.5.10 // indirect + go.etcd.io/etcd/client/pkg/v3 v3.5.10 // indirect + go.etcd.io/etcd/client/v3 v3.5.10 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect + go.opentelemetry.io/otel v1.22.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0 // indirect + go.opentelemetry.io/otel/metric v1.22.0 // indirect + go.opentelemetry.io/otel/sdk v1.22.0 // indirect + go.opentelemetry.io/otel/trace v1.22.0 // indirect + go.opentelemetry.io/proto/otlp v1.0.0 // indirect + go.uber.org/atomic v1.10.0 // indirect + go.uber.org/multierr v1.11.0 // indirect + go.uber.org/zap v1.24.0 // indirect + golang.org/x/crypto v0.22.0 // indirect + golang.org/x/exp v0.0.0-20220827204233-334a2380cb91 // indirect + golang.org/x/mod v0.14.0 // indirect + golang.org/x/net v0.23.0 // indirect + golang.org/x/oauth2 v0.17.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/sys v0.19.0 // indirect + golang.org/x/term v0.19.0 // indirect + golang.org/x/text v0.14.0 // indirect + golang.org/x/time v0.3.0 // indirect + golang.org/x/tools v0.16.1 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect + gopkg.in/inf.v0 v0.9.1 // indirect + gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + k8s.io/apiextensions-apiserver v0.0.0 // indirect + k8s.io/cloud-provider v0.29.6 // indirect + k8s.io/controller-manager v0.0.0 // indirect + k8s.io/cri-api v0.0.0 // indirect + k8s.io/csi-translation-lib v0.29.6 // indirect + k8s.io/dynamic-resource-allocation v0.0.0 // indirect + k8s.io/kms v0.29.6 //indirect + k8s.io/kube-scheduler v0.29.6 // indirect + k8s.io/mount-utils v0.0.0 // indirect + sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 // indirect + sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect +) + +replace ( + github.com/Sirupsen/logrus v1.0.5 => github.com/sirupsen/logrus v1.0.5 + github.com/Sirupsen/logrus v1.3.0 => github.com/Sirupsen/logrus v1.0.6 + github.com/Sirupsen/logrus v1.4.0 => github.com/sirupsen/logrus v1.0.6 + github.com/emicklei/go-restful/v3 => github.com/emicklei/go-restful/v3 v3.7.5-0.20220308211933-7c971ca4d0fd + github.com/gopherjs/gopherjs v0.0.0 => github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect + github.com/spf13/viper => github.com/spf13/viper v1.8.1 + go.etcd.io/bbolt => go.etcd.io/bbolt v1.3.6 + go.etcd.io/etcd/api/v3 => go.etcd.io/etcd/api/v3 v3.5.5 + go.etcd.io/etcd/client/pkg/v3 => go.etcd.io/etcd/client/pkg/v3 v3.5.5 + go.etcd.io/etcd/client/v2 => go.etcd.io/etcd/client/v2 v2.305.0 + go.etcd.io/etcd/client/v3 => go.etcd.io/etcd/client/v3 v3.5.5 + go.etcd.io/etcd/pkg/v3 => go.etcd.io/etcd/pkg/v3 v3.5.5 + go.etcd.io/etcd/raft/v3 => go.etcd.io/etcd/raft/v3 v3.5.5 + go.etcd.io/etcd/server/v3 => go.etcd.io/etcd/server/v3 v3.5.5 + golang.org/x/sys => golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f + k8s.io/api => github.com/kubeedge/kubernetes/staging/src/k8s.io/api v1.29.6-kubeedge1 + k8s.io/apiextensions-apiserver => github.com/kubeedge/kubernetes/staging/src/k8s.io/apiextensions-apiserver v1.29.6-kubeedge1 + k8s.io/apimachinery => github.com/kubeedge/kubernetes/staging/src/k8s.io/apimachinery v1.29.6-kubeedge1 + k8s.io/apiserver => github.com/kubeedge/kubernetes/staging/src/k8s.io/apiserver v1.29.6-kubeedge1 + k8s.io/cli-runtime => github.com/kubeedge/kubernetes/staging/src/k8s.io/cli-runtime v1.29.6-kubeedge1 + k8s.io/client-go => github.com/kubeedge/kubernetes/staging/src/k8s.io/client-go v1.29.6-kubeedge1 + k8s.io/cloud-provider => github.com/kubeedge/kubernetes/staging/src/k8s.io/cloud-provider v1.29.6-kubeedge1 + k8s.io/cluster-bootstrap => github.com/kubeedge/kubernetes/staging/src/k8s.io/cluster-bootstrap v1.29.6-kubeedge1 + k8s.io/code-generator => github.com/kubeedge/kubernetes/staging/src/k8s.io/code-generator v1.29.6-kubeedge1 + k8s.io/component-base => github.com/kubeedge/kubernetes/staging/src/k8s.io/component-base v1.29.6-kubeedge1 + k8s.io/component-helpers => github.com/kubeedge/kubernetes/staging/src/k8s.io/component-helpers v1.29.6-kubeedge1 + k8s.io/controller-manager => github.com/kubeedge/kubernetes/staging/src/k8s.io/controller-manager v1.29.6-kubeedge1 + k8s.io/cri-api => github.com/kubeedge/kubernetes/staging/src/k8s.io/cri-api v1.29.6-kubeedge1 + k8s.io/csi-api => github.com/kubeedge/kubernetes/staging/src/k8s.io/csi-api v1.29.6-kubeedge1 + k8s.io/csi-translation-lib => github.com/kubeedge/kubernetes/staging/src/k8s.io/csi-translation-lib v1.29.6-kubeedge1 + k8s.io/dynamic-resource-allocation => github.com/kubeedge/kubernetes/staging/src/k8s.io/dynamic-resource-allocation v1.29.6-kubeedge1 + k8s.io/endpointslice => github.com/kubeedge/kubernetes/staging/src/k8s.io/endpointslice v1.29.6-kubeedge1 + k8s.io/gengo v0.0.0 => k8s.io/gengo v0.29.6 + k8s.io/heapster => k8s.io/heapster v1.2.0-beta.1 // indirect + k8s.io/kms => github.com/kubeedge/kubernetes/staging/src/k8s.io/kms v1.29.6-kubeedge1 + k8s.io/kube-aggregator => github.com/kubeedge/kubernetes/staging/src/k8s.io/kube-aggregator v1.29.6-kubeedge1 + k8s.io/kube-controller-manager => github.com/kubeedge/kubernetes/staging/src/k8s.io/kube-controller-manager v1.29.6-kubeedge1 + k8s.io/kube-proxy => github.com/kubeedge/kubernetes/staging/src/k8s.io/kube-proxy v1.29.6-kubeedge1 + k8s.io/kube-scheduler => github.com/kubeedge/kubernetes/staging/src/k8s.io/kube-scheduler v1.29.6-kubeedge1 + k8s.io/kubectl => github.com/kubeedge/kubernetes/staging/src/k8s.io/kubectl v1.29.6-kubeedge1 + k8s.io/kubelet => github.com/kubeedge/kubernetes/staging/src/k8s.io/kubelet v1.29.6-kubeedge1 + k8s.io/kubernetes => github.com/kubeedge/kubernetes v1.29.6-kubeedge1 + k8s.io/legacy-cloud-providers => github.com/kubeedge/kubernetes/staging/src/k8s.io/legacy-cloud-providers v1.29.6-kubeedge1 + k8s.io/metrics => github.com/kubeedge/kubernetes/staging/src/k8s.io/metrics v1.29.6-kubeedge1 + k8s.io/mount-utils => github.com/kubeedge/kubernetes/staging/src/k8s.io/mount-utils v1.29.6-kubeedge1 + k8s.io/node-api => github.com/kubeedge/kubernetes/staging/src/k8s.io/node-api v1.29.6-kubeedge1 + k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.29.6 + k8s.io/repo-infra => github.com/kubeedge/kubernetes/staging/src/k8s.io/repo-infra v1.29.6-kubeedge1 + k8s.io/sample-apiserver => github.com/kubeedge/kubernetes/staging/src/k8s.io/sample-apiserver v1.29.6-kubeedge1 + k8s.io/utils v0.0.0 => k8s.io/utils v0.29.6 + sigs.k8s.io/apiserver-network-proxy/konnectivity-client => sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.37 + sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 => sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 + sigs.k8s.io/kustomize/api v0.12.1 => sigs.k8s.io/kustomize/api v0.11.4 + sigs.k8s.io/kustomize/kyaml v0.13.9 => sigs.k8s.io/kustomize/kyaml v0.13.6 +) diff --git a/staging/src/github.com/kubeedge/api/go.sum b/staging/src/github.com/kubeedge/api/go.sum new file mode 100644 index 000000000..44c189866 --- /dev/null +++ b/staging/src/github.com/kubeedge/api/go.sum @@ -0,0 +1,596 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go/compute v1.24.0 h1:phWcR2eWzRJaL/kOiJwfFsPs4BaKq1j6vnpZrc1YlVg= +cloud.google.com/go/compute v1.24.0/go.mod h1:kw1/T+h/+tK2LJK0wiPPx1intgdAM3j/g3hFDlscY40= +cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= +cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab h1:UKkYhof1njT1/xq4SEg5z+VpTgjmNeHwPGRQl7takDI= +github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab/go.mod h1:3VYc5hodBMJ5+l/7J4xAyMeuM2PNuepvHlGs8yilUCA= +github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= +github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE= +github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= +github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df h1:7RFfzj4SSt6nnvCPbCqijJi1nWCd+TqAT3bYCStRC18= +github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df/go.mod h1:pSwJ0fSY5KhvocuWSx4fz3BA8OrA1bQn+K1Eli3BRwM= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 h1:4daAzAu0S6Vi7/lbWECcX0j45yZReDZ56BQsrVBOEEY= +github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535/go.mod h1:oGkLhpf+kjZl6xBf758TQhh5XrAeiJv/7FRz/2spLIg= +github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= +github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= +github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= +github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= +github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/checkpoint-restore/go-criu/v5 v5.3.0 h1:wpFFOoomK3389ue2lAb0Boag6XPht5QYpipxmSNL4d8= +github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= +github.com/cilium/ebpf v0.9.1 h1:64sn2K3UKw8NbP/blsixRpF3nXuyhz/VjRlRzvlBRu4= +github.com/cilium/ebpf v0.9.1/go.mod h1:+OhNOIXx/Fnu1IE8bJz2dzOA+VSfyTfdNUVdlQnxUFY= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= +github.com/container-storage-interface/spec v1.8.0 h1:D0vhF3PLIZwlwZEf2eNbpujGCNwspwTYf2idJRJx4xI= +github.com/container-storage-interface/spec v1.8.0/go.mod h1:ROLik+GhPslwwWRNFF1KasPzroNARibH2rfz1rkg4H0= +github.com/containerd/console v1.0.3 h1:lIr7SlA5PxZyMV30bDW0MGbiOPXwc63yRuCP0ARubLw= +github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= +github.com/containerd/ttrpc v1.2.2 h1:9vqZr0pxwOF5koz6N0N3kJ0zDHokrcPxIR/ZR2YFtOs= +github.com/containerd/ttrpc v1.2.2/go.mod h1:sIT6l32Ph/H9cvnJsfXM5drIVzTr5A2flTf1G5tYZak= +github.com/containerd/typeurl v1.0.2 h1:Chlt8zIieDbzQFzXzAeBEF92KhExuE4p9p92/QmY7aY= +github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= +github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= +github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= +github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0= +github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= +github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= +github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker v23.0.1+incompatible h1:vjgvJZxprTTE1A37nm+CLNAdwu6xZekyoiVlUZEINcY= +github.com/docker/docker v23.0.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= +github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= +github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= +github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= +github.com/emicklei/go-restful/v3 v3.7.5-0.20220308211933-7c971ca4d0fd h1:iKIUl3SetleviJ07WJdKqdvVBzmfYgaADXHHrONYPOY= +github.com/emicklei/go-restful/v3 v3.7.5-0.20220308211933-7c971ca4d0fd/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A= +github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= +github.com/euank/go-kmsg-parser v2.0.0+incompatible h1:cHD53+PLQuuQyLZeriD1V/esuG4MuU0Pjs5y6iknohY= +github.com/euank/go-kmsg-parser v2.0.0+incompatible/go.mod h1:MhmAMZ8V4CYH4ybgdRwPr2TU5ThnS43puaKEMpja1uw= +github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= +github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= +github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/form3tech-oss/jwt-go v3.2.5+incompatible h1:/l4kBbb4/vGSsdtB5nUe8L7B9mImVMaBPw9L/0TBHU8= +github.com/form3tech-oss/jwt-go v3.2.5+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/frankban/quicktest v1.14.0 h1:+cqqvzZV87b4adx/5ayVOaYZ2CrvM4ejQvUdBzPPUss= +github.com/frankban/quicktest v1.14.0/go.mod h1:NeW+ay9A/U67EYXNFA1nPE8e/tnQv/09mUdL/ijj8og= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-logr/zapr v1.2.3 h1:a9vnzlIBPQBBkeaR9IuMUfmVOrQlkoC4YfPoFkX3T7A= +github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4= +github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= +github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= +github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= +github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= +github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= +github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= +github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= +github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= +github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/cadvisor v0.48.1 h1:eyYTxKBd+KxI1kh6rst4JSTLUhfHQM34qGpp+0AMlSg= +github.com/google/cadvisor v0.48.1/go.mod h1:ZkYbiiVdyoqBmI2ahZI8GlmirT78OAOER0z4EQugkxQ= +github.com/google/cel-go v0.17.7 h1:6ebJFzu1xO2n7TLtN+UBqShGBhlD85bhvglh5DpcfqQ= +github.com/google/cel-go v0.17.7/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY= +github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= +github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= +github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= +github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= +github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ= +github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/karrick/godirwalk v1.17.0 h1:b4kY7nqDdioR/6qnbHQyDvmA17u5G1cZ6J+CZXwSWoI= +github.com/karrick/godirwalk v1.17.0/go.mod h1:j4mkqPuvaLI8mp1DroR3P6ad7cyYd4c1qeJ3RV7ULlk= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kubeedge/kubernetes v1.29.6-kubeedge1 h1:/iPEoe9uus7vjcIWMt9axgmgBA/S8p4qrMOaMDSJFBg= +github.com/kubeedge/kubernetes v1.29.6-kubeedge1/go.mod h1:28sDhcb87LX5z3GWAKYmLrhrifxi4W9bEWua4DRTIvk= +github.com/kubeedge/kubernetes/staging/src/k8s.io/api v1.29.6-kubeedge1 h1:0jx3RK+u4tt/XffNW0BADDB7qtxxOahscd/hZj1F9eA= +github.com/kubeedge/kubernetes/staging/src/k8s.io/api v1.29.6-kubeedge1/go.mod h1:5QkiNrCD00SOAgo8cbr43DKfW7NqRF9NpGKMO5TnQ8U= +github.com/kubeedge/kubernetes/staging/src/k8s.io/apiextensions-apiserver v1.29.6-kubeedge1 h1:54cUloeueExuz9LjjNrmdX+sZOWAXk+A7OTk7e2pl6U= +github.com/kubeedge/kubernetes/staging/src/k8s.io/apiextensions-apiserver v1.29.6-kubeedge1/go.mod h1:PsITwF8Ox/3gLX4kJsonfI15kansSVgDJ8CMw8QIiNI= +github.com/kubeedge/kubernetes/staging/src/k8s.io/apimachinery v1.29.6-kubeedge1 h1:Zz0Ha1H0MNLuv8ID5CTaPzHJBA58V55EVhHNqlQV9k8= +github.com/kubeedge/kubernetes/staging/src/k8s.io/apimachinery v1.29.6-kubeedge1/go.mod h1:166Zl0XJZbCvhEHvgP+h2m9Gm5xHxyQdgT9CyQRI9gw= +github.com/kubeedge/kubernetes/staging/src/k8s.io/apiserver v1.29.6-kubeedge1 h1:P4PIXwOxMWDnqxsk4zFfgam0GmwZWWuUeMHyUZfH33k= +github.com/kubeedge/kubernetes/staging/src/k8s.io/apiserver v1.29.6-kubeedge1/go.mod h1:8oHn4XNhYd8BeMxP6iXndQKKHaWPh8q8hIhKPSKd9KE= +github.com/kubeedge/kubernetes/staging/src/k8s.io/client-go v1.29.6-kubeedge1 h1:YeSdP1vyX8fTjYpVkt3Ls5NxIXE9Awp4p5P53lATYW8= +github.com/kubeedge/kubernetes/staging/src/k8s.io/client-go v1.29.6-kubeedge1/go.mod h1:vizyXfZHS/27DtTTjZ5mPXS5geAMGB4kj5iZtIk+GdY= +github.com/kubeedge/kubernetes/staging/src/k8s.io/cloud-provider v1.29.6-kubeedge1 h1:7P66Cz59URC+K3ZOMaWOI380ASwtmZHuprj3r8ZOz2E= +github.com/kubeedge/kubernetes/staging/src/k8s.io/cloud-provider v1.29.6-kubeedge1/go.mod h1:N4Rw9sJ86OQXDc5dUFx2MnIOSttMkGPtLZyEoCzry8Q= +github.com/kubeedge/kubernetes/staging/src/k8s.io/component-base v1.29.6-kubeedge1 h1:lBg/gF1OVCGc2Okb3u61PLfSzlv7OPQfthwBI/OVHlg= +github.com/kubeedge/kubernetes/staging/src/k8s.io/component-base v1.29.6-kubeedge1/go.mod h1:6oRMFYEkMBlkkBVznsi7HH/kV5F7nhyd6cqXCRCdzdo= +github.com/kubeedge/kubernetes/staging/src/k8s.io/component-helpers v1.29.6-kubeedge1 h1:n3fwXzn2BlV3ZVsVWn/wQ5yFO0lpzCKeYhc4e+RK8lk= +github.com/kubeedge/kubernetes/staging/src/k8s.io/component-helpers v1.29.6-kubeedge1/go.mod h1:Qbpzsy+Ip0ceNppIQKfluwnEJ7UDjGmNeHqI4zn8H0E= +github.com/kubeedge/kubernetes/staging/src/k8s.io/controller-manager v1.29.6-kubeedge1 h1:mlOG2M+Cdlg7wF6ADl1ToS4fdQN4joDACex+hH6Q/sQ= +github.com/kubeedge/kubernetes/staging/src/k8s.io/controller-manager v1.29.6-kubeedge1/go.mod h1:trkLHxYEftqdW4UG3vwDLSMOV2yZeDGh0dD6jdc32aM= +github.com/kubeedge/kubernetes/staging/src/k8s.io/cri-api v1.29.6-kubeedge1 h1:UONz+IA6Vu0Z/p4Pi4/VN0L+vP9zz5yRoYopTEwYwoo= +github.com/kubeedge/kubernetes/staging/src/k8s.io/cri-api v1.29.6-kubeedge1/go.mod h1:9Tgle7RkZOzgRM2VCSvvXZZjsQqOC6dxLtYy6BF+5PE= +github.com/kubeedge/kubernetes/staging/src/k8s.io/csi-translation-lib v1.29.6-kubeedge1 h1:hFEfsBLlG+CYlmdW9HwVIM0fJKQIJ0ulti1XiAw/MWU= +github.com/kubeedge/kubernetes/staging/src/k8s.io/csi-translation-lib v1.29.6-kubeedge1/go.mod h1:r3eLoJhpPmT1wErodG1VONmI2pSfblZu1YWg7pWFZHE= +github.com/kubeedge/kubernetes/staging/src/k8s.io/dynamic-resource-allocation v1.29.6-kubeedge1 h1:tbnkW0KdVNFfvDh/YaNBA4f8UjcpVr71a9+i2+gkfpE= +github.com/kubeedge/kubernetes/staging/src/k8s.io/dynamic-resource-allocation v1.29.6-kubeedge1/go.mod h1:bffvbAY3XpW5Fu6GQjVfvhXpHQSqUfsqeNW8BwdX3LI= +github.com/kubeedge/kubernetes/staging/src/k8s.io/kms v1.29.6-kubeedge1 h1:Gq+Odx1D/DRI3eR/WmAGIC7leGeg5/dzTZcUnzLCtgY= +github.com/kubeedge/kubernetes/staging/src/k8s.io/kms v1.29.6-kubeedge1/go.mod h1:4pCpiW+pKMCqRLVoGPw11lrvEriSyd8o7DSvCw2u9vY= +github.com/kubeedge/kubernetes/staging/src/k8s.io/kube-scheduler v1.29.6-kubeedge1 h1:SLg5n28s1pDVpbgRbb/cf+AFlHWXYqVtFphGwWjp0rs= +github.com/kubeedge/kubernetes/staging/src/k8s.io/kube-scheduler v1.29.6-kubeedge1/go.mod h1:2vDuSYmBuOfKFZ/R0632vKiomLKN5cLtyxuqA62Rlos= +github.com/kubeedge/kubernetes/staging/src/k8s.io/kubelet v1.29.6-kubeedge1 h1:VkFhHRBkQgJ0BWrZXKyq6hJargG9e7DBt5WpQJIvL7I= +github.com/kubeedge/kubernetes/staging/src/k8s.io/kubelet v1.29.6-kubeedge1/go.mod h1:BIgdnnHLOvfduD5ggrkXS1GlUPsRdw5YblFcmhouhgQ= +github.com/kubeedge/kubernetes/staging/src/k8s.io/mount-utils v1.29.6-kubeedge1 h1:NELwYejbU2qiWJfmfrWqZTa/O2/VjxD1oejHyJAKkqc= +github.com/kubeedge/kubernetes/staging/src/k8s.io/mount-utils v1.29.6-kubeedge1/go.mod h1:4KmkE88Y4LDYrotr6iqMrolXDcWWY7UqmroXTO/sxFw= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= +github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible h1:aKW/4cBs+yK6gpqU3K/oIwk9Q/XICqd3zOX/UFuvqmk= +github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= +github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/moby/sys/mountinfo v0.6.2 h1:BzJjoreD5BMFNmD9Rus6gdd1pLuecOFPt8wC+Vygl78= +github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/mrunalp/fileutils v0.5.1 h1:F+S7ZlNKnrwHfSwdlgNSkKo67ReVf8o9fel6C3dkm/Q= +github.com/mrunalp/fileutils v0.5.1/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4= +github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= +github.com/onsi/gomega v1.29.0 h1:KIA/t2t5UBzoirT4H9tsML45GEbo3ouUnBHsCfD2tVg= +github.com/onsi/gomega v1.29.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= +github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= +github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= +github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b h1:YWuSjZCQAPM8UUBLkYUk1e+rZcvWHJmFb6i6rM44Xs8= +github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b/go.mod h1:3OVijpioIKYWTqjiG0zfF6wvoJ4fAXGbjdZuI2NgsRQ= +github.com/opencontainers/runc v1.1.10 h1:EaL5WeO9lv9wmS6SASjszOeQdSctvpbu0DdBQBizE40= +github.com/opencontainers/runc v1.1.10/go.mod h1:+/R6+KmDlh+hOO8NkjmgkG9Qzvypzk0yXxAPYYR65+M= +github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78 h1:R5M2qXZiK/mWPMT4VldCOiSL9HIAMuxQZWdG0CSM5+4= +github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/selinux v1.11.0 h1:+5Zbo97w3Lbmb3PeqQtpmTkMwsW5nRI3YaLpt7tQ7oU= +github.com/opencontainers/selinux v1.11.0/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= +github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= +github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= +github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= +github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= +github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= +github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/seccomp/libseccomp-golang v0.10.0 h1:aA4bp+/Zzi0BnWZ2F1wgNBs5gTpm+na2rWM6M9YjLpY= +github.com/seccomp/libseccomp-golang v0.10.0/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= +github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU= +github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 h1:kdXcSzyDtseVEc4yCz2qF8ZrQvIDBJLl4S1c3GCXmoI= +github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 h1:6fotK7otjonDflCTK0BCfls4SPy3NcCVb5dqqmbRknE= +github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75/go.mod h1:KO6IkyS8Y3j8OdNO85qEYBsRPuteD+YciPomcXdrMnk= +github.com/vishvananda/netlink v1.1.0 h1:1iyaYNBLmP6L0220aDnYQpo1QEV4t4hJ+xEEhhJH8j0= +github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= +github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= +github.com/vishvananda/netns v0.0.4 h1:Oeaw1EM2JMxD51g9uhtC0D7erkIjgmj8+JZc26m1YX8= +github.com/vishvananda/netns v0.0.4/go.mod h1:SpkAiCQRtJ6TvvxPnOSyH3BMl6unz3xZlaprSwhNNJM= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= +go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= +go.etcd.io/etcd/api/v3 v3.5.5 h1:BX4JIbQ7hl7+jL+g+2j5UAr0o1bctCm6/Ct+ArBGkf0= +go.etcd.io/etcd/api/v3 v3.5.5/go.mod h1:KFtNaxGDw4Yx/BA4iPPwevUTAuqcsPxzyX8PHydchN8= +go.etcd.io/etcd/client/pkg/v3 v3.5.5 h1:9S0JUVvmrVl7wCF39iTQthdaaNIiAaQbmK75ogO6GU8= +go.etcd.io/etcd/client/pkg/v3 v3.5.5/go.mod h1:ggrwbk069qxpKPq8/FKkQ3Xq9y39kbFR4LnKszpRXeQ= +go.etcd.io/etcd/client/v2 v2.305.0 h1:ftQ0nOOHMcbMS3KIaDQ0g5Qcd6bhaBrQT6b89DfwLTs= +go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= +go.etcd.io/etcd/client/v3 v3.5.5 h1:q++2WTJbUgpQu4B6hCuT7VkdwaTP7Qz6Daak3WzbrlI= +go.etcd.io/etcd/client/v3 v3.5.5/go.mod h1:aApjR4WGlSumpnJ2kloS75h6aHUmAyaPLjHMxpc7E7c= +go.etcd.io/etcd/pkg/v3 v3.5.5 h1:Ablg7T7OkR+AeeeU32kdVhw/AGDsitkKPl7aW73ssjU= +go.etcd.io/etcd/pkg/v3 v3.5.5/go.mod h1:6ksYFxttiUGzC2uxyqiyOEvhAiD0tuIqSZkX3TyPdaE= +go.etcd.io/etcd/raft/v3 v3.5.5 h1:Ibz6XyZ60OYyRopu73lLM/P+qco3YtlZMOhnXNS051I= +go.etcd.io/etcd/raft/v3 v3.5.5/go.mod h1:76TA48q03g1y1VpTue92jZLr9lIHKUNcYdZOOGyx8rI= +go.etcd.io/etcd/server/v3 v3.5.5 h1:jNjYm/9s+f9A9r6+SC4RvNaz6AqixpOvhrFdT0PvIj0= +go.etcd.io/etcd/server/v3 v3.5.5/go.mod h1:rZ95vDw/jrvsbj9XpTqPrTAB9/kzchVdhRirySPkUBc= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 h1:UNQQKPfTDe1J81ViolILjTKPr9WetKW6uei2hFgJmFs= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0/go.mod h1:r9vWsPS/3AQItv3OSlEJ/E4mbrhUbbw18meOjArPtKQ= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 h1:sv9kVfal0MK0wBMCOGr+HeJm9v803BkJxGrk2au7j08= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0/go.mod h1:SK2UL73Zy1quvRPonmOmRDiWk1KBV3LyIeeIxcEApWw= +go.opentelemetry.io/otel v1.22.0 h1:xS7Ku+7yTFvDfDraDIJVpw7XPyuHlB9MCiqqX5mcJ6Y= +go.opentelemetry.io/otel v1.22.0/go.mod h1:eoV4iAi3Ea8LkAEI9+GFT44O6T/D0GWAVFyZVCC6pMI= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 h1:9M3+rhx7kZCIQQhQRYaZCdNu1V73tm4TvXs2ntl98C4= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0/go.mod h1:noq80iT8rrHP1SfybmPiRGc9dc5M8RPmGvtwo7Oo7tc= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0 h1:H2JFgRcGiyHg7H7bwcwaQJYrNFqCqrbTQ8K4p1OvDu8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0/go.mod h1:WfCWp1bGoYK8MeULtI15MmQVczfR+bFkk0DF3h06QmQ= +go.opentelemetry.io/otel/metric v1.22.0 h1:lypMQnGyJYeuYPhOM/bgjbFM6WE44W1/T45er4d8Hhg= +go.opentelemetry.io/otel/metric v1.22.0/go.mod h1:evJGjVpZv0mQ5QBRJoBF64yMuOf4xCWdXjK8pzFvliY= +go.opentelemetry.io/otel/sdk v1.22.0 h1:6coWHw9xw7EfClIC/+O31R8IY3/+EiRFHevmHafB2Gw= +go.opentelemetry.io/otel/sdk v1.22.0/go.mod h1:iu7luyVGYovrRpe2fmj3CVKouQNdTOkxtLzPvPz1DOc= +go.opentelemetry.io/otel/trace v1.22.0 h1:Hg6pPujv0XG9QaVbGOBVHunyuLcCC3jN7WEhPx83XD0= +go.opentelemetry.io/otel/trace v1.22.0/go.mod h1:RbbHXVqKES9QhzZq/fE5UnOSILqRt40a21sPw2He1xo= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= +go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= +go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= +go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= +golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20220827204233-334a2380cb91 h1:tnebWN09GYg9OLPss1KXj8txwZc6X6uMr6VFdcGNbHw= +golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.17.0 h1:6m3ZPmLEFdVxKKWnKq4VqZ60gutO35zm+zrAHVmHyDQ= +golang.org/x/oauth2 v0.17.0/go.mod h1:OzPDGQiuQMguemayvdylqddI7qcD9lnSDb+1FiwQ5HA= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q= +golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= +golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= +golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY= +google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo= +google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0= +google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= +google.golang.org/grpc v1.63.0 h1:WjKe+dnvABXyPJMD7KDNLxtoGk5tgk+YFWN6cBWjZE8= +google.golang.org/grpc v1.63.0/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= +gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0= +k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo= +k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780= +k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.37 h1:fAPTNEpzQMOLMGwOHNbUkR2xXTQwMJOZYNx+/mLlOh0= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.37/go.mod h1:vfnxT4FXNT8eGvO+xi/DsyC/qHmdujqwrUa1WSspCsk= +sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= +sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= +sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= +sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/device.go b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/device.go index 9f909d57f..b4bc08f12 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/device.go +++ b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/device.go @@ -21,7 +21,7 @@ import ( mqttMethod "github.com/kubeedge/Template/data/publish/mqtt" "github.com/kubeedge/Template/data/stream" "github.com/kubeedge/Template/driver" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/common" "github.com/kubeedge/mapper-framework/pkg/global" "github.com/kubeedge/mapper-framework/pkg/util/parse" diff --git a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicestatus.go b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicestatus.go index ccac57775..82875eb8a 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicestatus.go +++ b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicestatus.go @@ -24,7 +24,7 @@ import ( "k8s.io/klog/v2" "github.com/kubeedge/Template/driver" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/grpcclient" ) diff --git a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicetwin.go b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicetwin.go index da90628f4..18b63c609 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicetwin.go +++ b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/device/devicetwin.go @@ -10,7 +10,7 @@ import ( "k8s.io/klog/v2" "github.com/kubeedge/Template/driver" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/common" "github.com/kubeedge/mapper-framework/pkg/grpcclient" "github.com/kubeedge/mapper-framework/pkg/util/parse" diff --git a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/go.mod b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/go.mod index db112ca4c..38a1e02c5 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/go.mod +++ b/staging/src/github.com/kubeedge/mapper-framework/_template/mapper/go.mod @@ -7,7 +7,7 @@ require ( github.com/go-redis/redis/v8 v8.11.5 github.com/go-sql-driver/mysql v1.7.1 github.com/influxdata/influxdb-client-go/v2 v2.13.0 - github.com/kubeedge/kubeedge v0.0.0 + github.com/kubeedge/api v0.0.0 github.com/kubeedge/mapper-framework v0.0.0 github.com/sailorvii/goav v0.1.4 github.com/taosdata/driver-go/v3 v3.5.1 @@ -41,6 +41,6 @@ require ( ) replace ( - github.com/kubeedge/kubeedge => ../../../../../../kubeedge + github.com/kubeedge/api => ../api github.com/kubeedge/mapper-framework => ../mapper-framework -) +)
\ No newline at end of file diff --git a/staging/src/github.com/kubeedge/mapper-framework/go.mod b/staging/src/github.com/kubeedge/mapper-framework/go.mod index 5838add86..887ee1feb 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/go.mod +++ b/staging/src/github.com/kubeedge/mapper-framework/go.mod @@ -6,7 +6,7 @@ require ( github.com/avast/retry-go v3.0.0+incompatible github.com/golang/protobuf v1.5.4 github.com/gorilla/mux v1.8.0 - github.com/kubeedge/kubeedge v0.0.0 + github.com/kubeedge/api v0.0.0 github.com/spf13/pflag v1.0.6-0.20210604193023-d5e0c0615ace golang.org/x/net v0.23.0 // indirect google.golang.org/grpc v1.63.0 @@ -18,10 +18,11 @@ require ( require ( github.com/go-logr/logr v1.4.1 // indirect github.com/kr/pretty v0.1.0 // indirect + github.com/stretchr/testify v1.9.0 // indirect golang.org/x/sys v0.19.0 // indirect golang.org/x/text v0.14.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect ) -replace github.com/kubeedge/kubeedge => ../../../../../../kubeedge +replace github.com/kubeedge/api => ../api diff --git a/staging/src/github.com/kubeedge/mapper-framework/pkg/global/global.go b/staging/src/github.com/kubeedge/mapper-framework/pkg/global/global.go index f79222d06..bd284551a 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/pkg/global/global.go +++ b/staging/src/github.com/kubeedge/mapper-framework/pkg/global/global.go @@ -1,7 +1,7 @@ package global import ( - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/common" ) diff --git a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/register.go b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/register.go index 723a403f3..16dd136d9 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/register.go +++ b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/register.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/common" "github.com/kubeedge/mapper-framework/pkg/config" ) diff --git a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/report.go b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/report.go index eff790c4c..a8bf16ab0 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/report.go +++ b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcclient/report.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/config" ) diff --git a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/device.go b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/device.go index 8db5cd6a4..1e726fe29 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/device.go +++ b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/device.go @@ -10,7 +10,7 @@ import ( "github.com/avast/retry-go" "k8s.io/klog/v2" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/common" "github.com/kubeedge/mapper-framework/pkg/util/parse" ) diff --git a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/server.go b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/server.go index 54127292f..08ced6be0 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/server.go +++ b/staging/src/github.com/kubeedge/mapper-framework/pkg/grpcserver/server.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/reflection" "k8s.io/klog/v2" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/global" ) diff --git a/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/grpc.go b/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/grpc.go index 6f4099bc2..22d120ed9 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/grpc.go +++ b/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/grpc.go @@ -5,7 +5,7 @@ import ( "k8s.io/klog/v2" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/common" ) diff --git a/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/type.go b/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/type.go index 06f8d6cf3..b3627b2f9 100644 --- a/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/type.go +++ b/staging/src/github.com/kubeedge/mapper-framework/pkg/util/parse/type.go @@ -3,7 +3,7 @@ package parse import ( "fmt" - dmiapi "github.com/kubeedge/kubeedge/pkg/apis/dmi/v1beta1" + dmiapi "github.com/kubeedge/api/apis/dmi/v1beta1" "github.com/kubeedge/mapper-framework/pkg/common" ) diff --git a/tests/e2e/device/device.go b/tests/e2e/device/device.go index 784bcbdce..f5033c9e7 100644 --- a/tests/e2e/device/device.go +++ b/tests/e2e/device/device.go @@ -24,7 +24,7 @@ import ( "github.com/onsi/gomega" "k8s.io/kubernetes/test/e2e/framework" - edgeclientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + edgeclientset "github.com/kubeedge/api/client/clientset/versioned" "github.com/kubeedge/kubeedge/tests/e2e/constants" "github.com/kubeedge/kubeedge/tests/e2e/utils" ) diff --git a/tests/e2e/rule/rule.go b/tests/e2e/rule/rule.go index 423a8a8c6..95c52b843 100644 --- a/tests/e2e/rule/rule.go +++ b/tests/e2e/rule/rule.go @@ -9,8 +9,8 @@ import ( "github.com/onsi/gomega" "k8s.io/kubernetes/test/e2e/framework" - v1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - edgeclientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + v1 "github.com/kubeedge/api/apis/rules/v1" + edgeclientset "github.com/kubeedge/api/client/clientset/versioned" "github.com/kubeedge/kubeedge/tests/e2e/utils" ) diff --git a/tests/e2e/utils/common.go b/tests/e2e/utils/common.go index 69509a97a..e0cc6fb89 100644 --- a/tests/e2e/utils/common.go +++ b/tests/e2e/utils/common.go @@ -38,8 +38,8 @@ import ( clientset "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" - edgeclientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + "github.com/kubeedge/api/apis/devices/v1beta1" + edgeclientset "github.com/kubeedge/api/client/clientset/versioned" "github.com/kubeedge/kubeedge/tests/e2e/constants" ) diff --git a/tests/e2e/utils/device.go b/tests/e2e/utils/device.go index 7dd379745..377f1fe33 100644 --- a/tests/e2e/utils/device.go +++ b/tests/e2e/utils/device.go @@ -4,7 +4,7 @@ import ( v12 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/kubeedge/kubeedge/pkg/apis/devices/v1beta1" + "github.com/kubeedge/api/apis/devices/v1beta1" ) func NewModbusDeviceModel() v1beta1.DeviceModel { diff --git a/tests/e2e/utils/pod.go b/tests/e2e/utils/pod.go index 3670147d7..830dcfe67 100644 --- a/tests/e2e/utils/pod.go +++ b/tests/e2e/utils/pod.go @@ -32,7 +32,7 @@ import ( "k8s.io/client-go/tools/clientcmd" "k8s.io/klog/v2" - edgeclientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + edgeclientset "github.com/kubeedge/api/client/clientset/versioned" ) func GetPods(c clientset.Interface, ns string, labelSelector labels.Selector, fieldSelector fields.Selector) (*v1.PodList, error) { diff --git a/tests/e2e/utils/rule.go b/tests/e2e/utils/rule.go index 291291cec..8d1be9c37 100644 --- a/tests/e2e/utils/rule.go +++ b/tests/e2e/utils/rule.go @@ -9,8 +9,8 @@ import ( apierrors "k8s.io/apimachinery/pkg/api/errors" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - rulesv1 "github.com/kubeedge/kubeedge/pkg/apis/rules/v1" - edgeclientset "github.com/kubeedge/kubeedge/pkg/client/clientset/versioned" + rulesv1 "github.com/kubeedge/api/apis/rules/v1" + edgeclientset "github.com/kubeedge/api/client/clientset/versioned" ) func NewRule(sourceType, targetType rulesv1.RuleEndpointTypeDef) *rulesv1.Rule { diff --git a/tests/integration/framework/util.go b/tests/integration/framework/util.go index abcd57621..6433726c3 100644 --- a/tests/integration/framework/util.go +++ b/tests/integration/framework/util.go @@ -3,8 +3,8 @@ package framework import ( "k8s.io/klog/v2" - cloudconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - edgeconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + cloudconfig "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + edgeconfig "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" ) func DisableAllModules(i interface{}) { diff --git a/tests/integration/metaserver/main_test.go b/tests/integration/metaserver/main_test.go index de0262080..2a20b6d8f 100644 --- a/tests/integration/metaserver/main_test.go +++ b/tests/integration/metaserver/main_test.go @@ -3,8 +3,8 @@ package metaserver import ( "testing" - cloudconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1" - edgeconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2" + cloudconfig "github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1" + edgeconfig "github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2" "github.com/kubeedge/kubeedge/tests/integration/framework" ) diff --git a/vendor/github.com/kubeedge/api b/vendor/github.com/kubeedge/api new file mode 120000 index 000000000..91c2b6071 --- /dev/null +++ b/vendor/github.com/kubeedge/api @@ -0,0 +1 @@ +../../../staging/src/github.com/kubeedge/api/
\ No newline at end of file diff --git a/vendor/modules.txt b/vendor/modules.txt index 96f0a3132..eb8ba02f5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -591,6 +591,59 @@ github.com/klauspost/compress/internal/cpuinfo github.com/klauspost/compress/internal/snapref github.com/klauspost/compress/zstd github.com/klauspost/compress/zstd/internal/xxhash +# github.com/kubeedge/api v0.0.0 => ./staging/src/github.com/kubeedge/api +## explicit; go 1.21 +github.com/kubeedge/api/apis/apps/v1alpha1 +github.com/kubeedge/api/apis/common/constants +github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1 +github.com/kubeedge/api/apis/componentconfig/cloudcore/v1alpha1/validation +github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2 +github.com/kubeedge/api/apis/componentconfig/edgecore/v1alpha2/validation +github.com/kubeedge/api/apis/componentconfig/meta/v1alpha1 +github.com/kubeedge/api/apis/devices/v1beta1 +github.com/kubeedge/api/apis/dmi/v1beta1 +github.com/kubeedge/api/apis/fsm/v1alpha1 +github.com/kubeedge/api/apis/operations/v1alpha1 +github.com/kubeedge/api/apis/policy/v1alpha1 +github.com/kubeedge/api/apis/reliablesyncs/v1alpha1 +github.com/kubeedge/api/apis/rules/v1 +github.com/kubeedge/api/apis/util +github.com/kubeedge/api/apis/util/validation +github.com/kubeedge/api/client/clientset/versioned +github.com/kubeedge/api/client/clientset/versioned/fake +github.com/kubeedge/api/client/clientset/versioned/scheme +github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1 +github.com/kubeedge/api/client/clientset/versioned/typed/apps/v1alpha1/fake +github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1 +github.com/kubeedge/api/client/clientset/versioned/typed/devices/v1beta1/fake +github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1 +github.com/kubeedge/api/client/clientset/versioned/typed/operations/v1alpha1/fake +github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1 +github.com/kubeedge/api/client/clientset/versioned/typed/policy/v1alpha1/fake +github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1 +github.com/kubeedge/api/client/clientset/versioned/typed/reliablesyncs/v1alpha1/fake +github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1 +github.com/kubeedge/api/client/clientset/versioned/typed/rules/v1/fake +github.com/kubeedge/api/client/informers/externalversions +github.com/kubeedge/api/client/informers/externalversions/apps +github.com/kubeedge/api/client/informers/externalversions/apps/v1alpha1 +github.com/kubeedge/api/client/informers/externalversions/devices +github.com/kubeedge/api/client/informers/externalversions/devices/v1beta1 +github.com/kubeedge/api/client/informers/externalversions/internalinterfaces +github.com/kubeedge/api/client/informers/externalversions/operations +github.com/kubeedge/api/client/informers/externalversions/operations/v1alpha1 +github.com/kubeedge/api/client/informers/externalversions/policy +github.com/kubeedge/api/client/informers/externalversions/policy/v1alpha1 +github.com/kubeedge/api/client/informers/externalversions/reliablesyncs +github.com/kubeedge/api/client/informers/externalversions/reliablesyncs/v1alpha1 +github.com/kubeedge/api/client/informers/externalversions/rules +github.com/kubeedge/api/client/informers/externalversions/rules/v1 +github.com/kubeedge/api/client/listers/apps/v1alpha1 +github.com/kubeedge/api/client/listers/devices/v1beta1 +github.com/kubeedge/api/client/listers/operations/v1alpha1 +github.com/kubeedge/api/client/listers/policy/v1alpha1 +github.com/kubeedge/api/client/listers/reliablesyncs/v1alpha1 +github.com/kubeedge/api/client/listers/rules/v1 # github.com/kubeedge/beehive v0.0.0 => ./staging/src/github.com/kubeedge/beehive ## explicit; go 1.21 github.com/kubeedge/beehive/pkg/common @@ -2900,6 +2953,7 @@ sigs.k8s.io/yaml # github.com/containerd/containerd => github.com/containerd/containerd v1.5.18 # github.com/emicklei/go-restful/v3 => github.com/emicklei/go-restful/v3 v3.7.5-0.20220308211933-7c971ca4d0fd # github.com/gopherjs/gopherjs v0.0.0 => github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e +# github.com/kubeedge/api => ./staging/src/github.com/kubeedge/api # github.com/kubeedge/beehive => ./staging/src/github.com/kubeedge/beehive # github.com/kubeedge/viaduct => ./staging/src/github.com/kubeedge/viaduct # github.com/spf13/viper => github.com/spf13/viper v1.8.1 |
