Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update our dependencies to the release-1.7 branch versions #2840

Merged
merged 5 commits into from
Jul 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
30 changes: 27 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,6 @@
[submodule "_vendor/github.com/elazarl/go-bindata-assetfs"]
path = _vendor/github.com/elazarl/go-bindata-assetfs
url = https://github.com/elazarl/go-bindata-assetfs
[submodule "_vendor/github.com/grpc-ecosystem"]
path = _vendor/github.com/grpc-ecosystem
url = https://github.com/grpc-ecosystem/grpc-gateway
[submodule "_vendor/gopkg.in/natefinch/lumberjack.v2"]
path = _vendor/gopkg.in/natefinch/lumberjack.v2
url = https://gopkg.in/natefinch/lumberjack.v2
Expand All @@ -289,3 +286,30 @@
[submodule "_vendor/github.com/weaveworks/mesh"]
path = _vendor/github.com/weaveworks/mesh
url = https://github.com/weaveworks/mesh
[submodule "_vendor/github.com/grpc-ecosystem/go-grpc-prometheus"]
path = _vendor/github.com/grpc-ecosystem/go-grpc-prometheus
url = https://github.com/grpc-ecosystem/go-grpc-prometheus
[submodule "_vendor/github.com/grpc-ecosystem/grpc-gateway"]
path = _vendor/github.com/grpc-ecosystem/grpc-gateway
url = https://github.com/grpc-ecosystem/grpc-gateway
[submodule "_vendor/github.com/emicklei/go-restful-swagger12"]
path = _vendor/github.com/emicklei/go-restful-swagger12
url = https://github.com/emicklei/go-restful-swagger12
[submodule "_vendor/github.com/fatih/camelcase"]
path = _vendor/github.com/fatih/camelcase
url = https://github.com/fatih/camelcase
[submodule "_vendor/github.com/go-openapi/loads"]
path = _vendor/github.com/go-openapi/loads
url = https://github.com/go-openapi/loads
[submodule "_vendor/github.com/go-openapi/analysis"]
path = _vendor/github.com/go-openapi/analysis
url = https://github.com/go-openapi/analysis
[submodule "_vendor/github.com/googleapis/gnostic"]
path = _vendor/github.com/googleapis/gnostic
url = https://github.com/googleapis/gnostic
[submodule "_vendor/github.com/hashicorp/golang-lru"]
path = _vendor/github.com/hashicorp/golang-lru
url = https://github.com/hashicorp/golang-lru
[submodule "_vendor/github.com/Azure/go-autorest"]
path = _vendor/github.com/Azure/go-autorest
url = https://github.com/Azure/go-autorest
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ copydeps:
ln -sf kubernetes/staging/src/k8s.io/apimachinery vendor/k8s.io/apimachinery
ln -sf kubernetes/staging/src/k8s.io/apiserver vendor/k8s.io/apiserver
ln -sf kubernetes/staging/src/k8s.io/client-go vendor/k8s.io/client-go
ln -sf kubernetes/staging/src/k8s.io/metrics vendor/k8s.io/metrics

.PHONY: gofmt
gofmt:
Expand Down
1 change: 1 addition & 0 deletions _vendor/github.com/Azure/go-autorest
Submodule go-autorest added at d7c034
2 changes: 1 addition & 1 deletion _vendor/github.com/coreos/etcd
Submodule etcd updated from cc198e to 20490c
2 changes: 1 addition & 1 deletion _vendor/github.com/coreos/go-semver
2 changes: 1 addition & 1 deletion _vendor/github.com/emicklei/go-restful
Submodule go-restful updated 46 files
+6 −0 .travis.yml
+81 −29 CHANGES.md
+7 −0 Makefile
+12 −12 README.md
+0 −2 compress_test.go
+1 −0 compressors.go
+13 −8 container.go
+3 −3 cors_filter_test.go
+1 −1 doc.go
+4 −3 examples/google_app_engine/datastore/main.go
+3 −2 examples/google_app_engine/restful-user-service.go
+4 −4 examples/msgpack/msgpack_entity_test.go
+1 −1 examples/restful-swagger.go
+1 −1 examples/restful-user-resource.go
+10 −4 examples/restful-user-service.go
+0 −10 install.sh
+4 −1 log/log.go
+0 −23 request.go
+0 −63 request_test.go
+3 −2 response.go
+3 −0 route.go
+61 −8 route_builder.go
+19 −1 route_builder_test.go
+0 −43 swagger/CHANGES.md
+0 −76 swagger/README.md
+0 −64 swagger/api_declaration_list.go
+0 −46 swagger/config.go
+0 −467 swagger/model_builder.go
+0 −1,283 swagger/model_builder_test.go
+0 −86 swagger/model_list.go
+0 −48 swagger/model_list_test.go
+0 −81 swagger/model_property_ext.go
+0 −70 swagger/model_property_ext_test.go
+0 −87 swagger/model_property_list.go
+0 −47 swagger/model_property_list_test.go
+0 −36 swagger/ordered_route_map.go
+0 −29 swagger/ordered_route_map_test.go
+0 −42 swagger/postbuild_model_test.go
+0 −185 swagger/swagger.go
+0 −21 swagger/swagger_builder.go
+0 −284 swagger/swagger_test.go
+0 −440 swagger/swagger_webservice.go
+0 −5 swagger/test_package/struct.go
+0 −86 swagger/utils_test.go
+29 −7 web_service.go
+23 −0 web_service_test.go
1 change: 1 addition & 0 deletions _vendor/github.com/emicklei/go-restful-swagger12
Submodule go-restful-swagger12 added at dcef7f
1 change: 1 addition & 0 deletions _vendor/github.com/fatih/camelcase
Submodule camelcase added at f6a740
1 change: 1 addition & 0 deletions _vendor/github.com/go-openapi/analysis
Submodule analysis added at b44dc8
1 change: 1 addition & 0 deletions _vendor/github.com/go-openapi/loads
Submodule loads added at 18441d
2 changes: 1 addition & 1 deletion _vendor/github.com/gogo/protobuf
Submodule protobuf updated 597 files
2 changes: 1 addition & 1 deletion _vendor/github.com/google/cadvisor
Submodule cadvisor updated 107 files
1 change: 1 addition & 0 deletions _vendor/github.com/googleapis/gnostic
Submodule gnostic added at 68f4de
1 change: 0 additions & 1 deletion _vendor/github.com/grpc-ecosystem
Submodule grpc-ecosystem deleted from 04870f
1 change: 1 addition & 0 deletions _vendor/github.com/grpc-ecosystem/go-grpc-prometheus
Submodule go-grpc-prometheus added at 250024
1 change: 1 addition & 0 deletions _vendor/github.com/grpc-ecosystem/grpc-gateway
Submodule grpc-gateway added at 84398b
1 change: 1 addition & 0 deletions _vendor/github.com/hashicorp/golang-lru
Submodule golang-lru added at 0a025b
2 changes: 1 addition & 1 deletion _vendor/github.com/howeyc/gopass
Submodule gopass updated 2 files
+31 −12 pass.go
+15 −18 pass_test.go
2 changes: 1 addition & 1 deletion _vendor/github.com/juju/ratelimit
Submodule ratelimit updated 1 files
+49 −10 ratelimit.go
2 changes: 1 addition & 1 deletion _vendor/github.com/miekg/coredns
2 changes: 1 addition & 1 deletion _vendor/github.com/prometheus/client_golang
Submodule client_golang updated 68 files
+4 −2 .travis.yml
+0 −18 AUTHORS.md
+23 −0 CHANGELOG.md
+3 −3 CONTRIBUTING.md
+1 −0 MAINTAINERS.md
+0 −5 NOTICE
+3 −1 README.md
+1 −1 VERSION
+131 −0 api/client.go
+115 −0 api/client_test.go
+115 −195 api/prometheus/v1/api.go
+165 −237 api/prometheus/v1/api_test.go
+12 −9 examples/random/main.go
+4 −3 examples/simple/main.go
+1 −53 prometheus/README.md
+30 −4 prometheus/benchmark_test.go
+26 −26 prometheus/collector.go
+13 −24 prometheus/counter.go
+27 −28 prometheus/desc.go
+137 −60 prometheus/doc.go
+42 −54 prometheus/example_clustermanager_test.go
+0 −87 prometheus/example_memstats_test.go
+0 −69 prometheus/example_selfcollector_test.go
+71 −0 prometheus/example_timer_complex_test.go
+48 −0 prometheus/example_timer_gauge_test.go
+40 −0 prometheus/example_timer_test.go
+211 −106 prometheus/examples_test.go
+16 −16 prometheus/expvar_collector.go
+1 −1 prometheus/expvar_collector_test.go
+29 −0 prometheus/fnv.go
+13 −15 prometheus/gauge.go
+20 −0 prometheus/gauge_test.go
+30 −17 prometheus/go_collector.go
+27 −24 prometheus/go_collector_test.go
+280 −0 prometheus/graphite/bridge.go
+309 −0 prometheus/graphite/bridge_test.go
+22 −28 prometheus/histogram.go
+24 −2 prometheus/histogram_test.go
+203 −40 prometheus/http.go
+38 −5 prometheus/http_test.go
+17 −17 prometheus/metric.go
+50 −0 prometheus/observer.go
+53 −55 prometheus/process_collector.go
+32 −28 prometheus/process_collector_test.go
+38 −0 prometheus/promhttp/delegator_1_7.go
+73 −0 prometheus/promhttp/delegator_1_8.go
+204 −0 prometheus/promhttp/http.go
+131 −0 prometheus/promhttp/http_test.go
+95 −0 prometheus/promhttp/instrument_client.go
+142 −0 prometheus/promhttp/instrument_client_1_8.go
+195 −0 prometheus/promhttp/instrument_client_1_8_test.go
+505 −0 prometheus/promhttp/instrument_server.go
+193 −0 prometheus/promhttp/instrument_server_test.go
+0 −65 prometheus/push.go
+83 −0 prometheus/push/example_add_from_gatherer_test.go
+36 −0 prometheus/push/examples_test.go
+172 −0 prometheus/push/push.go
+176 −0 prometheus/push/push_test.go
+480 −451 prometheus/registry.go
+75 −64 prometheus/registry_test.go
+38 −35 prometheus/summary.go
+49 −8 prometheus/summary_test.go
+48 −0 prometheus/timer.go
+152 −0 prometheus/timer_test.go
+9 −11 prometheus/untyped.go
+10 −5 prometheus/value.go
+205 −48 prometheus/vec.go
+238 −17 prometheus/vec_test.go
2 changes: 1 addition & 1 deletion _vendor/github.com/prometheus/common
Submodule common updated 56 files
+1 −2 .travis.yml
+0 −11 AUTHORS.md
+3 −3 CONTRIBUTING.md
+1 −0 MAINTAINERS.md
+5 −1 README.md
+30 −0 config/config.go
+1 −0 config/testdata/tls_config.cert_no_key.bad.yml
+0 −0 config/testdata/tls_config.empty.good.yml
+1 −0 config/testdata/tls_config.insecure.good.yml
+1 −0 config/testdata/tls_config.invalid_field.bad.yml
+1 −0 config/testdata/tls_config.key_no_cert.bad.yml
+79 −0 config/tls_config.go
+92 −0 config/tls_config_test.go
+0 −4 expfmt/bench_test.go
+57 −39 expfmt/decode.go
+79 −0 expfmt/decode_test.go
+1 −1 expfmt/encode.go
+4 −6 expfmt/expfmt.go
+2 −2 expfmt/fuzz.go
+0 −162 expfmt/json_decode.go
+0 −124 expfmt/json_decode_test.go
+46 −0 expfmt/testdata/json2_bad
+ expfmt/testdata/protobuf
+ expfmt/testdata/protobuf.gz
+0 −163 expfmt/testdata/test.gz
+ expfmt/testdata/text.gz
+14 −16 expfmt/text_create.go
+8 −1 expfmt/text_parse.go
+4 −2 expfmt/text_parse_test.go
+67 −0 internal/bitbucket.org/ww/goautoneg/README.txt
+162 −0 internal/bitbucket.org/ww/goautoneg/autoneg.go
+33 −0 internal/bitbucket.org/ww/goautoneg/autoneg_test.go
+89 −0 log/eventlog_formatter.go
+123 −11 log/log.go
+126 −0 log/syslog_formatter.go
+52 −0 log/syslog_formatter_test.go
+30 −3 model/alert.go
+118 −0 model/alert_test.go
+42 −0 model/fnv.go
+27 −5 model/labels.go
+49 −0 model/labels_test.go
+17 −1 model/labelset.go
+24 −2 model/metric.go
+49 −0 model/metric_test.go
+1 −1 model/model.go
+31 −77 model/signature.go
+10 −0 model/signature_test.go
+46 −0 model/silence.go
+228 −0 model/silence_test.go
+40 −21 model/time.go
+43 −0 model/time_test.go
+29 −8 model/value.go
+106 −0 model/value_test.go
+28 −42 route/route.go
+17 −0 route/route_test.go
+89 −0 version/info.go
2 changes: 1 addition & 1 deletion _vendor/github.com/vmware/govmomi
Submodule govmomi updated 70 files
+3 −1 .mailmap
+16 −0 CHANGELOG.md
+3 −1 CONTRIBUTORS
+10 −0 README.md
+4 −1 find/doc.go
+46 −9 find/finder.go
+2 −3 find/recurser.go
+35 −20 gen/gen.sh
+4 −7 gen/gen_from_vmodl.rb
+21 −1 gen/gen_from_wsdl.rb
+86 −34 gen/vim_wsdl.rb
+12 −0 govc/CHANGELOG.md
+9 −1 govc/README.md
+197 −0 govc/USAGE.md
+145 −0 govc/datastore/disk/info.go
+2 −2 govc/device/info.go
+59 −2 govc/emacs/README.md
+92 −3 govc/emacs/govc.el
+1 −1 govc/emacs/test/make.el
+7 −0 govc/flags/datacenter.go
+1 −1 govc/flags/version.go
+1 −1 govc/importx/archive.go
+2 −0 govc/main.go
+101 −0 govc/metric/change.go
+230 −0 govc/metric/info.go
+111 −0 govc/metric/interval/change.go
+87 −0 govc/metric/interval/info.go
+140 −0 govc/metric/ls.go
+96 −0 govc/metric/performance.go
+91 −0 govc/metric/reset.go
+320 −0 govc/metric/sample.go
+16 −11 govc/object/collect.go
+320 −0 govc/object/find.go
+104 −0 govc/object/method.go
+34 −0 govc/test/datastore.bats
+24 −4 govc/test/ls.bats
+82 −0 govc/test/metric.bats
+20 −0 govc/test/metric_info_test.sh
+109 −0 govc/test/object.bats
+30 −11 govc/vm/ip.go
+86 −0 object/authorization_manager_internal.go
+57 −0 object/opaque_network.go
+97 −0 object/virtual_disk_manager_internal.go
+217 −0 pbm/client.go
+301 −0 pbm/client_test.go
+664 −0 pbm/methods/methods.go
+146 −0 pbm/pbm_util.go
+211 −0 pbm/types/enum.go
+139 −0 pbm/types/if.go
+1,712 −0 pbm/types/types.go
+431 −0 performance/manager.go
+27 −0 property/collector.go
+135 −0 property/filter.go
+60 −0 property/filter_test.go
+43 −0 scripts/govc_bash_completion
+112 −0 view/container_view.go
+1 −1 vim25/methods/methods.go
+2 −0 vim25/mo/ancestors.go
+113 −28 vim25/mo/mo.go
+34 −0 vim25/soap/client.go
+7 −1 vim25/soap/error.go
+2 −6 vim25/soap/soap.go
+11 −7 vim25/soap/soap_test.go
+1 −1 vim25/types/enum.go
+4 −0 vim25/types/helpers.go
+1 −1 vim25/types/if.go
+14 −1 vim25/types/registry.go
+1 −1 vim25/types/types.go
+2 −0 vim25/xml/extras.go
+3 −1 vim25/xml/read.go
2 changes: 1 addition & 1 deletion _vendor/golang.org/x/net
Submodule net updated 282 files
2 changes: 1 addition & 1 deletion _vendor/google.golang.org/api
Submodule api updated from 55146b to e3824e
2 changes: 1 addition & 1 deletion _vendor/google.golang.org/grpc
Submodule grpc updated 48 files
+5 −7 .travis.yml
+2 −2 Documentation/grpc-metadata.md
+2 −2 README.md
+1 −1 backoff.go
+19 −4 balancer.go
+3 −3 benchmark/grpc_testing/services.pb.go
+7 −18 benchmark/worker/benchmark_client.go
+12 −6 call.go
+88 −45 clientconn.go
+57 −8 clientconn_test.go
+34 −15 credentials/credentials.go
+61 −0 credentials/credentials_test.go
+1 −1 credentials/oauth/oauth.go
+1 −1 examples/README.md
+3 −1 examples/helloworld/greeter_server/main.go
+2 −2 examples/helloworld/helloworld/helloworld.pb.go
+2 −2 examples/route_guide/routeguide/route_guide.pb.go
+557 −0 grpclb/grpc_lb_v1/grpclb.pb.go
+109 −0 grpclb/grpc_lb_v1/grpclb.proto
+510 −0 grpclb/grpclb.go
+441 −0 grpclb/grpclb_test.go
+2 −2 health/grpc_health_v1/health.pb.go
+16 −0 interceptor.go
+6 −2 interop/client/client.go
+101 −50 interop/grpc_testing/test.pb.go
+13 −0 interop/grpc_testing/test.proto
+43 −0 interop/test_utils.go
+10 −3 metadata/metadata.go
+30 −0 metadata/metadata_test.go
+2 −2 reflection/grpc_reflection_v1alpha/reflection.pb.go
+2 −2 reflection/grpc_testing/test.pb.go
+2 −1 reflection/serverreflection.go
+3 −0 reflection/serverreflection_test.go
+4 −4 rpc_util.go
+3 −3 rpc_util_test.go
+73 −23 server.go
+43 −10 stream.go
+1 −1 stress/client/main.go
+2 −2 stress/grpc_testing/metrics.pb.go
+857 −88 test/end2end_test.go
+2 −2 test/grpc_testing/test.pb.go
+2 −2 transport/handler_server.go
+83 −38 transport/http2_client.go
+27 −26 transport/http2_server.go
+8 −5 transport/http_util.go
+1 −0 transport/http_util_test.go
+37 −20 transport/transport.go
+55 −8 transport/transport_test.go
2 changes: 1 addition & 1 deletion _vendor/gopkg.in/natefinch/lumberjack.v2
Submodule lumberjack.v2 updated from dd45e6 to 20b71e
2 changes: 1 addition & 1 deletion _vendor/k8s.io/gengo
Submodule gengo updated 29 files
+1 −1 .travis.yml
+16 −0 examples/deepcopy-gen/Makefile
+1 −1 examples/deepcopy-gen/generators/deepcopy.go
+35 −0 examples/deepcopy-gen/output_tests/builtins/doc.go
+43 −0 examples/deepcopy-gen/output_tests/builtins/zz_generated.go
+24 −0 examples/deepcopy-gen/output_tests/emptyinterface/doc.go
+51 −0 examples/deepcopy-gen/output_tests/emptyinterface/zz_generated.go
+28 −0 examples/deepcopy-gen/output_tests/interfaces/doc.go
+54 −0 examples/deepcopy-gen/output_tests/interfaces/zz_generated.go
+35 −0 examples/deepcopy-gen/output_tests/maps/doc.go
+120 −0 examples/deepcopy-gen/output_tests/maps/zz_generated.go
+24 −0 examples/deepcopy-gen/output_tests/pointer/doc.go
+54 −0 examples/deepcopy-gen/output_tests/pointer/zz_generated.go
+35 −0 examples/deepcopy-gen/output_tests/slices/doc.go
+98 −0 examples/deepcopy-gen/output_tests/slices/zz_generated.go
+40 −0 examples/deepcopy-gen/output_tests/structs/doc.go
+54 −0 examples/deepcopy-gen/output_tests/structs/zz_generated.go
+0 −0 examples/deepcopy-gen/output_tests/wholepkg/a.go
+0 −0 examples/deepcopy-gen/output_tests/wholepkg/b.go
+0 −0 examples/deepcopy-gen/output_tests/wholepkg/deepcopy_test.go
+0 −0 examples/deepcopy-gen/output_tests/wholepkg/doc.go
+20 −0 examples/deepcopy-gen/output_tests/wholepkg/zz_generated.go
+0 −58 examples/deepcopy-gen/test.sh
+58 −11 examples/defaulter-gen/generators/defaulter.go
+1 −1 generator/execute.go
+8 −0 generator/generator.go
+1 −1 generator/snippet_writer_test.go
+30 −4 parser/parse.go
+3 −2 types/types.go
2 changes: 1 addition & 1 deletion _vendor/k8s.io/kubernetes
Submodule kubernetes updated 7553 files
11 changes: 10 additions & 1 deletion cmd/kops/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,16 @@ func NewCmdRoot(f *util.Factory, out io.Writer) *cobra.Command {

cmd := rootCommand.cobraCommand

cmd.PersistentFlags().AddGoFlagSet(goflag.CommandLine)
//cmd.PersistentFlags().AddGoFlagSet(goflag.CommandLine)
goflag.CommandLine.VisitAll(func(goflag *goflag.Flag) {
switch goflag.Name {
case "cloud-provider-gce-lb-src-cidrs":
// Skip; this is dragged in by the google cloudprovider dependency

default:
cmd.PersistentFlags().AddGoFlag(goflag)
}
})

cmd.PersistentFlags().StringVar(&rootCommand.configFile, "config", "", "config file (default is $HOME/.kops.yaml)")

Expand Down
29 changes: 17 additions & 12 deletions dns-controller/pkg/dns/dnscontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,19 +449,21 @@ func (o *dnsOp) deleteRecords(k recordKey) error {
return fmt.Errorf("zone does not support resource records %q", zone.Name())
}

dnsRecord, err := rrsProvider.Get(fqdn)
dnsRecords, err := rrsProvider.Get(fqdn)
if err != nil {
return fmt.Errorf("Failed to get DNS record %s with error: %v", fqdn, err)
}

if dnsRecord != nil && string(dnsRecord.Type()) == string(k.RecordType) {
cs, err := o.getChangeset(zone)
if err != nil {
return err
}
for _, dnsRecord := range dnsRecords {
if string(dnsRecord.Type()) == string(k.RecordType) {
cs, err := o.getChangeset(zone)
if err != nil {
return err
}

glog.V(2).Infof("Deleting resource record %s %s", fqdn, k.RecordType)
cs.Remove(dnsRecord)
glog.V(2).Infof("Deleting resource record %s %s", fqdn, k.RecordType)
cs.Remove(dnsRecord)
}
}

return nil
Expand Down Expand Up @@ -518,13 +520,16 @@ func (o *dnsOp) updateRecords(k recordKey, newRecords []string, ttl int64) error
var existing dnsprovider.ResourceRecordSet
// TODO: work-around before ResourceRecordSets.List() is implemented for CoreDNS
if isCoreDNSZone(zone) {
dnsRecord, err := rrsProvider.Get(fqdn)
dnsRecords, err := rrsProvider.Get(fqdn)
if err != nil {
return fmt.Errorf("Failed to get DNS record %s with error: %v", fqdn, err)
}
if dnsRecord != nil && string(dnsRecord.Type()) == string(k.RecordType) {
glog.V(8).Infof("Found matching record: %s %s", k.RecordType, fqdn)
existing = dnsRecord

for _, dnsRecord := range dnsRecords {
if string(dnsRecord.Type()) == string(k.RecordType) {
glog.V(8).Infof("Found matching record: %s %s", k.RecordType, fqdn)
existing = dnsRecord
}
}
} else {
// when DNS provider is aws-route53 or google-clouddns
Expand Down
5 changes: 1 addition & 4 deletions pkg/apis/kops/v1alpha1/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ import (
)

func addDefaultingFuncs(scheme *runtime.Scheme) error {
RegisterDefaults(scheme)
return scheme.AddDefaultingFuncs(
SetDefaults_ClusterSpec,
)
return RegisterDefaults(scheme)
}

func SetDefaults_ClusterSpec(obj *ClusterSpec) {
Expand Down
Loading