From df68ea18b6cf21a859ae74ca165028965dd33dd5 Mon Sep 17 00:00:00 2001 From: Eran Ifrach Date: Tue, 24 Dec 2024 16:34:19 +0200 Subject: [PATCH] NO-ISSUE: update vendor and mocks --- .gitignore | 1 + Dockerfile.assisted_installer_agent-build | 2 +- pkg/journalLogger/mock_IJournalWriter.go | 15 +- .../connectivity_check_test.go | 12 +- .../ipv4_arping_checker_test.go | 8 +- src/connectivity_check/mock_Checker.go | 19 +- src/connectivity_check/mock_Executer.go | 20 +- src/connectivity_check/mock_ResultReporter.go | 15 +- .../mock_ImageAvailabilityDependencies.go | 22 +- src/dhcp_lease_allocate/mock_Dependencies.go | 72 ++++- src/disk_speed_check/mock_IDependencies.go | 22 +- .../mock_DomainResolutionDependencies.go | 2 +- src/free_addresses/mock_Executer.go | 22 +- src/inventory/mock_FileInfo.go | 35 ++- src/logs_sender/mock_LogsSender.go | 71 ++++- .../mock_NtpSynchronizerDependencies.go | 40 ++- src/scanners/mock_SerialDiscovery.go | 29 +- src/upgrade_agent/mock_Dependencies.go | 22 +- src/util/mock_IDependencies.go | 2 +- src/util/mock_Interface.go | 2 +- src/util/mock_Link.go | 2 +- src/util/mock_RouteFinder.go | 2 +- src/vips_verifier/mock_Executer.go | 22 +- .../Azure/go-ansiterm/winterm/ansi.go | 1 + .../Azure/go-ansiterm/winterm/api.go | 1 + .../go-ansiterm/winterm/attr_translation.go | 1 + .../go-ansiterm/winterm/cursor_helpers.go | 1 + .../go-ansiterm/winterm/erase_helpers.go | 1 + .../go-ansiterm/winterm/scroll_helper.go | 1 + .../Azure/go-ansiterm/winterm/utilities.go | 1 + .../go-ansiterm/winterm/win_event_handler.go | 1 + .../StackExchange/wmi/swbemservices.go | 1 + vendor/github.com/StackExchange/wmi/wmi.go | 2 +- vendor/github.com/alecthomas/units/doc.go | 7 +- .../asaskevich/govalidator/types.go | 4 +- .../asaskevich/govalidator/validator.go | 58 ++-- .../beorn7/perks/quantile/stream.go | 2 +- .../cenkalti/backoff/v4/exponential.go | 38 +-- .../coreos/go-iptables/iptables/iptables.go | 3 +- vendor/github.com/coreos/go-json/decode.go | 3 +- vendor/github.com/coreos/go-json/encode.go | 31 +- vendor/github.com/coreos/go-json/fold.go | 5 +- vendor/github.com/coreos/go-json/stream.go | 1 - .../github.com/davecgh/go-spew/spew/bypass.go | 1 + .../davecgh/go-spew/spew/bypasssafe.go | 1 + .../github.com/davecgh/go-spew/spew/config.go | 30 +- vendor/github.com/davecgh/go-spew/spew/doc.go | 146 ++++----- .../github.com/davecgh/go-spew/spew/dump.go | 18 +- .../distribution/reference/reference.go | 4 +- .../api/types/swarm/runtime/plugin.pb.go | 3 +- .../emicklei/go-restful/v3/curly.go | 2 +- .../github.com/emicklei/go-restful/v3/doc.go | 42 ++- .../github.com/emicklei/go-restful/v3/json.go | 1 + .../emicklei/go-restful/v3/jsoniter.go | 3 +- .../emicklei/go-restful/v3/response.go | 5 +- .../emicklei/go-restful/v3/web_service.go | 28 +- .../httpsnoop/wrap_generated_gteq_1.8.go | 2 + .../httpsnoop/wrap_generated_lt_1.8.go | 2 + vendor/github.com/ghodss/yaml/fields.go | 5 +- vendor/github.com/ghodss/yaml/yaml.go | 12 +- vendor/github.com/go-jose/go-jose/doc.go | 2 - .../github.com/go-jose/go-jose/json/decode.go | 3 +- .../github.com/go-jose/go-jose/json/encode.go | 28 +- .../github.com/go-jose/go-jose/json/stream.go | 1 - vendor/github.com/go-jose/go-jose/opaque.go | 2 +- .../github.com/go-jose/go-jose/symmetric.go | 2 +- vendor/github.com/go-ole/go-ole/com.go | 1 + vendor/github.com/go-ole/go-ole/com_func.go | 1 + vendor/github.com/go-ole/go-ole/error_func.go | 1 + .../github.com/go-ole/go-ole/error_windows.go | 1 + vendor/github.com/go-ole/go-ole/guid.go | 10 +- .../go-ole/go-ole/iconnectionpoint_func.go | 1 + .../go-ole/go-ole/iconnectionpoint_windows.go | 1 + .../go-ole/iconnectionpointcontainer_func.go | 1 + .../iconnectionpointcontainer_windows.go | 1 + .../go-ole/go-ole/idispatch_func.go | 1 + .../go-ole/go-ole/idispatch_windows.go | 1 + .../go-ole/go-ole/ienumvariant_func.go | 1 + .../go-ole/go-ole/ienumvariant_windows.go | 1 + .../go-ole/go-ole/iinspectable_func.go | 1 + .../go-ole/go-ole/iinspectable_windows.go | 1 + .../go-ole/go-ole/iprovideclassinfo_func.go | 1 + .../go-ole/iprovideclassinfo_windows.go | 1 + .../go-ole/go-ole/itypeinfo_func.go | 1 + .../go-ole/go-ole/itypeinfo_windows.go | 1 + .../github.com/go-ole/go-ole/iunknown_func.go | 1 + .../go-ole/go-ole/iunknown_windows.go | 1 + .../go-ole/go-ole/oleutil/connection.go | 1 + .../go-ole/go-ole/oleutil/connection_func.go | 1 + .../go-ole/oleutil/connection_windows.go | 1 + .../go-ole/go-ole/oleutil/go-get.go | 1 + .../go-ole/go-ole/safearray_func.go | 1 + .../go-ole/go-ole/safearray_windows.go | 1 + .../go-ole/go-ole/safearrayconversion.go | 2 +- .../go-ole/go-ole/safearrayslices.go | 1 + vendor/github.com/go-ole/go-ole/variables.go | 1 + .../github.com/go-ole/go-ole/variant_386.go | 1 + .../github.com/go-ole/go-ole/variant_amd64.go | 1 + .../github.com/go-ole/go-ole/variant_arm.go | 1 + .../go-ole/go-ole/variant_date_386.go | 1 + .../go-ole/go-ole/variant_date_amd64.go | 1 + .../go-ole/go-ole/variant_date_arm.go | 1 + .../go-ole/go-ole/variant_ppc64le.go | 1 + .../github.com/go-ole/go-ole/variant_s390x.go | 1 + vendor/github.com/go-ole/go-ole/winrt.go | 1 + vendor/github.com/go-ole/go-ole/winrt_doc.go | 1 + vendor/github.com/gogo/protobuf/proto/lib.go | 36 +-- .../gogo/protobuf/proto/pointer_reflect.go | 1 + .../protobuf/proto/pointer_reflect_gogo.go | 1 + .../gogo/protobuf/proto/pointer_unsafe.go | 1 + .../protobuf/proto/pointer_unsafe_gogo.go | 1 + .../gogo/protobuf/proto/table_unmarshal.go | 14 +- vendor/github.com/golang-jwt/jwt/rsa_pss.go | 1 + .../golang/mock/gomock/controller.go | 77 ++--- .../github.com/golang/mock/gomock/matchers.go | 35 ++- .../golang/protobuf/ptypes/any/any.pb.go | 3 +- .../protobuf/ptypes/duration/duration.pb.go | 3 +- .../protobuf/ptypes/timestamp/timestamp.pb.go | 3 +- .../gnostic-models/extensions/extension.pb.go | 5 +- .../google/gnostic-models/jsonschema/base.go | 7 +- .../gnostic-models/openapiv2/OpenAPIv2.pb.go | 5 +- .../gnostic-models/openapiv3/OpenAPIv3.pb.go | 5 +- vendor/github.com/google/gofuzz/fuzz.go | 16 +- vendor/github.com/google/uuid/dce.go | 4 +- vendor/github.com/google/uuid/hash.go | 4 +- vendor/github.com/google/uuid/node_js.go | 1 + vendor/github.com/google/uuid/node_net.go | 1 + vendor/github.com/google/uuid/null.go | 17 +- vendor/github.com/google/uuid/uuid.go | 10 +- vendor/github.com/google/uuid/version4.go | 14 +- vendor/github.com/imdario/mergo/doc.go | 27 +- vendor/github.com/itchyny/gojq/builtin.go | 116 +++---- vendor/github.com/jackc/pgconn/config.go | 54 ++-- vendor/github.com/jackc/pgtype/aclitem.go | 1 - vendor/github.com/jackc/pgtype/cid.go | 2 +- vendor/github.com/jackc/pgtype/tid.go | 2 +- vendor/github.com/jackc/pgtype/xid.go | 2 +- .../jinzhu/inflection/inflections.go | 24 +- vendor/github.com/jinzhu/now/main.go | 8 +- vendor/github.com/jinzhu/now/now.go | 2 +- vendor/github.com/json-iterator/go/any.go | 3 +- .../github.com/json-iterator/go/iter_float.go | 2 +- .../json-iterator/go/iter_skip_sloppy.go | 3 +- .../json-iterator/go/iter_skip_strict.go | 3 +- .../json-iterator/go/reflect_array.go | 3 +- .../json-iterator/go/reflect_dynamic.go | 3 +- .../json-iterator/go/reflect_extension.go | 3 +- .../json-iterator/go/reflect_json_number.go | 3 +- .../go/reflect_json_raw_message.go | 3 +- .../json-iterator/go/reflect_map.go | 3 +- .../json-iterator/go/reflect_optional.go | 3 +- .../json-iterator/go/reflect_slice.go | 3 +- .../go/reflect_struct_encoder.go | 3 +- .../kelseyhightower/envconfig/env_os.go | 1 + .../kelseyhightower/envconfig/env_syscall.go | 1 + vendor/github.com/lib/pq/array.go | 7 +- vendor/github.com/lib/pq/doc.go | 105 +++---- vendor/github.com/lib/pq/notify.go | 22 +- vendor/github.com/lib/pq/scram/scram.go | 25 +- .../mailru/easyjson/jlexer/bytestostr.go | 4 +- .../easyjson/jlexer/bytestostr_nounsafe.go | 3 +- .../mitchellh/mapstructure/mapstructure.go | 116 +++---- .../modern-go/concurrent/go_above_19.go | 3 +- .../modern-go/concurrent/go_below_19.go | 3 +- vendor/github.com/modern-go/concurrent/log.go | 6 +- .../concurrent/unbounded_executor.go | 2 +- .../modern-go/reflect2/go_above_118.go | 6 +- .../modern-go/reflect2/go_above_19.go | 3 +- .../modern-go/reflect2/go_below_118.go | 6 +- .../github.com/modern-go/reflect2/reflect2.go | 1 + .../github.com/modern-go/reflect2/type_map.go | 2 + .../modern-go/reflect2/unsafe_link.go | 1 + vendor/github.com/nxadm/tail/tail.go | 10 +- vendor/github.com/nxadm/tail/tail_posix.go | 1 + vendor/github.com/nxadm/tail/tail_windows.go | 1 + vendor/github.com/nxadm/tail/watch/inotify.go | 2 +- .../nxadm/tail/watch/inotify_tracker.go | 2 +- .../github.com/nxadm/tail/winfile/winfile.go | 1 + vendor/github.com/oklog/ulid/ulid.go | 5 +- .../onsi/ginkgo/extensions/table/table.go | 16 +- vendor/github.com/onsi/ginkgo/ginkgo_dsl.go | 284 +++++++++--------- .../onsi/ginkgo/internal/remote/aggregator.go | 1 - .../internal/remote/forwarding_reporter.go | 2 +- .../remote/output_interceptor_unix.go | 1 + .../internal/remote/output_interceptor_win.go | 1 + .../onsi/ginkgo/internal/remote/server.go | 10 +- .../onsi/ginkgo/reporters/fake_reporter.go | 2 +- .../onsi/ginkgo/reporters/junit_reporter.go | 4 +- .../support/go-colorable/colorable_others.go | 1 + .../support/go-isatty/isatty_appengine.go | 1 + .../support/go-isatty/isatty_bsd.go | 1 + .../support/go-isatty/isatty_linux.go | 4 +- .../support/go-isatty/isatty_solaris.go | 4 +- .../support/go-isatty/isatty_windows.go | 4 +- .../onsi/gomega/gstruct/elements.go | 100 +++--- .../github.com/onsi/gomega/gstruct/fields.go | 76 ++--- .../github.com/onsi/gomega/gstruct/ignore.go | 16 +- .../github.com/onsi/gomega/gstruct/pointer.go | 9 +- .../github.com/onsi/gomega/gstruct/types.go | 2 +- .../goraph/bipartitegraph/bipartitegraph.go | 8 +- .../bipartitegraph/bipartitegraphmatching.go | 2 +- .../opencontainers/go-digest/digest.go | 2 +- .../opencontainers/go-digest/doc.go | 11 +- .../v1/access_token_auth_builder.go | 6 - .../v1/access_token_auth_list_type_json.go | 2 +- .../accountsmgmt/v1/access_token_auth_type.go | 10 - .../accountsmgmt/v1/access_token_builder.go | 4 - .../accountsmgmt/v1/access_token_client.go | 4 - .../v1/access_token_list_type_json.go | 2 +- .../accountsmgmt/v1/access_token_server.go | 2 - .../accountsmgmt/v1/access_token_type.go | 6 - .../accountsmgmt/v1/account_builder.go | 26 -- .../accountsmgmt/v1/account_client.go | 14 - .../accountsmgmt/v1/account_list_type_json.go | 2 +- .../accountsmgmt/v1/account_server.go | 8 - .../accountsmgmt/v1/account_type.go | 50 --- .../accountsmgmt/v1/accounts_client.go | 1 - .../accountsmgmt/v1/accounts_server.go | 2 - .../accountsmgmt/v1/action_list_type_json.go | 2 +- .../v1/billing_model_list_type_json.go | 2 +- .../accountsmgmt/v1/boolean_list_type_json.go | 2 +- .../accountsmgmt/v1/capability_builder.go | 6 - .../v1/capability_list_type_json.go | 2 +- .../cluster_authorization_request_builder.go | 30 -- ...er_authorization_request_list_type_json.go | 2 +- .../v1/cluster_authorization_request_type.go | 58 ---- .../cluster_authorization_response_builder.go | 8 - ...r_authorization_response_list_type_json.go | 2 +- .../v1/cluster_authorization_response_type.go | 14 - .../v1/cluster_authorizations_client.go | 6 - .../v1/cluster_authorizations_server.go | 6 - .../v1/cluster_metrics_nodes_builder.go | 10 - .../cluster_metrics_nodes_list_type_json.go | 2 +- .../v1/cluster_metrics_nodes_type.go | 18 -- .../cluster_registration_request_builder.go | 6 - ...ter_registration_request_list_type_json.go | 2 +- .../v1/cluster_registration_request_type.go | 10 - .../cluster_registration_response_builder.go | 10 - ...er_registration_response_list_type_json.go | 2 +- .../v1/cluster_registration_response_type.go | 14 - .../v1/cluster_registrations_client.go | 6 - .../v1/cluster_registrations_server.go | 6 - .../v1/cluster_resource_builder.go | 8 - .../v1/cluster_resource_list_type_json.go | 2 +- .../accountsmgmt/v1/cluster_resource_type.go | 14 - .../v1/cluster_upgrade_builder.go | 10 - .../v1/cluster_upgrade_list_type_json.go | 2 +- .../accountsmgmt/v1/cluster_upgrade_type.go | 18 -- .../accountsmgmt/v1/current_access_client.go | 4 - .../accountsmgmt/v1/current_access_server.go | 2 - .../accountsmgmt/v1/current_account_client.go | 8 - .../accountsmgmt/v1/current_account_server.go | 2 - .../accountsmgmt/v1/date_list_type_json.go | 2 +- .../accountsmgmt/v1/feature_toggle_builder.go | 4 - .../accountsmgmt/v1/feature_toggle_client.go | 2 - .../v1/feature_toggle_list_type_json.go | 2 +- .../v1/feature_toggle_query_client.go | 6 - .../feature_toggle_query_request_builder.go | 4 - ...ure_toggle_query_request_list_type_json.go | 2 +- .../v1/feature_toggle_query_request_type.go | 6 - .../v1/feature_toggle_query_server.go | 6 - .../accountsmgmt/v1/feature_toggle_type.go | 6 - .../accountsmgmt/v1/feature_toggles_client.go | 2 - .../accountsmgmt/v1/float_list_type_json.go | 2 +- .../accountsmgmt/v1/generic_label_client.go | 14 - .../accountsmgmt/v1/generic_label_server.go | 8 - .../accountsmgmt/v1/integer_list_type_json.go | 2 +- .../v1/interface_list_type_json.go | 2 +- .../accountsmgmt/v1/label_builder.go | 12 - .../accountsmgmt/v1/label_list_type_json.go | 2 +- .../ocm-sdk-go/accountsmgmt/v1/label_type.go | 22 -- .../accountsmgmt/v1/long_list_type_json.go | 2 +- .../accountsmgmt/v1/notify_client.go | 6 - .../accountsmgmt/v1/notify_server.go | 6 - .../accountsmgmt/v1/organization_builder.go | 16 - .../accountsmgmt/v1/organization_client.go | 14 - .../v1/organization_list_type_json.go | 2 +- .../accountsmgmt/v1/organization_server.go | 8 - .../accountsmgmt/v1/organization_type.go | 30 -- .../accountsmgmt/v1/organizations_client.go | 1 - .../accountsmgmt/v1/organizations_server.go | 2 - .../accountsmgmt/v1/permission_builder.go | 4 - .../accountsmgmt/v1/permission_client.go | 8 - .../v1/permission_list_type_json.go | 2 +- .../accountsmgmt/v1/permission_server.go | 2 - .../accountsmgmt/v1/permission_type.go | 10 - .../accountsmgmt/v1/plan_builder.go | 8 - .../accountsmgmt/v1/plan_id_list_type_json.go | 2 +- .../accountsmgmt/v1/plan_list_type_json.go | 2 +- .../ocm-sdk-go/accountsmgmt/v1/plan_type.go | 14 - .../accountsmgmt/v1/pull_secrets_client.go | 6 - .../v1/pull_secrets_request_builder.go | 4 - .../v1/pull_secrets_request_list_type_json.go | 2 +- .../v1/pull_secrets_request_type.go | 6 - .../accountsmgmt/v1/pull_secrets_server.go | 6 - .../accountsmgmt/v1/quota_cost_builder.go | 12 - .../v1/quota_cost_list_type_json.go | 2 +- .../accountsmgmt/v1/quota_cost_type.go | 22 -- .../accountsmgmt/v1/quota_summary_builder.go | 16 - .../v1/quota_summary_list_type_json.go | 2 +- .../accountsmgmt/v1/quota_summary_type.go | 30 -- .../accountsmgmt/v1/registry_builder.go | 18 -- .../accountsmgmt/v1/registry_client.go | 8 - .../v1/registry_credential_builder.go | 16 - .../v1/registry_credential_client.go | 8 - .../v1/registry_credential_list_type_json.go | 2 +- .../v1/registry_credential_server.go | 2 - .../v1/registry_credential_type.go | 30 -- .../v1/registry_list_type_json.go | 2 +- .../accountsmgmt/v1/registry_server.go | 2 - .../accountsmgmt/v1/registry_type.go | 34 --- .../v1/related_resource_builder.go | 16 - .../v1/related_resource_list_type_json.go | 2 +- .../accountsmgmt/v1/related_resource_type.go | 32 -- .../v1/reserved_resource_builder.go | 16 - .../v1/reserved_resource_list_type_json.go | 2 +- .../accountsmgmt/v1/reserved_resource_type.go | 34 --- .../accountsmgmt/v1/resource_builder.go | 12 - .../v1/resource_list_type_json.go | 2 +- .../accountsmgmt/v1/resource_quota_builder.go | 14 - .../accountsmgmt/v1/resource_quota_client.go | 14 - .../v1/resource_quota_list_type_json.go | 2 +- .../accountsmgmt/v1/resource_quota_server.go | 8 - .../accountsmgmt/v1/resource_quota_type.go | 26 -- .../accountsmgmt/v1/resource_type.go | 16 - .../accountsmgmt/v1/role_binding_builder.go | 26 -- .../accountsmgmt/v1/role_binding_client.go | 14 - .../v1/role_binding_list_type_json.go | 2 +- .../accountsmgmt/v1/role_binding_server.go | 8 - .../accountsmgmt/v1/role_binding_type.go | 50 --- .../accountsmgmt/v1/role_builder.go | 6 - .../ocm-sdk-go/accountsmgmt/v1/role_client.go | 14 - .../accountsmgmt/v1/role_list_type_json.go | 2 +- .../ocm-sdk-go/accountsmgmt/v1/role_server.go | 8 - .../ocm-sdk-go/accountsmgmt/v1/role_type.go | 10 - .../ocm-sdk-go/accountsmgmt/v1/sku_builder.go | 10 - .../ocm-sdk-go/accountsmgmt/v1/sku_client.go | 8 - .../accountsmgmt/v1/sku_list_type_json.go | 2 +- .../accountsmgmt/v1/sku_rule_builder.go | 6 - .../accountsmgmt/v1/sku_rule_client.go | 8 - .../v1/sku_rule_list_type_json.go | 2 +- .../accountsmgmt/v1/sku_rule_server.go | 2 - .../ocm-sdk-go/accountsmgmt/v1/sku_server.go | 2 - .../ocm-sdk-go/accountsmgmt/v1/sku_type.go | 16 - .../accountsmgmt/v1/string_list_type_json.go | 2 +- .../accountsmgmt/v1/subscription_builder.go | 66 ---- .../accountsmgmt/v1/subscription_client.go | 8 - .../v1/subscription_list_type_json.go | 2 +- .../v1/subscription_metrics_builder.go | 44 --- .../v1/subscription_metrics_list_type_json.go | 2 +- .../v1/subscription_metrics_type.go | 88 ------ .../v1/subscription_notify_builder.go | 18 -- .../v1/subscription_notify_client.go | 6 - .../v1/subscription_notify_list_type_json.go | 2 +- .../v1/subscription_notify_server.go | 6 - .../v1/subscription_registration_builder.go | 8 - ...ubscription_registration_list_type_json.go | 2 +- .../accountsmgmt/v1/subscription_server.go | 2 - .../accountsmgmt/v1/subscription_type.go | 102 ------- .../accountsmgmt/v1/subscriptions_client.go | 8 - .../accountsmgmt/v1/subscriptions_server.go | 10 - .../v1/summary_dashboard_builder.go | 4 - .../v1/summary_dashboard_client.go | 8 - .../v1/summary_dashboard_list_type_json.go | 2 +- .../v1/summary_dashboard_server.go | 2 - .../accountsmgmt/v1/summary_dashboard_type.go | 6 - .../v1/summary_metrics_builder.go | 6 - .../v1/summary_metrics_list_type_json.go | 2 +- .../accountsmgmt/v1/summary_metrics_type.go | 10 - .../accountsmgmt/v1/summary_sample_builder.go | 6 - .../v1/summary_sample_list_type_json.go | 2 +- .../accountsmgmt/v1/summary_sample_type.go | 10 - .../v1/support_case_request_builder.go | 16 - .../v1/support_case_request_list_type_json.go | 2 +- .../v1/support_case_request_type.go | 2 - .../v1/support_case_response_builder.go | 20 -- .../support_case_response_list_type_json.go | 2 +- .../v1/support_case_response_type.go | 2 - .../accountsmgmt/v1/support_cases_client.go | 6 - .../accountsmgmt/v1/support_cases_server.go | 6 - .../v1/template_parameter_builder.go | 4 - .../v1/template_parameter_list_type_json.go | 2 +- .../v1/token_authorization_client.go | 6 - .../v1/token_authorization_request_builder.go | 4 - ...en_authorization_request_list_type_json.go | 2 +- .../v1/token_authorization_request_type.go | 2 - .../token_authorization_response_builder.go | 4 - ...n_authorization_response_list_type_json.go | 2 +- .../v1/token_authorization_response_type.go | 6 - .../v1/token_authorization_server.go | 6 - .../accountsmgmt/v1/value_unit_builder.go | 6 - .../v1/value_unit_list_type_json.go | 2 +- .../accountsmgmt/v1/value_unit_type.go | 10 - .../ocm-sdk-go/authentication/handler.go | 8 +- .../authentication/transport_wrapper.go | 2 +- .../authorizations/v1/access_review_client.go | 6 - .../v1/access_review_request_builder.go | 14 - .../access_review_request_list_type_json.go | 2 +- .../v1/access_review_response_builder.go | 16 - .../access_review_response_list_type_json.go | 2 +- .../authorizations/v1/access_review_server.go | 6 - .../v1/boolean_list_type_json.go | 2 +- .../v1/capability_review_client.go | 6 - .../v1/capability_review_request_builder.go | 14 - ...apability_review_request_list_type_json.go | 2 +- .../v1/capability_review_response_builder.go | 2 - ...pability_review_response_list_type_json.go | 2 +- .../v1/capability_review_response_type.go | 4 - .../v1/capability_review_server.go | 6 - .../authorizations/v1/date_list_type_json.go | 2 +- .../v1/export_control_review_client.go | 6 - .../export_control_review_request_builder.go | 4 - ...t_control_review_request_list_type_json.go | 2 +- .../v1/export_control_review_request_type.go | 6 - .../export_control_review_response_builder.go | 4 - ..._control_review_response_list_type_json.go | 2 +- .../v1/export_control_review_response_type.go | 6 - .../v1/export_control_review_server.go | 6 - .../v1/feature_review_client.go | 6 - .../v1/feature_review_request_builder.go | 4 - .../feature_review_request_list_type_json.go | 2 +- .../v1/feature_review_response_builder.go | 4 - .../feature_review_response_list_type_json.go | 2 +- .../v1/feature_review_server.go | 6 - .../authorizations/v1/float_list_type_json.go | 2 +- .../v1/integer_list_type_json.go | 2 +- .../v1/interface_list_type_json.go | 2 +- .../authorizations/v1/long_list_type_json.go | 2 +- .../v1/resource_review_builder.go | 14 - .../v1/resource_review_client.go | 6 - .../v1/resource_review_list_type_json.go | 2 +- .../v1/resource_review_request_builder.go | 8 - .../resource_review_request_list_type_json.go | 2 +- .../v1/resource_review_server.go | 6 - .../v1/self_access_review_client.go | 6 - .../v1/self_access_review_request_builder.go | 12 - ...lf_access_review_request_list_type_json.go | 2 +- .../v1/self_access_review_response_builder.go | 14 - ...f_access_review_response_list_type_json.go | 2 +- .../v1/self_access_review_server.go | 6 - .../v1/self_capability_review_client.go | 6 - .../self_capability_review_request_builder.go | 14 - ...apability_review_request_list_type_json.go | 2 +- ...self_capability_review_response_builder.go | 2 - ...pability_review_response_list_type_json.go | 2 +- .../self_capability_review_response_type.go | 4 - .../v1/self_capability_review_server.go | 6 - .../v1/self_feature_review_client.go | 6 - .../v1/self_feature_review_request_builder.go | 2 - ...f_feature_review_request_list_type_json.go | 2 +- .../self_feature_review_response_builder.go | 4 - ..._feature_review_response_list_type_json.go | 2 +- .../v1/self_feature_review_server.go | 6 - .../v1/self_terms_review_client.go | 6 - .../v1/self_terms_review_request_builder.go | 4 - ...elf_terms_review_request_list_type_json.go | 2 +- .../v1/self_terms_review_server.go | 6 - .../v1/string_list_type_json.go | 2 +- .../authorizations/v1/terms_review_client.go | 6 - .../v1/terms_review_request_builder.go | 8 - .../v1/terms_review_request_list_type_json.go | 2 +- .../v1/terms_review_response_builder.go | 10 - .../terms_review_response_list_type_json.go | 2 +- .../authorizations/v1/terms_review_server.go | 6 - .../clustersmgmt/v1/add_on_builder.go | 30 -- .../clustersmgmt/v1/add_on_client.go | 14 - .../v1/add_on_install_mode_list_type_json.go | 2 +- .../v1/add_on_installation_builder.go | 38 +-- .../v1/add_on_installation_client.go | 14 - .../v1/add_on_installation_list_type_json.go | 2 +- .../add_on_installation_parameter_builder.go | 2 - ...n_installation_parameter_list_type_json.go | 2 +- .../v1/add_on_installation_server.go | 8 - ...dd_on_installation_state_list_type_json.go | 2 +- .../clustersmgmt/v1/add_on_list_type_json.go | 2 +- .../v1/add_on_parameter_builder.go | 18 -- .../v1/add_on_parameter_list_type_json.go | 2 +- .../v1/add_on_parameter_option_builder.go | 4 - .../add_on_parameter_option_list_type_json.go | 2 +- .../v1/add_on_requirement_builder.go | 8 - .../v1/add_on_requirement_list_type_json.go | 2 +- .../clustersmgmt/v1/add_on_server.go | 8 - .../v1/add_on_sub_operator_builder.go | 6 - .../v1/add_on_sub_operator_list_type_json.go | 2 +- .../clustersmgmt/v1/addon_inquiries_client.go | 4 - .../clustersmgmt/v1/addon_inquiry_client.go | 10 - .../clustersmgmt/v1/addon_inquiry_server.go | 2 - .../v1/admin_credentials_builder.go | 4 - .../v1/admin_credentials_list_type_json.go | 2 +- .../clustersmgmt/v1/alert_info_builder.go | 2 - .../v1/alert_info_list_type_json.go | 2 +- .../v1/alert_severity_list_type_json.go | 2 +- .../clustersmgmt/v1/alerts_info_builder.go | 2 - .../v1/alerts_info_list_type_json.go | 2 +- .../clustersmgmt/v1/alerts_info_type.go | 4 - .../v1/alerts_metric_query_client.go | 10 - .../v1/alerts_metric_query_server.go | 2 - .../ocm-sdk-go/clustersmgmt/v1/aws_builder.go | 14 - .../clustersmgmt/v1/aws_flavour_builder.go | 6 - .../v1/aws_flavour_list_type_json.go | 2 +- .../aws_infrastructure_access_role_builder.go | 4 - .../aws_infrastructure_access_role_client.go | 8 - ...nfrastructure_access_role_grant_builder.go | 6 - ...infrastructure_access_role_grant_client.go | 8 - ...ucture_access_role_grant_list_type_json.go | 2 +- ...infrastructure_access_role_grant_server.go | 2 - ..._access_role_grant_state_list_type_json.go | 2 +- ...frastructure_access_role_list_type_json.go | 2 +- .../aws_infrastructure_access_role_server.go | 2 - ...ucture_access_role_state_list_type_json.go | 2 +- .../aws_infrastructure_access_roles_client.go | 2 - .../clustersmgmt/v1/aws_list_type_json.go | 2 +- .../v1/aws_machine_pool_list_type_json.go | 2 +- .../v1/aws_spot_market_options_builder.go | 2 - .../aws_spot_market_options_list_type_json.go | 2 +- .../clustersmgmt/v1/aws_volume_builder.go | 6 - .../v1/aws_volume_list_type_json.go | 2 +- .../clustersmgmt/v1/aws_volume_type.go | 4 +- .../v1/billing_model_list_type_json.go | 2 +- .../clustersmgmt/v1/boolean_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/ccs_builder.go | 6 - .../clustersmgmt/v1/ccs_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/ccs_type.go | 2 - .../clustersmgmt/v1/cloud_provider_builder.go | 4 - .../clustersmgmt/v1/cloud_provider_client.go | 8 - .../v1/cloud_provider_data_builder.go | 4 - .../v1/cloud_provider_data_list_type_json.go | 2 +- .../v1/cloud_provider_list_type_json.go | 2 +- .../clustersmgmt/v1/cloud_provider_server.go | 2 - .../clustersmgmt/v1/cloud_region_builder.go | 10 - .../clustersmgmt/v1/cloud_region_client.go | 8 - .../v1/cloud_region_list_type_json.go | 2 +- .../clustersmgmt/v1/cloud_region_server.go | 2 - .../clustersmgmt/v1/cloud_vpc_builder.go | 4 - .../v1/cloud_vpc_list_type_json.go | 2 +- .../clustersmgmt/v1/cluster_api_builder.go | 2 - .../v1/cluster_api_list_type_json.go | 2 +- .../clustersmgmt/v1/cluster_builder.go | 66 +--- .../clustersmgmt/v1/cluster_client.go | 14 - ...uster_configuration_mode_list_type_json.go | 2 +- .../v1/cluster_console_builder.go | 2 - .../v1/cluster_console_list_type_json.go | 2 +- .../v1/cluster_credentials_builder.go | 2 - .../v1/cluster_credentials_list_type_json.go | 2 +- .../v1/cluster_deployment_builder.go | 2 - .../v1/cluster_deployment_list_type_json.go | 2 +- .../v1/cluster_health_state_list_type_json.go | 2 +- .../clustersmgmt/v1/cluster_list_type_json.go | 2 +- .../clustersmgmt/v1/cluster_nodes_builder.go | 12 - .../v1/cluster_nodes_list_type_json.go | 2 +- .../v1/cluster_operator_info_builder.go | 10 - .../cluster_operator_info_list_type_json.go | 2 +- .../v1/cluster_operator_info_type.go | 2 - .../cluster_operator_state_list_type_json.go | 2 +- .../v1/cluster_operators_info_builder.go | 2 - .../cluster_operators_info_list_type_json.go | 2 +- .../v1/cluster_operators_info_type.go | 4 - .../cluster_operators_metric_query_client.go | 10 - .../cluster_operators_metric_query_server.go | 2 - .../v1/cluster_registration_builder.go | 6 - .../v1/cluster_registration_list_type_json.go | 2 +- .../v1/cluster_registration_type.go | 16 +- .../clustersmgmt/v1/cluster_server.go | 8 - .../v1/cluster_state_list_type_json.go | 2 +- .../clustersmgmt/v1/cluster_status_builder.go | 8 - .../clustersmgmt/v1/cluster_status_client.go | 10 - .../v1/cluster_status_list_type_json.go | 2 +- .../clustersmgmt/v1/cluster_status_server.go | 2 - .../clustersmgmt/v1/cluster_type.go | 28 +- ...al_by_node_roles_os_metric_query_client.go | 8 - ...al_by_node_roles_os_metric_query_server.go | 2 - ..._total_node_role_os_metric_node_builder.go | 8 - ...node_role_os_metric_node_list_type_json.go | 2 +- ...cpu_total_node_role_os_metric_node_type.go | 4 - ...totals_node_role_os_metric_node_builder.go | 2 - ...node_role_os_metric_node_list_type_json.go | 2 +- ...pu_totals_node_role_os_metric_node_type.go | 4 - .../clustersmgmt/v1/credentials_client.go | 8 - .../clustersmgmt/v1/credentials_server.go | 2 - .../clustersmgmt/v1/date_list_type_json.go | 2 +- .../v1/detection_type_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/dns_builder.go | 2 - .../clustersmgmt/v1/dns_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/dns_type.go | 40 +-- .../clustersmgmt/v1/encryption_key_builder.go | 2 - .../v1/encryption_key_list_type_json.go | 2 +- .../clustersmgmt/v1/event_builder.go | 2 - .../clustersmgmt/v1/event_list_type_json.go | 2 +- .../v1/external_configuration_builder.go | 4 - .../external_configuration_list_type_json.go | 2 +- .../clustersmgmt/v1/flavour_builder.go | 2 - .../clustersmgmt/v1/flavour_client.go | 14 - .../clustersmgmt/v1/flavour_list_type_json.go | 2 +- .../clustersmgmt/v1/flavour_nodes_builder.go | 2 - .../v1/flavour_nodes_list_type_json.go | 2 +- .../clustersmgmt/v1/flavour_server.go | 8 - .../clustersmgmt/v1/flavours_client.go | 2 - .../clustersmgmt/v1/float_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/gcp_builder.go | 20 -- .../clustersmgmt/v1/gcp_flavour_builder.go | 6 - .../v1/gcp_flavour_list_type_json.go | 2 +- .../clustersmgmt/v1/gcp_list_type_json.go | 2 +- .../v1/github_identity_provider_builder.go | 12 - ...github_identity_provider_list_type_json.go | 2 +- .../v1/gitlab_identity_provider_builder.go | 8 - ...gitlab_identity_provider_list_type_json.go | 2 +- .../v1/google_identity_provider_builder.go | 6 - ...google_identity_provider_list_type_json.go | 2 +- .../clustersmgmt/v1/group_builder.go | 2 - .../clustersmgmt/v1/group_client.go | 8 - .../clustersmgmt/v1/group_list_type_json.go | 2 +- .../clustersmgmt/v1/group_server.go | 2 - .../v1/ht_passwd_identity_provider_builder.go | 4 - ...passwd_identity_provider_list_type_json.go | 2 +- .../v1/identity_provider_builder.go | 6 - .../v1/identity_provider_client.go | 14 - .../v1/identity_provider_list_type_json.go | 2 +- ..._provider_mapping_method_list_type_json.go | 2 +- .../v1/identity_provider_server.go | 8 - .../identity_provider_type_list_type_json.go | 2 +- .../clustersmgmt/v1/ingress_builder.go | 34 +-- .../clustersmgmt/v1/ingress_client.go | 14 - .../clustersmgmt/v1/ingress_list_type_json.go | 2 +- .../clustersmgmt/v1/ingress_server.go | 8 - .../clustersmgmt/v1/ingresses_client.go | 6 - .../clustersmgmt/v1/ingresses_server.go | 6 - .../v1/instance_iam_roles_builder.go | 4 - .../v1/instance_iam_roles_list_type_json.go | 2 +- .../clustersmgmt/v1/integer_list_type_json.go | 2 +- .../v1/interface_list_type_json.go | 2 +- .../clustersmgmt/v1/key_ring_builder.go | 2 - .../v1/key_ring_list_type_json.go | 2 +- .../clustersmgmt/v1/label_builder.go | 4 - .../clustersmgmt/v1/label_client.go | 14 - .../clustersmgmt/v1/label_list_type_json.go | 2 +- .../clustersmgmt/v1/label_server.go | 8 - .../v1/ldap_attributes_builder.go | 8 - .../v1/ldap_attributes_list_type_json.go | 2 +- .../v1/ldap_identity_provider_builder.go | 10 - .../ldap_identity_provider_list_type_json.go | 2 +- .../v1/limited_support_reason_builder.go | 8 - .../v1/limited_support_reason_client.go | 8 - .../limited_support_reason_list_type_json.go | 2 +- .../v1/limited_support_reason_server.go | 2 - ...limited_support_reason_template_builder.go | 4 - .../limited_support_reason_template_client.go | 8 - ..._support_reason_template_list_type_json.go | 2 +- .../limited_support_reason_template_server.go | 2 - .../v1/listening_method_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/log_builder.go | 2 - .../clustersmgmt/v1/log_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/logs_client.go | 4 - .../clustersmgmt/v1/long_list_type_json.go | 2 +- .../v1/machine_pool_autoscaling_builder.go | 4 - ...machine_pool_autoscaling_list_type_json.go | 2 +- .../clustersmgmt/v1/machine_pool_builder.go | 38 +-- .../clustersmgmt/v1/machine_pool_client.go | 14 - .../v1/machine_pool_list_type_json.go | 2 +- .../clustersmgmt/v1/machine_pool_server.go | 8 - .../clustersmgmt/v1/machine_type_builder.go | 6 - .../machine_type_category_list_type_json.go | 2 +- .../clustersmgmt/v1/machine_type_client.go | 8 - .../v1/machine_type_list_type_json.go | 2 +- .../clustersmgmt/v1/machine_type_server.go | 2 - .../v1/machine_type_size_list_type_json.go | 2 +- .../clustersmgmt/v1/network_builder.go | 8 - .../clustersmgmt/v1/network_list_type_json.go | 2 +- .../clustersmgmt/v1/node_info_builder.go | 2 - .../v1/node_info_list_type_json.go | 2 +- .../v1/node_type_list_type_json.go | 2 +- .../clustersmgmt/v1/nodes_info_builder.go | 2 - .../v1/nodes_info_list_type_json.go | 2 +- .../clustersmgmt/v1/nodes_info_type.go | 4 - .../v1/nodes_metric_query_client.go | 10 - .../v1/nodes_metric_query_server.go | 2 - .../clustersmgmt/v1/open_id_claims_builder.go | 6 - .../v1/open_id_claims_list_type_json.go | 2 +- .../v1/open_id_identity_provider_builder.go | 12 - ...pen_id_identity_provider_list_type_json.go | 2 +- .../v1/operator_iam_role_builder.go | 6 - .../v1/operator_iam_role_list_type_json.go | 2 +- .../clustersmgmt/v1/product_builder.go | 2 - .../clustersmgmt/v1/product_client.go | 8 - .../clustersmgmt/v1/product_list_type_json.go | 2 +- .../clustersmgmt/v1/product_server.go | 2 - .../v1/provision_shard_builder.go | 4 - .../clustersmgmt/v1/provision_shard_client.go | 8 - .../v1/provision_shard_list_type_json.go | 2 +- .../clustersmgmt/v1/provision_shard_server.go | 2 - .../v1/provision_shards_client.go | 2 - .../clustersmgmt/v1/resource_builder.go | 6 - .../v1/resource_list_type_json.go | 2 +- .../clustersmgmt/v1/server_config_builder.go | 2 - .../v1/server_config_list_type_json.go | 2 +- ...al_by_node_roles_os_metric_query_client.go | 8 - ...al_by_node_roles_os_metric_query_server.go | 2 - ..._total_node_role_os_metric_node_builder.go | 8 - ...node_role_os_metric_node_list_type_json.go | 2 +- ...ket_total_node_role_os_metric_node_type.go | 4 - ...totals_node_role_os_metric_node_builder.go | 2 - ...node_role_os_metric_node_list_type_json.go | 2 +- ...et_totals_node_role_os_metric_node_type.go | 4 - .../v1/ssh_credentials_builder.go | 4 - .../v1/ssh_credentials_list_type_json.go | 2 +- .../clustersmgmt/v1/string_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/sts_builder.go | 10 - .../clustersmgmt/v1/sts_list_type_json.go | 2 +- .../v1/subscription_list_type_json.go | 2 +- .../clustersmgmt/v1/syncset_builder.go | 2 - .../clustersmgmt/v1/syncset_client.go | 14 - .../clustersmgmt/v1/syncset_list_type_json.go | 2 +- .../clustersmgmt/v1/syncset_server.go | 8 - .../clustersmgmt/v1/taint_builder.go | 6 - .../clustersmgmt/v1/taint_list_type_json.go | 2 +- .../clustersmgmt/v1/upgrade_policy_builder.go | 12 - .../clustersmgmt/v1/upgrade_policy_client.go | 14 - .../v1/upgrade_policy_list_type_json.go | 2 +- .../clustersmgmt/v1/upgrade_policy_server.go | 8 - .../v1/upgrade_policy_state_builder.go | 2 - .../v1/upgrade_policy_state_client.go | 14 - .../v1/upgrade_policy_state_list_type_json.go | 2 +- .../v1/upgrade_policy_state_server.go | 8 - ...grade_policy_state_value_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/user_client.go | 8 - .../clustersmgmt/v1/user_list_type_json.go | 2 +- .../ocm-sdk-go/clustersmgmt/v1/user_server.go | 2 - .../clustersmgmt/v1/value_builder.go | 4 - .../clustersmgmt/v1/value_list_type_json.go | 2 +- .../clustersmgmt/v1/version_builder.go | 14 - .../clustersmgmt/v1/version_client.go | 8 - .../clustersmgmt/v1/version_list_type_json.go | 2 +- .../clustersmgmt/v1/version_server.go | 2 - .../ocm-sdk-go/configuration/doc.go | 2 +- .../openshift-online/ocm-sdk-go/connection.go | 6 +- .../ocm-sdk-go/internal/server_address.go | 10 +- .../ocm-sdk-go/internal/system_cas_other.go | 1 + .../ocm-sdk-go/internal/system_cas_windows.go | 1 + .../jobqueue/v1/boolean_list_type_json.go | 2 +- .../jobqueue/v1/date_list_type_json.go | 2 +- .../jobqueue/v1/float_list_type_json.go | 2 +- .../jobqueue/v1/integer_list_type_json.go | 2 +- .../jobqueue/v1/interface_list_type_json.go | 2 +- .../ocm-sdk-go/jobqueue/v1/job_builder.go | 12 - .../ocm-sdk-go/jobqueue/v1/job_client.go | 2 - .../jobqueue/v1/job_list_type_json.go | 2 +- .../ocm-sdk-go/jobqueue/v1/job_server.go | 4 - .../ocm-sdk-go/jobqueue/v1/job_type.go | 8 - .../jobqueue/v1/long_list_type_json.go | 2 +- .../ocm-sdk-go/jobqueue/v1/queue_builder.go | 12 - .../ocm-sdk-go/jobqueue/v1/queue_client.go | 88 ------ .../jobqueue/v1/queue_list_type_json.go | 2 +- .../ocm-sdk-go/jobqueue/v1/queue_server.go | 54 ---- .../ocm-sdk-go/jobqueue/v1/queue_type.go | 18 -- .../jobqueue/v1/string_list_type_json.go | 2 +- .../ocm-sdk-go/metrics/handler_wrapper.go | 6 +- .../ocm-sdk-go/metrics/transport_wrapper.go | 6 +- .../servicelogs/v1/boolean_list_type_json.go | 2 +- .../servicelogs/v1/date_list_type_json.go | 2 +- .../servicelogs/v1/float_list_type_json.go | 2 +- .../servicelogs/v1/integer_list_type_json.go | 2 +- .../v1/interface_list_type_json.go | 2 +- .../servicelogs/v1/log_entry_builder.go | 18 -- .../servicelogs/v1/log_entry_client.go | 8 - .../v1/log_entry_list_type_json.go | 2 +- .../servicelogs/v1/log_entry_server.go | 2 - .../servicelogs/v1/log_entry_type.go | 6 - .../servicelogs/v1/long_list_type_json.go | 2 +- .../servicelogs/v1/severity_list_type_json.go | 2 +- .../servicelogs/v1/string_list_type_json.go | 2 +- .../api/config/v1/types_cluster_version.go | 4 +- .../api/common/zz_generated.deepcopy.go | 2 - .../v1beta1/zz_generated.deepcopy.go | 2 +- .../conditions/v1/zz_generated.deepcopy.go | 1 + .../pkg/types/installconfig_libvirt.go | 1 + .../opentracing/opentracing-go/ext/tags.go | 5 +- .../opentracing/opentracing-go/gocontext.go | 10 +- .../opentracing/opentracing-go/log/field.go | 15 +- .../opentracing/opentracing-go/propagation.go | 15 +- .../opentracing/opentracing-go/tracer.go | 21 +- vendor/github.com/pkg/errors/errors.go | 74 ++--- vendor/github.com/pkg/errors/go113.go | 1 + vendor/github.com/pkg/errors/stack.go | 20 +- .../pmezard/go-difflib/difflib/difflib.go | 13 +- .../power-devops/perfstat/config.go | 1 + .../power-devops/perfstat/cpustat.go | 1 + .../power-devops/perfstat/diskstat.go | 1 + .../github.com/power-devops/perfstat/doc.go | 13 +- .../power-devops/perfstat/fsstat.go | 1 + .../power-devops/perfstat/helpers.go | 1 + .../power-devops/perfstat/lparstat.go | 1 + .../power-devops/perfstat/lvmstat.go | 1 + .../power-devops/perfstat/memstat.go | 1 + .../power-devops/perfstat/netstat.go | 1 + .../power-devops/perfstat/procstat.go | 1 + .../power-devops/perfstat/sysconf.go | 1 + .../power-devops/perfstat/systemcfg.go | 1 + .../power-devops/perfstat/uptime.go | 1 + .../prometheus/client_model/go/metrics.pb.go | 5 +- vendor/github.com/sirupsen/logrus/doc.go | 26 +- .../github.com/sirupsen/logrus/formatter.go | 4 +- vendor/github.com/sirupsen/logrus/logger.go | 18 +- .../logrus/terminal_check_appengine.go | 1 + .../sirupsen/logrus/terminal_check_bsd.go | 1 + .../sirupsen/logrus/terminal_check_js.go | 1 + .../logrus/terminal_check_no_terminal.go | 1 + .../logrus/terminal_check_notappengine.go | 1 + .../sirupsen/logrus/terminal_check_unix.go | 1 + .../sirupsen/logrus/terminal_check_windows.go | 1 + vendor/github.com/spf13/pflag/flag.go | 19 +- vendor/github.com/spf13/pflag/string_slice.go | 28 +- vendor/github.com/ssgreg/journald/doc.go | 6 +- vendor/github.com/ssgreg/journald/send.go | 1 - .../github.com/ssgreg/journald/write_msg.go | 13 +- .../ssgreg/journald/write_msg_go1.9.go | 1 + vendor/github.com/thoas/go-funk/builder.go | 6 +- vendor/github.com/thoas/go-funk/subset.go | 2 +- vendor/github.com/thoas/go-funk/utils.go | 3 +- .../vincent-petithory/dataurl/dataurl.go | 4 +- .../vincent-petithory/dataurl/doc.go | 1 - .../netlink/conntrack_unspecified.go | 1 + .../vishvananda/netlink/fou_linux.go | 1 + .../vishvananda/netlink/fou_unspecified.go | 1 + .../netlink/genetlink_unspecified.go | 1 + .../vishvananda/netlink/handle_unspecified.go | 1 + vendor/github.com/vishvananda/netlink/link.go | 1 + .../netlink/netlink_unspecified.go | 1 + .../vishvananda/netlink/netns_unspecified.go | 1 + .../vishvananda/netlink/nl/conntrack_linux.go | 208 +++++++------ .../vishvananda/netlink/nl/nl_linux.go | 14 +- .../vishvananda/netlink/nl/nl_unspecified.go | 1 + .../vishvananda/netlink/nl/seg6local_linux.go | 2 - .../vishvananda/netlink/nl/tc_linux.go | 48 +-- .../vishvananda/netlink/rdma_link_linux.go | 1 + .../github.com/vishvananda/netlink/route.go | 2 +- .../vishvananda/netlink/route_linux.go | 1 - .../vishvananda/netlink/route_unspecified.go | 1 + .../vishvananda/netns/netns_unspecified.go | 1 + .../protobuf/internal/impl/merge_gen.go | 2 - .../types/descriptorpb/descriptor.pb.go | 5 +- .../types/gofeaturespb/go_features.pb.go | 5 +- .../protobuf/types/known/anypb/any.pb.go | 7 +- .../types/known/durationpb/duration.pb.go | 5 +- .../types/known/timestamppb/timestamp.pb.go | 5 +- vendor/gopkg.in/fsnotify.v1/fen.go | 1 + vendor/gopkg.in/fsnotify.v1/fsnotify.go | 1 + vendor/gopkg.in/fsnotify.v1/inotify.go | 1 + vendor/gopkg.in/fsnotify.v1/inotify_poller.go | 1 + vendor/gopkg.in/fsnotify.v1/kqueue.go | 1 + vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go | 1 + .../gopkg.in/fsnotify.v1/open_mode_darwin.go | 1 + vendor/gopkg.in/fsnotify.v1/windows.go | 1 + .../go-jose/go-jose.v2/json/decode.go | 3 +- .../go-jose/go-jose.v2/json/encode.go | 28 +- .../go-jose/go-jose.v2/json/stream.go | 1 - vendor/gopkg.in/inf.v0/dec.go | 50 ++- vendor/gopkg.in/inf.v0/rounder.go | 1 - vendor/gopkg.in/tomb.v1/tomb.go | 15 +- vendor/gopkg.in/yaml.v2/apic.go | 2 +- vendor/gopkg.in/yaml.v2/emitterc.go | 7 +- vendor/gopkg.in/yaml.v2/parserc.go | 140 +++++---- vendor/gopkg.in/yaml.v2/readerc.go | 2 +- vendor/gopkg.in/yaml.v2/resolve.go | 2 +- vendor/gopkg.in/yaml.v2/scannerc.go | 34 ++- vendor/gopkg.in/yaml.v2/sorter.go | 2 +- vendor/gopkg.in/yaml.v2/yaml.go | 55 ++-- vendor/gopkg.in/yaml.v2/yamlh.go | 9 +- vendor/gopkg.in/yaml.v3/apic.go | 8 +- vendor/gopkg.in/yaml.v3/emitterc.go | 9 +- vendor/gopkg.in/yaml.v3/parserc.go | 140 +++++---- vendor/gopkg.in/yaml.v3/readerc.go | 8 +- vendor/gopkg.in/yaml.v3/scannerc.go | 42 +-- vendor/gopkg.in/yaml.v3/writerc.go | 8 +- vendor/gopkg.in/yaml.v3/yaml.go | 75 +++-- vendor/gopkg.in/yaml.v3/yamlh.go | 10 +- vendor/gopkg.in/yaml.v3/yamlprivateh.go | 20 +- vendor/howett.net/plist/decode.go | 10 +- vendor/howett.net/plist/encode.go | 4 +- vendor/howett.net/plist/fuzz.go | 1 + vendor/howett.net/plist/plist_types.go | 2 +- vendor/howett.net/plist/zerocopy.go | 1 + vendor/howett.net/plist/zerocopy_appengine.go | 1 + .../clientauthentication/install/install.go | 2 +- .../tools/clientcmd/api/latest/latest.go | 2 +- .../k8s.io/client-go/tools/reference/ref.go | 2 +- vendor/sigs.k8s.io/yaml/goyaml.v2/apic.go | 2 +- vendor/sigs.k8s.io/yaml/goyaml.v2/emitterc.go | 7 +- vendor/sigs.k8s.io/yaml/goyaml.v2/parserc.go | 140 +++++---- vendor/sigs.k8s.io/yaml/goyaml.v2/readerc.go | 2 +- vendor/sigs.k8s.io/yaml/goyaml.v2/resolve.go | 2 +- vendor/sigs.k8s.io/yaml/goyaml.v2/scannerc.go | 34 ++- vendor/sigs.k8s.io/yaml/goyaml.v2/sorter.go | 2 +- vendor/sigs.k8s.io/yaml/goyaml.v2/yaml.go | 55 ++-- vendor/sigs.k8s.io/yaml/goyaml.v2/yamlh.go | 9 +- vendor/sigs.k8s.io/yaml/yaml.go | 2 +- 894 files changed, 2611 insertions(+), 5409 deletions(-) diff --git a/.gitignore b/.gitignore index 5190f5cd3..421e2bfa6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ subsystem/logs .project subsystem/data/*.leases* *.log +**/junit_unit_test.xml diff --git a/Dockerfile.assisted_installer_agent-build b/Dockerfile.assisted_installer_agent-build index 616297afd..08f40a0ed 100644 --- a/Dockerfile.assisted_installer_agent-build +++ b/Dockerfile.assisted_installer_agent-build @@ -6,7 +6,7 @@ RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/i go install golang.org/x/tools/cmd/goimports@v0.1.0 && \ go install github.com/onsi/ginkgo/ginkgo@v1.16.1 && \ go install github.com/golang/mock/mockgen@v1.6.0 && \ - go install github.com/vektra/mockery/v2@v2.9.6 && \ + go install github.com/vektra/mockery/v2@v2.39.2 && \ go install gotest.tools/gotestsum@v1.6.3 && \ go install github.com/axw/gocov/gocov@v1.1.0 && \ go install github.com/AlekSi/gocov-xml@v1.1.0 diff --git a/pkg/journalLogger/mock_IJournalWriter.go b/pkg/journalLogger/mock_IJournalWriter.go index f09061c40..9f2a181db 100644 --- a/pkg/journalLogger/mock_IJournalWriter.go +++ b/pkg/journalLogger/mock_IJournalWriter.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package journalLogger @@ -16,6 +16,10 @@ type MockIJournalWriter struct { func (_m *MockIJournalWriter) Send(msg string, p journald.Priority, fields map[string]interface{}) error { ret := _m.Called(msg, p, fields) + if len(ret) == 0 { + panic("no return value specified for Send") + } + var r0 error if rf, ok := ret.Get(0).(func(string, journald.Priority, map[string]interface{}) error); ok { r0 = rf(msg, p, fields) @@ -26,13 +30,12 @@ func (_m *MockIJournalWriter) Send(msg string, p journald.Priority, fields map[s return r0 } -type mockConstructorTestingTNewMockIJournalWriter interface { +// NewMockIJournalWriter creates a new instance of MockIJournalWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockIJournalWriter(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockIJournalWriter creates a new instance of MockIJournalWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockIJournalWriter(t mockConstructorTestingTNewMockIJournalWriter) *MockIJournalWriter { +}) *MockIJournalWriter { mock := &MockIJournalWriter{} mock.Mock.Test(t) diff --git a/src/connectivity_check/connectivity_check_test.go b/src/connectivity_check/connectivity_check_test.go index 1af2e6c5e..fd8e3a68a 100644 --- a/src/connectivity_check/connectivity_check_test.go +++ b/src/connectivity_check/connectivity_check_test.go @@ -218,7 +218,7 @@ var _ = Describe("check host parallel validation", func() { It(t.name, func() { d := setupDispather(t.simulateL2IPConflict, t.success, t.hosts.Nics) ret, err := d.Run(models.ConnectivityCheckParams{t.hosts}, funk.Map(t.nics, func(s string) OutgoingNic { - return OutgoingNic{Name: s, HasIpv4Addresses: true, HasIpv6Addresses: true} + return OutgoingNic{Name: s, HasIpv4Addresses: true, HasIpv6Addresses: true, Addresses: getAddr("192.168.1.133", 24)} }).([]OutgoingNic)) Expect(err).ToNot(HaveOccurred()) Expect(ret.RemoteHosts).To(HaveLen(1)) @@ -346,3 +346,13 @@ func TestConnectivityCheck(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "connectivity check tests") } + +func getAddr(addr string, mask int) []net.Addr { + localIP := net.ParseIP(addr) + localMask := net.CIDRMask(mask, 32) + + return []net.Addr{&net.IPNet{ + IP: localIP, + Mask: localMask, + }} +} diff --git a/src/connectivity_check/ipv4_arping_checker_test.go b/src/connectivity_check/ipv4_arping_checker_test.go index ca8a2f2bb..9b9b878e6 100644 --- a/src/connectivity_check/ipv4_arping_checker_test.go +++ b/src/connectivity_check/ipv4_arping_checker_test.go @@ -55,7 +55,7 @@ Received 0 response(s) attributes := Attributes{ RemoteIPAddress: remoteIPAddress, RemoteMACAddress: remoteMACAddress, - OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true}, + OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true, Addresses: getAddr(outgoingIPAddress, 24)}, RemoteMACAddresses: remoteMACAddresses, } mockFullReply(remoteIPAddress, remoteMACAddress) @@ -84,7 +84,7 @@ Received 0 response(s) attributes := Attributes{ RemoteIPAddress: remoteIPAddress, RemoteMACAddress: remoteMACAddress, - OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true}, + OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true, Addresses: getAddr(outgoingIPAddress, 24)}, RemoteMACAddresses: remoteMACAddresses, } mockFullReply(remoteIPAddress, secondaryMACAddress) @@ -103,7 +103,7 @@ Received 0 response(s) attributes := Attributes{ RemoteIPAddress: remoteIPAddress, RemoteMACAddress: remoteMACAddress, - OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true}, + OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true, Addresses: getAddr(outgoingIPAddress, 24)}, RemoteMACAddresses: remoteMACAddresses, } mockFullReply(remoteIPAddress, additionalMACAddress) @@ -122,7 +122,7 @@ Received 0 response(s) attributes := Attributes{ RemoteIPAddress: remoteIPAddress, RemoteMACAddress: remoteMACAddress, - OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true}, + OutgoingNIC: OutgoingNic{Name: outgoingNIC, HasIpv4Addresses: true, Addresses: getAddr(outgoingIPAddress, 24)}, RemoteMACAddresses: remoteMACAddresses, } mockEmptyReply(remoteIPAddress) diff --git a/src/connectivity_check/mock_Checker.go b/src/connectivity_check/mock_Checker.go index 214615655..449eee717 100644 --- a/src/connectivity_check/mock_Checker.go +++ b/src/connectivity_check/mock_Checker.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package connectivity_check @@ -16,6 +16,10 @@ type MockChecker struct { func (_m *MockChecker) Check(attributes Attributes) ResultReporter { ret := _m.Called(attributes) + if len(ret) == 0 { + panic("no return value specified for Check") + } + var r0 ResultReporter if rf, ok := ret.Get(0).(func(Attributes) ResultReporter); ok { r0 = rf(attributes) @@ -32,6 +36,10 @@ func (_m *MockChecker) Check(attributes Attributes) ResultReporter { func (_m *MockChecker) Features() Features { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for Features") + } + var r0 Features if rf, ok := ret.Get(0).(func() Features); ok { r0 = rf() @@ -47,13 +55,12 @@ func (_m *MockChecker) Finalize(resultingHost *models.ConnectivityRemoteHost) { _m.Called(resultingHost) } -type mockConstructorTestingTNewMockChecker interface { +// NewMockChecker creates a new instance of MockChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockChecker(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockChecker creates a new instance of MockChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockChecker(t mockConstructorTestingTNewMockChecker) *MockChecker { +}) *MockChecker { mock := &MockChecker{} mock.Mock.Test(t) diff --git a/src/connectivity_check/mock_Executer.go b/src/connectivity_check/mock_Executer.go index f0a304d32..b248d95f2 100644 --- a/src/connectivity_check/mock_Executer.go +++ b/src/connectivity_check/mock_Executer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package connectivity_check @@ -20,14 +20,21 @@ func (_m *MockExecuter) Execute(command string, args ...string) (string, error) _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Execute") + } + var r0 string + var r1 error + if rf, ok := ret.Get(0).(func(string, ...string) (string, error)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 error if rf, ok := ret.Get(1).(func(string, ...string) error); ok { r1 = rf(command, args...) } else { @@ -37,13 +44,12 @@ func (_m *MockExecuter) Execute(command string, args ...string) (string, error) return r0, r1 } -type mockConstructorTestingTNewMockExecuter interface { +// NewMockExecuter creates a new instance of MockExecuter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockExecuter(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockExecuter creates a new instance of MockExecuter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockExecuter(t mockConstructorTestingTNewMockExecuter) *MockExecuter { +}) *MockExecuter { mock := &MockExecuter{} mock.Mock.Test(t) diff --git a/src/connectivity_check/mock_ResultReporter.go b/src/connectivity_check/mock_ResultReporter.go index 8d72111c9..4df33458c 100644 --- a/src/connectivity_check/mock_ResultReporter.go +++ b/src/connectivity_check/mock_ResultReporter.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package connectivity_check @@ -16,6 +16,10 @@ type MockResultReporter struct { func (_m *MockResultReporter) Report(resultingHost *models.ConnectivityRemoteHost) error { ret := _m.Called(resultingHost) + if len(ret) == 0 { + panic("no return value specified for Report") + } + var r0 error if rf, ok := ret.Get(0).(func(*models.ConnectivityRemoteHost) error); ok { r0 = rf(resultingHost) @@ -26,13 +30,12 @@ func (_m *MockResultReporter) Report(resultingHost *models.ConnectivityRemoteHos return r0 } -type mockConstructorTestingTNewMockResultReporter interface { +// NewMockResultReporter creates a new instance of MockResultReporter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockResultReporter(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockResultReporter creates a new instance of MockResultReporter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockResultReporter(t mockConstructorTestingTNewMockResultReporter) *MockResultReporter { +}) *MockResultReporter { mock := &MockResultReporter{} mock.Mock.Test(t) diff --git a/src/container_image_availability/mock_ImageAvailabilityDependencies.go b/src/container_image_availability/mock_ImageAvailabilityDependencies.go index 875611359..37efd703b 100644 --- a/src/container_image_availability/mock_ImageAvailabilityDependencies.go +++ b/src/container_image_availability/mock_ImageAvailabilityDependencies.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package container_image_availability @@ -20,21 +20,28 @@ func (_m *MockImageAvailabilityDependencies) ExecutePrivileged(command string, a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecutePrivileged") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -44,13 +51,12 @@ func (_m *MockImageAvailabilityDependencies) ExecutePrivileged(command string, a return r0, r1, r2 } -type mockConstructorTestingTNewMockImageAvailabilityDependencies interface { +// NewMockImageAvailabilityDependencies creates a new instance of MockImageAvailabilityDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockImageAvailabilityDependencies(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockImageAvailabilityDependencies creates a new instance of MockImageAvailabilityDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockImageAvailabilityDependencies(t mockConstructorTestingTNewMockImageAvailabilityDependencies) *MockImageAvailabilityDependencies { +}) *MockImageAvailabilityDependencies { mock := &MockImageAvailabilityDependencies{} mock.Mock.Test(t) diff --git a/src/dhcp_lease_allocate/mock_Dependencies.go b/src/dhcp_lease_allocate/mock_Dependencies.go index 21f545cf1..83fcf01f0 100644 --- a/src/dhcp_lease_allocate/mock_Dependencies.go +++ b/src/dhcp_lease_allocate/mock_Dependencies.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package dhcp_lease_allocate @@ -29,21 +29,28 @@ func (_m *MockDependencies) Execute(command string, args ...string) (string, str _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Execute") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -57,21 +64,28 @@ func (_m *MockDependencies) Execute(command string, args ...string) (string, str func (_m *MockDependencies) GetLastLeaseFromFile(log logrus.FieldLogger, fileName string) (string, string, error) { ret := _m.Called(log, fileName) + if len(ret) == 0 { + panic("no return value specified for GetLastLeaseFromFile") + } + var r0 string + var r1 string + var r2 error + if rf, ok := ret.Get(0).(func(logrus.FieldLogger, string) (string, string, error)); ok { + return rf(log, fileName) + } if rf, ok := ret.Get(0).(func(logrus.FieldLogger, string) string); ok { r0 = rf(log, fileName) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(logrus.FieldLogger, string) string); ok { r1 = rf(log, fileName) } else { r1 = ret.Get(1).(string) } - var r2 error if rf, ok := ret.Get(2).(func(logrus.FieldLogger, string) error); ok { r2 = rf(log, fileName) } else { @@ -85,7 +99,15 @@ func (_m *MockDependencies) GetLastLeaseFromFile(log logrus.FieldLogger, fileNam func (_m *MockDependencies) LeaseInterface(log logrus.FieldLogger, masterDevice string, name string, mac net.HardwareAddr) (*net.Interface, error) { ret := _m.Called(log, masterDevice, name, mac) + if len(ret) == 0 { + panic("no return value specified for LeaseInterface") + } + var r0 *net.Interface + var r1 error + if rf, ok := ret.Get(0).(func(logrus.FieldLogger, string, string, net.HardwareAddr) (*net.Interface, error)); ok { + return rf(log, masterDevice, name, mac) + } if rf, ok := ret.Get(0).(func(logrus.FieldLogger, string, string, net.HardwareAddr) *net.Interface); ok { r0 = rf(log, masterDevice, name, mac) } else { @@ -94,7 +116,6 @@ func (_m *MockDependencies) LeaseInterface(log logrus.FieldLogger, masterDevice } } - var r1 error if rf, ok := ret.Get(1).(func(logrus.FieldLogger, string, string, net.HardwareAddr) error); ok { r1 = rf(log, masterDevice, name, mac) } else { @@ -108,7 +129,15 @@ func (_m *MockDependencies) LeaseInterface(log logrus.FieldLogger, masterDevice func (_m *MockDependencies) LinkByName(name string) (netlink.Link, error) { ret := _m.Called(name) + if len(ret) == 0 { + panic("no return value specified for LinkByName") + } + var r0 netlink.Link + var r1 error + if rf, ok := ret.Get(0).(func(string) (netlink.Link, error)); ok { + return rf(name) + } if rf, ok := ret.Get(0).(func(string) netlink.Link); ok { r0 = rf(name) } else { @@ -117,7 +146,6 @@ func (_m *MockDependencies) LinkByName(name string) (netlink.Link, error) { } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(name) } else { @@ -131,6 +159,10 @@ func (_m *MockDependencies) LinkByName(name string) (netlink.Link, error) { func (_m *MockDependencies) LinkDel(link netlink.Link) error { ret := _m.Called(link) + if len(ret) == 0 { + panic("no return value specified for LinkDel") + } + var r0 error if rf, ok := ret.Get(0).(func(netlink.Link) error); ok { r0 = rf(link) @@ -145,6 +177,10 @@ func (_m *MockDependencies) LinkDel(link netlink.Link) error { func (_m *MockDependencies) MkdirAll(path string, perm fs.FileMode) error { ret := _m.Called(path, perm) + if len(ret) == 0 { + panic("no return value specified for MkdirAll") + } + var r0 error if rf, ok := ret.Get(0).(func(string, fs.FileMode) error); ok { r0 = rf(path, perm) @@ -159,7 +195,15 @@ func (_m *MockDependencies) MkdirAll(path string, perm fs.FileMode) error { func (_m *MockDependencies) ReadFile(filename string) ([]byte, error) { ret := _m.Called(filename) + if len(ret) == 0 { + panic("no return value specified for ReadFile") + } + var r0 []byte + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]byte, error)); ok { + return rf(filename) + } if rf, ok := ret.Get(0).(func(string) []byte); ok { r0 = rf(filename) } else { @@ -168,7 +212,6 @@ func (_m *MockDependencies) ReadFile(filename string) ([]byte, error) { } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(filename) } else { @@ -182,6 +225,10 @@ func (_m *MockDependencies) ReadFile(filename string) ([]byte, error) { func (_m *MockDependencies) WriteFile(filename string, data []byte, perm fs.FileMode) error { ret := _m.Called(filename, data, perm) + if len(ret) == 0 { + panic("no return value specified for WriteFile") + } + var r0 error if rf, ok := ret.Get(0).(func(string, []byte, fs.FileMode) error); ok { r0 = rf(filename, data, perm) @@ -192,13 +239,12 @@ func (_m *MockDependencies) WriteFile(filename string, data []byte, perm fs.File return r0 } -type mockConstructorTestingTNewMockDependencies interface { +// NewMockDependencies creates a new instance of MockDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockDependencies(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockDependencies creates a new instance of MockDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockDependencies(t mockConstructorTestingTNewMockDependencies) *MockDependencies { +}) *MockDependencies { mock := &MockDependencies{} mock.Mock.Test(t) diff --git a/src/disk_speed_check/mock_IDependencies.go b/src/disk_speed_check/mock_IDependencies.go index a7b999233..ab669f447 100644 --- a/src/disk_speed_check/mock_IDependencies.go +++ b/src/disk_speed_check/mock_IDependencies.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package disk_speed_check @@ -20,21 +20,28 @@ func (_m *MockIDependencies) Execute(command string, args ...string) (string, st _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Execute") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -44,13 +51,12 @@ func (_m *MockIDependencies) Execute(command string, args ...string) (string, st return r0, r1, r2 } -type mockConstructorTestingTNewMockIDependencies interface { +// NewMockIDependencies creates a new instance of MockIDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockIDependencies(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockIDependencies creates a new instance of MockIDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockIDependencies(t mockConstructorTestingTNewMockIDependencies) *MockIDependencies { +}) *MockIDependencies { mock := &MockIDependencies{} mock.Mock.Test(t) diff --git a/src/domain_resolution/mock_DomainResolutionDependencies.go b/src/domain_resolution/mock_DomainResolutionDependencies.go index 2a1fab519..2e0d1a74c 100644 --- a/src/domain_resolution/mock_DomainResolutionDependencies.go +++ b/src/domain_resolution/mock_DomainResolutionDependencies.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.43.1. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package domain_resolution diff --git a/src/free_addresses/mock_Executer.go b/src/free_addresses/mock_Executer.go index f2e7c6395..08f283d08 100644 --- a/src/free_addresses/mock_Executer.go +++ b/src/free_addresses/mock_Executer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package free_addresses @@ -20,21 +20,28 @@ func (_m *MockExecuter) Execute(command string, args ...string) (string, string, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Execute") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -44,13 +51,12 @@ func (_m *MockExecuter) Execute(command string, args ...string) (string, string, return r0, r1, r2 } -type mockConstructorTestingTNewMockExecuter interface { +// NewMockExecuter creates a new instance of MockExecuter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockExecuter(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockExecuter creates a new instance of MockExecuter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockExecuter(t mockConstructorTestingTNewMockExecuter) *MockExecuter { +}) *MockExecuter { mock := &MockExecuter{} mock.Mock.Test(t) diff --git a/src/inventory/mock_FileInfo.go b/src/inventory/mock_FileInfo.go index c2dd6e349..3705035f7 100644 --- a/src/inventory/mock_FileInfo.go +++ b/src/inventory/mock_FileInfo.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package inventory @@ -18,6 +18,10 @@ type MockFileInfo struct { func (_m *MockFileInfo) IsDir() bool { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for IsDir") + } + var r0 bool if rf, ok := ret.Get(0).(func() bool); ok { r0 = rf() @@ -32,6 +36,10 @@ func (_m *MockFileInfo) IsDir() bool { func (_m *MockFileInfo) ModTime() time.Time { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for ModTime") + } + var r0 time.Time if rf, ok := ret.Get(0).(func() time.Time); ok { r0 = rf() @@ -46,6 +54,10 @@ func (_m *MockFileInfo) ModTime() time.Time { func (_m *MockFileInfo) Mode() fs.FileMode { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for Mode") + } + var r0 fs.FileMode if rf, ok := ret.Get(0).(func() fs.FileMode); ok { r0 = rf() @@ -60,6 +72,10 @@ func (_m *MockFileInfo) Mode() fs.FileMode { func (_m *MockFileInfo) Name() string { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for Name") + } + var r0 string if rf, ok := ret.Get(0).(func() string); ok { r0 = rf() @@ -74,6 +90,10 @@ func (_m *MockFileInfo) Name() string { func (_m *MockFileInfo) Size() int64 { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for Size") + } + var r0 int64 if rf, ok := ret.Get(0).(func() int64); ok { r0 = rf() @@ -88,6 +108,10 @@ func (_m *MockFileInfo) Size() int64 { func (_m *MockFileInfo) Sys() interface{} { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for Sys") + } + var r0 interface{} if rf, ok := ret.Get(0).(func() interface{}); ok { r0 = rf() @@ -100,13 +124,12 @@ func (_m *MockFileInfo) Sys() interface{} { return r0 } -type mockConstructorTestingTNewMockFileInfo interface { +// NewMockFileInfo creates a new instance of MockFileInfo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockFileInfo(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockFileInfo creates a new instance of MockFileInfo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockFileInfo(t mockConstructorTestingTNewMockFileInfo) *MockFileInfo { +}) *MockFileInfo { mock := &MockFileInfo{} mock.Mock.Test(t) diff --git a/src/logs_sender/mock_LogsSender.go b/src/logs_sender/mock_LogsSender.go index 22a688dd0..bb0cac5df 100644 --- a/src/logs_sender/mock_LogsSender.go +++ b/src/logs_sender/mock_LogsSender.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package logs_sender @@ -16,6 +16,10 @@ type MockLogsSender struct { func (_m *MockLogsSender) CreateFolderIfNotExist(folder string) error { ret := _m.Called(folder) + if len(ret) == 0 { + panic("no return value specified for CreateFolderIfNotExist") + } + var r0 error if rf, ok := ret.Get(0).(func(string) error); ok { r0 = rf(folder) @@ -37,21 +41,28 @@ func (_m *MockLogsSender) Execute(command string, args ...string) (string, strin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Execute") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -72,14 +83,21 @@ func (_m *MockLogsSender) ExecuteOutputToFile(outputFilePath string, command str _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecuteOutputToFile") + } + var r0 string + var r1 int + if rf, ok := ret.Get(0).(func(string, string, ...string) (string, int)); ok { + return rf(outputFilePath, command, args...) + } if rf, ok := ret.Get(0).(func(string, string, ...string) string); ok { r0 = rf(outputFilePath, command, args...) } else { r0 = ret.Get(0).(string) } - var r1 int if rf, ok := ret.Get(1).(func(string, string, ...string) int); ok { r1 = rf(outputFilePath, command, args...) } else { @@ -100,21 +118,28 @@ func (_m *MockLogsSender) ExecutePrivileged(command string, args ...string) (str _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecutePrivileged") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -135,14 +160,21 @@ func (_m *MockLogsSender) ExecutePrivilegedToFile(outputFilePath string, command _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecutePrivilegedToFile") + } + var r0 string + var r1 int + if rf, ok := ret.Get(0).(func(string, string, ...string) (string, int)); ok { + return rf(outputFilePath, command, args...) + } if rf, ok := ret.Get(0).(func(string, string, ...string) string); ok { r0 = rf(outputFilePath, command, args...) } else { r0 = ret.Get(0).(string) } - var r1 int if rf, ok := ret.Get(1).(func(string, string, ...string) int); ok { r1 = rf(outputFilePath, command, args...) } else { @@ -156,6 +188,10 @@ func (_m *MockLogsSender) ExecutePrivilegedToFile(outputFilePath string, command func (_m *MockLogsSender) FileUploader(filePath string) error { ret := _m.Called(filePath) + if len(ret) == 0 { + panic("no return value specified for FileUploader") + } + var r0 error if rf, ok := ret.Get(0).(func(string) error); ok { r0 = rf(filePath) @@ -170,6 +206,10 @@ func (_m *MockLogsSender) FileUploader(filePath string) error { func (_m *MockLogsSender) GatherErrorLogs(targetDir string) error { ret := _m.Called(targetDir) + if len(ret) == 0 { + panic("no return value specified for GatherErrorLogs") + } + var r0 error if rf, ok := ret.Get(0).(func(string) error); ok { r0 = rf(targetDir) @@ -184,6 +224,10 @@ func (_m *MockLogsSender) GatherErrorLogs(targetDir string) error { func (_m *MockLogsSender) GatherInstallerLogs(targetDir string) error { ret := _m.Called(targetDir) + if len(ret) == 0 { + panic("no return value specified for GatherInstallerLogs") + } + var r0 error if rf, ok := ret.Get(0).(func(string) error); ok { r0 = rf(targetDir) @@ -198,6 +242,10 @@ func (_m *MockLogsSender) GatherInstallerLogs(targetDir string) error { func (_m *MockLogsSender) LogProgressReport(progress models.LogsState) error { ret := _m.Called(progress) + if len(ret) == 0 { + panic("no return value specified for LogProgressReport") + } + var r0 error if rf, ok := ret.Get(0).(func(models.LogsState) error); ok { r0 = rf(progress) @@ -208,13 +256,12 @@ func (_m *MockLogsSender) LogProgressReport(progress models.LogsState) error { return r0 } -type mockConstructorTestingTNewMockLogsSender interface { +// NewMockLogsSender creates a new instance of MockLogsSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockLogsSender(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockLogsSender creates a new instance of MockLogsSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockLogsSender(t mockConstructorTestingTNewMockLogsSender) *MockLogsSender { +}) *MockLogsSender { mock := &MockLogsSender{} mock.Mock.Test(t) diff --git a/src/ntp_synchronizer/mock_NtpSynchronizerDependencies.go b/src/ntp_synchronizer/mock_NtpSynchronizerDependencies.go index fc6a18ee8..7cea2fec9 100644 --- a/src/ntp_synchronizer/mock_NtpSynchronizerDependencies.go +++ b/src/ntp_synchronizer/mock_NtpSynchronizerDependencies.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package ntp_synchronizer @@ -20,21 +20,28 @@ func (_m *MockNtpSynchronizerDependencies) ExecutePrivileged(command string, arg _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecutePrivileged") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -48,7 +55,15 @@ func (_m *MockNtpSynchronizerDependencies) ExecutePrivileged(command string, arg func (_m *MockNtpSynchronizerDependencies) LookupAddr(addr string) ([]string, error) { ret := _m.Called(addr) + if len(ret) == 0 { + panic("no return value specified for LookupAddr") + } + var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]string, error)); ok { + return rf(addr) + } if rf, ok := ret.Get(0).(func(string) []string); ok { r0 = rf(addr) } else { @@ -57,7 +72,6 @@ func (_m *MockNtpSynchronizerDependencies) LookupAddr(addr string) ([]string, er } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(addr) } else { @@ -71,7 +85,15 @@ func (_m *MockNtpSynchronizerDependencies) LookupAddr(addr string) ([]string, er func (_m *MockNtpSynchronizerDependencies) LookupHost(host string) ([]string, error) { ret := _m.Called(host) + if len(ret) == 0 { + panic("no return value specified for LookupHost") + } + var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]string, error)); ok { + return rf(host) + } if rf, ok := ret.Get(0).(func(string) []string); ok { r0 = rf(host) } else { @@ -80,7 +102,6 @@ func (_m *MockNtpSynchronizerDependencies) LookupHost(host string) ([]string, er } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(host) } else { @@ -90,13 +111,12 @@ func (_m *MockNtpSynchronizerDependencies) LookupHost(host string) ([]string, er return r0, r1 } -type mockConstructorTestingTNewMockNtpSynchronizerDependencies interface { +// NewMockNtpSynchronizerDependencies creates a new instance of MockNtpSynchronizerDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockNtpSynchronizerDependencies(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockNtpSynchronizerDependencies creates a new instance of MockNtpSynchronizerDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockNtpSynchronizerDependencies(t mockConstructorTestingTNewMockNtpSynchronizerDependencies) *MockNtpSynchronizerDependencies { +}) *MockNtpSynchronizerDependencies { mock := &MockNtpSynchronizerDependencies{} mock.Mock.Test(t) diff --git a/src/scanners/mock_SerialDiscovery.go b/src/scanners/mock_SerialDiscovery.go index 6f37c661b..af0c53bdf 100644 --- a/src/scanners/mock_SerialDiscovery.go +++ b/src/scanners/mock_SerialDiscovery.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package scanners @@ -26,7 +26,15 @@ func (_m *MockSerialDiscovery) Baseboard(opts ...*option.Option) (*baseboard.Inf _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Baseboard") + } + var r0 *baseboard.Info + var r1 error + if rf, ok := ret.Get(0).(func(...*option.Option) (*baseboard.Info, error)); ok { + return rf(opts...) + } if rf, ok := ret.Get(0).(func(...*option.Option) *baseboard.Info); ok { r0 = rf(opts...) } else { @@ -35,7 +43,6 @@ func (_m *MockSerialDiscovery) Baseboard(opts ...*option.Option) (*baseboard.Inf } } - var r1 error if rf, ok := ret.Get(1).(func(...*option.Option) error); ok { r1 = rf(opts...) } else { @@ -55,7 +62,15 @@ func (_m *MockSerialDiscovery) Product(opts ...*option.Option) (*product.Info, e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Product") + } + var r0 *product.Info + var r1 error + if rf, ok := ret.Get(0).(func(...*option.Option) (*product.Info, error)); ok { + return rf(opts...) + } if rf, ok := ret.Get(0).(func(...*option.Option) *product.Info); ok { r0 = rf(opts...) } else { @@ -64,7 +79,6 @@ func (_m *MockSerialDiscovery) Product(opts ...*option.Option) (*product.Info, e } } - var r1 error if rf, ok := ret.Get(1).(func(...*option.Option) error); ok { r1 = rf(opts...) } else { @@ -74,13 +88,12 @@ func (_m *MockSerialDiscovery) Product(opts ...*option.Option) (*product.Info, e return r0, r1 } -type mockConstructorTestingTNewMockSerialDiscovery interface { +// NewMockSerialDiscovery creates a new instance of MockSerialDiscovery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockSerialDiscovery(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockSerialDiscovery creates a new instance of MockSerialDiscovery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockSerialDiscovery(t mockConstructorTestingTNewMockSerialDiscovery) *MockSerialDiscovery { +}) *MockSerialDiscovery { mock := &MockSerialDiscovery{} mock.Mock.Test(t) diff --git a/src/upgrade_agent/mock_Dependencies.go b/src/upgrade_agent/mock_Dependencies.go index 94fd5a85b..84fd84e58 100644 --- a/src/upgrade_agent/mock_Dependencies.go +++ b/src/upgrade_agent/mock_Dependencies.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package upgrade_agent @@ -20,21 +20,28 @@ func (_m *MockDependencies) ExecutePrivileged(command string, args ...string) (s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecutePrivileged") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -44,13 +51,12 @@ func (_m *MockDependencies) ExecutePrivileged(command string, args ...string) (s return r0, r1, r2 } -type mockConstructorTestingTNewMockDependencies interface { +// NewMockDependencies creates a new instance of MockDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockDependencies(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockDependencies creates a new instance of MockDependencies. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockDependencies(t mockConstructorTestingTNewMockDependencies) *MockDependencies { +}) *MockDependencies { mock := &MockDependencies{} mock.Mock.Test(t) diff --git a/src/util/mock_IDependencies.go b/src/util/mock_IDependencies.go index 5fb57edbd..94f92c0fb 100644 --- a/src/util/mock_IDependencies.go +++ b/src/util/mock_IDependencies.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.46.0. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package util diff --git a/src/util/mock_Interface.go b/src/util/mock_Interface.go index 243c3fc1d..4342f0863 100644 --- a/src/util/mock_Interface.go +++ b/src/util/mock_Interface.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.46.0. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package util diff --git a/src/util/mock_Link.go b/src/util/mock_Link.go index 6b597a131..830b25fb4 100644 --- a/src/util/mock_Link.go +++ b/src/util/mock_Link.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.46.0. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package util diff --git a/src/util/mock_RouteFinder.go b/src/util/mock_RouteFinder.go index 1619aaf96..bfc37a3c2 100644 --- a/src/util/mock_RouteFinder.go +++ b/src/util/mock_RouteFinder.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.46.0. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package util diff --git a/src/vips_verifier/mock_Executer.go b/src/vips_verifier/mock_Executer.go index 7a8ec3e5c..29723c9de 100644 --- a/src/vips_verifier/mock_Executer.go +++ b/src/vips_verifier/mock_Executer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.6. DO NOT EDIT. +// Code generated by mockery v2.39.2. DO NOT EDIT. package vips_verifier @@ -20,21 +20,28 @@ func (_m *MockExecuter) Execute(command string, args ...string) (string, string, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for Execute") + } + var r0 string + var r1 string + var r2 int + if rf, ok := ret.Get(0).(func(string, ...string) (string, string, int)); ok { + return rf(command, args...) + } if rf, ok := ret.Get(0).(func(string, ...string) string); ok { r0 = rf(command, args...) } else { r0 = ret.Get(0).(string) } - var r1 string if rf, ok := ret.Get(1).(func(string, ...string) string); ok { r1 = rf(command, args...) } else { r1 = ret.Get(1).(string) } - var r2 int if rf, ok := ret.Get(2).(func(string, ...string) int); ok { r2 = rf(command, args...) } else { @@ -44,13 +51,12 @@ func (_m *MockExecuter) Execute(command string, args ...string) (string, string, return r0, r1, r2 } -type mockConstructorTestingTNewMockExecuter interface { +// NewMockExecuter creates a new instance of MockExecuter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewMockExecuter(t interface { mock.TestingT Cleanup(func()) -} - -// NewMockExecuter creates a new instance of MockExecuter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewMockExecuter(t mockConstructorTestingTNewMockExecuter) *MockExecuter { +}) *MockExecuter { mock := &MockExecuter{} mock.Mock.Test(t) diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go b/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go index 5599082ae..bf71684f4 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/api.go b/vendor/github.com/Azure/go-ansiterm/winterm/api.go index 6055e33b9..2f297601b 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/api.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/api.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go b/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go index cbec8f728..644d8b2b4 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go b/vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go index 3ee06ea72..6b4b8a1ef 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go b/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go index 244b5fa25..1298544a3 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go b/vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go index 2d27fa1d0..03ab280c1 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go b/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go index afa7635d7..3535349f0 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go b/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go index 2d40fb75a..1e19ea0c3 100644 --- a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go +++ b/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package winterm diff --git a/vendor/github.com/StackExchange/wmi/swbemservices.go b/vendor/github.com/StackExchange/wmi/swbemservices.go index 3ff875630..a250c846d 100644 --- a/vendor/github.com/StackExchange/wmi/swbemservices.go +++ b/vendor/github.com/StackExchange/wmi/swbemservices.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package wmi diff --git a/vendor/github.com/StackExchange/wmi/wmi.go b/vendor/github.com/StackExchange/wmi/wmi.go index b4bb4f090..d596de27e 100644 --- a/vendor/github.com/StackExchange/wmi/wmi.go +++ b/vendor/github.com/StackExchange/wmi/wmi.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows /* @@ -20,7 +21,6 @@ Example code to print names of running processes: println(i, v.Name) } } - */ package wmi diff --git a/vendor/github.com/alecthomas/units/doc.go b/vendor/github.com/alecthomas/units/doc.go index 156ae3867..b5f011858 100644 --- a/vendor/github.com/alecthomas/units/doc.go +++ b/vendor/github.com/alecthomas/units/doc.go @@ -2,12 +2,11 @@ // // The goal of this package is to have functionality similar to the time [1] package. // -// // [1] http://golang.org/pkg/time/ // // It allows for code like this: // -// n, err := ParseBase2Bytes("1KB") -// // n == 1024 -// n = units.Mebibyte * 512 +// n, err := ParseBase2Bytes("1KB") +// // n == 1024 +// n = units.Mebibyte * 512 package units diff --git a/vendor/github.com/asaskevich/govalidator/types.go b/vendor/github.com/asaskevich/govalidator/types.go index c573abb51..e84671169 100644 --- a/vendor/github.com/asaskevich/govalidator/types.go +++ b/vendor/github.com/asaskevich/govalidator/types.go @@ -177,7 +177,7 @@ type ISO3166Entry struct { Numeric string } -//ISO3166List based on https://www.iso.org/obp/ui/#search/code/ Code Type "Officially Assigned Codes" +// ISO3166List based on https://www.iso.org/obp/ui/#search/code/ Code Type "Officially Assigned Codes" var ISO3166List = []ISO3166Entry{ {"Afghanistan", "Afghanistan (l')", "AF", "AFG", "004"}, {"Albania", "Albanie (l')", "AL", "ALB", "008"}, @@ -467,7 +467,7 @@ type ISO693Entry struct { English string } -//ISO693List based on http://data.okfn.org/data/core/language-codes/r/language-codes-3b2.json +// ISO693List based on http://data.okfn.org/data/core/language-codes/r/language-codes-3b2.json var ISO693List = []ISO693Entry{ {Alpha3bCode: "aar", Alpha2Code: "aa", English: "Afar"}, {Alpha3bCode: "abk", Alpha2Code: "ab", English: "Abkhazian"}, diff --git a/vendor/github.com/asaskevich/govalidator/validator.go b/vendor/github.com/asaskevich/govalidator/validator.go index c9c4fac06..4779e820e 100644 --- a/vendor/github.com/asaskevich/govalidator/validator.go +++ b/vendor/github.com/asaskevich/govalidator/validator.go @@ -37,25 +37,32 @@ const rfc3339WithoutZone = "2006-01-02T15:04:05" // SetFieldsRequiredByDefault causes validation to fail when struct fields // do not include validations or are not explicitly marked as exempt (using `valid:"-"` or `valid:"email,optional"`). // This struct definition will fail govalidator.ValidateStruct() (and the field values do not matter): -// type exampleStruct struct { -// Name string `` -// Email string `valid:"email"` +// +// type exampleStruct struct { +// Name string `` +// Email string `valid:"email"` +// // This, however, will only fail when Email is empty or an invalid email address: -// type exampleStruct2 struct { -// Name string `valid:"-"` -// Email string `valid:"email"` +// +// type exampleStruct2 struct { +// Name string `valid:"-"` +// Email string `valid:"email"` +// // Lastly, this will only fail when Email is an invalid email address but not when it's empty: -// type exampleStruct2 struct { -// Name string `valid:"-"` -// Email string `valid:"email,optional"` +// +// type exampleStruct2 struct { +// Name string `valid:"-"` +// Email string `valid:"email,optional"` func SetFieldsRequiredByDefault(value bool) { fieldsRequiredByDefault = value } // SetNilPtrAllowedByRequired causes validation to pass for nil ptrs when a field is set to required. // The validation will still reject ptr fields in their zero value state. Example with this enabled: -// type exampleStruct struct { -// Name *string `valid:"required"` +// +// type exampleStruct struct { +// Name *string `valid:"required"` +// // With `Name` set to "", this will be considered invalid input and will cause a validation error. // With `Name` set to nil, this will be considered valid by validation. // By default this is disabled. @@ -154,8 +161,8 @@ func IsAlpha(str string) bool { return rxAlpha.MatchString(str) } -//IsUTFLetter checks if the string contains only unicode letter characters. -//Similar to IsAlpha but for all languages. Empty string is valid. +// IsUTFLetter checks if the string contains only unicode letter characters. +// Similar to IsAlpha but for all languages. Empty string is valid. func IsUTFLetter(str string) bool { if IsNull(str) { return true @@ -398,8 +405,8 @@ const ulidEncodedSize = 26 // IsULID checks if the string is a ULID. // // Implementation got from: -// https://github.com/oklog/ulid (Apache-2.0 License) // +// https://github.com/oklog/ulid (Apache-2.0 License) func IsULID(str string) bool { // Check if a base32 encoded ULID is the right length. if len(str) != ulidEncodedSize { @@ -454,26 +461,26 @@ func IsCreditCard(str string) bool { if !rxCreditCard.MatchString(sanitized) { return false } - + number, _ := ToInt(sanitized) - number, lastDigit := number / 10, number % 10 + number, lastDigit := number/10, number%10 var sum int64 - for i:=0; number > 0; i++ { + for i := 0; number > 0; i++ { digit := number % 10 - - if i % 2 == 0 { + + if i%2 == 0 { digit *= 2 if digit > 9 { digit -= 9 } } - + sum += digit number = number / 10 } - - return (sum + lastDigit) % 10 == 0 + + return (sum+lastDigit)%10 == 0 } // IsISBN10 checks if the string is an ISBN version 10. @@ -595,7 +602,7 @@ func IsFilePath(str string) (bool, int) { return false, Unknown } -//IsWinFilePath checks both relative & absolute paths in Windows +// IsWinFilePath checks both relative & absolute paths in Windows func IsWinFilePath(str string) bool { if rxARWinPath.MatchString(str) { //check windows path limit see: @@ -608,7 +615,7 @@ func IsWinFilePath(str string) bool { return false } -//IsUnixFilePath checks both relative & absolute paths in Unix +// IsUnixFilePath checks both relative & absolute paths in Unix func IsUnixFilePath(str string) bool { if rxARUnixPath.MatchString(str) { return true @@ -1000,7 +1007,8 @@ func ValidateArray(array []interface{}, iterator ConditionIterator) bool { // result will be equal to `false` if there are any errors. // s is the map containing the data to be validated. // m is the validation map in the form: -// map[string]interface{}{"name":"required,alpha","address":map[string]interface{}{"line1":"required,alphanum"}} +// +// map[string]interface{}{"name":"required,alpha","address":map[string]interface{}{"line1":"required,alphanum"}} func ValidateMap(s map[string]interface{}, m map[string]interface{}) (bool, error) { if s == nil { return true, nil diff --git a/vendor/github.com/beorn7/perks/quantile/stream.go b/vendor/github.com/beorn7/perks/quantile/stream.go index d7d14f8eb..593625434 100644 --- a/vendor/github.com/beorn7/perks/quantile/stream.go +++ b/vendor/github.com/beorn7/perks/quantile/stream.go @@ -9,7 +9,7 @@ // // For more detailed information about the algorithm used, see: // -// Effective Computation of Biased Quantiles over Data Streams +// # Effective Computation of Biased Quantiles over Data Streams // // http://www.cs.rutgers.edu/~muthu/bquant.pdf package quantile diff --git a/vendor/github.com/cenkalti/backoff/v4/exponential.go b/vendor/github.com/cenkalti/backoff/v4/exponential.go index aac99f196..c022296a2 100644 --- a/vendor/github.com/cenkalti/backoff/v4/exponential.go +++ b/vendor/github.com/cenkalti/backoff/v4/exponential.go @@ -11,17 +11,17 @@ period for each retry attempt using a randomization function that grows exponent NextBackOff() is calculated using the following formula: - randomized interval = - RetryInterval * (random value in range [1 - RandomizationFactor, 1 + RandomizationFactor]) + randomized interval = + RetryInterval * (random value in range [1 - RandomizationFactor, 1 + RandomizationFactor]) In other words NextBackOff() will range between the randomization factor percentage below and above the retry interval. For example, given the following parameters: - RetryInterval = 2 - RandomizationFactor = 0.5 - Multiplier = 2 + RetryInterval = 2 + RandomizationFactor = 0.5 + Multiplier = 2 the actual backoff period used in the next retry attempt will range between 1 and 3 seconds, multiplied by the exponential, that is, between 2 and 6 seconds. @@ -36,18 +36,18 @@ The elapsed time can be reset by calling Reset(). Example: Given the following default arguments, for 10 tries the sequence will be, and assuming we go over the MaxElapsedTime on the 10th try: - Request # RetryInterval (seconds) Randomized Interval (seconds) + Request # RetryInterval (seconds) Randomized Interval (seconds) - 1 0.5 [0.25, 0.75] - 2 0.75 [0.375, 1.125] - 3 1.125 [0.562, 1.687] - 4 1.687 [0.8435, 2.53] - 5 2.53 [1.265, 3.795] - 6 3.795 [1.897, 5.692] - 7 5.692 [2.846, 8.538] - 8 8.538 [4.269, 12.807] - 9 12.807 [6.403, 19.210] - 10 19.210 backoff.Stop + 1 0.5 [0.25, 0.75] + 2 0.75 [0.375, 1.125] + 3 1.125 [0.562, 1.687] + 4 1.687 [0.8435, 2.53] + 5 2.53 [1.265, 3.795] + 6 3.795 [1.897, 5.692] + 7 5.692 [2.846, 8.538] + 8 8.538 [4.269, 12.807] + 9 12.807 [6.403, 19.210] + 10 19.210 backoff.Stop Note: Implementation is not thread-safe. */ @@ -167,7 +167,8 @@ func (b *ExponentialBackOff) Reset() { } // NextBackOff calculates the next backoff interval using the formula: -// Randomized interval = RetryInterval * (1 ± RandomizationFactor) +// +// Randomized interval = RetryInterval * (1 ± RandomizationFactor) func (b *ExponentialBackOff) NextBackOff() time.Duration { // Make sure we have not gone over the maximum elapsed time. elapsed := b.GetElapsedTime() @@ -200,7 +201,8 @@ func (b *ExponentialBackOff) incrementCurrentInterval() { } // Returns a random value from the following interval: -// [currentInterval - randomizationFactor * currentInterval, currentInterval + randomizationFactor * currentInterval]. +// +// [currentInterval - randomizationFactor * currentInterval, currentInterval + randomizationFactor * currentInterval]. func getRandomValueFromInterval(randomizationFactor, random float64, currentInterval time.Duration) time.Duration { if randomizationFactor == 0 { return currentInterval // make sure no randomness is used when randomizationFactor is 0. diff --git a/vendor/github.com/coreos/go-iptables/iptables/iptables.go b/vendor/github.com/coreos/go-iptables/iptables/iptables.go index 85047e59d..9ca675ee3 100644 --- a/vendor/github.com/coreos/go-iptables/iptables/iptables.go +++ b/vendor/github.com/coreos/go-iptables/iptables/iptables.go @@ -109,6 +109,7 @@ func Timeout(timeout int) option { // For backwards compatibility, by default always uses IPv4 and timeout 0. // i.e. you can create an IPv6 IPTables using a timeout of 5 seconds passing // the IPFamily and Timeout options as follow: +// // ip6t := New(IPFamily(ProtocolIPv6), Timeout(5)) func New(opts ...option) (*IPTables, error) { @@ -619,7 +620,7 @@ func iptablesHasWaitCommand(v1 int, v2 int, v3 int) bool { return false } -//Checks if an iptablse version is after 1.6.0, when --wait support second +// Checks if an iptablse version is after 1.6.0, when --wait support second func iptablesWaitSupportSecond(v1 int, v2 int, v3 int) bool { if v1 > 1 { return true diff --git a/vendor/github.com/coreos/go-json/decode.go b/vendor/github.com/coreos/go-json/decode.go index ae0730936..5b2a5492c 100644 --- a/vendor/github.com/coreos/go-json/decode.go +++ b/vendor/github.com/coreos/go-json/decode.go @@ -85,14 +85,13 @@ import ( // // The JSON null value unmarshals into an interface, map, pointer, or slice // by setting that Go value to nil. Because null is often used in JSON to mean -// ``not present,'' unmarshaling a JSON null into any other Go type has no effect +// “not present,” unmarshaling a JSON null into any other Go type has no effect // on the value and produces no error. // // When unmarshaling quoted strings, invalid UTF-8 or // invalid UTF-16 surrogate pairs are not treated as an error. // Instead, they are replaced by the Unicode replacement // character U+FFFD. -// func Unmarshal(data []byte, v any) error { // Check for well-formedness. // Avoids filling out half a data structure diff --git a/vendor/github.com/coreos/go-json/encode.go b/vendor/github.com/coreos/go-json/encode.go index 1f5e3e446..c62134969 100644 --- a/vendor/github.com/coreos/go-json/encode.go +++ b/vendor/github.com/coreos/go-json/encode.go @@ -77,31 +77,31 @@ import ( // // Examples of struct field tags and their meanings: // -// // Field appears in JSON as key "myName". -// Field int `json:"myName"` +// // Field appears in JSON as key "myName". +// Field int `json:"myName"` // -// // Field appears in JSON as key "myName" and -// // the field is omitted from the object if its value is empty, -// // as defined above. -// Field int `json:"myName,omitempty"` +// // Field appears in JSON as key "myName" and +// // the field is omitted from the object if its value is empty, +// // as defined above. +// Field int `json:"myName,omitempty"` // -// // Field appears in JSON as key "Field" (the default), but -// // the field is skipped if empty. -// // Note the leading comma. -// Field int `json:",omitempty"` +// // Field appears in JSON as key "Field" (the default), but +// // the field is skipped if empty. +// // Note the leading comma. +// Field int `json:",omitempty"` // -// // Field is ignored by this package. -// Field int `json:"-"` +// // Field is ignored by this package. +// Field int `json:"-"` // -// // Field appears in JSON as key "-". -// Field int `json:"-,"` +// // Field appears in JSON as key "-". +// Field int `json:"-,"` // // The "string" option signals that a field is stored as JSON inside a // JSON-encoded string. It applies only to fields of string, floating point, // integer, or boolean types. This extra level of encoding is sometimes used // when communicating with JavaScript programs: // -// Int64String int64 `json:",string"` +// Int64String int64 `json:",string"` // // The key name will be used if it's a non-empty string consisting of // only Unicode letters, digits, and ASCII punctuation except quotation @@ -154,7 +154,6 @@ import ( // JSON cannot represent cyclic data structures and Marshal does not // handle them. Passing cyclic structures to Marshal will result in // an error. -// func Marshal(v any) ([]byte, error) { e := newEncodeState() diff --git a/vendor/github.com/coreos/go-json/fold.go b/vendor/github.com/coreos/go-json/fold.go index 9e170127d..ab249b2bb 100644 --- a/vendor/github.com/coreos/go-json/fold.go +++ b/vendor/github.com/coreos/go-json/fold.go @@ -24,8 +24,9 @@ const ( // 4) simpleLetterEqualFold, no specials, no non-letters. // // The letters S and K are special because they map to 3 runes, not just 2: -// * S maps to s and to U+017F 'ſ' Latin small letter long s -// * k maps to K and to U+212A 'K' Kelvin sign +// - S maps to s and to U+017F 'ſ' Latin small letter long s +// - k maps to K and to U+212A 'K' Kelvin sign +// // See https://play.golang.org/p/tTxjOc0OGo // // The returned function is specialized for matching against s and diff --git a/vendor/github.com/coreos/go-json/stream.go b/vendor/github.com/coreos/go-json/stream.go index 6362170d5..b278ee401 100644 --- a/vendor/github.com/coreos/go-json/stream.go +++ b/vendor/github.com/coreos/go-json/stream.go @@ -287,7 +287,6 @@ var _ Unmarshaler = (*RawMessage)(nil) // Number, for JSON numbers // string, for JSON string literals // nil, for JSON null -// type Token any const ( diff --git a/vendor/github.com/davecgh/go-spew/spew/bypass.go b/vendor/github.com/davecgh/go-spew/spew/bypass.go index 792994785..70ddeaad3 100644 --- a/vendor/github.com/davecgh/go-spew/spew/bypass.go +++ b/vendor/github.com/davecgh/go-spew/spew/bypass.go @@ -18,6 +18,7 @@ // tag is deprecated and thus should not be used. // Go versions prior to 1.4 are disabled because they use a different layout // for interfaces which make the implementation of unsafeReflectValue more complex. +//go:build !js && !appengine && !safe && !disableunsafe && go1.4 // +build !js,!appengine,!safe,!disableunsafe,go1.4 package spew diff --git a/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go index 205c28d68..5e2d890d6 100644 --- a/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +++ b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go @@ -16,6 +16,7 @@ // when the code is running on Google App Engine, compiled by GopherJS, or // "-tags safe" is added to the go build command line. The "disableunsafe" // tag is deprecated and thus should not be used. +//go:build js || appengine || safe || disableunsafe || !go1.4 // +build js appengine safe disableunsafe !go1.4 package spew diff --git a/vendor/github.com/davecgh/go-spew/spew/config.go b/vendor/github.com/davecgh/go-spew/spew/config.go index 2e3d22f31..161895fc6 100644 --- a/vendor/github.com/davecgh/go-spew/spew/config.go +++ b/vendor/github.com/davecgh/go-spew/spew/config.go @@ -254,15 +254,15 @@ pointer addresses used to indirect to the final value. It provides the following features over the built-in printing facilities provided by the fmt package: - * Pointers are dereferenced and followed - * Circular data structures are detected and handled properly - * Custom Stringer/error interfaces are optionally invoked, including - on unexported types - * Custom types which only implement the Stringer/error interfaces via - a pointer receiver are optionally invoked when passing non-pointer - variables - * Byte arrays and slices are dumped like the hexdump -C command which - includes offsets, byte values in hex, and ASCII output + - Pointers are dereferenced and followed + - Circular data structures are detected and handled properly + - Custom Stringer/error interfaces are optionally invoked, including + on unexported types + - Custom types which only implement the Stringer/error interfaces via + a pointer receiver are optionally invoked when passing non-pointer + variables + - Byte arrays and slices are dumped like the hexdump -C command which + includes offsets, byte values in hex, and ASCII output The configuration options are controlled by modifying the public members of c. See ConfigState for options documentation. @@ -295,12 +295,12 @@ func (c *ConfigState) convertArgs(args []interface{}) (formatters []interface{}) // NewDefaultConfig returns a ConfigState with the following default settings. // -// Indent: " " -// MaxDepth: 0 -// DisableMethods: false -// DisablePointerMethods: false -// ContinueOnMethod: false -// SortKeys: false +// Indent: " " +// MaxDepth: 0 +// DisableMethods: false +// DisablePointerMethods: false +// ContinueOnMethod: false +// SortKeys: false func NewDefaultConfig() *ConfigState { return &ConfigState{Indent: " "} } diff --git a/vendor/github.com/davecgh/go-spew/spew/doc.go b/vendor/github.com/davecgh/go-spew/spew/doc.go index aacaac6f1..722e9aa79 100644 --- a/vendor/github.com/davecgh/go-spew/spew/doc.go +++ b/vendor/github.com/davecgh/go-spew/spew/doc.go @@ -21,35 +21,36 @@ debugging. A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows: - * Pointers are dereferenced and followed - * Circular data structures are detected and handled properly - * Custom Stringer/error interfaces are optionally invoked, including - on unexported types - * Custom types which only implement the Stringer/error interfaces via - a pointer receiver are optionally invoked when passing non-pointer - variables - * Byte arrays and slices are dumped like the hexdump -C command which - includes offsets, byte values in hex, and ASCII output (only when using - Dump style) + - Pointers are dereferenced and followed + - Circular data structures are detected and handled properly + - Custom Stringer/error interfaces are optionally invoked, including + on unexported types + - Custom types which only implement the Stringer/error interfaces via + a pointer receiver are optionally invoked when passing non-pointer + variables + - Byte arrays and slices are dumped like the hexdump -C command which + includes offsets, byte values in hex, and ASCII output (only when using + Dump style) There are two different approaches spew allows for dumping Go data structures: - * Dump style which prints with newlines, customizable indentation, - and additional debug information such as types and all pointer addresses - used to indirect to the final value - * A custom Formatter interface that integrates cleanly with the standard fmt - package and replaces %v, %+v, %#v, and %#+v to provide inline printing - similar to the default %v while providing the additional functionality - outlined above and passing unsupported format verbs such as %x and %q - along to fmt + - Dump style which prints with newlines, customizable indentation, + and additional debug information such as types and all pointer addresses + used to indirect to the final value + - A custom Formatter interface that integrates cleanly with the standard fmt + package and replaces %v, %+v, %#v, and %#+v to provide inline printing + similar to the default %v while providing the additional functionality + outlined above and passing unsupported format verbs such as %x and %q + along to fmt -Quick Start +# Quick Start This section demonstrates how to quickly get started with spew. See the sections below for further details on formatting and configuration options. To dump a variable with full newlines, indentation, type, and pointer information use Dump, Fdump, or Sdump: + spew.Dump(myVar1, myVar2, ...) spew.Fdump(someWriter, myVar1, myVar2, ...) str := spew.Sdump(myVar1, myVar2, ...) @@ -58,12 +59,13 @@ Alternatively, if you would prefer to use format strings with a compacted inline printing style, use the convenience wrappers Printf, Fprintf, etc with %v (most compact), %+v (adds pointer addresses), %#v (adds types), or %#+v (adds types and pointer addresses): + spew.Printf("myVar1: %v -- myVar2: %+v", myVar1, myVar2) spew.Printf("myVar3: %#v -- myVar4: %#+v", myVar3, myVar4) spew.Fprintf(someWriter, "myVar1: %v -- myVar2: %+v", myVar1, myVar2) spew.Fprintf(someWriter, "myVar3: %#v -- myVar4: %#+v", myVar3, myVar4) -Configuration Options +# Configuration Options Configuration of spew is handled by fields in the ConfigState type. For convenience, all of the top-level functions use a global state available @@ -74,51 +76,52 @@ equivalent to the top-level functions. This allows concurrent configuration options. See the ConfigState documentation for more details. The following configuration options are available: - * Indent - String to use for each indentation level for Dump functions. - It is a single space by default. A popular alternative is "\t". - - * MaxDepth - Maximum number of levels to descend into nested data structures. - There is no limit by default. - - * DisableMethods - Disables invocation of error and Stringer interface methods. - Method invocation is enabled by default. - - * DisablePointerMethods - Disables invocation of error and Stringer interface methods on types - which only accept pointer receivers from non-pointer variables. - Pointer method invocation is enabled by default. - - * DisablePointerAddresses - DisablePointerAddresses specifies whether to disable the printing of - pointer addresses. This is useful when diffing data structures in tests. - - * DisableCapacities - DisableCapacities specifies whether to disable the printing of - capacities for arrays, slices, maps and channels. This is useful when - diffing data structures in tests. - - * ContinueOnMethod - Enables recursion into types after invoking error and Stringer interface - methods. Recursion after method invocation is disabled by default. - - * SortKeys - Specifies map keys should be sorted before being printed. Use - this to have a more deterministic, diffable output. Note that - only native types (bool, int, uint, floats, uintptr and string) - and types which implement error or Stringer interfaces are - supported with other types sorted according to the - reflect.Value.String() output which guarantees display - stability. Natural map order is used by default. - - * SpewKeys - Specifies that, as a last resort attempt, map keys should be - spewed to strings and sorted by those strings. This is only - considered if SortKeys is true. - -Dump Usage + + - Indent + String to use for each indentation level for Dump functions. + It is a single space by default. A popular alternative is "\t". + + - MaxDepth + Maximum number of levels to descend into nested data structures. + There is no limit by default. + + - DisableMethods + Disables invocation of error and Stringer interface methods. + Method invocation is enabled by default. + + - DisablePointerMethods + Disables invocation of error and Stringer interface methods on types + which only accept pointer receivers from non-pointer variables. + Pointer method invocation is enabled by default. + + - DisablePointerAddresses + DisablePointerAddresses specifies whether to disable the printing of + pointer addresses. This is useful when diffing data structures in tests. + + - DisableCapacities + DisableCapacities specifies whether to disable the printing of + capacities for arrays, slices, maps and channels. This is useful when + diffing data structures in tests. + + - ContinueOnMethod + Enables recursion into types after invoking error and Stringer interface + methods. Recursion after method invocation is disabled by default. + + - SortKeys + Specifies map keys should be sorted before being printed. Use + this to have a more deterministic, diffable output. Note that + only native types (bool, int, uint, floats, uintptr and string) + and types which implement error or Stringer interfaces are + supported with other types sorted according to the + reflect.Value.String() output which guarantees display + stability. Natural map order is used by default. + + - SpewKeys + Specifies that, as a last resort attempt, map keys should be + spewed to strings and sorted by those strings. This is only + considered if SortKeys is true. + +# Dump Usage Simply call spew.Dump with a list of variables you want to dump: @@ -133,7 +136,7 @@ A third option is to call spew.Sdump to get the formatted output as a string: str := spew.Sdump(myVar1, myVar2, ...) -Sample Dump Output +# Sample Dump Output See the Dump example for details on the setup of the types and variables being shown here. @@ -150,13 +153,14 @@ shown here. Byte (and uint8) arrays and slices are displayed uniquely like the hexdump -C command as shown. + ([]uint8) (len=32 cap=32) { 00000000 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 |............... | 00000010 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 |!"#$%&'()*+,-./0| 00000020 31 32 |12| } -Custom Formatter +# Custom Formatter Spew provides a custom formatter that implements the fmt.Formatter interface so that it integrates cleanly with standard fmt package printing functions. The @@ -170,7 +174,7 @@ standard fmt package for formatting. In addition, the custom formatter ignores the width and precision arguments (however they will still work on the format specifiers not handled by the custom formatter). -Custom Formatter Usage +# Custom Formatter Usage The simplest way to make use of the spew custom formatter is to call one of the convenience functions such as spew.Printf, spew.Println, or spew.Printf. The @@ -184,15 +188,17 @@ functions have syntax you are most likely already familiar with: See the Index for the full list convenience functions. -Sample Formatter Output +# Sample Formatter Output Double pointer to a uint8: + %v: <**>5 %+v: <**>(0xf8400420d0->0xf8400420c8)5 %#v: (**uint8)5 %#+v: (**uint8)(0xf8400420d0->0xf8400420c8)5 Pointer to circular struct with a uint8 field and a pointer to itself: + %v: <*>{1 <*>} %+v: <*>(0xf84003e260){ui8:1 c:<*>(0xf84003e260)} %#v: (*main.circular){ui8:(uint8)1 c:(*main.circular)} @@ -201,7 +207,7 @@ Pointer to circular struct with a uint8 field and a pointer to itself: See the Printf example for details on the setup of variables being shown here. -Errors +# Errors Since it is possible for custom Stringer/error interfaces to panic, spew detects them and handles them internally by printing the panic information diff --git a/vendor/github.com/davecgh/go-spew/spew/dump.go b/vendor/github.com/davecgh/go-spew/spew/dump.go index f78d89fc1..8323041a4 100644 --- a/vendor/github.com/davecgh/go-spew/spew/dump.go +++ b/vendor/github.com/davecgh/go-spew/spew/dump.go @@ -488,15 +488,15 @@ pointer addresses used to indirect to the final value. It provides the following features over the built-in printing facilities provided by the fmt package: - * Pointers are dereferenced and followed - * Circular data structures are detected and handled properly - * Custom Stringer/error interfaces are optionally invoked, including - on unexported types - * Custom types which only implement the Stringer/error interfaces via - a pointer receiver are optionally invoked when passing non-pointer - variables - * Byte arrays and slices are dumped like the hexdump -C command which - includes offsets, byte values in hex, and ASCII output + - Pointers are dereferenced and followed + - Circular data structures are detected and handled properly + - Custom Stringer/error interfaces are optionally invoked, including + on unexported types + - Custom types which only implement the Stringer/error interfaces via + a pointer receiver are optionally invoked when passing non-pointer + variables + - Byte arrays and slices are dumped like the hexdump -C command which + includes offsets, byte values in hex, and ASCII output The configuration options are controlled by an exported package global, spew.Config. See ConfigState for options documentation. diff --git a/vendor/github.com/docker/distribution/reference/reference.go b/vendor/github.com/docker/distribution/reference/reference.go index 8c0c23b2f..b7cd00b0d 100644 --- a/vendor/github.com/docker/distribution/reference/reference.go +++ b/vendor/github.com/docker/distribution/reference/reference.go @@ -3,13 +3,13 @@ // // Grammar // -// reference := name [ ":" tag ] [ "@" digest ] +// reference := name [ ":" tag ] [ "@" digest ] // name := [domain '/'] path-component ['/' path-component]* // domain := domain-component ['.' domain-component]* [':' port-number] // domain-component := /([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])/ // port-number := /[0-9]+/ // path-component := alpha-numeric [separator alpha-numeric]* -// alpha-numeric := /[a-z0-9]+/ +// alpha-numeric := /[a-z0-9]+/ // separator := /[_.]|__|[-]*/ // // tag := /[\w][\w.-]{0,127}/ diff --git a/vendor/github.com/docker/docker/api/types/swarm/runtime/plugin.pb.go b/vendor/github.com/docker/docker/api/types/swarm/runtime/plugin.pb.go index 32aaf0d51..18e61195a 100644 --- a/vendor/github.com/docker/docker/api/types/swarm/runtime/plugin.pb.go +++ b/vendor/github.com/docker/docker/api/types/swarm/runtime/plugin.pb.go @@ -5,10 +5,11 @@ package runtime import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" + + proto "github.com/gogo/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/vendor/github.com/emicklei/go-restful/v3/curly.go b/vendor/github.com/emicklei/go-restful/v3/curly.go index ba1fc5d5f..d7a27a9a8 100644 --- a/vendor/github.com/emicklei/go-restful/v3/curly.go +++ b/vendor/github.com/emicklei/go-restful/v3/curly.go @@ -72,7 +72,7 @@ func (c CurlyRouter) matchesRouteByPathTokens(routeTokens, requestTokens []strin return false, 0, 0 } requestToken := requestTokens[i] - if routeHasCustomVerb && hasCustomVerb(routeToken){ + if routeHasCustomVerb && hasCustomVerb(routeToken) { if !isMatchCustomVerb(routeToken, requestToken) { return false, 0, 0 } diff --git a/vendor/github.com/emicklei/go-restful/v3/doc.go b/vendor/github.com/emicklei/go-restful/v3/doc.go index 69b13057d..5bdb9bb18 100644 --- a/vendor/github.com/emicklei/go-restful/v3/doc.go +++ b/vendor/github.com/emicklei/go-restful/v3/doc.go @@ -1,7 +1,7 @@ /* Package restful , a lean package for creating REST-style WebServices without magic. -WebServices and Routes +# WebServices and Routes A WebService has a collection of Route objects that dispatch incoming Http Requests to a function calls. Typically, a WebService has a root path (e.g. /users) and defines common MIME types for its routes. @@ -30,14 +30,14 @@ The (*Request, *Response) arguments provide functions for reading information fr See the example https://github.com/emicklei/go-restful/blob/v3/examples/user-resource/restful-user-resource.go with a full implementation. -Regular expression matching Routes +# Regular expression matching Routes A Route parameter can be specified using the format "uri/{var[:regexp]}" or the special version "uri/{var:*}" for matching the tail of the path. For example, /persons/{name:[A-Z][A-Z]} can be used to restrict values for the parameter "name" to only contain capital alphabetic characters. Regular expressions must use the standard Go syntax as described in the regexp package. (https://code.google.com/p/re2/wiki/Syntax) This feature requires the use of a CurlyRouter. -Containers +# Containers A Container holds a collection of WebServices, Filters and a http.ServeMux for multiplexing http requests. Using the statements "restful.Add(...) and restful.Filter(...)" will register WebServices and Filters to the Default Container. @@ -47,7 +47,7 @@ You can create your own Container and create a new http.Server for that particul container := restful.NewContainer() server := &http.Server{Addr: ":8081", Handler: container} -Filters +# Filters A filter dynamically intercepts requests and responses to transform or use the information contained in the requests or responses. You can use filters to perform generic logging, measurement, authentication, redirect, set response headers etc. @@ -60,22 +60,21 @@ Use the following statement to pass the request,response pair to the next filter chain.ProcessFilter(req, resp) -Container Filters +# Container Filters These are processed before any registered WebService. // install a (global) filter for the default container (processed before any webservice) restful.Filter(globalLogging) -WebService Filters +# WebService Filters These are processed before any Route of a WebService. // install a webservice filter (processed before any route) ws.Filter(webserviceLogging).Filter(measureTime) - -Route Filters +# Route Filters These are processed before calling the function associated with the Route. @@ -84,7 +83,7 @@ These are processed before calling the function associated with the Route. See the example https://github.com/emicklei/go-restful/blob/v3/examples/filters/restful-filters.go with full implementations. -Response Encoding +# Response Encoding Two encodings are supported: gzip and deflate. To enable this for all responses: @@ -95,20 +94,20 @@ Alternatively, you can create a Filter that performs the encoding and install it See the example https://github.com/emicklei/go-restful/blob/v3/examples/encoding/restful-encoding-filter.go -OPTIONS support +# OPTIONS support By installing a pre-defined container filter, your Webservice(s) can respond to the OPTIONS Http request. Filter(OPTIONSFilter()) -CORS +# CORS By installing the filter of a CrossOriginResourceSharing (CORS), your WebService(s) can handle CORS requests. cors := CrossOriginResourceSharing{ExposeHeaders: []string{"X-My-Header"}, CookiesAllowed: false, Container: DefaultContainer} Filter(cors.Filter) -Error Handling +# Error Handling Unexpected things happen. If a request cannot be processed because of a failure, your service needs to tell via the response what happened and why. For this reason HTTP status codes exist and it is important to use the correct code in every exceptional situation. @@ -137,11 +136,11 @@ The request does not have or has an unknown Accept Header set for this operation The request does not have or has an unknown Content-Type Header set for this operation. -ServiceError +# ServiceError In addition to setting the correct (error) Http status code, you can choose to write a ServiceError message on the response. -Performance options +# Performance options This package has several options that affect the performance of your service. It is important to understand them and how you can change it. @@ -156,30 +155,27 @@ Default value is true If content encoding is enabled then the default strategy for getting new gzip/zlib writers and readers is to use a sync.Pool. Because writers are expensive structures, performance is even more improved when using a preloaded cache. You can also inject your own implementation. -Trouble shooting +# Trouble shooting This package has the means to produce detail logging of the complete Http request matching process and filter invocation. Enabling this feature requires you to set an implementation of restful.StdLogger (e.g. log.Logger) instance such as: restful.TraceLogger(log.New(os.Stdout, "[restful] ", log.LstdFlags|log.Lshortfile)) -Logging +# Logging The restful.SetLogger() method allows you to override the logger used by the package. By default restful uses the standard library `log` package and logs to stdout. Different logging packages are supported as long as they conform to `StdLogger` interface defined in the `log` sub-package, writing an adapter for your preferred package is simple. -Resources +# Resources -[project]: https://github.com/emicklei/go-restful +(c) 2012-2015, http://ernestmicklei.com. MIT License +[project]: https://github.com/emicklei/go-restful [examples]: https://github.com/emicklei/go-restful/blob/master/examples - -[design]: http://ernestmicklei.com/2012/11/11/go-restful-api-design/ - +[design]: http://ernestmicklei.com/2012/11/11/go-restful-api-design/ [showcases]: https://github.com/emicklei/mora, https://github.com/emicklei/landskape - -(c) 2012-2015, http://ernestmicklei.com. MIT License */ package restful diff --git a/vendor/github.com/emicklei/go-restful/v3/json.go b/vendor/github.com/emicklei/go-restful/v3/json.go index 871165166..23a83fb40 100644 --- a/vendor/github.com/emicklei/go-restful/v3/json.go +++ b/vendor/github.com/emicklei/go-restful/v3/json.go @@ -1,3 +1,4 @@ +//go:build !jsoniter // +build !jsoniter package restful diff --git a/vendor/github.com/emicklei/go-restful/v3/jsoniter.go b/vendor/github.com/emicklei/go-restful/v3/jsoniter.go index 11b8f8ae7..da0aaf2aa 100644 --- a/vendor/github.com/emicklei/go-restful/v3/jsoniter.go +++ b/vendor/github.com/emicklei/go-restful/v3/jsoniter.go @@ -1,8 +1,9 @@ +//go:build jsoniter // +build jsoniter package restful -import "github.com/json-iterator/go" +import jsoniter "github.com/json-iterator/go" var ( json = jsoniter.ConfigCompatibleWithStandardLibrary diff --git a/vendor/github.com/emicklei/go-restful/v3/response.go b/vendor/github.com/emicklei/go-restful/v3/response.go index a41a92cc2..09fb3c752 100644 --- a/vendor/github.com/emicklei/go-restful/v3/response.go +++ b/vendor/github.com/emicklei/go-restful/v3/response.go @@ -14,7 +14,7 @@ import ( // DefaultResponseMimeType is DEPRECATED, use DefaultResponseContentType(mime) var DefaultResponseMimeType string -//PrettyPrintResponses controls the indentation feature of XML and JSON serialization +// PrettyPrintResponses controls the indentation feature of XML and JSON serialization var PrettyPrintResponses = true // Response is a wrapper on the actual http ResponseWriter @@ -40,7 +40,8 @@ func NewResponse(httpWriter http.ResponseWriter) *Response { // If Accept header matching fails, fall back to this type. // Valid values are restful.MIME_JSON and restful.MIME_XML // Example: -// restful.DefaultResponseContentType(restful.MIME_JSON) +// +// restful.DefaultResponseContentType(restful.MIME_JSON) func DefaultResponseContentType(mime string) { DefaultResponseMimeType = mime } diff --git a/vendor/github.com/emicklei/go-restful/v3/web_service.go b/vendor/github.com/emicklei/go-restful/v3/web_service.go index 789c4df25..336a0bc2c 100644 --- a/vendor/github.com/emicklei/go-restful/v3/web_service.go +++ b/vendor/github.com/emicklei/go-restful/v3/web_service.go @@ -188,20 +188,20 @@ func (w *WebService) Route(builder *RouteBuilder) *WebService { // RemoveRoute removes the specified route, looks for something that matches 'path' and 'method' func (w *WebService) RemoveRoute(path, method string) error { - if !w.dynamicRoutes { - return errors.New("dynamic routes are not enabled.") - } - w.routesLock.Lock() - defer w.routesLock.Unlock() - newRoutes := []Route{} - for _, route := range w.routes { - if route.Method == method && route.Path == path { - continue - } - newRoutes = append(newRoutes, route) - } - w.routes = newRoutes - return nil + if !w.dynamicRoutes { + return errors.New("dynamic routes are not enabled.") + } + w.routesLock.Lock() + defer w.routesLock.Unlock() + newRoutes := []Route{} + for _, route := range w.routes { + if route.Method == method && route.Path == path { + continue + } + newRoutes = append(newRoutes, route) + } + w.routes = newRoutes + return nil } // Method creates a new RouteBuilder and initialize its http method diff --git a/vendor/github.com/felixge/httpsnoop/wrap_generated_gteq_1.8.go b/vendor/github.com/felixge/httpsnoop/wrap_generated_gteq_1.8.go index 101cedde6..cffd3d052 100644 --- a/vendor/github.com/felixge/httpsnoop/wrap_generated_gteq_1.8.go +++ b/vendor/github.com/felixge/httpsnoop/wrap_generated_gteq_1.8.go @@ -1,4 +1,6 @@ +//go:build go1.8 // +build go1.8 + // Code generated by "httpsnoop/codegen"; DO NOT EDIT. package httpsnoop diff --git a/vendor/github.com/felixge/httpsnoop/wrap_generated_lt_1.8.go b/vendor/github.com/felixge/httpsnoop/wrap_generated_lt_1.8.go index e0951df15..c5ae19662 100644 --- a/vendor/github.com/felixge/httpsnoop/wrap_generated_lt_1.8.go +++ b/vendor/github.com/felixge/httpsnoop/wrap_generated_lt_1.8.go @@ -1,4 +1,6 @@ +//go:build !go1.8 // +build !go1.8 + // Code generated by "httpsnoop/codegen"; DO NOT EDIT. package httpsnoop diff --git a/vendor/github.com/ghodss/yaml/fields.go b/vendor/github.com/ghodss/yaml/fields.go index 586007402..5e36e56a1 100644 --- a/vendor/github.com/ghodss/yaml/fields.go +++ b/vendor/github.com/ghodss/yaml/fields.go @@ -347,8 +347,9 @@ const ( // 4) simpleLetterEqualFold, no specials, no non-letters. // // The letters S and K are special because they map to 3 runes, not just 2: -// * S maps to s and to U+017F 'ſ' Latin small letter long s -// * k maps to K and to U+212A 'K' Kelvin sign +// - S maps to s and to U+017F 'ſ' Latin small letter long s +// - k maps to K and to U+212A 'K' Kelvin sign +// // See http://play.golang.org/p/tTxjOc0OGo // // The returned function is specialized for matching against s and diff --git a/vendor/github.com/ghodss/yaml/yaml.go b/vendor/github.com/ghodss/yaml/yaml.go index 4fb4054a8..70edc4b3d 100644 --- a/vendor/github.com/ghodss/yaml/yaml.go +++ b/vendor/github.com/ghodss/yaml/yaml.go @@ -64,12 +64,12 @@ func JSONToYAML(j []byte) ([]byte, error) { // this method should be a no-op. // // Things YAML can do that are not supported by JSON: -// * In YAML you can have binary and null keys in your maps. These are invalid -// in JSON. (int and float keys are converted to strings.) -// * Binary data in YAML with the !!binary tag is not supported. If you want to -// use binary data with this library, encode the data as base64 as usual but do -// not use the !!binary tag in your YAML. This will ensure the original base64 -// encoded data makes it all the way through to the JSON. +// - In YAML you can have binary and null keys in your maps. These are invalid +// in JSON. (int and float keys are converted to strings.) +// - Binary data in YAML with the !!binary tag is not supported. If you want to +// use binary data with this library, encode the data as base64 as usual but do +// not use the !!binary tag in your YAML. This will ensure the original base64 +// encoded data makes it all the way through to the JSON. func YAMLToJSON(y []byte) ([]byte, error) { return yamlToJSON(y, nil) } diff --git a/vendor/github.com/go-jose/go-jose/doc.go b/vendor/github.com/go-jose/go-jose/doc.go index dd1387f3f..f93215ef8 100644 --- a/vendor/github.com/go-jose/go-jose/doc.go +++ b/vendor/github.com/go-jose/go-jose/doc.go @@ -15,13 +15,11 @@ */ /* - Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. It implements encryption and signing based on the JSON Web Encryption and JSON Web Signature standards, with optional JSON Web Token support available in a sub-package. The library supports both the compact and full serialization formats, and has optional support for multiple recipients. - */ package jose diff --git a/vendor/github.com/go-jose/go-jose/json/decode.go b/vendor/github.com/go-jose/go-jose/json/decode.go index 4dbc4146c..50634dd84 100644 --- a/vendor/github.com/go-jose/go-jose/json/decode.go +++ b/vendor/github.com/go-jose/go-jose/json/decode.go @@ -75,14 +75,13 @@ import ( // // The JSON null value unmarshals into an interface, map, pointer, or slice // by setting that Go value to nil. Because null is often used in JSON to mean -// ``not present,'' unmarshaling a JSON null into any other Go type has no effect +// “not present,” unmarshaling a JSON null into any other Go type has no effect // on the value and produces no error. // // When unmarshaling quoted strings, invalid UTF-8 or // invalid UTF-16 surrogate pairs are not treated as an error. // Instead, they are replaced by the Unicode replacement // character U+FFFD. -// func Unmarshal(data []byte, v interface{}) error { // Check for well-formedness. // Avoids filling out half a data structure diff --git a/vendor/github.com/go-jose/go-jose/json/encode.go b/vendor/github.com/go-jose/go-jose/json/encode.go index 1dae8bb7c..d98a4fbf3 100644 --- a/vendor/github.com/go-jose/go-jose/json/encode.go +++ b/vendor/github.com/go-jose/go-jose/json/encode.go @@ -58,6 +58,7 @@ import ( // becomes a member of the object unless // - the field's tag is "-", or // - the field is empty and its tag specifies the "omitempty" option. +// // The empty values are false, 0, any // nil pointer or interface value, and any array, slice, map, or string of // length zero. The object's default key string is the struct field name @@ -65,28 +66,28 @@ import ( // the struct field's tag value is the key name, followed by an optional comma // and options. Examples: // -// // Field is ignored by this package. -// Field int `json:"-"` +// // Field is ignored by this package. +// Field int `json:"-"` // -// // Field appears in JSON as key "myName". -// Field int `json:"myName"` +// // Field appears in JSON as key "myName". +// Field int `json:"myName"` // -// // Field appears in JSON as key "myName" and -// // the field is omitted from the object if its value is empty, -// // as defined above. -// Field int `json:"myName,omitempty"` +// // Field appears in JSON as key "myName" and +// // the field is omitted from the object if its value is empty, +// // as defined above. +// Field int `json:"myName,omitempty"` // -// // Field appears in JSON as key "Field" (the default), but -// // the field is skipped if empty. -// // Note the leading comma. -// Field int `json:",omitempty"` +// // Field appears in JSON as key "Field" (the default), but +// // the field is skipped if empty. +// // Note the leading comma. +// Field int `json:",omitempty"` // // The "string" option signals that a field is stored as JSON inside a // JSON-encoded string. It applies only to fields of string, floating point, // integer, or boolean types. This extra level of encoding is sometimes used // when communicating with JavaScript programs: // -// Int64String int64 `json:",string"` +// Int64String int64 `json:",string"` // // The key name will be used if it's a non-empty string consisting of // only Unicode letters, digits, dollar signs, percent signs, hyphens, @@ -133,7 +134,6 @@ import ( // JSON cannot represent cyclic data structures and Marshal does not // handle them. Passing cyclic structures to Marshal will result in // an infinite recursion. -// func Marshal(v interface{}) ([]byte, error) { e := &encodeState{} err := e.marshal(v) diff --git a/vendor/github.com/go-jose/go-jose/json/stream.go b/vendor/github.com/go-jose/go-jose/json/stream.go index 9b2b926b0..f03b171e6 100644 --- a/vendor/github.com/go-jose/go-jose/json/stream.go +++ b/vendor/github.com/go-jose/go-jose/json/stream.go @@ -240,7 +240,6 @@ var _ Unmarshaler = (*RawMessage)(nil) // Number, for JSON numbers // string, for JSON string literals // nil, for JSON null -// type Token interface{} const ( diff --git a/vendor/github.com/go-jose/go-jose/opaque.go b/vendor/github.com/go-jose/go-jose/opaque.go index fc3e8d2ef..68db085ef 100644 --- a/vendor/github.com/go-jose/go-jose/opaque.go +++ b/vendor/github.com/go-jose/go-jose/opaque.go @@ -121,7 +121,7 @@ func (oke *opaqueKeyEncrypter) encryptKey(cek []byte, alg KeyAlgorithm) (recipie return oke.encrypter.encryptKey(cek, alg) } -//OpaqueKeyDecrypter is an interface that supports decrypting keys with an opaque key. +// OpaqueKeyDecrypter is an interface that supports decrypting keys with an opaque key. type OpaqueKeyDecrypter interface { DecryptKey(encryptedKey []byte, header Header) ([]byte, error) } diff --git a/vendor/github.com/go-jose/go-jose/symmetric.go b/vendor/github.com/go-jose/go-jose/symmetric.go index 52c8b62bf..30e3da8f8 100644 --- a/vendor/github.com/go-jose/go-jose/symmetric.go +++ b/vendor/github.com/go-jose/go-jose/symmetric.go @@ -31,7 +31,7 @@ import ( "io" "golang.org/x/crypto/pbkdf2" - "gopkg.in/go-jose/go-jose.v2/cipher" + josecipher "gopkg.in/go-jose/go-jose.v2/cipher" ) // Random reader (stubbed out in tests) diff --git a/vendor/github.com/go-ole/go-ole/com.go b/vendor/github.com/go-ole/go-ole/com.go index a9bef150a..6333441f9 100644 --- a/vendor/github.com/go-ole/go-ole/com.go +++ b/vendor/github.com/go-ole/go-ole/com.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/com_func.go b/vendor/github.com/go-ole/go-ole/com_func.go index cef539d9d..7b9fa67f3 100644 --- a/vendor/github.com/go-ole/go-ole/com_func.go +++ b/vendor/github.com/go-ole/go-ole/com_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/error_func.go b/vendor/github.com/go-ole/go-ole/error_func.go index 8a2ffaa27..6478b3390 100644 --- a/vendor/github.com/go-ole/go-ole/error_func.go +++ b/vendor/github.com/go-ole/go-ole/error_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/error_windows.go b/vendor/github.com/go-ole/go-ole/error_windows.go index d0e8e6859..8da277c05 100644 --- a/vendor/github.com/go-ole/go-ole/error_windows.go +++ b/vendor/github.com/go-ole/go-ole/error_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/guid.go b/vendor/github.com/go-ole/go-ole/guid.go index 8d20f68fb..27f9557b3 100644 --- a/vendor/github.com/go-ole/go-ole/guid.go +++ b/vendor/github.com/go-ole/go-ole/guid.go @@ -108,9 +108,9 @@ type GUID struct { // // The supplied string may be in any of these formats: // -// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -// XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX -// {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} +// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +// XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX +// {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} // // The conversion of the supplied string is not case-sensitive. func NewGUID(guid string) *GUID { @@ -216,11 +216,11 @@ func decodeHexChar(c byte) (byte, bool) { // String converts the GUID to string form. It will adhere to this pattern: // -// {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} +// {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} // // If the GUID is nil, the string representation of an empty GUID is returned: // -// {00000000-0000-0000-0000-000000000000} +// {00000000-0000-0000-0000-000000000000} func (guid *GUID) String() string { if guid == nil { return emptyGUID diff --git a/vendor/github.com/go-ole/go-ole/iconnectionpoint_func.go b/vendor/github.com/go-ole/go-ole/iconnectionpoint_func.go index 5414dc3cd..999720a0d 100644 --- a/vendor/github.com/go-ole/go-ole/iconnectionpoint_func.go +++ b/vendor/github.com/go-ole/go-ole/iconnectionpoint_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iconnectionpoint_windows.go b/vendor/github.com/go-ole/go-ole/iconnectionpoint_windows.go index 32bc18324..c7325ad0b 100644 --- a/vendor/github.com/go-ole/go-ole/iconnectionpoint_windows.go +++ b/vendor/github.com/go-ole/go-ole/iconnectionpoint_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_func.go b/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_func.go index 5dfa42aae..26e264d1b 100644 --- a/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_func.go +++ b/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_windows.go b/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_windows.go index ad30d79ef..8b090f49e 100644 --- a/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_windows.go +++ b/vendor/github.com/go-ole/go-ole/iconnectionpointcontainer_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/idispatch_func.go b/vendor/github.com/go-ole/go-ole/idispatch_func.go index b8fbbe319..5315505ae 100644 --- a/vendor/github.com/go-ole/go-ole/idispatch_func.go +++ b/vendor/github.com/go-ole/go-ole/idispatch_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/idispatch_windows.go b/vendor/github.com/go-ole/go-ole/idispatch_windows.go index b399f0479..ec2950aa0 100644 --- a/vendor/github.com/go-ole/go-ole/idispatch_windows.go +++ b/vendor/github.com/go-ole/go-ole/idispatch_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/ienumvariant_func.go b/vendor/github.com/go-ole/go-ole/ienumvariant_func.go index c14848199..f332e439b 100644 --- a/vendor/github.com/go-ole/go-ole/ienumvariant_func.go +++ b/vendor/github.com/go-ole/go-ole/ienumvariant_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/ienumvariant_windows.go b/vendor/github.com/go-ole/go-ole/ienumvariant_windows.go index 4781f3b8b..72e5f31d6 100644 --- a/vendor/github.com/go-ole/go-ole/ienumvariant_windows.go +++ b/vendor/github.com/go-ole/go-ole/ienumvariant_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iinspectable_func.go b/vendor/github.com/go-ole/go-ole/iinspectable_func.go index 348829bf0..cf0fba0dc 100644 --- a/vendor/github.com/go-ole/go-ole/iinspectable_func.go +++ b/vendor/github.com/go-ole/go-ole/iinspectable_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iinspectable_windows.go b/vendor/github.com/go-ole/go-ole/iinspectable_windows.go index 4519a4aa4..9a686d256 100644 --- a/vendor/github.com/go-ole/go-ole/iinspectable_windows.go +++ b/vendor/github.com/go-ole/go-ole/iinspectable_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iprovideclassinfo_func.go b/vendor/github.com/go-ole/go-ole/iprovideclassinfo_func.go index 7e3cb63ea..90109f557 100644 --- a/vendor/github.com/go-ole/go-ole/iprovideclassinfo_func.go +++ b/vendor/github.com/go-ole/go-ole/iprovideclassinfo_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iprovideclassinfo_windows.go b/vendor/github.com/go-ole/go-ole/iprovideclassinfo_windows.go index 2ad016394..c758acd9b 100644 --- a/vendor/github.com/go-ole/go-ole/iprovideclassinfo_windows.go +++ b/vendor/github.com/go-ole/go-ole/iprovideclassinfo_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/itypeinfo_func.go b/vendor/github.com/go-ole/go-ole/itypeinfo_func.go index 8364a659b..31c0677c6 100644 --- a/vendor/github.com/go-ole/go-ole/itypeinfo_func.go +++ b/vendor/github.com/go-ole/go-ole/itypeinfo_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/itypeinfo_windows.go b/vendor/github.com/go-ole/go-ole/itypeinfo_windows.go index 54782b3da..2abab8214 100644 --- a/vendor/github.com/go-ole/go-ole/itypeinfo_windows.go +++ b/vendor/github.com/go-ole/go-ole/itypeinfo_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iunknown_func.go b/vendor/github.com/go-ole/go-ole/iunknown_func.go index d0a62cfd7..247fccb3c 100644 --- a/vendor/github.com/go-ole/go-ole/iunknown_func.go +++ b/vendor/github.com/go-ole/go-ole/iunknown_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/iunknown_windows.go b/vendor/github.com/go-ole/go-ole/iunknown_windows.go index ede5bb8c1..faf9c4c7f 100644 --- a/vendor/github.com/go-ole/go-ole/iunknown_windows.go +++ b/vendor/github.com/go-ole/go-ole/iunknown_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/oleutil/connection.go b/vendor/github.com/go-ole/go-ole/oleutil/connection.go index 60df73cda..4c52d55ef 100644 --- a/vendor/github.com/go-ole/go-ole/oleutil/connection.go +++ b/vendor/github.com/go-ole/go-ole/oleutil/connection.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package oleutil diff --git a/vendor/github.com/go-ole/go-ole/oleutil/connection_func.go b/vendor/github.com/go-ole/go-ole/oleutil/connection_func.go index 8818fb827..b00ac4a92 100644 --- a/vendor/github.com/go-ole/go-ole/oleutil/connection_func.go +++ b/vendor/github.com/go-ole/go-ole/oleutil/connection_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package oleutil diff --git a/vendor/github.com/go-ole/go-ole/oleutil/connection_windows.go b/vendor/github.com/go-ole/go-ole/oleutil/connection_windows.go index ab9c0d8dc..19fa27e51 100644 --- a/vendor/github.com/go-ole/go-ole/oleutil/connection_windows.go +++ b/vendor/github.com/go-ole/go-ole/oleutil/connection_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package oleutil diff --git a/vendor/github.com/go-ole/go-ole/oleutil/go-get.go b/vendor/github.com/go-ole/go-ole/oleutil/go-get.go index 58347628f..40bd9ff61 100644 --- a/vendor/github.com/go-ole/go-ole/oleutil/go-get.go +++ b/vendor/github.com/go-ole/go-ole/oleutil/go-get.go @@ -1,6 +1,7 @@ // This file is here so go get succeeds as without it errors with: // no buildable Go source files in ... // +//go:build !windows // +build !windows package oleutil diff --git a/vendor/github.com/go-ole/go-ole/safearray_func.go b/vendor/github.com/go-ole/go-ole/safearray_func.go index 0dee670ce..afb1d02d5 100644 --- a/vendor/github.com/go-ole/go-ole/safearray_func.go +++ b/vendor/github.com/go-ole/go-ole/safearray_func.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/go-ole/go-ole/safearray_windows.go b/vendor/github.com/go-ole/go-ole/safearray_windows.go index 0c1b3a10f..0a322f5da 100644 --- a/vendor/github.com/go-ole/go-ole/safearray_windows.go +++ b/vendor/github.com/go-ole/go-ole/safearray_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/safearrayconversion.go b/vendor/github.com/go-ole/go-ole/safearrayconversion.go index da737293d..dde3e17e0 100644 --- a/vendor/github.com/go-ole/go-ole/safearrayconversion.go +++ b/vendor/github.com/go-ole/go-ole/safearrayconversion.go @@ -84,7 +84,7 @@ func (sac *SafeArrayConversion) ToValueArray() (values []interface{}) { safeArrayGetElement(sac.Array, i, unsafe.Pointer(&v)) values[i] = v case VT_BSTR: - v , _ := safeArrayGetElementString(sac.Array, i) + v, _ := safeArrayGetElementString(sac.Array, i) values[i] = v case VT_VARIANT: var v VARIANT diff --git a/vendor/github.com/go-ole/go-ole/safearrayslices.go b/vendor/github.com/go-ole/go-ole/safearrayslices.go index a9fa885f1..063dbbfec 100644 --- a/vendor/github.com/go-ole/go-ole/safearrayslices.go +++ b/vendor/github.com/go-ole/go-ole/safearrayslices.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/variables.go b/vendor/github.com/go-ole/go-ole/variables.go index a6add1b00..056f844d9 100644 --- a/vendor/github.com/go-ole/go-ole/variables.go +++ b/vendor/github.com/go-ole/go-ole/variables.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_386.go b/vendor/github.com/go-ole/go-ole/variant_386.go index e73736bf3..2e3d3aa4a 100644 --- a/vendor/github.com/go-ole/go-ole/variant_386.go +++ b/vendor/github.com/go-ole/go-ole/variant_386.go @@ -1,3 +1,4 @@ +//go:build 386 // +build 386 package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_amd64.go b/vendor/github.com/go-ole/go-ole/variant_amd64.go index dccdde132..b48c3ce6f 100644 --- a/vendor/github.com/go-ole/go-ole/variant_amd64.go +++ b/vendor/github.com/go-ole/go-ole/variant_amd64.go @@ -1,3 +1,4 @@ +//go:build amd64 // +build amd64 package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_arm.go b/vendor/github.com/go-ole/go-ole/variant_arm.go index d47245444..5c8d492d6 100644 --- a/vendor/github.com/go-ole/go-ole/variant_arm.go +++ b/vendor/github.com/go-ole/go-ole/variant_arm.go @@ -1,3 +1,4 @@ +//go:build arm // +build arm package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_date_386.go b/vendor/github.com/go-ole/go-ole/variant_date_386.go index 1b970f63f..8c3d3085f 100644 --- a/vendor/github.com/go-ole/go-ole/variant_date_386.go +++ b/vendor/github.com/go-ole/go-ole/variant_date_386.go @@ -1,3 +1,4 @@ +//go:build windows && 386 // +build windows,386 package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_date_amd64.go b/vendor/github.com/go-ole/go-ole/variant_date_amd64.go index 6952f1f0d..8554d38d9 100644 --- a/vendor/github.com/go-ole/go-ole/variant_date_amd64.go +++ b/vendor/github.com/go-ole/go-ole/variant_date_amd64.go @@ -1,3 +1,4 @@ +//go:build windows && amd64 // +build windows,amd64 package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_date_arm.go b/vendor/github.com/go-ole/go-ole/variant_date_arm.go index 09ec7b5cf..7afe38b89 100644 --- a/vendor/github.com/go-ole/go-ole/variant_date_arm.go +++ b/vendor/github.com/go-ole/go-ole/variant_date_arm.go @@ -1,3 +1,4 @@ +//go:build windows && arm // +build windows,arm package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_ppc64le.go b/vendor/github.com/go-ole/go-ole/variant_ppc64le.go index 326427a7d..4ce060d8f 100644 --- a/vendor/github.com/go-ole/go-ole/variant_ppc64le.go +++ b/vendor/github.com/go-ole/go-ole/variant_ppc64le.go @@ -1,3 +1,4 @@ +//go:build ppc64le // +build ppc64le package ole diff --git a/vendor/github.com/go-ole/go-ole/variant_s390x.go b/vendor/github.com/go-ole/go-ole/variant_s390x.go index 9874ca66b..f83731098 100644 --- a/vendor/github.com/go-ole/go-ole/variant_s390x.go +++ b/vendor/github.com/go-ole/go-ole/variant_s390x.go @@ -1,3 +1,4 @@ +//go:build s390x // +build s390x package ole diff --git a/vendor/github.com/go-ole/go-ole/winrt.go b/vendor/github.com/go-ole/go-ole/winrt.go index 4e9eca732..f503d685f 100644 --- a/vendor/github.com/go-ole/go-ole/winrt.go +++ b/vendor/github.com/go-ole/go-ole/winrt.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package ole diff --git a/vendor/github.com/go-ole/go-ole/winrt_doc.go b/vendor/github.com/go-ole/go-ole/winrt_doc.go index 52e6d74c9..a392928d2 100644 --- a/vendor/github.com/go-ole/go-ole/winrt_doc.go +++ b/vendor/github.com/go-ole/go-ole/winrt_doc.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package ole diff --git a/vendor/github.com/gogo/protobuf/proto/lib.go b/vendor/github.com/gogo/protobuf/proto/lib.go index 80db1c155..10eec0d0e 100644 --- a/vendor/github.com/gogo/protobuf/proto/lib.go +++ b/vendor/github.com/gogo/protobuf/proto/lib.go @@ -39,35 +39,35 @@ for a protocol buffer variable v: - Names are turned from camel_case to CamelCase for export. - There are no methods on v to set fields; just treat - them as structure fields. + them as structure fields. - There are getters that return a field's value if set, - and return the field's default value if unset. - The getters work even if the receiver is a nil message. + and return the field's default value if unset. + The getters work even if the receiver is a nil message. - The zero value for a struct is its correct initialization state. - All desired fields must be set before marshaling. + All desired fields must be set before marshaling. - A Reset() method will restore a protobuf struct to its zero state. - Non-repeated fields are pointers to the values; nil means unset. - That is, optional or required field int32 f becomes F *int32. + That is, optional or required field int32 f becomes F *int32. - Repeated fields are slices. - Helper functions are available to aid the setting of fields. - msg.Foo = proto.String("hello") // set field + msg.Foo = proto.String("hello") // set field - Constants are defined to hold the default values of all fields that - have them. They have the form Default_StructName_FieldName. - Because the getter methods handle defaulted values, - direct use of these constants should be rare. + have them. They have the form Default_StructName_FieldName. + Because the getter methods handle defaulted values, + direct use of these constants should be rare. - Enums are given type names and maps from names to values. - Enum values are prefixed by the enclosing message's name, or by the - enum's type name if it is a top-level enum. Enum types have a String - method, and a Enum method to assist in message construction. + Enum values are prefixed by the enclosing message's name, or by the + enum's type name if it is a top-level enum. Enum types have a String + method, and a Enum method to assist in message construction. - Nested messages, groups and enums have type names prefixed with the name of - the surrounding message type. + the surrounding message type. - Extensions are given descriptor names that start with E_, - followed by an underscore-delimited list of the nested messages - that contain it (if any) followed by the CamelCased name of the - extension field itself. HasExtension, ClearExtension, GetExtension - and SetExtension are functions for manipulating extensions. + followed by an underscore-delimited list of the nested messages + that contain it (if any) followed by the CamelCased name of the + extension field itself. HasExtension, ClearExtension, GetExtension + and SetExtension are functions for manipulating extensions. - Oneof field sets are given a single field in their message, - with distinguished wrapper types for each possible field value. + with distinguished wrapper types for each possible field value. - Marshal and Unmarshal are functions to encode and decode the wire format. When the .proto file specifies `syntax="proto3"`, there are some differences: diff --git a/vendor/github.com/gogo/protobuf/proto/pointer_reflect.go b/vendor/github.com/gogo/protobuf/proto/pointer_reflect.go index b6cad9083..461d58218 100644 --- a/vendor/github.com/gogo/protobuf/proto/pointer_reflect.go +++ b/vendor/github.com/gogo/protobuf/proto/pointer_reflect.go @@ -29,6 +29,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//go:build purego || appengine || js // +build purego appengine js // This file contains an implementation of proto field accesses using package reflect. diff --git a/vendor/github.com/gogo/protobuf/proto/pointer_reflect_gogo.go b/vendor/github.com/gogo/protobuf/proto/pointer_reflect_gogo.go index 7ffd3c29d..d6e07e2f7 100644 --- a/vendor/github.com/gogo/protobuf/proto/pointer_reflect_gogo.go +++ b/vendor/github.com/gogo/protobuf/proto/pointer_reflect_gogo.go @@ -26,6 +26,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//go:build purego || appengine || js // +build purego appengine js // This file contains an implementation of proto field accesses using package reflect. diff --git a/vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go b/vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go index d55a335d9..c998399ba 100644 --- a/vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go +++ b/vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go @@ -29,6 +29,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//go:build !purego && !appengine && !js // +build !purego,!appengine,!js // This file contains the implementation of the proto field accesses using package unsafe. diff --git a/vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go b/vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go index aca8eed02..57a149656 100644 --- a/vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go +++ b/vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go @@ -26,6 +26,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//go:build !purego && !appengine && !js // +build !purego,!appengine,!js // This file contains the implementation of the proto field accesses using package unsafe. diff --git a/vendor/github.com/gogo/protobuf/proto/table_unmarshal.go b/vendor/github.com/gogo/protobuf/proto/table_unmarshal.go index 937229386..7c3e9e000 100644 --- a/vendor/github.com/gogo/protobuf/proto/table_unmarshal.go +++ b/vendor/github.com/gogo/protobuf/proto/table_unmarshal.go @@ -2004,12 +2004,14 @@ func makeUnmarshalMap(f *reflect.StructField) unmarshaler { // makeUnmarshalOneof makes an unmarshaler for oneof fields. // for: -// message Msg { -// oneof F { -// int64 X = 1; -// float64 Y = 2; -// } -// } +// +// message Msg { +// oneof F { +// int64 X = 1; +// float64 Y = 2; +// } +// } +// // typ is the type of the concrete entry for a oneof case (e.g. Msg_X). // ityp is the interface type of the oneof field (e.g. isMsg_F). // unmarshal is the unmarshaler for the base type of the oneof case (e.g. int64). diff --git a/vendor/github.com/golang-jwt/jwt/rsa_pss.go b/vendor/github.com/golang-jwt/jwt/rsa_pss.go index c01470864..370c5a82d 100644 --- a/vendor/github.com/golang-jwt/jwt/rsa_pss.go +++ b/vendor/github.com/golang-jwt/jwt/rsa_pss.go @@ -1,3 +1,4 @@ +//go:build go1.4 // +build go1.4 package jwt diff --git a/vendor/github.com/golang/mock/gomock/controller.go b/vendor/github.com/golang/mock/gomock/controller.go index f054200d5..9b8bf38d3 100644 --- a/vendor/github.com/golang/mock/gomock/controller.go +++ b/vendor/github.com/golang/mock/gomock/controller.go @@ -15,20 +15,21 @@ // Package gomock is a mock framework for Go. // // Standard usage: -// (1) Define an interface that you wish to mock. -// type MyInterface interface { -// SomeMethod(x int64, y string) -// } -// (2) Use mockgen to generate a mock from the interface. -// (3) Use the mock in a test: -// func TestMyThing(t *testing.T) { -// mockCtrl := gomock.NewController(t) -// defer mockCtrl.Finish() // -// mockObj := something.NewMockMyInterface(mockCtrl) -// mockObj.EXPECT().SomeMethod(4, "blah") -// // pass mockObj to a real object and play with it. -// } +// (1) Define an interface that you wish to mock. +// type MyInterface interface { +// SomeMethod(x int64, y string) +// } +// (2) Use mockgen to generate a mock from the interface. +// (3) Use the mock in a test: +// func TestMyThing(t *testing.T) { +// mockCtrl := gomock.NewController(t) +// defer mockCtrl.Finish() +// +// mockObj := something.NewMockMyInterface(mockCtrl) +// mockObj.EXPECT().SomeMethod(4, "blah") +// // pass mockObj to a real object and play with it. +// } // // By default, expected calls are not enforced to run in any particular order. // Call order dependency can be enforced by use of InOrder and/or Call.After. @@ -39,17 +40,17 @@ // // Example of using Call.After to chain expected call order: // -// firstCall := mockObj.EXPECT().SomeMethod(1, "first") -// secondCall := mockObj.EXPECT().SomeMethod(2, "second").After(firstCall) -// mockObj.EXPECT().SomeMethod(3, "third").After(secondCall) +// firstCall := mockObj.EXPECT().SomeMethod(1, "first") +// secondCall := mockObj.EXPECT().SomeMethod(2, "second").After(firstCall) +// mockObj.EXPECT().SomeMethod(3, "third").After(secondCall) // // Example of using InOrder to declare expected call order: // -// gomock.InOrder( -// mockObj.EXPECT().SomeMethod(1, "first"), -// mockObj.EXPECT().SomeMethod(2, "second"), -// mockObj.EXPECT().SomeMethod(3, "third"), -// ) +// gomock.InOrder( +// mockObj.EXPECT().SomeMethod(1, "first"), +// mockObj.EXPECT().SomeMethod(2, "second"), +// mockObj.EXPECT().SomeMethod(3, "third"), +// ) package gomock import ( @@ -89,24 +90,24 @@ type cleanuper interface { // goroutines. Each test should create a new Controller and invoke Finish via // defer. // -// func TestFoo(t *testing.T) { -// ctrl := gomock.NewController(t) -// defer ctrl.Finish() -// // .. -// } +// func TestFoo(t *testing.T) { +// ctrl := gomock.NewController(t) +// defer ctrl.Finish() +// // .. +// } // -// func TestBar(t *testing.T) { -// t.Run("Sub-Test-1", st) { -// ctrl := gomock.NewController(st) -// defer ctrl.Finish() -// // .. -// }) -// t.Run("Sub-Test-2", st) { -// ctrl := gomock.NewController(st) -// defer ctrl.Finish() -// // .. -// }) -// }) +// func TestBar(t *testing.T) { +// t.Run("Sub-Test-1", st) { +// ctrl := gomock.NewController(st) +// defer ctrl.Finish() +// // .. +// }) +// t.Run("Sub-Test-2", st) { +// ctrl := gomock.NewController(st) +// defer ctrl.Finish() +// // .. +// }) +// }) type Controller struct { // T should only be called within a generated mock. It is not intended to // be used in user code and may be changed in future versions. T is the diff --git a/vendor/github.com/golang/mock/gomock/matchers.go b/vendor/github.com/golang/mock/gomock/matchers.go index 2822fb2c8..6d5eff4fe 100644 --- a/vendor/github.com/golang/mock/gomock/matchers.go +++ b/vendor/github.com/golang/mock/gomock/matchers.go @@ -283,8 +283,9 @@ func Any() Matcher { return anyMatcher{} } // Eq returns a matcher that matches on equality. // // Example usage: -// Eq(5).Matches(5) // returns true -// Eq(5).Matches(4) // returns false +// +// Eq(5).Matches(5) // returns true +// Eq(5).Matches(4) // returns false func Eq(x interface{}) Matcher { return eqMatcher{x} } // Len returns a matcher that matches on length. This matcher returns false if @@ -296,17 +297,19 @@ func Len(i int) Matcher { // Nil returns a matcher that matches if the received value is nil. // // Example usage: -// var x *bytes.Buffer -// Nil().Matches(x) // returns true -// x = &bytes.Buffer{} -// Nil().Matches(x) // returns false +// +// var x *bytes.Buffer +// Nil().Matches(x) // returns true +// x = &bytes.Buffer{} +// Nil().Matches(x) // returns false func Nil() Matcher { return nilMatcher{} } // Not reverses the results of its given child matcher. // // Example usage: -// Not(Eq(5)).Matches(4) // returns true -// Not(Eq(5)).Matches(5) // returns false +// +// Not(Eq(5)).Matches(4) // returns true +// Not(Eq(5)).Matches(5) // returns false func Not(x interface{}) Matcher { if m, ok := x.(Matcher); ok { return notMatcher{m} @@ -318,12 +321,13 @@ func Not(x interface{}) Matcher { // function is assignable to the type of the parameter to this function. // // Example usage: -// var s fmt.Stringer = &bytes.Buffer{} -// AssignableToTypeOf(s).Matches(time.Second) // returns true -// AssignableToTypeOf(s).Matches(99) // returns false // -// var ctx = reflect.TypeOf((*context.Context)(nil)).Elem() -// AssignableToTypeOf(ctx).Matches(context.Background()) // returns true +// var s fmt.Stringer = &bytes.Buffer{} +// AssignableToTypeOf(s).Matches(time.Second) // returns true +// AssignableToTypeOf(s).Matches(99) // returns false +// +// var ctx = reflect.TypeOf((*context.Context)(nil)).Elem() +// AssignableToTypeOf(ctx).Matches(context.Background()) // returns true func AssignableToTypeOf(x interface{}) Matcher { if xt, ok := x.(reflect.Type); ok { return assignableToTypeOfMatcher{xt} @@ -334,8 +338,9 @@ func AssignableToTypeOf(x interface{}) Matcher { // InAnyOrder is a Matcher that returns true for collections of the same elements ignoring the order. // // Example usage: -// InAnyOrder([]int{1, 2, 3}).Matches([]int{1, 3, 2}) // returns true -// InAnyOrder([]int{1, 2, 3}).Matches([]int{1, 2}) // returns false +// +// InAnyOrder([]int{1, 2, 3}).Matches([]int{1, 3, 2}) // returns true +// InAnyOrder([]int{1, 2, 3}).Matches([]int{1, 2}) // returns false func InAnyOrder(x interface{}) Matcher { return inAnyOrderMatcher{x} } diff --git a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go b/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go index 0ef27d33d..94f795704 100644 --- a/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go +++ b/vendor/github.com/golang/protobuf/ptypes/any/any.pb.go @@ -4,10 +4,11 @@ package any import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" ) // Symbols defined in public import of google/protobuf/any.proto. diff --git a/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go b/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go index d0079ee3e..af15f4085 100644 --- a/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go +++ b/vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go @@ -4,10 +4,11 @@ package duration import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" ) // Symbols defined in public import of google/protobuf/duration.proto. diff --git a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go b/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go index a76f80760..935d7f64a 100644 --- a/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go +++ b/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go @@ -4,10 +4,11 @@ package timestamp import ( + reflect "reflect" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" ) // Symbols defined in public import of google/protobuf/timestamp.proto. diff --git a/vendor/github.com/google/gnostic-models/extensions/extension.pb.go b/vendor/github.com/google/gnostic-models/extensions/extension.pb.go index a71df8abe..e5e2c429f 100644 --- a/vendor/github.com/google/gnostic-models/extensions/extension.pb.go +++ b/vendor/github.com/google/gnostic-models/extensions/extension.pb.go @@ -21,11 +21,12 @@ package gnostic_extension_v1 import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vendor/github.com/google/gnostic-models/jsonschema/base.go b/vendor/github.com/google/gnostic-models/jsonschema/base.go index 5fcc4885a..a01b1b0d6 100644 --- a/vendor/github.com/google/gnostic-models/jsonschema/base.go +++ b/vendor/github.com/google/gnostic-models/jsonschema/base.go @@ -20,9 +20,9 @@ import ( "encoding/base64" ) -func baseSchemaBytes() ([]byte, error){ +func baseSchemaBytes() ([]byte, error) { return base64.StdEncoding.DecodeString( -`ewogICAgImlkIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQtMDQvc2NoZW1hIyIsCiAgICAi + `ewogICAgImlkIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQtMDQvc2NoZW1hIyIsCiAgICAi JHNjaGVtYSI6ICJodHRwOi8vanNvbi1zY2hlbWEub3JnL2RyYWZ0LTA0L3NjaGVtYSMiLAogICAgImRl c2NyaXB0aW9uIjogIkNvcmUgc2NoZW1hIG1ldGEtc2NoZW1hIiwKICAgICJkZWZpbml0aW9ucyI6IHsK ICAgICAgICAic2NoZW1hQXJyYXkiOiB7CiAgICAgICAgICAgICJ0eXBlIjogImFycmF5IiwKICAgICAg @@ -94,4 +94,5 @@ YXkiIH0sCiAgICAgICAgImFueU9mIjogeyAiJHJlZiI6ICIjL2RlZmluaXRpb25zL3NjaGVtYUFycmF5 IiB9LAogICAgICAgICJvbmVPZiI6IHsgIiRyZWYiOiAiIy9kZWZpbml0aW9ucy9zY2hlbWFBcnJheSIg fSwKICAgICAgICAibm90IjogeyAiJHJlZiI6ICIjIiB9CiAgICB9LAogICAgImRlcGVuZGVuY2llcyI6 IHsKICAgICAgICAiZXhjbHVzaXZlTWF4aW11bSI6IFsgIm1heGltdW0iIF0sCiAgICAgICAgImV4Y2x1 -c2l2ZU1pbmltdW0iOiBbICJtaW5pbXVtIiBdCiAgICB9LAogICAgImRlZmF1bHQiOiB7fQp9Cg==`)} +c2l2ZU1pbmltdW0iOiBbICJtaW5pbXVtIiBdCiAgICB9LAogICAgImRlZmF1bHQiOiB7fQp9Cg==`) +} diff --git a/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.pb.go b/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.pb.go index 65c4c913c..15a50ddfc 100644 --- a/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.pb.go +++ b/vendor/github.com/google/gnostic-models/openapiv2/OpenAPIv2.pb.go @@ -23,11 +23,12 @@ package openapi_v2 import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.pb.go b/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.pb.go index 945b8d11f..76a9a1be7 100644 --- a/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.pb.go +++ b/vendor/github.com/google/gnostic-models/openapiv3/OpenAPIv3.pb.go @@ -23,11 +23,12 @@ package openapi_v3 import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vendor/github.com/google/gofuzz/fuzz.go b/vendor/github.com/google/gofuzz/fuzz.go index 761520a8c..f92426db9 100644 --- a/vendor/github.com/google/gofuzz/fuzz.go +++ b/vendor/github.com/google/gofuzz/fuzz.go @@ -23,8 +23,9 @@ import ( "regexp" "time" - "github.com/google/gofuzz/bytesource" "strings" + + "github.com/google/gofuzz/bytesource" ) // fuzzFuncMap is a map from a type to a fuzzFunc that handles that type. @@ -82,12 +83,13 @@ func NewWithSeed(seed int64) *Fuzzer { // // +build gofuzz // package mypacakge // import fuzz "github.com/google/gofuzz" -// func Fuzz(data []byte) int { -// var i int -// fuzz.NewFromGoFuzz(data).Fuzz(&i) -// MyFunc(i) -// return 0 -// } +// +// func Fuzz(data []byte) int { +// var i int +// fuzz.NewFromGoFuzz(data).Fuzz(&i) +// MyFunc(i) +// return 0 +// } func NewFromGoFuzz(data []byte) *Fuzzer { return New().RandSource(bytesource.New(data)) } diff --git a/vendor/github.com/google/uuid/dce.go b/vendor/github.com/google/uuid/dce.go index fa820b9d3..9302a1c1b 100644 --- a/vendor/github.com/google/uuid/dce.go +++ b/vendor/github.com/google/uuid/dce.go @@ -42,7 +42,7 @@ func NewDCESecurity(domain Domain, id uint32) (UUID, error) { // NewDCEPerson returns a DCE Security (Version 2) UUID in the person // domain with the id returned by os.Getuid. // -// NewDCESecurity(Person, uint32(os.Getuid())) +// NewDCESecurity(Person, uint32(os.Getuid())) func NewDCEPerson() (UUID, error) { return NewDCESecurity(Person, uint32(os.Getuid())) } @@ -50,7 +50,7 @@ func NewDCEPerson() (UUID, error) { // NewDCEGroup returns a DCE Security (Version 2) UUID in the group // domain with the id returned by os.Getgid. // -// NewDCESecurity(Group, uint32(os.Getgid())) +// NewDCESecurity(Group, uint32(os.Getgid())) func NewDCEGroup() (UUID, error) { return NewDCESecurity(Group, uint32(os.Getgid())) } diff --git a/vendor/github.com/google/uuid/hash.go b/vendor/github.com/google/uuid/hash.go index dc60082d3..cee37578b 100644 --- a/vendor/github.com/google/uuid/hash.go +++ b/vendor/github.com/google/uuid/hash.go @@ -45,7 +45,7 @@ func NewHash(h hash.Hash, space UUID, data []byte, version int) UUID { // NewMD5 returns a new MD5 (Version 3) UUID based on the // supplied name space and data. It is the same as calling: // -// NewHash(md5.New(), space, data, 3) +// NewHash(md5.New(), space, data, 3) func NewMD5(space UUID, data []byte) UUID { return NewHash(md5.New(), space, data, 3) } @@ -53,7 +53,7 @@ func NewMD5(space UUID, data []byte) UUID { // NewSHA1 returns a new SHA1 (Version 5) UUID based on the // supplied name space and data. It is the same as calling: // -// NewHash(sha1.New(), space, data, 5) +// NewHash(sha1.New(), space, data, 5) func NewSHA1(space UUID, data []byte) UUID { return NewHash(sha1.New(), space, data, 5) } diff --git a/vendor/github.com/google/uuid/node_js.go b/vendor/github.com/google/uuid/node_js.go index b2a0bc871..f745d7017 100644 --- a/vendor/github.com/google/uuid/node_js.go +++ b/vendor/github.com/google/uuid/node_js.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build js // +build js package uuid diff --git a/vendor/github.com/google/uuid/node_net.go b/vendor/github.com/google/uuid/node_net.go index 0cbbcddbd..e91358f7d 100644 --- a/vendor/github.com/google/uuid/node_net.go +++ b/vendor/github.com/google/uuid/node_net.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !js // +build !js package uuid diff --git a/vendor/github.com/google/uuid/null.go b/vendor/github.com/google/uuid/null.go index d7fcbf286..06ecf9de2 100644 --- a/vendor/github.com/google/uuid/null.go +++ b/vendor/github.com/google/uuid/null.go @@ -17,15 +17,14 @@ var jsonNull = []byte("null") // NullUUID implements the SQL driver.Scanner interface so // it can be used as a scan destination: // -// var u uuid.NullUUID -// err := db.QueryRow("SELECT name FROM foo WHERE id=?", id).Scan(&u) -// ... -// if u.Valid { -// // use u.UUID -// } else { -// // NULL value -// } -// +// var u uuid.NullUUID +// err := db.QueryRow("SELECT name FROM foo WHERE id=?", id).Scan(&u) +// ... +// if u.Valid { +// // use u.UUID +// } else { +// // NULL value +// } type NullUUID struct { UUID UUID Valid bool // Valid is true if UUID is not NULL diff --git a/vendor/github.com/google/uuid/uuid.go b/vendor/github.com/google/uuid/uuid.go index 5232b4867..1051192bc 100644 --- a/vendor/github.com/google/uuid/uuid.go +++ b/vendor/github.com/google/uuid/uuid.go @@ -187,10 +187,12 @@ func Must(uuid UUID, err error) UUID { } // Validate returns an error if s is not a properly formatted UUID in one of the following formats: -// xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -// urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -// {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} +// +// xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx +// urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx +// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +// {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} +// // It returns an error if the format is invalid, otherwise nil. func Validate(s string) error { switch len(s) { diff --git a/vendor/github.com/google/uuid/version4.go b/vendor/github.com/google/uuid/version4.go index 7697802e4..62ac27381 100644 --- a/vendor/github.com/google/uuid/version4.go +++ b/vendor/github.com/google/uuid/version4.go @@ -9,7 +9,7 @@ import "io" // New creates a new random UUID or panics. New is equivalent to // the expression // -// uuid.Must(uuid.NewRandom()) +// uuid.Must(uuid.NewRandom()) func New() UUID { return Must(NewRandom()) } @@ -17,7 +17,7 @@ func New() UUID { // NewString creates a new random UUID and returns it as a string or panics. // NewString is equivalent to the expression // -// uuid.New().String() +// uuid.New().String() func NewString() string { return Must(NewRandom()).String() } @@ -31,11 +31,11 @@ func NewString() string { // // A note about uniqueness derived from the UUID Wikipedia entry: // -// Randomly generated UUIDs have 122 random bits. One's annual risk of being -// hit by a meteorite is estimated to be one chance in 17 billion, that -// means the probability is about 0.00000000006 (6 × 10−11), -// equivalent to the odds of creating a few tens of trillions of UUIDs in a -// year and having one duplicate. +// Randomly generated UUIDs have 122 random bits. One's annual risk of being +// hit by a meteorite is estimated to be one chance in 17 billion, that +// means the probability is about 0.00000000006 (6 × 10−11), +// equivalent to the odds of creating a few tens of trillions of UUIDs in a +// year and having one duplicate. func NewRandom() (UUID, error) { if !poolEnabled { return NewRandomFromReader(rander) diff --git a/vendor/github.com/imdario/mergo/doc.go b/vendor/github.com/imdario/mergo/doc.go index fcd985f99..6c8fb45d4 100644 --- a/vendor/github.com/imdario/mergo/doc.go +++ b/vendor/github.com/imdario/mergo/doc.go @@ -8,11 +8,11 @@ A helper to merge structs and maps in Golang. Useful for configuration default v Mergo merges same-type structs and maps by setting default values in zero-value fields. Mergo won't merge unexported (private) fields. It will do recursively any exported one. It also won't merge structs inside maps (because they are not addressable using Go reflection). -Status +# Status It is ready for production use. It is used in several projects by Docker, Google, The Linux Foundation, VMWare, Shopify, etc. -Important note +# Important note Please keep in mind that a problematic PR broke 0.3.9. We reverted it in 0.3.10. We consider 0.3.10 as stable but not bug-free. . Also, this version adds suppot for go modules. @@ -20,18 +20,18 @@ Keep in mind that in 0.3.2, Mergo changed Merge() and Map() signatures to suppor If you were using Mergo before April 6th, 2015, please check your project works as intended after updating your local copy with go get -u github.com/imdario/mergo. I apologize for any issue caused by its previous behavior and any future bug that Mergo could cause in existing projects after the change (release 0.2.0). -Install +# Install Do your usual installation procedure: - go get github.com/imdario/mergo + go get github.com/imdario/mergo - // use in your .go code - import ( - "github.com/imdario/mergo" - ) + // use in your .go code + import ( + "github.com/imdario/mergo" + ) -Usage +# Usage You can only merge same-type structs with exported fields initialized as zero value of their type and same-types maps. Mergo won't merge unexported (private) fields but will do recursively any exported one. It won't merge empty structs value as they are zero values too. Also, maps will be merged recursively except for structs inside maps (because they are not addressable using Go reflection). @@ -81,7 +81,7 @@ Here is a nice example: // {two 2} } -Transformers +# Transformers Transformers allow to merge specific types differently than in the default behavior. In other words, now you can customize how some types are merged. For example, time.Time is a struct; it doesn't have zero value but IsZero can return true because it has fields with zero value. How can we merge a non-zero time.Time? @@ -127,17 +127,16 @@ Transformers allow to merge specific types differently than in the default behav // { 2018-01-12 01:15:00 +0000 UTC m=+0.000000001 } } -Contact me +# Contact me If I can help you, you have an idea or you are using Mergo in your projects, don't hesitate to drop me a line (or a pull request): https://twitter.com/im_dario -About +# About Written by Dario Castañé: https://da.rio.hn -License +# License BSD 3-Clause license, as Go language. - */ package mergo diff --git a/vendor/github.com/itchyny/gojq/builtin.go b/vendor/github.com/itchyny/gojq/builtin.go index 89b03dc7a..5f1950f22 100644 --- a/vendor/github.com/itchyny/gojq/builtin.go +++ b/vendor/github.com/itchyny/gojq/builtin.go @@ -4,65 +4,65 @@ package gojq func init() { builtinFuncDefs = map[string][]*FuncDef{ - "IN": {{Name: "IN", Args: []string{"s"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Left: &Query{Func: "s"}, Op: OpEq, Right: &Query{Func: "."}}, {Func: "."}}}}}}, {Name: "IN", Args: []string{"src", "s"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Left: &Query{Func: "src"}, Op: OpEq, Right: &Query{Func: "s"}}, {Func: "."}}}}}}}, - "INDEX": {{Name: "INDEX", Args: []string{"stream", "idx_expr"}, Body: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Func: "stream"}, Pattern: &Pattern{Name: "$row"}, Start: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{}}}, Update: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Left: &Query{Func: "$row"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "idx_expr"}, Op: OpPipe, Right: &Query{Func: "tostring"}}}}}}, Op: OpAssign, Right: &Query{Func: "$row"}}}}}}, {Name: "INDEX", Args: []string{"idx_expr"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "INDEX", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, {Func: "idx_expr"}}}}}}}, - "JOIN": {{Name: "JOIN", Args: []string{"$idx", "idx_expr"}, Body: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$idx"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Func: "idx_expr"}}}}}}}}}}}}}}}, {Name: "JOIN", Args: []string{"$idx", "stream", "idx_expr"}, Body: &Query{Left: &Query{Func: "stream"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$idx"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Func: "idx_expr"}}}}}}}}}}}}, {Name: "JOIN", Args: []string{"$idx", "stream", "idx_expr", "join_expr"}, Body: &Query{Left: &Query{Func: "stream"}, Op: OpPipe, Right: &Query{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$idx"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Func: "idx_expr"}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "join_expr"}}}}}, - "_assign": {}, - "_modify": {}, - "all": {{Name: "all", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "all", Args: []*Query{{Func: "."}}}}}}, {Name: "all", Args: []string{"y"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "all", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, {Func: "y"}}}}}}, {Name: "all", Args: []string{"g", "y"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "isempty", Args: []*Query{{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "y"}, Op: OpPipe, Right: &Query{Func: "not"}}}}}}}}}}}}}, - "any": {{Name: "any", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Func: "."}}}}}}, {Name: "any", Args: []string{"y"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, {Func: "y"}}}}}}, {Name: "any", Args: []string{"g", "y"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "isempty", Args: []*Query{{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "y"}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "not"}}}}, - "arrays": {{Name: "arrays", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}}}}}}}, - "booleans": {{Name: "booleans", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "boolean"}}}}}}}}}}, - "capture": {{Name: "capture", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "capture", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "capture", Args: []string{"$re", "$flags"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}}}}}, Op: OpPipe, Right: &Query{Func: "_capture"}}}}, - "combinations": {{Name: "combinations", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}, Else: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, SuffixList: []*Suffix{{Iter: true}, {Bind: &Bind{Patterns: []*Pattern{{Name: "$x"}}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "$x"}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}, IsSlice: true}}}, Op: OpPipe, Right: &Query{Func: "combinations"}}}}}}}}}}}}}}, {Name: "combinations", Args: []string{"n"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "limit", Args: []*Query{{Func: "n"}, {Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "repeat", Args: []*Query{{Func: "."}}}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "combinations"}}}}, - "del": {{Name: "del", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "delpaths", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Func: "f"}}}}}}}}}}}}}}, - "finites": {{Name: "finites", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "isfinite"}}}}}}}, - "first": {{Name: "first", Body: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}, {Name: "first", Args: []string{"g"}, Body: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}}}}}}}}, - "fromdate": {{Name: "fromdate", Body: &Query{Func: "fromdateiso8601"}}}, + "IN": {{Name: "IN", Args: []string{"s"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Left: &Query{Func: "s"}, Op: OpEq, Right: &Query{Func: "."}}, {Func: "."}}}}}}, {Name: "IN", Args: []string{"src", "s"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Left: &Query{Func: "src"}, Op: OpEq, Right: &Query{Func: "s"}}, {Func: "."}}}}}}}, + "INDEX": {{Name: "INDEX", Args: []string{"stream", "idx_expr"}, Body: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Func: "stream"}, Pattern: &Pattern{Name: "$row"}, Start: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{}}}, Update: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Left: &Query{Func: "$row"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "idx_expr"}, Op: OpPipe, Right: &Query{Func: "tostring"}}}}}}, Op: OpAssign, Right: &Query{Func: "$row"}}}}}}, {Name: "INDEX", Args: []string{"idx_expr"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "INDEX", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, {Func: "idx_expr"}}}}}}}, + "JOIN": {{Name: "JOIN", Args: []string{"$idx", "idx_expr"}, Body: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$idx"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Func: "idx_expr"}}}}}}}}}}}}}}}, {Name: "JOIN", Args: []string{"$idx", "stream", "idx_expr"}, Body: &Query{Left: &Query{Func: "stream"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$idx"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Func: "idx_expr"}}}}}}}}}}}}, {Name: "JOIN", Args: []string{"$idx", "stream", "idx_expr", "join_expr"}, Body: &Query{Left: &Query{Func: "stream"}, Op: OpPipe, Right: &Query{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$idx"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Func: "idx_expr"}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "join_expr"}}}}}, + "_assign": {}, + "_modify": {}, + "all": {{Name: "all", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "all", Args: []*Query{{Func: "."}}}}}}, {Name: "all", Args: []string{"y"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "all", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, {Func: "y"}}}}}}, {Name: "all", Args: []string{"g", "y"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "isempty", Args: []*Query{{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "y"}, Op: OpPipe, Right: &Query{Func: "not"}}}}}}}}}}}}}, + "any": {{Name: "any", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Func: "."}}}}}}, {Name: "any", Args: []string{"y"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "any", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, {Func: "y"}}}}}}, {Name: "any", Args: []string{"g", "y"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "isempty", Args: []*Query{{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "y"}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "not"}}}}, + "arrays": {{Name: "arrays", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}}}}}}}, + "booleans": {{Name: "booleans", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "boolean"}}}}}}}}}}, + "capture": {{Name: "capture", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "capture", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "capture", Args: []string{"$re", "$flags"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}}}}}, Op: OpPipe, Right: &Query{Func: "_capture"}}}}, + "combinations": {{Name: "combinations", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}, Else: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, SuffixList: []*Suffix{{Iter: true}, {Bind: &Bind{Patterns: []*Pattern{{Name: "$x"}}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "$x"}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}, IsSlice: true}}}, Op: OpPipe, Right: &Query{Func: "combinations"}}}}}}}}}}}}}}, {Name: "combinations", Args: []string{"n"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "limit", Args: []*Query{{Func: "n"}, {Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "repeat", Args: []*Query{{Func: "."}}}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "combinations"}}}}, + "del": {{Name: "del", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "delpaths", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Func: "f"}}}}}}}}}}}}}}, + "finites": {{Name: "finites", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "isfinite"}}}}}}}, + "first": {{Name: "first", Body: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}, {Name: "first", Args: []string{"g"}, Body: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}}}}}}}}, + "fromdate": {{Name: "fromdate", Body: &Query{Func: "fromdateiso8601"}}}, "fromdateiso8601": {{Name: "fromdateiso8601", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "strptime", Args: []*Query{{Term: &Term{Type: TermTypeString, Str: &String{Str: "%Y-%m-%dT%H:%M:%S%z"}}}}}}}, Op: OpPipe, Right: &Query{Func: "mktime"}}}}, - "fromstream": {{Name: "fromstream", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{KeyVals: []*ObjectKeyVal{{Key: "x", Val: &Query{Func: "null"}}, {Key: "e", Val: &Query{Func: "false"}}}}, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$init"}}, Body: &Query{Term: &Term{Type: TermTypeForeach, Foreach: &Foreach{Query: &Query{Func: "f"}, Pattern: &Pattern{Name: "$i"}, Start: &Query{Func: "$init"}, Update: &Query{Left: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "e"}}}, Then: &Query{Func: "$init"}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "$i"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "2"}}}}, Then: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "e"}}}}}}, {Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}, Op: OpPipe, Right: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "x"}}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}}, {Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}}}}}}, Else: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "e"}}}}}}, {Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}, Op: OpPipe, Right: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}}}}}}, Extract: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "e"}}}, Then: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "x"}}}, Else: &Query{Func: "empty"}}}}}}}}}}}}}}, - "group_by": {{Name: "group_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_group_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, - "gsub": {{Name: "gsub", Args: []string{"$re", "str"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "sub", Args: []*Query{{Func: "$re"}, {Func: "str"}, {Term: &Term{Type: TermTypeString, Str: &String{Str: "g"}}}}}}}}, {Name: "gsub", Args: []string{"$re", "str", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "sub", Args: []*Query{{Func: "$re"}, {Func: "str"}, {Left: &Query{Func: "$flags"}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "g"}}}}}}}}}}, - "in": {{Name: "in", Args: []string{"xs"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$x"}}, Body: &Query{Left: &Query{Func: "xs"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "has", Args: []*Query{{Func: "$x"}}}}}}}}}}}}}, - "inputs": {{Name: "inputs", Body: &Query{Term: &Term{Type: TermTypeTry, Try: &Try{Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "repeat", Args: []*Query{{Func: "input"}}}}}, Catch: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "break"}}}}, Then: &Query{Func: "empty"}, Else: &Query{Func: "error"}}}}}}}}}, - "inside": {{Name: "inside", Args: []string{"xs"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$x"}}, Body: &Query{Left: &Query{Func: "xs"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "contains", Args: []*Query{{Func: "$x"}}}}}}}}}}}}}, - "isempty": {{Name: "isempty", Args: []string{"g"}, Body: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "false"}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}}}}}, Op: OpComma, Right: &Query{Func: "true"}}}}}}}, - "iterables": {{Name: "iterables", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpPipe, Right: &Query{Left: &Query{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}, Op: OpOr, Right: &Query{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}}}}}}}}}, - "last": {{Name: "last", Body: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeUnary, Unary: &Unary{Op: OpSub, Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}}, {Name: "last", Args: []string{"g"}, Body: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Func: "g"}, Pattern: &Pattern{Name: "$item"}, Start: &Query{Func: "null"}, Update: &Query{Func: "$item"}}}}}}, - "limit": {{Name: "limit", Args: []string{"$n", "g"}, Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "$n"}, Op: OpGt, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Term: &Term{Type: TermTypeForeach, Foreach: &Foreach{Query: &Query{Func: "g"}, Pattern: &Pattern{Name: "$item"}, Start: &Query{Func: "$n"}, Update: &Query{Left: &Query{Func: "."}, Op: OpSub, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}, Extract: &Query{Left: &Query{Func: "$item"}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "."}, Op: OpLe, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}, Else: &Query{Func: "empty"}}}}}}}}}}}, Elif: []*IfElif{{Cond: &Query{Left: &Query{Func: "$n"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Func: "empty"}}}, Else: &Query{Func: "g"}}}}}}, - "map": {{Name: "map", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, Op: OpPipe, Right: &Query{Func: "f"}}}}}}}, - "map_values": {{Name: "map_values", Args: []string{"f"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, Op: OpModify, Right: &Query{Func: "f"}}}}, - "match": {{Name: "match", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "match", Args: []string{"$re", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}, {Func: "false"}}}, SuffixList: []*Suffix{{Iter: true}}}}}}, - "max_by": {{Name: "max_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_max_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, - "min_by": {{Name: "min_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_min_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, - "normals": {{Name: "normals", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "isnormal"}}}}}}}, - "not": {{Name: "not", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "."}, Then: &Query{Func: "false"}, Else: &Query{Func: "true"}}}}}}, - "nth": {{Name: "nth", Args: []string{"$n"}, Body: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Func: "$n"}}}}}, {Name: "nth", Args: []string{"$n", "g"}, Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "$n"}, Op: OpLt, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "error", Args: []*Query{{Term: &Term{Type: TermTypeString, Str: &String{Str: "nth doesn't support negative indices"}}}}}}}, Else: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Term: &Term{Type: TermTypeForeach, Foreach: &Foreach{Query: &Query{Func: "g"}, Pattern: &Pattern{Name: "$item"}, Start: &Query{Left: &Query{Func: "$n"}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}, Update: &Query{Left: &Query{Func: "."}, Op: OpSub, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}, Extract: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "."}, Op: OpLe, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Left: &Query{Func: "$item"}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}}, Else: &Query{Func: "empty"}}}}}}}}}}}}}}}, - "nulls": {{Name: "nulls", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Func: "null"}}}}}}}}, - "numbers": {{Name: "numbers", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "number"}}}}}}}}}}, - "objects": {{Name: "objects", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}}}}}}}, - "paths": {{Name: "paths", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Func: ".."}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}}}}}}}, {Name: "paths", Args: []string{"f"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Left: &Query{Func: ".."}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "f"}}}}}}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}}}}}}}}, - "pick": {{Name: "pick", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$v"}}, Body: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Func: "f"}}}}}, Pattern: &Pattern{Name: "$p"}, Start: &Query{Func: "null"}, Update: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Func: "$p"}, {Left: &Query{Func: "$v"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "getpath", Args: []*Query{{Func: "$p"}}}}}}}}}}}}}}}}}}}}, - "range": {{Name: "range", Args: []string{"$end"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_range", Args: []*Query{{Term: &Term{Type: TermTypeNumber, Number: "0"}}, {Func: "$end"}, {Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}, {Name: "range", Args: []string{"$start", "$end"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_range", Args: []*Query{{Func: "$start"}, {Func: "$end"}, {Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}, {Name: "range", Args: []string{"$start", "$end", "$step"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_range", Args: []*Query{{Func: "$start"}, {Func: "$end"}, {Func: "$step"}}}}}}}, - "recurse": {{Name: "recurse", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "recurse", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}, {Optional: true}}}}}}}}}, {Name: "recurse", Args: []string{"f"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "r", Body: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "f"}, Op: OpPipe, Right: &Query{Func: "r"}}}}}}}, Func: "r"}}, {Name: "recurse", Args: []string{"f", "cond"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "r", Body: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "f"}, Op: OpPipe, Right: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "cond"}}}}}, Op: OpPipe, Right: &Query{Func: "r"}}}}}}}}, Func: "r"}}}, - "repeat": {{Name: "repeat", Args: []string{"f"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_repeat", Body: &Query{Left: &Query{Func: "f"}, Op: OpComma, Right: &Query{Func: "_repeat"}}}}, Func: "_repeat"}}}, - "scalars": {{Name: "scalars", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpPipe, Right: &Query{Left: &Query{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}, Op: OpAnd, Right: &Query{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}}}}}}}}}, - "scan": {{Name: "scan", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "scan", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "scan", Args: []string{"$re", "$flags"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Left: &Query{Func: "$flags"}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "g"}}}}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "captures"}}}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}, Then: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "string"}}}, Else: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "captures"}, SuffixList: []*Suffix{{Iter: true}, {Index: &Index{Name: "string"}}}}}}}}}}}}}}, - "select": {{Name: "select", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "f"}, Then: &Query{Func: "."}, Else: &Query{Func: "empty"}}}}}}, - "sort_by": {{Name: "sort_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_sort_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, - "splits": {{Name: "splits", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "splits", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "splits", Args: []string{"$re", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "split", Args: []*Query{{Func: "$re"}, {Func: "$flags"}}}, SuffixList: []*Suffix{{Iter: true}}}}}}, - "strings": {{Name: "strings", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "string"}}}}}}}}}}, - "sub": {{Name: "sub", Args: []string{"$re", "str"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "sub", Args: []*Query{{Func: "$re"}, {Func: "str"}, {Func: "null"}}}}}}, {Name: "sub", Args: []string{"$re", "str", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$str"}}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_sub", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "matches"}}}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}, Then: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$str"}, SuffixList: []*Suffix{{Index: &Index{End: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "offset"}}}, IsSlice: true}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "string"}}}}, Else: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "matches"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeUnary, Unary: &Unary{Op: OpSub, Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}, {Bind: &Bind{Patterns: []*Pattern{{Name: "$r"}}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{KeyVals: []*ObjectKeyVal{{Key: "string", Val: &Query{Left: &Query{Left: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "$r"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "_capture"}, Op: OpPipe, Right: &Query{Func: "str"}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$str"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$r"}, SuffixList: []*Suffix{{Index: &Index{Name: "offset"}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$r"}, SuffixList: []*Suffix{{Index: &Index{Name: "length"}}}}}}, End: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "offset"}}}, IsSlice: true}}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "string"}}}}}, {Key: "offset", Val: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$r"}, SuffixList: []*Suffix{{Index: &Index{Name: "offset"}}}}}}, {Key: "matches", Val: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "matches"}, SuffixList: []*Suffix{{Index: &Index{End: &Query{Term: &Term{Type: TermTypeUnary, Unary: &Unary{Op: OpSub, Term: &Term{Type: TermTypeNumber, Number: "1"}}}}, IsSlice: true}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "_sub"}}}}}}}}}}}}, Left: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{KeyVals: []*ObjectKeyVal{{Key: "string", Val: &Query{Term: &Term{Type: TermTypeString, Str: &String{}}}}, {Key: "matches", Val: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}}}}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "_sub"}}}}}}}}}, - "test": {{Name: "test", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "test", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "test", Args: []string{"$re", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}, {Func: "true"}}}}}}}, - "todate": {{Name: "todate", Body: &Query{Func: "todateiso8601"}}}, - "todateiso8601": {{Name: "todateiso8601", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "strftime", Args: []*Query{{Term: &Term{Type: TermTypeString, Str: &String{Str: "%Y-%m-%dT%H:%M:%SZ"}}}}}}}}}, - "tostream": {{Name: "tostream", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{FuncDefs: []*FuncDef{{Name: "r", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}, {Optional: true}}}}, Op: OpPipe, Right: &Query{Func: "r"}}}}, Op: OpComma, Right: &Query{Func: "."}}}}, Func: "r"}}}, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$p"}}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "getpath", Args: []*Query{{Func: "$p"}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}, {Optional: true}}}}}}}}, Pattern: &Pattern{Name: "$q"}, Start: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "$p"}, Op: OpComma, Right: &Query{Func: "."}}}}}, Update: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "$p"}, Op: OpAdd, Right: &Query{Func: "$q"}}}}}}}}}}}}}}}}, + "fromstream": {{Name: "fromstream", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{KeyVals: []*ObjectKeyVal{{Key: "x", Val: &Query{Func: "null"}}, {Key: "e", Val: &Query{Func: "false"}}}}, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$init"}}, Body: &Query{Term: &Term{Type: TermTypeForeach, Foreach: &Foreach{Query: &Query{Func: "f"}, Pattern: &Pattern{Name: "$i"}, Start: &Query{Func: "$init"}, Update: &Query{Left: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "e"}}}, Then: &Query{Func: "$init"}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "$i"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "2"}}}}, Then: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "e"}}}}}}, {Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}, Op: OpPipe, Right: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Left: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "x"}}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}}, {Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}}}}}}, Else: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "e"}}}}}}, {Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$i"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}}}, Op: OpPipe, Right: &Query{Left: &Query{Func: "length"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}}}}}}, Extract: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "e"}}}, Then: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "x"}}}, Else: &Query{Func: "empty"}}}}}}}}}}}}}}, + "group_by": {{Name: "group_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_group_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, + "gsub": {{Name: "gsub", Args: []string{"$re", "str"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "sub", Args: []*Query{{Func: "$re"}, {Func: "str"}, {Term: &Term{Type: TermTypeString, Str: &String{Str: "g"}}}}}}}}, {Name: "gsub", Args: []string{"$re", "str", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "sub", Args: []*Query{{Func: "$re"}, {Func: "str"}, {Left: &Query{Func: "$flags"}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "g"}}}}}}}}}}, + "in": {{Name: "in", Args: []string{"xs"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$x"}}, Body: &Query{Left: &Query{Func: "xs"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "has", Args: []*Query{{Func: "$x"}}}}}}}}}}}}}, + "inputs": {{Name: "inputs", Body: &Query{Term: &Term{Type: TermTypeTry, Try: &Try{Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "repeat", Args: []*Query{{Func: "input"}}}}}, Catch: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "break"}}}}, Then: &Query{Func: "empty"}, Else: &Query{Func: "error"}}}}}}}}}, + "inside": {{Name: "inside", Args: []string{"xs"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$x"}}, Body: &Query{Left: &Query{Func: "xs"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "contains", Args: []*Query{{Func: "$x"}}}}}}}}}}}}}, + "isempty": {{Name: "isempty", Args: []string{"g"}, Body: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "g"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "false"}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}}}}}, Op: OpComma, Right: &Query{Func: "true"}}}}}}}, + "iterables": {{Name: "iterables", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpPipe, Right: &Query{Left: &Query{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}, Op: OpOr, Right: &Query{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}}}}}}}}}, + "last": {{Name: "last", Body: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeUnary, Unary: &Unary{Op: OpSub, Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}}, {Name: "last", Args: []string{"g"}, Body: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Func: "g"}, Pattern: &Pattern{Name: "$item"}, Start: &Query{Func: "null"}, Update: &Query{Func: "$item"}}}}}}, + "limit": {{Name: "limit", Args: []string{"$n", "g"}, Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "$n"}, Op: OpGt, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Term: &Term{Type: TermTypeForeach, Foreach: &Foreach{Query: &Query{Func: "g"}, Pattern: &Pattern{Name: "$item"}, Start: &Query{Func: "$n"}, Update: &Query{Left: &Query{Func: "."}, Op: OpSub, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}, Extract: &Query{Left: &Query{Func: "$item"}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "."}, Op: OpLe, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}, Else: &Query{Func: "empty"}}}}}}}}}}}, Elif: []*IfElif{{Cond: &Query{Left: &Query{Func: "$n"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Func: "empty"}}}, Else: &Query{Func: "g"}}}}}}, + "map": {{Name: "map", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, Op: OpPipe, Right: &Query{Func: "f"}}}}}}}, + "map_values": {{Name: "map_values", Args: []string{"f"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}}}}, Op: OpModify, Right: &Query{Func: "f"}}}}, + "match": {{Name: "match", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "match", Args: []string{"$re", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}, {Func: "false"}}}, SuffixList: []*Suffix{{Iter: true}}}}}}, + "max_by": {{Name: "max_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_max_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, + "min_by": {{Name: "min_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_min_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, + "normals": {{Name: "normals", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "isnormal"}}}}}}}, + "not": {{Name: "not", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "."}, Then: &Query{Func: "false"}, Else: &Query{Func: "true"}}}}}}, + "nth": {{Name: "nth", Args: []string{"$n"}, Body: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Func: "$n"}}}}}, {Name: "nth", Args: []string{"$n", "g"}, Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "$n"}, Op: OpLt, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "error", Args: []*Query{{Term: &Term{Type: TermTypeString, Str: &String{Str: "nth doesn't support negative indices"}}}}}}}, Else: &Query{Term: &Term{Type: TermTypeLabel, Label: &Label{Ident: "$out", Body: &Query{Term: &Term{Type: TermTypeForeach, Foreach: &Foreach{Query: &Query{Func: "g"}, Pattern: &Pattern{Name: "$item"}, Start: &Query{Left: &Query{Func: "$n"}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}, Update: &Query{Left: &Query{Func: "."}, Op: OpSub, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "1"}}}, Extract: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "."}, Op: OpLe, Right: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}, Then: &Query{Left: &Query{Func: "$item"}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeBreak, Break: "$out"}}}, Else: &Query{Func: "empty"}}}}}}}}}}}}}}}, + "nulls": {{Name: "nulls", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpEq, Right: &Query{Func: "null"}}}}}}}}, + "numbers": {{Name: "numbers", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "number"}}}}}}}}}}, + "objects": {{Name: "objects", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}}}}}}}, + "paths": {{Name: "paths", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Func: ".."}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}}}}}}}, {Name: "paths", Args: []string{"f"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Left: &Query{Func: ".."}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "f"}}}}}}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}}}}}}}}, + "pick": {{Name: "pick", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$v"}}, Body: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Func: "f"}}}}}, Pattern: &Pattern{Name: "$p"}, Start: &Query{Func: "null"}, Update: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "setpath", Args: []*Query{{Func: "$p"}, {Left: &Query{Func: "$v"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "getpath", Args: []*Query{{Func: "$p"}}}}}}}}}}}}}}}}}}}}, + "range": {{Name: "range", Args: []string{"$end"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_range", Args: []*Query{{Term: &Term{Type: TermTypeNumber, Number: "0"}}, {Func: "$end"}, {Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}, {Name: "range", Args: []string{"$start", "$end"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_range", Args: []*Query{{Func: "$start"}, {Func: "$end"}, {Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}}, {Name: "range", Args: []string{"$start", "$end", "$step"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_range", Args: []*Query{{Func: "$start"}, {Func: "$end"}, {Func: "$step"}}}}}}}, + "recurse": {{Name: "recurse", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "recurse", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}, {Optional: true}}}}}}}}}, {Name: "recurse", Args: []string{"f"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "r", Body: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "f"}, Op: OpPipe, Right: &Query{Func: "r"}}}}}}}, Func: "r"}}, {Name: "recurse", Args: []string{"f", "cond"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "r", Body: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "f"}, Op: OpPipe, Right: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Func: "cond"}}}}}, Op: OpPipe, Right: &Query{Func: "r"}}}}}}}}, Func: "r"}}}, + "repeat": {{Name: "repeat", Args: []string{"f"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_repeat", Body: &Query{Left: &Query{Func: "f"}, Op: OpComma, Right: &Query{Func: "_repeat"}}}}, Func: "_repeat"}}}, + "scalars": {{Name: "scalars", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpPipe, Right: &Query{Left: &Query{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}, Op: OpAnd, Right: &Query{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}}}}}}}}}, + "scan": {{Name: "scan", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "scan", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "scan", Args: []string{"$re", "$flags"}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Left: &Query{Func: "$flags"}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "g"}}}}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "captures"}}}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}, Then: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "string"}}}, Else: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "captures"}, SuffixList: []*Suffix{{Iter: true}, {Index: &Index{Name: "string"}}}}}}}}}}}}}}, + "select": {{Name: "select", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "f"}, Then: &Query{Func: "."}, Else: &Query{Func: "empty"}}}}}}, + "sort_by": {{Name: "sort_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_sort_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, + "splits": {{Name: "splits", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "splits", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "splits", Args: []string{"$re", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "split", Args: []*Query{{Func: "$re"}, {Func: "$flags"}}}, SuffixList: []*Suffix{{Iter: true}}}}}}, + "strings": {{Name: "strings", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "string"}}}}}}}}}}, + "sub": {{Name: "sub", Args: []string{"$re", "str"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "sub", Args: []*Query{{Func: "$re"}, {Func: "str"}, {Func: "null"}}}}}}, {Name: "sub", Args: []string{"$re", "str", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$str"}}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_sub", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "matches"}}}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{}}}}, Then: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$str"}, SuffixList: []*Suffix{{Index: &Index{End: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "offset"}}}, IsSlice: true}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "string"}}}}, Else: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "matches"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Term: &Term{Type: TermTypeUnary, Unary: &Unary{Op: OpSub, Term: &Term{Type: TermTypeNumber, Number: "1"}}}}}}, {Bind: &Bind{Patterns: []*Pattern{{Name: "$r"}}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{KeyVals: []*ObjectKeyVal{{Key: "string", Val: &Query{Left: &Query{Left: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "$r"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "_capture"}, Op: OpPipe, Right: &Query{Func: "str"}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$str"}, SuffixList: []*Suffix{{Index: &Index{Start: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$r"}, SuffixList: []*Suffix{{Index: &Index{Name: "offset"}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$r"}, SuffixList: []*Suffix{{Index: &Index{Name: "length"}}}}}}, End: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "offset"}}}, IsSlice: true}}}}}}, Op: OpAdd, Right: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "string"}}}}}, {Key: "offset", Val: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "$r"}, SuffixList: []*Suffix{{Index: &Index{Name: "offset"}}}}}}, {Key: "matches", Val: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Name: "matches"}, SuffixList: []*Suffix{{Index: &Index{End: &Query{Term: &Term{Type: TermTypeUnary, Unary: &Unary{Op: OpSub, Term: &Term{Type: TermTypeNumber, Number: "1"}}}}, IsSlice: true}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "_sub"}}}}}}}}}}}}, Left: &Query{Term: &Term{Type: TermTypeObject, Object: &Object{KeyVals: []*ObjectKeyVal{{Key: "string", Val: &Query{Term: &Term{Type: TermTypeString, Str: &String{}}}}, {Key: "matches", Val: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}}}}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "_sub"}}}}}}}}}, + "test": {{Name: "test", Args: []string{"$re"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "test", Args: []*Query{{Func: "$re"}, {Func: "null"}}}}}}, {Name: "test", Args: []string{"$re", "$flags"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_match", Args: []*Query{{Func: "$re"}, {Func: "$flags"}, {Func: "true"}}}}}}}, + "todate": {{Name: "todate", Body: &Query{Func: "todateiso8601"}}}, + "todateiso8601": {{Name: "todateiso8601", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "strftime", Args: []*Query{{Term: &Term{Type: TermTypeString, Str: &String{Str: "%Y-%m-%dT%H:%M:%SZ"}}}}}}}}}, + "tostream": {{Name: "tostream", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{FuncDefs: []*FuncDef{{Name: "r", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}, {Optional: true}}}}, Op: OpPipe, Right: &Query{Func: "r"}}}}, Op: OpComma, Right: &Query{Func: "."}}}}, Func: "r"}}}, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$p"}}, Body: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "getpath", Args: []*Query{{Func: "$p"}}}}}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeReduce, Reduce: &Reduce{Query: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "path", Args: []*Query{{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Iter: true}, {Optional: true}}}}}}}}, Pattern: &Pattern{Name: "$q"}, Start: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "$p"}, Op: OpComma, Right: &Query{Func: "."}}}}}, Update: &Query{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Left: &Query{Func: "$p"}, Op: OpAdd, Right: &Query{Func: "$q"}}}}}}}}}}}}}}}}, "truncate_stream": {{Name: "truncate_stream", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeIdentity, SuffixList: []*Suffix{{Bind: &Bind{Patterns: []*Pattern{{Name: "$n"}}, Body: &Query{Left: &Query{Func: "null"}, Op: OpPipe, Right: &Query{Left: &Query{Func: "f"}, Op: OpPipe, Right: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}, Op: OpPipe, Right: &Query{Left: &Query{Func: "length"}, Op: OpGt, Right: &Query{Func: "$n"}}}, Then: &Query{Left: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Term: &Term{Type: TermTypeNumber, Number: "0"}}}}}, Op: OpModify, Right: &Query{Term: &Term{Type: TermTypeIndex, Index: &Index{Start: &Query{Func: "$n"}, IsSlice: true}}}}, Else: &Query{Func: "empty"}}}}}}}}}}}}}, - "unique_by": {{Name: "unique_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_unique_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, - "until": {{Name: "until", Args: []string{"cond", "next"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_until", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "cond"}, Then: &Query{Func: "."}, Else: &Query{Left: &Query{Func: "next"}, Op: OpPipe, Right: &Query{Func: "_until"}}}}}}}, Func: "_until"}}}, - "values": {{Name: "values", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Func: "null"}}}}}}}}, - "walk": {{Name: "walk", Args: []string{"f"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_walk", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}, Then: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Func: "_walk"}}}}}, Elif: []*IfElif{{Cond: &Query{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}, Then: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map_values", Args: []*Query{{Func: "_walk"}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "f"}}}}, Func: "_walk"}}}, - "while": {{Name: "while", Args: []string{"cond", "update"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_while", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "cond"}, Then: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "update"}, Op: OpPipe, Right: &Query{Func: "_while"}}}}}, Else: &Query{Func: "empty"}}}}}}, Func: "_while"}}}, - "with_entries": {{Name: "with_entries", Args: []string{"f"}, Body: &Query{Left: &Query{Func: "to_entries"}, Op: OpPipe, Right: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Func: "f"}}}}}, Op: OpPipe, Right: &Query{Func: "from_entries"}}}}}, + "unique_by": {{Name: "unique_by", Args: []string{"f"}, Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "_unique_by", Args: []*Query{{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Term: &Term{Type: TermTypeArray, Array: &Array{Query: &Query{Func: "f"}}}}}}}}}}}}}}, + "until": {{Name: "until", Args: []string{"cond", "next"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_until", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "cond"}, Then: &Query{Func: "."}, Else: &Query{Left: &Query{Func: "next"}, Op: OpPipe, Right: &Query{Func: "_until"}}}}}}}, Func: "_until"}}}, + "values": {{Name: "values", Body: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "select", Args: []*Query{{Left: &Query{Func: "."}, Op: OpNe, Right: &Query{Func: "null"}}}}}}}}, + "walk": {{Name: "walk", Args: []string{"f"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_walk", Body: &Query{Left: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "array"}}}}, Then: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Func: "_walk"}}}}}, Elif: []*IfElif{{Cond: &Query{Left: &Query{Func: "type"}, Op: OpEq, Right: &Query{Term: &Term{Type: TermTypeString, Str: &String{Str: "object"}}}}, Then: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map_values", Args: []*Query{{Func: "_walk"}}}}}}}}}}, Op: OpPipe, Right: &Query{Func: "f"}}}}, Func: "_walk"}}}, + "while": {{Name: "while", Args: []string{"cond", "update"}, Body: &Query{FuncDefs: []*FuncDef{{Name: "_while", Body: &Query{Term: &Term{Type: TermTypeIf, If: &If{Cond: &Query{Func: "cond"}, Then: &Query{Left: &Query{Func: "."}, Op: OpComma, Right: &Query{Term: &Term{Type: TermTypeQuery, Query: &Query{Left: &Query{Func: "update"}, Op: OpPipe, Right: &Query{Func: "_while"}}}}}, Else: &Query{Func: "empty"}}}}}}, Func: "_while"}}}, + "with_entries": {{Name: "with_entries", Args: []string{"f"}, Body: &Query{Left: &Query{Func: "to_entries"}, Op: OpPipe, Right: &Query{Left: &Query{Term: &Term{Type: TermTypeFunc, Func: &Func{Name: "map", Args: []*Query{{Func: "f"}}}}}, Op: OpPipe, Right: &Query{Func: "from_entries"}}}}}, } } diff --git a/vendor/github.com/jackc/pgconn/config.go b/vendor/github.com/jackc/pgconn/config.go index 36b74c4a3..91f31f7c1 100644 --- a/vendor/github.com/jackc/pgconn/config.go +++ b/vendor/github.com/jackc/pgconn/config.go @@ -147,11 +147,11 @@ func NetworkAddress(host string, port uint16) (network, address string) { // See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING for details. connString also may be // empty to only read from the environment. If a password is not supplied it will attempt to read the .pgpass file. // -// # Example DSN -// user=jack password=secret host=pg.example.com port=5432 dbname=mydb sslmode=verify-ca +// # Example DSN +// user=jack password=secret host=pg.example.com port=5432 dbname=mydb sslmode=verify-ca // -// # Example URL -// postgres://jack:secret@pg.example.com:5432/mydb?sslmode=verify-ca +// # Example URL +// postgres://jack:secret@pg.example.com:5432/mydb?sslmode=verify-ca // // The returned *Config may be modified. However, it is strongly recommended that any configuration that can be done // through the connection string be done there. In particular the fields Host, Port, TLSConfig, and Fallbacks can be @@ -162,28 +162,28 @@ func NetworkAddress(host string, port uint16) (network, address string) { // values that will be tried in order. This can be used as part of a high availability system. See // https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-MULTIPLE-HOSTS for more information. // -// # Example URL -// postgres://jack:secret@foo.example.com:5432,bar.example.com:5432/mydb +// # Example URL +// postgres://jack:secret@foo.example.com:5432,bar.example.com:5432/mydb // // ParseConfig currently recognizes the following environment variable and their parameter key word equivalents passed // via database URL or DSN: // -// PGHOST -// PGPORT -// PGDATABASE -// PGUSER -// PGPASSWORD -// PGPASSFILE -// PGSERVICE -// PGSERVICEFILE -// PGSSLMODE -// PGSSLCERT -// PGSSLKEY -// PGSSLROOTCERT -// PGSSLPASSWORD -// PGAPPNAME -// PGCONNECT_TIMEOUT -// PGTARGETSESSIONATTRS +// PGHOST +// PGPORT +// PGDATABASE +// PGUSER +// PGPASSWORD +// PGPASSFILE +// PGSERVICE +// PGSERVICEFILE +// PGSSLMODE +// PGSSLCERT +// PGSSLKEY +// PGSSLROOTCERT +// PGSSLPASSWORD +// PGAPPNAME +// PGCONNECT_TIMEOUT +// PGTARGETSESSIONATTRS // // See http://www.postgresql.org/docs/11/static/libpq-envars.html for details on the meaning of environment variables. // @@ -212,11 +212,11 @@ func NetworkAddress(host string, port uint16) (network, address string) { // // In addition, ParseConfig accepts the following options: // -// min_read_buffer_size -// The minimum size of the internal read buffer. Default 8192. -// servicefile -// libpq only reads servicefile from the PGSERVICEFILE environment variable. ParseConfig accepts servicefile as a -// part of the connection string. +// min_read_buffer_size +// The minimum size of the internal read buffer. Default 8192. +// servicefile +// libpq only reads servicefile from the PGSERVICEFILE environment variable. ParseConfig accepts servicefile as a +// part of the connection string. func ParseConfig(connString string) (*Config, error) { var parseConfigOptions ParseConfigOptions return ParseConfigWithOptions(connString, parseConfigOptions) diff --git a/vendor/github.com/jackc/pgtype/aclitem.go b/vendor/github.com/jackc/pgtype/aclitem.go index 9f6587be7..b448b2bef 100644 --- a/vendor/github.com/jackc/pgtype/aclitem.go +++ b/vendor/github.com/jackc/pgtype/aclitem.go @@ -16,7 +16,6 @@ import ( // it should appear in double-quotes: // // postgres=arwdDxt/"role with spaces" -// type ACLItem struct { String string Status Status diff --git a/vendor/github.com/jackc/pgtype/cid.go b/vendor/github.com/jackc/pgtype/cid.go index b944748c7..e34b03b70 100644 --- a/vendor/github.com/jackc/pgtype/cid.go +++ b/vendor/github.com/jackc/pgtype/cid.go @@ -8,7 +8,7 @@ import ( // // When one does // -// select cmin, cmax, * from some_table; +// select cmin, cmax, * from some_table; // // it is the data type of the cmin and cmax hidden system columns. // diff --git a/vendor/github.com/jackc/pgtype/tid.go b/vendor/github.com/jackc/pgtype/tid.go index 4bb57f643..d4f2c9644 100644 --- a/vendor/github.com/jackc/pgtype/tid.go +++ b/vendor/github.com/jackc/pgtype/tid.go @@ -14,7 +14,7 @@ import ( // // When one does // -// select ctid, * from some_table; +// select ctid, * from some_table; // // it is the data type of the ctid hidden system column. // diff --git a/vendor/github.com/jackc/pgtype/xid.go b/vendor/github.com/jackc/pgtype/xid.go index f6d6b22d5..528ac984c 100644 --- a/vendor/github.com/jackc/pgtype/xid.go +++ b/vendor/github.com/jackc/pgtype/xid.go @@ -11,7 +11,7 @@ import ( // // Also, when one does // -// select xmin, xmax, * from some_table; +// select xmin, xmax, * from some_table; // // it is the data type of the xmin and xmax hidden system columns. // diff --git a/vendor/github.com/jinzhu/inflection/inflections.go b/vendor/github.com/jinzhu/inflection/inflections.go index 606263bb7..01fecd5c1 100644 --- a/vendor/github.com/jinzhu/inflection/inflections.go +++ b/vendor/github.com/jinzhu/inflection/inflections.go @@ -1,25 +1,25 @@ /* Package inflection pluralizes and singularizes English nouns. - inflection.Plural("person") => "people" - inflection.Plural("Person") => "People" - inflection.Plural("PERSON") => "PEOPLE" + inflection.Plural("person") => "people" + inflection.Plural("Person") => "People" + inflection.Plural("PERSON") => "PEOPLE" - inflection.Singular("people") => "person" - inflection.Singular("People") => "Person" - inflection.Singular("PEOPLE") => "PERSON" + inflection.Singular("people") => "person" + inflection.Singular("People") => "Person" + inflection.Singular("PEOPLE") => "PERSON" - inflection.Plural("FancyPerson") => "FancydPeople" - inflection.Singular("FancyPeople") => "FancydPerson" + inflection.Plural("FancyPerson") => "FancydPeople" + inflection.Singular("FancyPeople") => "FancydPerson" Standard rules are from Rails's ActiveSupport (https://github.com/rails/rails/blob/master/activesupport/lib/active_support/inflections.rb) If you want to register more rules, follow: - inflection.AddUncountable("fish") - inflection.AddIrregular("person", "people") - inflection.AddPlural("(bu)s$", "${1}ses") # "bus" => "buses" / "BUS" => "BUSES" / "Bus" => "Buses" - inflection.AddSingular("(bus)(es)?$", "${1}") # "buses" => "bus" / "Buses" => "Bus" / "BUSES" => "BUS" + inflection.AddUncountable("fish") + inflection.AddIrregular("person", "people") + inflection.AddPlural("(bu)s$", "${1}ses") # "bus" => "buses" / "BUS" => "BUSES" / "Bus" => "Buses" + inflection.AddSingular("(bus)(es)?$", "${1}") # "buses" => "bus" / "Buses" => "Bus" / "BUSES" => "BUS" */ package inflection diff --git a/vendor/github.com/jinzhu/now/main.go b/vendor/github.com/jinzhu/now/main.go index 8f78bc752..f9f9b4a2f 100644 --- a/vendor/github.com/jinzhu/now/main.go +++ b/vendor/github.com/jinzhu/now/main.go @@ -2,11 +2,11 @@ // // More details README here: https://github.com/jinzhu/now // -// import "github.com/jinzhu/now" +// import "github.com/jinzhu/now" // -// now.BeginningOfMinute() // 2013-11-18 17:51:00 Mon -// now.BeginningOfDay() // 2013-11-18 00:00:00 Mon -// now.EndOfDay() // 2013-11-18 23:59:59.999999999 Mon +// now.BeginningOfMinute() // 2013-11-18 17:51:00 Mon +// now.BeginningOfDay() // 2013-11-18 00:00:00 Mon +// now.EndOfDay() // 2013-11-18 23:59:59.999999999 Mon package now import "time" diff --git a/vendor/github.com/jinzhu/now/now.go b/vendor/github.com/jinzhu/now/now.go index 2f524cc8d..251df6e23 100644 --- a/vendor/github.com/jinzhu/now/now.go +++ b/vendor/github.com/jinzhu/now/now.go @@ -178,7 +178,7 @@ func (now *Now) parseWithFormat(str string, location *time.Location) (t time.Tim } var hasTimeRegexp = regexp.MustCompile(`(\s+|^\s*|T)\d{1,2}((:\d{1,2})*|((:\d{1,2}){2}\.(\d{3}|\d{6}|\d{9})))(\s*$|[Z+-])`) // match 15:04:05, 15:04:05.000, 15:04:05.000000 15, 2017-01-01 15:04, 2021-07-20T00:59:10Z, 2021-07-20T00:59:10+08:00, 2021-07-20T00:00:10-07:00 etc -var onlyTimeRegexp = regexp.MustCompile(`^\s*\d{1,2}((:\d{1,2})*|((:\d{1,2}){2}\.(\d{3}|\d{6}|\d{9})))\s*$`) // match 15:04:05, 15, 15:04:05.000, 15:04:05.000000, etc +var onlyTimeRegexp = regexp.MustCompile(`^\s*\d{1,2}((:\d{1,2})*|((:\d{1,2}){2}\.(\d{3}|\d{6}|\d{9})))\s*$`) // match 15:04:05, 15, 15:04:05.000, 15:04:05.000000, etc // Parse parse string to time func (now *Now) Parse(strs ...string) (t time.Time, err error) { diff --git a/vendor/github.com/json-iterator/go/any.go b/vendor/github.com/json-iterator/go/any.go index f6b8aeab0..4b7e1cf5c 100644 --- a/vendor/github.com/json-iterator/go/any.go +++ b/vendor/github.com/json-iterator/go/any.go @@ -3,11 +3,12 @@ package jsoniter import ( "errors" "fmt" - "github.com/modern-go/reflect2" "io" "reflect" "strconv" "unsafe" + + "github.com/modern-go/reflect2" ) // Any generic object representation. diff --git a/vendor/github.com/json-iterator/go/iter_float.go b/vendor/github.com/json-iterator/go/iter_float.go index 8a3d8b6fb..caf16feec 100644 --- a/vendor/github.com/json-iterator/go/iter_float.go +++ b/vendor/github.com/json-iterator/go/iter_float.go @@ -66,7 +66,7 @@ func (iter *Iterator) ReadBigInt() (ret *big.Int) { return ret } -//ReadFloat32 read float32 +// ReadFloat32 read float32 func (iter *Iterator) ReadFloat32() (ret float32) { c := iter.nextToken() if c == '-' { diff --git a/vendor/github.com/json-iterator/go/iter_skip_sloppy.go b/vendor/github.com/json-iterator/go/iter_skip_sloppy.go index 9303de41e..3d993f277 100644 --- a/vendor/github.com/json-iterator/go/iter_skip_sloppy.go +++ b/vendor/github.com/json-iterator/go/iter_skip_sloppy.go @@ -1,4 +1,5 @@ -//+build jsoniter_sloppy +//go:build jsoniter_sloppy +// +build jsoniter_sloppy package jsoniter diff --git a/vendor/github.com/json-iterator/go/iter_skip_strict.go b/vendor/github.com/json-iterator/go/iter_skip_strict.go index 6cf66d043..f1ad6591b 100644 --- a/vendor/github.com/json-iterator/go/iter_skip_strict.go +++ b/vendor/github.com/json-iterator/go/iter_skip_strict.go @@ -1,4 +1,5 @@ -//+build !jsoniter_sloppy +//go:build !jsoniter_sloppy +// +build !jsoniter_sloppy package jsoniter diff --git a/vendor/github.com/json-iterator/go/reflect_array.go b/vendor/github.com/json-iterator/go/reflect_array.go index 13a0b7b08..7eb5b1dc9 100644 --- a/vendor/github.com/json-iterator/go/reflect_array.go +++ b/vendor/github.com/json-iterator/go/reflect_array.go @@ -2,9 +2,10 @@ package jsoniter import ( "fmt" - "github.com/modern-go/reflect2" "io" "unsafe" + + "github.com/modern-go/reflect2" ) func decoderOfArray(ctx *ctx, typ reflect2.Type) ValDecoder { diff --git a/vendor/github.com/json-iterator/go/reflect_dynamic.go b/vendor/github.com/json-iterator/go/reflect_dynamic.go index 8b6bc8b43..71a0fe273 100644 --- a/vendor/github.com/json-iterator/go/reflect_dynamic.go +++ b/vendor/github.com/json-iterator/go/reflect_dynamic.go @@ -1,9 +1,10 @@ package jsoniter import ( - "github.com/modern-go/reflect2" "reflect" "unsafe" + + "github.com/modern-go/reflect2" ) type dynamicEncoder struct { diff --git a/vendor/github.com/json-iterator/go/reflect_extension.go b/vendor/github.com/json-iterator/go/reflect_extension.go index 74a97bfe5..a820f10ca 100644 --- a/vendor/github.com/json-iterator/go/reflect_extension.go +++ b/vendor/github.com/json-iterator/go/reflect_extension.go @@ -2,12 +2,13 @@ package jsoniter import ( "fmt" - "github.com/modern-go/reflect2" "reflect" "sort" "strings" "unicode" "unsafe" + + "github.com/modern-go/reflect2" ) var typeDecoders = map[string]ValDecoder{} diff --git a/vendor/github.com/json-iterator/go/reflect_json_number.go b/vendor/github.com/json-iterator/go/reflect_json_number.go index 98d45c1ec..52e11bf3f 100644 --- a/vendor/github.com/json-iterator/go/reflect_json_number.go +++ b/vendor/github.com/json-iterator/go/reflect_json_number.go @@ -2,9 +2,10 @@ package jsoniter import ( "encoding/json" - "github.com/modern-go/reflect2" "strconv" "unsafe" + + "github.com/modern-go/reflect2" ) type Number string diff --git a/vendor/github.com/json-iterator/go/reflect_json_raw_message.go b/vendor/github.com/json-iterator/go/reflect_json_raw_message.go index eba434f2f..521e38a89 100644 --- a/vendor/github.com/json-iterator/go/reflect_json_raw_message.go +++ b/vendor/github.com/json-iterator/go/reflect_json_raw_message.go @@ -2,8 +2,9 @@ package jsoniter import ( "encoding/json" - "github.com/modern-go/reflect2" "unsafe" + + "github.com/modern-go/reflect2" ) var jsonRawMessageType = reflect2.TypeOfPtr((*json.RawMessage)(nil)).Elem() diff --git a/vendor/github.com/json-iterator/go/reflect_map.go b/vendor/github.com/json-iterator/go/reflect_map.go index 582967130..696194bde 100644 --- a/vendor/github.com/json-iterator/go/reflect_map.go +++ b/vendor/github.com/json-iterator/go/reflect_map.go @@ -2,11 +2,12 @@ package jsoniter import ( "fmt" - "github.com/modern-go/reflect2" "io" "reflect" "sort" "unsafe" + + "github.com/modern-go/reflect2" ) func decoderOfMap(ctx *ctx, typ reflect2.Type) ValDecoder { diff --git a/vendor/github.com/json-iterator/go/reflect_optional.go b/vendor/github.com/json-iterator/go/reflect_optional.go index fa71f4748..112c110a2 100644 --- a/vendor/github.com/json-iterator/go/reflect_optional.go +++ b/vendor/github.com/json-iterator/go/reflect_optional.go @@ -1,8 +1,9 @@ package jsoniter import ( - "github.com/modern-go/reflect2" "unsafe" + + "github.com/modern-go/reflect2" ) func decoderOfOptional(ctx *ctx, typ reflect2.Type) ValDecoder { diff --git a/vendor/github.com/json-iterator/go/reflect_slice.go b/vendor/github.com/json-iterator/go/reflect_slice.go index 9441d79df..f363a7169 100644 --- a/vendor/github.com/json-iterator/go/reflect_slice.go +++ b/vendor/github.com/json-iterator/go/reflect_slice.go @@ -2,9 +2,10 @@ package jsoniter import ( "fmt" - "github.com/modern-go/reflect2" "io" "unsafe" + + "github.com/modern-go/reflect2" ) func decoderOfSlice(ctx *ctx, typ reflect2.Type) ValDecoder { diff --git a/vendor/github.com/json-iterator/go/reflect_struct_encoder.go b/vendor/github.com/json-iterator/go/reflect_struct_encoder.go index 152e3ef5a..edf77bf59 100644 --- a/vendor/github.com/json-iterator/go/reflect_struct_encoder.go +++ b/vendor/github.com/json-iterator/go/reflect_struct_encoder.go @@ -2,10 +2,11 @@ package jsoniter import ( "fmt" - "github.com/modern-go/reflect2" "io" "reflect" "unsafe" + + "github.com/modern-go/reflect2" ) func encoderOfStruct(ctx *ctx, typ reflect2.Type) ValEncoder { diff --git a/vendor/github.com/kelseyhightower/envconfig/env_os.go b/vendor/github.com/kelseyhightower/envconfig/env_os.go index eba07a6c6..6b85e3f52 100644 --- a/vendor/github.com/kelseyhightower/envconfig/env_os.go +++ b/vendor/github.com/kelseyhightower/envconfig/env_os.go @@ -1,3 +1,4 @@ +//go:build appengine || go1.5 // +build appengine go1.5 package envconfig diff --git a/vendor/github.com/kelseyhightower/envconfig/env_syscall.go b/vendor/github.com/kelseyhightower/envconfig/env_syscall.go index 425454008..221ff7fad 100644 --- a/vendor/github.com/kelseyhightower/envconfig/env_syscall.go +++ b/vendor/github.com/kelseyhightower/envconfig/env_syscall.go @@ -1,3 +1,4 @@ +//go:build !appengine && !go1.5 // +build !appengine,!go1.5 package envconfig diff --git a/vendor/github.com/lib/pq/array.go b/vendor/github.com/lib/pq/array.go index 39c8f7e2e..9957c0489 100644 --- a/vendor/github.com/lib/pq/array.go +++ b/vendor/github.com/lib/pq/array.go @@ -19,10 +19,11 @@ var typeSQLScanner = reflect.TypeOf((*sql.Scanner)(nil)).Elem() // slice of any dimension. // // For example: -// db.Query(`SELECT * FROM t WHERE id = ANY($1)`, pq.Array([]int{235, 401})) // -// var x []sql.NullInt64 -// db.QueryRow(`SELECT ARRAY[235, 401]`).Scan(pq.Array(&x)) +// db.Query(`SELECT * FROM t WHERE id = ANY($1)`, pq.Array([]int{235, 401})) +// +// var x []sql.NullInt64 +// db.QueryRow(`SELECT ARRAY[235, 401]`).Scan(pq.Array(&x)) // // Scanning multi-dimensional arrays is not supported. Arrays where the lower // bound is not one (such as `[0:0]={1}') are not supported. diff --git a/vendor/github.com/lib/pq/doc.go b/vendor/github.com/lib/pq/doc.go index b57184801..96309ff89 100644 --- a/vendor/github.com/lib/pq/doc.go +++ b/vendor/github.com/lib/pq/doc.go @@ -27,9 +27,7 @@ You can also connect to a database using a URL. For example: connStr := "postgres://pqgotest:password@localhost/pqgotest?sslmode=verify-full" db, err := sql.Open("postgres", connStr) - -Connection String Parameters - +# Connection String Parameters Similarly to libpq, when establishing a connection using pq you are expected to supply a connection string containing zero or more parameters. @@ -42,42 +40,42 @@ them in the options parameter. For compatibility with libpq, the following special connection parameters are supported: - * dbname - The name of the database to connect to - * user - The user to sign in as - * password - The user's password - * host - The host to connect to. Values that start with / are for unix - domain sockets. (default is localhost) - * port - The port to bind to. (default is 5432) - * sslmode - Whether or not to use SSL (default is require, this is not - the default for libpq) - * fallback_application_name - An application_name to fall back to if one isn't provided. - * connect_timeout - Maximum wait for connection, in seconds. Zero or - not specified means wait indefinitely. - * sslcert - Cert file location. The file must contain PEM encoded data. - * sslkey - Key file location. The file must contain PEM encoded data. - * sslrootcert - The location of the root certificate file. The file - must contain PEM encoded data. + - dbname - The name of the database to connect to + - user - The user to sign in as + - password - The user's password + - host - The host to connect to. Values that start with / are for unix + domain sockets. (default is localhost) + - port - The port to bind to. (default is 5432) + - sslmode - Whether or not to use SSL (default is require, this is not + the default for libpq) + - fallback_application_name - An application_name to fall back to if one isn't provided. + - connect_timeout - Maximum wait for connection, in seconds. Zero or + not specified means wait indefinitely. + - sslcert - Cert file location. The file must contain PEM encoded data. + - sslkey - Key file location. The file must contain PEM encoded data. + - sslrootcert - The location of the root certificate file. The file + must contain PEM encoded data. Valid values for sslmode are: - * disable - No SSL - * require - Always SSL (skip verification) - * verify-ca - Always SSL (verify that the certificate presented by the - server was signed by a trusted CA) - * verify-full - Always SSL (verify that the certification presented by - the server was signed by a trusted CA and the server host name - matches the one in the certificate) + - disable - No SSL + - require - Always SSL (skip verification) + - verify-ca - Always SSL (verify that the certificate presented by the + server was signed by a trusted CA) + - verify-full - Always SSL (verify that the certification presented by + the server was signed by a trusted CA and the server host name + matches the one in the certificate) See http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING for more information about connection string parameters. Use single quotes for values that contain whitespace: - "user=pqgotest password='with spaces'" + "user=pqgotest password='with spaces'" A backslash will escape the next character in values: - "user=space\ man password='it\'s valid'" + "user=space\ man password='it\'s valid'" Note that the connection parameter client_encoding (which sets the text encoding for the connection) may be set but must be "UTF8", @@ -98,9 +96,7 @@ provided connection parameters. The pgpass mechanism as described in http://www.postgresql.org/docs/current/static/libpq-pgpass.html is supported, but on Windows PGPASSFILE must be specified explicitly. - -Queries - +# Queries database/sql does not dictate any specific format for parameter markers in query strings, and pq uses the Postgres-native ordinal markers, @@ -125,9 +121,7 @@ For more details on RETURNING, see the Postgres documentation: For additional instructions on querying see the documentation for the database/sql package. - -Data Types - +# Data Types Parameters pass through driver.DefaultParameterConverter before they are handled by this package. When the binary_parameters connection option is enabled, @@ -135,30 +129,27 @@ by this package. When the binary_parameters connection option is enabled, This package returns the following types for values from the PostgreSQL backend: - - integer types smallint, integer, and bigint are returned as int64 - - floating-point types real and double precision are returned as float64 - - character types char, varchar, and text are returned as string - - temporal types date, time, timetz, timestamp, and timestamptz are - returned as time.Time - - the boolean type is returned as bool - - the bytea type is returned as []byte + - integer types smallint, integer, and bigint are returned as int64 + - floating-point types real and double precision are returned as float64 + - character types char, varchar, and text are returned as string + - temporal types date, time, timetz, timestamp, and timestamptz are + returned as time.Time + - the boolean type is returned as bool + - the bytea type is returned as []byte All other types are returned directly from the backend as []byte values in text format. - -Errors - +# Errors pq may return errors of type *pq.Error which can be interrogated for error details: - if err, ok := err.(*pq.Error); ok { - fmt.Println("pq error:", err.Code.Name()) - } + if err, ok := err.(*pq.Error); ok { + fmt.Println("pq error:", err.Code.Name()) + } See the pq.Error type for details. - -Bulk imports +# Bulk imports You can perform bulk imports by preparing a statement returned by pq.CopyIn (or pq.CopyInSchema) in an explicit transaction (sql.Tx). The returned statement @@ -206,9 +197,7 @@ Usage example: log.Fatal(err) } - -Notifications - +# Notifications PostgreSQL supports a simple publish/subscribe model over database connections. See http://www.postgresql.org/docs/current/static/sql-notify.html @@ -241,9 +230,7 @@ bytes by the PostgreSQL server. You can find a complete, working example of Listener usage at https://godoc.org/github.com/lib/pq/example/listen. - -Kerberos Support - +# Kerberos Support If you need support for Kerberos authentication, add the following to your main package: @@ -259,10 +246,10 @@ don't have to download unnecessary dependencies. When imported, additional connection string parameters are supported: - * krbsrvname - GSS (Kerberos) service name when constructing the - SPN (default is `postgres`). This will be combined with the host - to form the full SPN: `krbsrvname/host`. - * krbspn - GSS (Kerberos) SPN. This takes priority over - `krbsrvname` if present. + - krbsrvname - GSS (Kerberos) service name when constructing the + SPN (default is `postgres`). This will be combined with the host + to form the full SPN: `krbsrvname/host`. + - krbspn - GSS (Kerberos) SPN. This takes priority over + `krbsrvname` if present. */ package pq diff --git a/vendor/github.com/lib/pq/notify.go b/vendor/github.com/lib/pq/notify.go index 5c421fdb8..5e68d5364 100644 --- a/vendor/github.com/lib/pq/notify.go +++ b/vendor/github.com/lib/pq/notify.go @@ -330,11 +330,11 @@ func (l *ListenerConn) sendSimpleQuery(q string) (err error) { // ExecSimpleQuery executes a "simple query" (i.e. one with no bindable // parameters) on the connection. The possible return values are: -// 1) "executed" is true; the query was executed to completion on the -// database server. If the query failed, err will be set to the error -// returned by the database, otherwise err will be nil. -// 2) If "executed" is false, the query could not be executed on the remote -// server. err will be non-nil. +// 1. "executed" is true; the query was executed to completion on the +// database server. If the query failed, err will be set to the error +// returned by the database, otherwise err will be nil. +// 2. If "executed" is false, the query could not be executed on the remote +// server. err will be non-nil. // // After a call to ExecSimpleQuery has returned an executed=false value, the // connection has either been closed or will be closed shortly thereafter, and @@ -541,12 +541,12 @@ func (l *Listener) NotificationChannel() <-chan *Notification { // connection can not be re-established. // // Listen will only fail in three conditions: -// 1) The channel is already open. The returned error will be -// ErrChannelAlreadyOpen. -// 2) The query was executed on the remote server, but PostgreSQL returned an -// error message in response to the query. The returned error will be a -// pq.Error containing the information the server supplied. -// 3) Close is called on the Listener before the request could be completed. +// 1. The channel is already open. The returned error will be +// ErrChannelAlreadyOpen. +// 2. The query was executed on the remote server, but PostgreSQL returned an +// error message in response to the query. The returned error will be a +// pq.Error containing the information the server supplied. +// 3. Close is called on the Listener before the request could be completed. // // The channel name is case-sensitive. func (l *Listener) Listen(channel string) error { diff --git a/vendor/github.com/lib/pq/scram/scram.go b/vendor/github.com/lib/pq/scram/scram.go index 477216b60..0e1ef6563 100644 --- a/vendor/github.com/lib/pq/scram/scram.go +++ b/vendor/github.com/lib/pq/scram/scram.go @@ -25,7 +25,6 @@ // Package scram implements a SCRAM-{SHA-1,etc} client per RFC5802. // // http://tools.ietf.org/html/rfc5802 -// package scram import ( @@ -43,17 +42,16 @@ import ( // // A Client may be used within a SASL conversation with logic resembling: // -// var in []byte -// var client = scram.NewClient(sha1.New, user, pass) -// for client.Step(in) { -// out := client.Out() -// // send out to server -// in := serverOut -// } -// if client.Err() != nil { -// // auth failed -// } -// +// var in []byte +// var client = scram.NewClient(sha1.New, user, pass) +// for client.Step(in) { +// out := client.Out() +// // send out to server +// in := serverOut +// } +// if client.Err() != nil { +// // auth failed +// } type Client struct { newHash func() hash.Hash @@ -73,8 +71,7 @@ type Client struct { // // For SCRAM-SHA-256, for example, use: // -// client := scram.NewClient(sha256.New, user, pass) -// +// client := scram.NewClient(sha256.New, user, pass) func NewClient(newHash func() hash.Hash, user, pass string) *Client { c := &Client{ newHash: newHash, diff --git a/vendor/github.com/mailru/easyjson/jlexer/bytestostr.go b/vendor/github.com/mailru/easyjson/jlexer/bytestostr.go index ff7b27c5b..87f7fb7a4 100644 --- a/vendor/github.com/mailru/easyjson/jlexer/bytestostr.go +++ b/vendor/github.com/mailru/easyjson/jlexer/bytestostr.go @@ -2,8 +2,8 @@ // easyjson_nounsafe nor appengine build tag is set. See README notes // for more details. -//+build !easyjson_nounsafe -//+build !appengine +//go:build !easyjson_nounsafe && !appengine +// +build !easyjson_nounsafe,!appengine package jlexer diff --git a/vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go b/vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go index 864d1be67..5c24365cc 100644 --- a/vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go +++ b/vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go @@ -1,7 +1,8 @@ // This file is included to the build if any of the buildtags below // are defined. Refer to README notes for more details. -//+build easyjson_nounsafe appengine +//go:build easyjson_nounsafe || appengine +// +build easyjson_nounsafe appengine package jlexer diff --git a/vendor/github.com/mitchellh/mapstructure/mapstructure.go b/vendor/github.com/mitchellh/mapstructure/mapstructure.go index 1efb22ac3..fadccc4ab 100644 --- a/vendor/github.com/mitchellh/mapstructure/mapstructure.go +++ b/vendor/github.com/mitchellh/mapstructure/mapstructure.go @@ -9,84 +9,84 @@ // // The simplest function to start with is Decode. // -// Field Tags +// # Field Tags // // When decoding to a struct, mapstructure will use the field name by // default to perform the mapping. For example, if a struct has a field // "Username" then mapstructure will look for a key in the source value // of "username" (case insensitive). // -// type User struct { -// Username string -// } +// type User struct { +// Username string +// } // // You can change the behavior of mapstructure by using struct tags. // The default struct tag that mapstructure looks for is "mapstructure" // but you can customize it using DecoderConfig. // -// Renaming Fields +// # Renaming Fields // // To rename the key that mapstructure looks for, use the "mapstructure" // tag and set a value directly. For example, to change the "username" example // above to "user": // -// type User struct { -// Username string `mapstructure:"user"` -// } +// type User struct { +// Username string `mapstructure:"user"` +// } // -// Embedded Structs and Squashing +// # Embedded Structs and Squashing // // Embedded structs are treated as if they're another field with that name. // By default, the two structs below are equivalent when decoding with // mapstructure: // -// type Person struct { -// Name string -// } +// type Person struct { +// Name string +// } // -// type Friend struct { -// Person -// } +// type Friend struct { +// Person +// } // -// type Friend struct { -// Person Person -// } +// type Friend struct { +// Person Person +// } // // This would require an input that looks like below: // -// map[string]interface{}{ -// "person": map[string]interface{}{"name": "alice"}, -// } +// map[string]interface{}{ +// "person": map[string]interface{}{"name": "alice"}, +// } // // If your "person" value is NOT nested, then you can append ",squash" to // your tag value and mapstructure will treat it as if the embedded struct // were part of the struct directly. Example: // -// type Friend struct { -// Person `mapstructure:",squash"` -// } +// type Friend struct { +// Person `mapstructure:",squash"` +// } // // Now the following input would be accepted: // -// map[string]interface{}{ -// "name": "alice", -// } +// map[string]interface{}{ +// "name": "alice", +// } // // When decoding from a struct to a map, the squash tag squashes the struct // fields into a single map. Using the example structs from above: // -// Friend{Person: Person{Name: "alice"}} +// Friend{Person: Person{Name: "alice"}} // // Will be decoded into a map: // -// map[string]interface{}{ -// "name": "alice", -// } +// map[string]interface{}{ +// "name": "alice", +// } // // DecoderConfig has a field that changes the behavior of mapstructure // to always squash embedded structs. // -// Remainder Values +// # Remainder Values // // If there are any unmapped keys in the source value, mapstructure by // default will silently ignore them. You can error by setting ErrorUnused @@ -98,20 +98,20 @@ // probably be a "map[string]interface{}" or "map[interface{}]interface{}". // See example below: // -// type Friend struct { -// Name string -// Other map[string]interface{} `mapstructure:",remain"` -// } +// type Friend struct { +// Name string +// Other map[string]interface{} `mapstructure:",remain"` +// } // // Given the input below, Other would be populated with the other // values that weren't used (everything but "name"): // -// map[string]interface{}{ -// "name": "bob", -// "address": "123 Maple St.", -// } +// map[string]interface{}{ +// "name": "bob", +// "address": "123 Maple St.", +// } // -// Omit Empty Values +// # Omit Empty Values // // When decoding from a struct to any other value, you may use the // ",omitempty" suffix on your tag to omit that value if it equates to @@ -122,37 +122,37 @@ // field value is zero and a numeric type, the field is empty, and it won't // be encoded into the destination type. // -// type Source struct { -// Age int `mapstructure:",omitempty"` -// } +// type Source struct { +// Age int `mapstructure:",omitempty"` +// } // -// Unexported fields +// # Unexported fields // // Since unexported (private) struct fields cannot be set outside the package // where they are defined, the decoder will simply skip them. // // For this output type definition: // -// type Exported struct { -// private string // this unexported field will be skipped -// Public string -// } +// type Exported struct { +// private string // this unexported field will be skipped +// Public string +// } // // Using this map as input: // -// map[string]interface{}{ -// "private": "I will be ignored", -// "Public": "I made it through!", -// } +// map[string]interface{}{ +// "private": "I will be ignored", +// "Public": "I made it through!", +// } // // The following struct will be decoded: // -// type Exported struct { -// private: "" // field is left with an empty string (zero value) -// Public: "I made it through!" -// } +// type Exported struct { +// private: "" // field is left with an empty string (zero value) +// Public: "I made it through!" +// } // -// Other Configuration +// # Other Configuration // // mapstructure is highly configurable. See the DecoderConfig struct // for other features and options that are supported. diff --git a/vendor/github.com/modern-go/concurrent/go_above_19.go b/vendor/github.com/modern-go/concurrent/go_above_19.go index aeabf8c4f..7db701945 100644 --- a/vendor/github.com/modern-go/concurrent/go_above_19.go +++ b/vendor/github.com/modern-go/concurrent/go_above_19.go @@ -1,4 +1,5 @@ -//+build go1.9 +//go:build go1.9 +// +build go1.9 package concurrent diff --git a/vendor/github.com/modern-go/concurrent/go_below_19.go b/vendor/github.com/modern-go/concurrent/go_below_19.go index b9c8df7f4..64544f5b3 100644 --- a/vendor/github.com/modern-go/concurrent/go_below_19.go +++ b/vendor/github.com/modern-go/concurrent/go_below_19.go @@ -1,4 +1,5 @@ -//+build !go1.9 +//go:build !go1.9 +// +build !go1.9 package concurrent diff --git a/vendor/github.com/modern-go/concurrent/log.go b/vendor/github.com/modern-go/concurrent/log.go index 9756fcc75..4899eed02 100644 --- a/vendor/github.com/modern-go/concurrent/log.go +++ b/vendor/github.com/modern-go/concurrent/log.go @@ -1,13 +1,13 @@ package concurrent import ( - "os" - "log" "io/ioutil" + "log" + "os" ) // ErrorLogger is used to print out error, can be set to writer other than stderr var ErrorLogger = log.New(os.Stderr, "", 0) // InfoLogger is used to print informational message, default to off -var InfoLogger = log.New(ioutil.Discard, "", 0) \ No newline at end of file +var InfoLogger = log.New(ioutil.Discard, "", 0) diff --git a/vendor/github.com/modern-go/concurrent/unbounded_executor.go b/vendor/github.com/modern-go/concurrent/unbounded_executor.go index 05a77dceb..5ea18eb7b 100644 --- a/vendor/github.com/modern-go/concurrent/unbounded_executor.go +++ b/vendor/github.com/modern-go/concurrent/unbounded_executor.go @@ -3,11 +3,11 @@ package concurrent import ( "context" "fmt" + "reflect" "runtime" "runtime/debug" "sync" "time" - "reflect" ) // HandlePanic logs goroutine panic by default diff --git a/vendor/github.com/modern-go/reflect2/go_above_118.go b/vendor/github.com/modern-go/reflect2/go_above_118.go index 2b4116f6c..33c825f6d 100644 --- a/vendor/github.com/modern-go/reflect2/go_above_118.go +++ b/vendor/github.com/modern-go/reflect2/go_above_118.go @@ -1,4 +1,5 @@ -//+build go1.18 +//go:build go1.18 +// +build go1.18 package reflect2 @@ -8,6 +9,7 @@ import ( // m escapes into the return value, but the caller of mapiterinit // doesn't let the return value escape. +// //go:noescape //go:linkname mapiterinit reflect.mapiterinit func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer, it *hiter) @@ -20,4 +22,4 @@ func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { pKeyRType: type2.pKeyRType, pElemRType: type2.pElemRType, } -} \ No newline at end of file +} diff --git a/vendor/github.com/modern-go/reflect2/go_above_19.go b/vendor/github.com/modern-go/reflect2/go_above_19.go index 974f7685e..03ccb43c6 100644 --- a/vendor/github.com/modern-go/reflect2/go_above_19.go +++ b/vendor/github.com/modern-go/reflect2/go_above_19.go @@ -1,4 +1,5 @@ -//+build go1.9 +//go:build go1.9 +// +build go1.9 package reflect2 diff --git a/vendor/github.com/modern-go/reflect2/go_below_118.go b/vendor/github.com/modern-go/reflect2/go_below_118.go index 00003dbd7..092ec5b5d 100644 --- a/vendor/github.com/modern-go/reflect2/go_below_118.go +++ b/vendor/github.com/modern-go/reflect2/go_below_118.go @@ -1,4 +1,5 @@ -//+build !go1.18 +//go:build !go1.18 +// +build !go1.18 package reflect2 @@ -8,6 +9,7 @@ import ( // m escapes into the return value, but the caller of mapiterinit // doesn't let the return value escape. +// //go:noescape //go:linkname mapiterinit reflect.mapiterinit func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer) (val *hiter) @@ -18,4 +20,4 @@ func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { pKeyRType: type2.pKeyRType, pElemRType: type2.pElemRType, } -} \ No newline at end of file +} diff --git a/vendor/github.com/modern-go/reflect2/reflect2.go b/vendor/github.com/modern-go/reflect2/reflect2.go index c43c8b9d6..b0c281fca 100644 --- a/vendor/github.com/modern-go/reflect2/reflect2.go +++ b/vendor/github.com/modern-go/reflect2/reflect2.go @@ -282,6 +282,7 @@ func likePtrType(typ reflect.Type) bool { // output depends on the input. noescape is inlined and currently // compiles down to zero instructions. // USE CAREFULLY! +// //go:nosplit func NoEscape(p unsafe.Pointer) unsafe.Pointer { x := uintptr(p) diff --git a/vendor/github.com/modern-go/reflect2/type_map.go b/vendor/github.com/modern-go/reflect2/type_map.go index 4b13c3155..54c8498ef 100644 --- a/vendor/github.com/modern-go/reflect2/type_map.go +++ b/vendor/github.com/modern-go/reflect2/type_map.go @@ -1,3 +1,4 @@ +//go:build !gccgo // +build !gccgo package reflect2 @@ -9,6 +10,7 @@ import ( ) // typelinks2 for 1.7 ~ +// //go:linkname typelinks2 reflect.typelinks func typelinks2() (sections []unsafe.Pointer, offset [][]int32) diff --git a/vendor/github.com/modern-go/reflect2/unsafe_link.go b/vendor/github.com/modern-go/reflect2/unsafe_link.go index b49f614ef..61849bb42 100644 --- a/vendor/github.com/modern-go/reflect2/unsafe_link.go +++ b/vendor/github.com/modern-go/reflect2/unsafe_link.go @@ -13,6 +13,7 @@ func unsafe_NewArray(rtype unsafe.Pointer, length int) unsafe.Pointer // typedslicecopy copies a slice of elemType values from src to dst, // returning the number of elements copied. +// //go:linkname typedslicecopy reflect.typedslicecopy //go:noescape func typedslicecopy(elemType unsafe.Pointer, dst, src sliceHeader) int diff --git a/vendor/github.com/nxadm/tail/tail.go b/vendor/github.com/nxadm/tail/tail.go index 37ea4411e..8fa22c259 100644 --- a/vendor/github.com/nxadm/tail/tail.go +++ b/vendor/github.com/nxadm/tail/tail.go @@ -2,11 +2,11 @@ // Copyright (c) 2015 HPE Software Inc. All rights reserved. // Copyright (c) 2013 ActiveState Software Inc. All rights reserved. -//nxadm/tail provides a Go library that emulates the features of the BSD `tail` -//program. The library comes with full support for truncation/move detection as -//it is designed to work with log rotation tools. The library works on all -//operating systems supported by Go, including POSIX systems like Linux and -//*BSD, and MS Windows. Go 1.9 is the oldest compiler release supported. +// nxadm/tail provides a Go library that emulates the features of the BSD `tail` +// program. The library comes with full support for truncation/move detection as +// it is designed to work with log rotation tools. The library works on all +// operating systems supported by Go, including POSIX systems like Linux and +// *BSD, and MS Windows. Go 1.9 is the oldest compiler release supported. package tail import ( diff --git a/vendor/github.com/nxadm/tail/tail_posix.go b/vendor/github.com/nxadm/tail/tail_posix.go index 23e071dea..ca7e2404f 100644 --- a/vendor/github.com/nxadm/tail/tail_posix.go +++ b/vendor/github.com/nxadm/tail/tail_posix.go @@ -1,4 +1,5 @@ // Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail +//go:build !windows // +build !windows package tail diff --git a/vendor/github.com/nxadm/tail/tail_windows.go b/vendor/github.com/nxadm/tail/tail_windows.go index da0d2f39c..0cbab7d20 100644 --- a/vendor/github.com/nxadm/tail/tail_windows.go +++ b/vendor/github.com/nxadm/tail/tail_windows.go @@ -1,4 +1,5 @@ // Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail +//go:build windows // +build windows package tail diff --git a/vendor/github.com/nxadm/tail/watch/inotify.go b/vendor/github.com/nxadm/tail/watch/inotify.go index cbd11ad8d..281e6bd6e 100644 --- a/vendor/github.com/nxadm/tail/watch/inotify.go +++ b/vendor/github.com/nxadm/tail/watch/inotify.go @@ -11,7 +11,7 @@ import ( "github.com/nxadm/tail/util" - "github.com/fsnotify/fsnotify" + "github.com/fsnotify/fsnotify" "gopkg.in/tomb.v1" ) diff --git a/vendor/github.com/nxadm/tail/watch/inotify_tracker.go b/vendor/github.com/nxadm/tail/watch/inotify_tracker.go index cb9572a03..57da0c097 100644 --- a/vendor/github.com/nxadm/tail/watch/inotify_tracker.go +++ b/vendor/github.com/nxadm/tail/watch/inotify_tracker.go @@ -13,7 +13,7 @@ import ( "github.com/nxadm/tail/util" - "github.com/fsnotify/fsnotify" + "github.com/fsnotify/fsnotify" ) type InotifyTracker struct { diff --git a/vendor/github.com/nxadm/tail/winfile/winfile.go b/vendor/github.com/nxadm/tail/winfile/winfile.go index 4562ac7c2..0c4f19900 100644 --- a/vendor/github.com/nxadm/tail/winfile/winfile.go +++ b/vendor/github.com/nxadm/tail/winfile/winfile.go @@ -1,4 +1,5 @@ // Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail +//go:build windows // +build windows package winfile diff --git a/vendor/github.com/oklog/ulid/ulid.go b/vendor/github.com/oklog/ulid/ulid.go index c5d0d66fd..03e62d483 100644 --- a/vendor/github.com/oklog/ulid/ulid.go +++ b/vendor/github.com/oklog/ulid/ulid.go @@ -376,7 +376,8 @@ func MaxTime() uint64 { return maxTime } // Now is a convenience function that returns the current // UTC time in Unix milliseconds. Equivalent to: -// Timestamp(time.Now().UTC()) +// +// Timestamp(time.Now().UTC()) func Now() uint64 { return Timestamp(time.Now().UTC()) } // Timestamp converts a time.Time to Unix milliseconds. @@ -457,7 +458,7 @@ func (id *ULID) Scan(src interface{}) error { // type can be created that calls String(). // // // stringValuer wraps a ULID as a string-based driver.Valuer. -// type stringValuer ULID +// type stringValuer ULID // // func (id stringValuer) Value() (driver.Value, error) { // return ULID(id).String(), nil diff --git a/vendor/github.com/onsi/ginkgo/extensions/table/table.go b/vendor/github.com/onsi/ginkgo/extensions/table/table.go index 4b0027807..f5fd87a6e 100644 --- a/vendor/github.com/onsi/ginkgo/extensions/table/table.go +++ b/vendor/github.com/onsi/ginkgo/extensions/table/table.go @@ -22,14 +22,14 @@ DescribeTable describes a table-driven test. For example: - DescribeTable("a simple table", - func(x int, y int, expected bool) { - Ω(x > y).Should(Equal(expected)) - }, - Entry("x > y", 1, 0, true), - Entry("x == y", 0, 0, false), - Entry("x < y", 0, 1, false), - ) + DescribeTable("a simple table", + func(x int, y int, expected bool) { + Ω(x > y).Should(Equal(expected)) + }, + Entry("x > y", 1, 0, true), + Entry("x == y", 0, 0, false), + Entry("x < y", 0, 1, false), + ) The first argument to `DescribeTable` is a string description. The second argument is a function that will be run for each table entry. Your assertions go here - the function is equivalent to a Ginkgo It. diff --git a/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go b/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go index ccd7685e3..45291c679 100644 --- a/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go +++ b/vendor/github.com/onsi/ginkgo/ginkgo_dsl.go @@ -54,40 +54,40 @@ func init() { GinkgoWriter = writer.New(os.Stdout) } -//GinkgoWriter implements an io.Writer -//When running in verbose mode any writes to GinkgoWriter will be immediately printed -//to stdout. Otherwise, GinkgoWriter will buffer any writes produced during the current test and flush them to screen -//only if the current test fails. +// GinkgoWriter implements an io.Writer +// When running in verbose mode any writes to GinkgoWriter will be immediately printed +// to stdout. Otherwise, GinkgoWriter will buffer any writes produced during the current test and flush them to screen +// only if the current test fails. var GinkgoWriter io.Writer -//The interface by which Ginkgo receives *testing.T +// The interface by which Ginkgo receives *testing.T type GinkgoTestingT interface { Fail() } -//GinkgoRandomSeed returns the seed used to randomize spec execution order. It is -//useful for seeding your own pseudorandom number generators (PRNGs) to ensure -//consistent executions from run to run, where your tests contain variability (for -//example, when selecting random test data). +// GinkgoRandomSeed returns the seed used to randomize spec execution order. It is +// useful for seeding your own pseudorandom number generators (PRNGs) to ensure +// consistent executions from run to run, where your tests contain variability (for +// example, when selecting random test data). func GinkgoRandomSeed() int64 { return config.GinkgoConfig.RandomSeed } -//GinkgoParallelNode is deprecated, use GinkgoParallelProcess instead +// GinkgoParallelNode is deprecated, use GinkgoParallelProcess instead func GinkgoParallelNode() int { deprecationTracker.TrackDeprecation(types.Deprecations.ParallelNode(), codelocation.New(1)) return GinkgoParallelProcess() } -//GinkgoParallelProcess returns the parallel process number for the current ginkgo process -//The process number is 1-indexed +// GinkgoParallelProcess returns the parallel process number for the current ginkgo process +// The process number is 1-indexed func GinkgoParallelProcess() int { return config.GinkgoConfig.ParallelNode } -//Some matcher libraries or legacy codebases require a *testing.T -//GinkgoT implements an interface analogous to *testing.T and can be used if -//the library in question accepts *testing.T through an interface +// Some matcher libraries or legacy codebases require a *testing.T +// GinkgoT implements an interface analogous to *testing.T and can be used if +// the library in question accepts *testing.T through an interface // // For example, with testify: // assert.Equal(GinkgoT(), 123, 123, "they should be equal") @@ -111,8 +111,8 @@ func GinkgoT(optionalOffset ...int) GinkgoTInterface { return testingtproxy.New(GinkgoWriter, Fail, Skip, failedFunc, nameFunc, offset) } -//The interface returned by GinkgoT(). This covers most of the methods -//in the testing package's T. +// The interface returned by GinkgoT(). This covers most of the methods +// in the testing package's T. type GinkgoTInterface interface { Cleanup(func()) Setenv(key, value string) @@ -135,17 +135,18 @@ type GinkgoTInterface interface { TempDir() string } -//Custom Ginkgo test reporters must implement the Reporter interface. +// Custom Ginkgo test reporters must implement the Reporter interface. // -//The custom reporter is passed in a SuiteSummary when the suite begins and ends, -//and a SpecSummary just before a spec begins and just after a spec ends +// The custom reporter is passed in a SuiteSummary when the suite begins and ends, +// and a SpecSummary just before a spec begins and just after a spec ends type Reporter reporters.Reporter -//Asynchronous specs are given a channel of the Done type. You must close or write to the channel -//to tell Ginkgo that your async test is done. +// Asynchronous specs are given a channel of the Done type. You must close or write to the channel +// to tell Ginkgo that your async test is done. type Done chan<- interface{} -//GinkgoTestDescription represents the information about the current running test returned by CurrentGinkgoTestDescription +// GinkgoTestDescription represents the information about the current running test returned by CurrentGinkgoTestDescription +// // FullTestText: a concatenation of ComponentTexts and the TestText // ComponentTexts: a list of all texts for the Describes & Contexts leading up to the current test // TestText: the text in the actual It or Measure node @@ -167,7 +168,7 @@ type GinkgoTestDescription struct { Duration time.Duration } -//CurrentGinkgoTestDescripton returns information about the current running test. +// CurrentGinkgoTestDescripton returns information about the current running test. func CurrentGinkgoTestDescription() GinkgoTestDescription { summary, ok := global.Suite.CurrentRunningSpecSummary() if !ok { @@ -188,26 +189,26 @@ func CurrentGinkgoTestDescription() GinkgoTestDescription { } } -//Measurement tests receive a Benchmarker. +// Measurement tests receive a Benchmarker. // -//You use the Time() function to time how long the passed in body function takes to run -//You use the RecordValue() function to track arbitrary numerical measurements. -//The RecordValueWithPrecision() function can be used alternatively to provide the unit -//and resolution of the numeric measurement. -//The optional info argument is passed to the test reporter and can be used to +// You use the Time() function to time how long the passed in body function takes to run +// You use the RecordValue() function to track arbitrary numerical measurements. +// The RecordValueWithPrecision() function can be used alternatively to provide the unit +// and resolution of the numeric measurement. +// The optional info argument is passed to the test reporter and can be used to // provide the measurement data to a custom reporter with context. // -//See http://onsi.github.io/ginkgo/#benchmark_tests for more details +// See http://onsi.github.io/ginkgo/#benchmark_tests for more details type Benchmarker interface { Time(name string, body func(), info ...interface{}) (elapsedTime time.Duration) RecordValue(name string, value float64, info ...interface{}) RecordValueWithPrecision(name string, value float64, units string, precision int, info ...interface{}) } -//RunSpecs is the entry point for the Ginkgo test runner. -//You must call this within a Golang testing TestX(t *testing.T) function. +// RunSpecs is the entry point for the Ginkgo test runner. +// You must call this within a Golang testing TestX(t *testing.T) function. // -//To bootstrap a test suite you can use the Ginkgo CLI: +// To bootstrap a test suite you can use the Ginkgo CLI: // // ginkgo bootstrap func RunSpecs(t GinkgoTestingT, description string) bool { @@ -220,16 +221,16 @@ func RunSpecs(t GinkgoTestingT, description string) bool { return runSpecsWithCustomReporters(t, description, specReporters) } -//To run your tests with Ginkgo's default reporter and your custom reporter(s), replace -//RunSpecs() with this method. +// To run your tests with Ginkgo's default reporter and your custom reporter(s), replace +// RunSpecs() with this method. func RunSpecsWithDefaultAndCustomReporters(t GinkgoTestingT, description string, specReporters []Reporter) bool { deprecationTracker.TrackDeprecation(types.Deprecations.CustomReporter()) specReporters = append(specReporters, buildDefaultReporter()) return runSpecsWithCustomReporters(t, description, specReporters) } -//To run your tests with your custom reporter(s) (and *not* Ginkgo's default reporter), replace -//RunSpecs() with this method. Note that parallel tests will not work correctly without the default reporter +// To run your tests with your custom reporter(s) (and *not* Ginkgo's default reporter), replace +// RunSpecs() with this method. Note that parallel tests will not work correctly without the default reporter func RunSpecsWithCustomReporters(t GinkgoTestingT, description string, specReporters []Reporter) bool { deprecationTracker.TrackDeprecation(types.Deprecations.CustomReporter()) return runSpecsWithCustomReporters(t, description, specReporters) @@ -269,7 +270,7 @@ func buildDefaultReporter() Reporter { } } -//Skip notifies Ginkgo that the current spec was skipped. +// Skip notifies Ginkgo that the current spec was skipped. func Skip(message string, callerSkip ...int) { skip := 0 if len(callerSkip) > 0 { @@ -280,7 +281,7 @@ func Skip(message string, callerSkip ...int) { panic(GINKGO_PANIC) } -//Fail notifies Ginkgo that the current spec has failed. (Gomega will call Fail for you automatically when an assertion fails.) +// Fail notifies Ginkgo that the current spec has failed. (Gomega will call Fail for you automatically when an assertion fails.) func Fail(message string, callerSkip ...int) { skip := 0 if len(callerSkip) > 0 { @@ -291,16 +292,16 @@ func Fail(message string, callerSkip ...int) { panic(GINKGO_PANIC) } -//GinkgoRecover should be deferred at the top of any spawned goroutine that (may) call `Fail` -//Since Gomega assertions call fail, you should throw a `defer GinkgoRecover()` at the top of any goroutine that -//calls out to Gomega +// GinkgoRecover should be deferred at the top of any spawned goroutine that (may) call `Fail` +// Since Gomega assertions call fail, you should throw a `defer GinkgoRecover()` at the top of any goroutine that +// calls out to Gomega // -//Here's why: Ginkgo's `Fail` method records the failure and then panics to prevent -//further assertions from running. This panic must be recovered. Ginkgo does this for you -//if the panic originates in a Ginkgo node (an It, BeforeEach, etc...) +// Here's why: Ginkgo's `Fail` method records the failure and then panics to prevent +// further assertions from running. This panic must be recovered. Ginkgo does this for you +// if the panic originates in a Ginkgo node (an It, BeforeEach, etc...) // -//Unfortunately, if a panic originates on a goroutine *launched* from one of these nodes there's no -//way for Ginkgo to rescue the panic. To do this, you must remember to `defer GinkgoRecover()` at the top of such a goroutine. +// Unfortunately, if a panic originates on a goroutine *launched* from one of these nodes there's no +// way for Ginkgo to rescue the panic. To do this, you must remember to `defer GinkgoRecover()` at the top of such a goroutine. func GinkgoRecover() { e := recover() if e != nil { @@ -308,158 +309,158 @@ func GinkgoRecover() { } } -//Describe blocks allow you to organize your specs. A Describe block can contain any number of -//BeforeEach, AfterEach, JustBeforeEach, It, and Measurement blocks. +// Describe blocks allow you to organize your specs. A Describe block can contain any number of +// BeforeEach, AfterEach, JustBeforeEach, It, and Measurement blocks. // -//In addition you can nest Describe, Context and When blocks. Describe, Context and When blocks are functionally -//equivalent. The difference is purely semantic -- you typically Describe the behavior of an object -//or method and, within that Describe, outline a number of Contexts and Whens. +// In addition you can nest Describe, Context and When blocks. Describe, Context and When blocks are functionally +// equivalent. The difference is purely semantic -- you typically Describe the behavior of an object +// or method and, within that Describe, outline a number of Contexts and Whens. func Describe(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypeNone, codelocation.New(1)) return true } -//You can focus the tests within a describe block using FDescribe +// You can focus the tests within a describe block using FDescribe func FDescribe(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypeFocused, codelocation.New(1)) return true } -//You can mark the tests within a describe block as pending using PDescribe +// You can mark the tests within a describe block as pending using PDescribe func PDescribe(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypePending, codelocation.New(1)) return true } -//You can mark the tests within a describe block as pending using XDescribe +// You can mark the tests within a describe block as pending using XDescribe func XDescribe(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypePending, codelocation.New(1)) return true } -//Context blocks allow you to organize your specs. A Context block can contain any number of -//BeforeEach, AfterEach, JustBeforeEach, It, and Measurement blocks. +// Context blocks allow you to organize your specs. A Context block can contain any number of +// BeforeEach, AfterEach, JustBeforeEach, It, and Measurement blocks. // -//In addition you can nest Describe, Context and When blocks. Describe, Context and When blocks are functionally -//equivalent. The difference is purely semantic -- you typical Describe the behavior of an object -//or method and, within that Describe, outline a number of Contexts and Whens. +// In addition you can nest Describe, Context and When blocks. Describe, Context and When blocks are functionally +// equivalent. The difference is purely semantic -- you typical Describe the behavior of an object +// or method and, within that Describe, outline a number of Contexts and Whens. func Context(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypeNone, codelocation.New(1)) return true } -//You can focus the tests within a describe block using FContext +// You can focus the tests within a describe block using FContext func FContext(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypeFocused, codelocation.New(1)) return true } -//You can mark the tests within a describe block as pending using PContext +// You can mark the tests within a describe block as pending using PContext func PContext(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypePending, codelocation.New(1)) return true } -//You can mark the tests within a describe block as pending using XContext +// You can mark the tests within a describe block as pending using XContext func XContext(text string, body func()) bool { global.Suite.PushContainerNode(text, body, types.FlagTypePending, codelocation.New(1)) return true } -//When blocks allow you to organize your specs. A When block can contain any number of -//BeforeEach, AfterEach, JustBeforeEach, It, and Measurement blocks. +// When blocks allow you to organize your specs. A When block can contain any number of +// BeforeEach, AfterEach, JustBeforeEach, It, and Measurement blocks. // -//In addition you can nest Describe, Context and When blocks. Describe, Context and When blocks are functionally -//equivalent. The difference is purely semantic -- you typical Describe the behavior of an object -//or method and, within that Describe, outline a number of Contexts and Whens. +// In addition you can nest Describe, Context and When blocks. Describe, Context and When blocks are functionally +// equivalent. The difference is purely semantic -- you typical Describe the behavior of an object +// or method and, within that Describe, outline a number of Contexts and Whens. func When(text string, body func()) bool { global.Suite.PushContainerNode("when "+text, body, types.FlagTypeNone, codelocation.New(1)) return true } -//You can focus the tests within a describe block using FWhen +// You can focus the tests within a describe block using FWhen func FWhen(text string, body func()) bool { global.Suite.PushContainerNode("when "+text, body, types.FlagTypeFocused, codelocation.New(1)) return true } -//You can mark the tests within a describe block as pending using PWhen +// You can mark the tests within a describe block as pending using PWhen func PWhen(text string, body func()) bool { global.Suite.PushContainerNode("when "+text, body, types.FlagTypePending, codelocation.New(1)) return true } -//You can mark the tests within a describe block as pending using XWhen +// You can mark the tests within a describe block as pending using XWhen func XWhen(text string, body func()) bool { global.Suite.PushContainerNode("when "+text, body, types.FlagTypePending, codelocation.New(1)) return true } -//It blocks contain your test code and assertions. You cannot nest any other Ginkgo blocks -//within an It block. +// It blocks contain your test code and assertions. You cannot nest any other Ginkgo blocks +// within an It block. // -//Ginkgo will normally run It blocks synchronously. To perform asynchronous tests, pass a -//function that accepts a Done channel. When you do this, you can also provide an optional timeout. +// Ginkgo will normally run It blocks synchronously. To perform asynchronous tests, pass a +// function that accepts a Done channel. When you do this, you can also provide an optional timeout. func It(text string, body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushItNode(text, body, types.FlagTypeNone, codelocation.New(1), parseTimeout(timeout...)) return true } -//You can focus individual Its using FIt +// You can focus individual Its using FIt func FIt(text string, body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushItNode(text, body, types.FlagTypeFocused, codelocation.New(1), parseTimeout(timeout...)) return true } -//You can mark Its as pending using PIt +// You can mark Its as pending using PIt func PIt(text string, _ ...interface{}) bool { global.Suite.PushItNode(text, func() {}, types.FlagTypePending, codelocation.New(1), 0) return true } -//You can mark Its as pending using XIt +// You can mark Its as pending using XIt func XIt(text string, _ ...interface{}) bool { global.Suite.PushItNode(text, func() {}, types.FlagTypePending, codelocation.New(1), 0) return true } -//Specify blocks are aliases for It blocks and allow for more natural wording in situations -//which "It" does not fit into a natural sentence flow. All the same protocols apply for Specify blocks -//which apply to It blocks. +// Specify blocks are aliases for It blocks and allow for more natural wording in situations +// which "It" does not fit into a natural sentence flow. All the same protocols apply for Specify blocks +// which apply to It blocks. func Specify(text string, body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushItNode(text, body, types.FlagTypeNone, codelocation.New(1), parseTimeout(timeout...)) return true } -//You can focus individual Specifys using FSpecify +// You can focus individual Specifys using FSpecify func FSpecify(text string, body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushItNode(text, body, types.FlagTypeFocused, codelocation.New(1), parseTimeout(timeout...)) return true } -//You can mark Specifys as pending using PSpecify +// You can mark Specifys as pending using PSpecify func PSpecify(text string, is ...interface{}) bool { global.Suite.PushItNode(text, func() {}, types.FlagTypePending, codelocation.New(1), 0) return true } -//You can mark Specifys as pending using XSpecify +// You can mark Specifys as pending using XSpecify func XSpecify(text string, is ...interface{}) bool { global.Suite.PushItNode(text, func() {}, types.FlagTypePending, codelocation.New(1), 0) return true } -//By allows you to better document large Its. +// By allows you to better document large Its. // -//Generally you should try to keep your Its short and to the point. This is not always possible, however, -//especially in the context of integration tests that capture a particular workflow. +// Generally you should try to keep your Its short and to the point. This is not always possible, however, +// especially in the context of integration tests that capture a particular workflow. // -//By allows you to document such flows. By must be called within a runnable node (It, BeforeEach, Measure, etc...) -//By will simply log the passed in text to the GinkgoWriter. If By is handed a function it will immediately run the function. +// By allows you to document such flows. By must be called within a runnable node (It, BeforeEach, Measure, etc...) +// By will simply log the passed in text to the GinkgoWriter. If By is handed a function it will immediately run the function. func By(text string, callbacks ...func()) { preamble := "\x1b[1mSTEP\x1b[0m" if config.DefaultReporterConfig.NoColor { @@ -474,10 +475,11 @@ func By(text string, callbacks ...func()) { } } -//Measure blocks run the passed in body function repeatedly (determined by the samples argument) -//and accumulate metrics provided to the Benchmarker by the body function. +// Measure blocks run the passed in body function repeatedly (determined by the samples argument) +// and accumulate metrics provided to the Benchmarker by the body function. +// +// The body function must have the signature: // -//The body function must have the signature: // func(b Benchmarker) func Measure(text string, body interface{}, samples int) bool { deprecationTracker.TrackDeprecation(types.Deprecations.Measure(), codelocation.New(1)) @@ -485,79 +487,79 @@ func Measure(text string, body interface{}, samples int) bool { return true } -//You can focus individual Measures using FMeasure +// You can focus individual Measures using FMeasure func FMeasure(text string, body interface{}, samples int) bool { deprecationTracker.TrackDeprecation(types.Deprecations.Measure(), codelocation.New(1)) global.Suite.PushMeasureNode(text, body, types.FlagTypeFocused, codelocation.New(1), samples) return true } -//You can mark Measurements as pending using PMeasure +// You can mark Measurements as pending using PMeasure func PMeasure(text string, _ ...interface{}) bool { deprecationTracker.TrackDeprecation(types.Deprecations.Measure(), codelocation.New(1)) global.Suite.PushMeasureNode(text, func(b Benchmarker) {}, types.FlagTypePending, codelocation.New(1), 0) return true } -//You can mark Measurements as pending using XMeasure +// You can mark Measurements as pending using XMeasure func XMeasure(text string, _ ...interface{}) bool { deprecationTracker.TrackDeprecation(types.Deprecations.Measure(), codelocation.New(1)) global.Suite.PushMeasureNode(text, func(b Benchmarker) {}, types.FlagTypePending, codelocation.New(1), 0) return true } -//BeforeSuite blocks are run just once before any specs are run. When running in parallel, each -//parallel node process will call BeforeSuite. +// BeforeSuite blocks are run just once before any specs are run. When running in parallel, each +// parallel node process will call BeforeSuite. // -//BeforeSuite blocks can be made asynchronous by providing a body function that accepts a Done channel +// # BeforeSuite blocks can be made asynchronous by providing a body function that accepts a Done channel // -//You may only register *one* BeforeSuite handler per test suite. You typically do so in your bootstrap file at the top level. +// You may only register *one* BeforeSuite handler per test suite. You typically do so in your bootstrap file at the top level. func BeforeSuite(body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.SetBeforeSuiteNode(body, codelocation.New(1), parseTimeout(timeout...)) return true } -//AfterSuite blocks are *always* run after all the specs regardless of whether specs have passed or failed. -//Moreover, if Ginkgo receives an interrupt signal (^C) it will attempt to run the AfterSuite before exiting. +// AfterSuite blocks are *always* run after all the specs regardless of whether specs have passed or failed. +// Moreover, if Ginkgo receives an interrupt signal (^C) it will attempt to run the AfterSuite before exiting. // -//When running in parallel, each parallel node process will call AfterSuite. +// When running in parallel, each parallel node process will call AfterSuite. // -//AfterSuite blocks can be made asynchronous by providing a body function that accepts a Done channel +// # AfterSuite blocks can be made asynchronous by providing a body function that accepts a Done channel // -//You may only register *one* AfterSuite handler per test suite. You typically do so in your bootstrap file at the top level. +// You may only register *one* AfterSuite handler per test suite. You typically do so in your bootstrap file at the top level. func AfterSuite(body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.SetAfterSuiteNode(body, codelocation.New(1), parseTimeout(timeout...)) return true } -//SynchronizedBeforeSuite blocks are primarily meant to solve the problem of setting up singleton external resources shared across -//nodes when running tests in parallel. For example, say you have a shared database that you can only start one instance of that -//must be used in your tests. When running in parallel, only one node should set up the database and all other nodes should wait -//until that node is done before running. +// SynchronizedBeforeSuite blocks are primarily meant to solve the problem of setting up singleton external resources shared across +// nodes when running tests in parallel. For example, say you have a shared database that you can only start one instance of that +// must be used in your tests. When running in parallel, only one node should set up the database and all other nodes should wait +// until that node is done before running. // -//SynchronizedBeforeSuite accomplishes this by taking *two* function arguments. The first is only run on parallel node #1. The second is -//run on all nodes, but *only* after the first function completes successfully. Ginkgo also makes it possible to send data from the first function (on Node 1) -//to the second function (on all the other nodes). +// SynchronizedBeforeSuite accomplishes this by taking *two* function arguments. The first is only run on parallel node #1. The second is +// run on all nodes, but *only* after the first function completes successfully. Ginkgo also makes it possible to send data from the first function (on Node 1) +// to the second function (on all the other nodes). // -//The functions have the following signatures. The first function (which only runs on node 1) has the signature: +// The functions have the following signatures. The first function (which only runs on node 1) has the signature: // // func() []byte // -//or, to run asynchronously: +// or, to run asynchronously: // // func(done Done) []byte // -//The byte array returned by the first function is then passed to the second function, which has the signature: +// The byte array returned by the first function is then passed to the second function, which has the signature: // // func(data []byte) // -//or, to run asynchronously: +// or, to run asynchronously: // // func(data []byte, done Done) // -//Here's a simple pseudo-code example that starts a shared database on Node 1 and shares the database's address with the other nodes: +// Here's a simple pseudo-code example that starts a shared database on Node 1 and shares the database's address with the other nodes: // // var dbClient db.Client // var dbRunner db.Runner @@ -582,17 +584,17 @@ func SynchronizedBeforeSuite(node1Body interface{}, allNodesBody interface{}, ti return true } -//SynchronizedAfterSuite blocks complement the SynchronizedBeforeSuite blocks in solving the problem of setting up -//external singleton resources shared across nodes when running tests in parallel. +// SynchronizedAfterSuite blocks complement the SynchronizedBeforeSuite blocks in solving the problem of setting up +// external singleton resources shared across nodes when running tests in parallel. // -//SynchronizedAfterSuite accomplishes this by taking *two* function arguments. The first runs on all nodes. The second runs only on parallel node #1 -//and *only* after all other nodes have finished and exited. This ensures that node 1, and any resources it is running, remain alive until -//all other nodes are finished. +// SynchronizedAfterSuite accomplishes this by taking *two* function arguments. The first runs on all nodes. The second runs only on parallel node #1 +// and *only* after all other nodes have finished and exited. This ensures that node 1, and any resources it is running, remain alive until +// all other nodes are finished. // -//Both functions have the same signature: either func() or func(done Done) to run asynchronously. +// Both functions have the same signature: either func() or func(done Done) to run asynchronously. // -//Here's a pseudo-code example that complements that given in SynchronizedBeforeSuite. Here, SynchronizedAfterSuite is used to tear down the shared database -//only after all nodes have finished: +// Here's a pseudo-code example that complements that given in SynchronizedBeforeSuite. Here, SynchronizedAfterSuite is used to tear down the shared database +// only after all nodes have finished: // // var _ = SynchronizedAfterSuite(func() { // dbClient.Cleanup() @@ -609,44 +611,44 @@ func SynchronizedAfterSuite(allNodesBody interface{}, node1Body interface{}, tim return true } -//BeforeEach blocks are run before It blocks. When multiple BeforeEach blocks are defined in nested -//Describe and Context blocks the outermost BeforeEach blocks are run first. +// BeforeEach blocks are run before It blocks. When multiple BeforeEach blocks are defined in nested +// Describe and Context blocks the outermost BeforeEach blocks are run first. // -//Like It blocks, BeforeEach blocks can be made asynchronous by providing a body function that accepts -//a Done channel +// Like It blocks, BeforeEach blocks can be made asynchronous by providing a body function that accepts +// a Done channel func BeforeEach(body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushBeforeEachNode(body, codelocation.New(1), parseTimeout(timeout...)) return true } -//JustBeforeEach blocks are run before It blocks but *after* all BeforeEach blocks. For more details, -//read the [documentation](http://onsi.github.io/ginkgo/#separating_creation_and_configuration_) +// JustBeforeEach blocks are run before It blocks but *after* all BeforeEach blocks. For more details, +// read the [documentation](http://onsi.github.io/ginkgo/#separating_creation_and_configuration_) // -//Like It blocks, BeforeEach blocks can be made asynchronous by providing a body function that accepts -//a Done channel +// Like It blocks, BeforeEach blocks can be made asynchronous by providing a body function that accepts +// a Done channel func JustBeforeEach(body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushJustBeforeEachNode(body, codelocation.New(1), parseTimeout(timeout...)) return true } -//JustAfterEach blocks are run after It blocks but *before* all AfterEach blocks. For more details, -//read the [documentation](http://onsi.github.io/ginkgo/#separating_creation_and_configuration_) +// JustAfterEach blocks are run after It blocks but *before* all AfterEach blocks. For more details, +// read the [documentation](http://onsi.github.io/ginkgo/#separating_creation_and_configuration_) // -//Like It blocks, JustAfterEach blocks can be made asynchronous by providing a body function that accepts -//a Done channel +// Like It blocks, JustAfterEach blocks can be made asynchronous by providing a body function that accepts +// a Done channel func JustAfterEach(body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushJustAfterEachNode(body, codelocation.New(1), parseTimeout(timeout...)) return true } -//AfterEach blocks are run after It blocks. When multiple AfterEach blocks are defined in nested -//Describe and Context blocks the innermost AfterEach blocks are run first. +// AfterEach blocks are run after It blocks. When multiple AfterEach blocks are defined in nested +// Describe and Context blocks the innermost AfterEach blocks are run first. // -//Like It blocks, AfterEach blocks can be made asynchronous by providing a body function that accepts -//a Done channel +// Like It blocks, AfterEach blocks can be made asynchronous by providing a body function that accepts +// a Done channel func AfterEach(body interface{}, timeout ...float64) bool { validateBodyFunc(body, codelocation.New(1)) global.Suite.PushAfterEachNode(body, codelocation.New(1), parseTimeout(timeout...)) diff --git a/vendor/github.com/onsi/ginkgo/internal/remote/aggregator.go b/vendor/github.com/onsi/ginkgo/internal/remote/aggregator.go index 992437d9e..a4deca99c 100644 --- a/vendor/github.com/onsi/ginkgo/internal/remote/aggregator.go +++ b/vendor/github.com/onsi/ginkgo/internal/remote/aggregator.go @@ -1,5 +1,4 @@ /* - Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output coherently as tests complete. You shouldn't need to use this in your code. To run tests in parallel: diff --git a/vendor/github.com/onsi/ginkgo/internal/remote/forwarding_reporter.go b/vendor/github.com/onsi/ginkgo/internal/remote/forwarding_reporter.go index 284bc62e5..e383841b7 100644 --- a/vendor/github.com/onsi/ginkgo/internal/remote/forwarding_reporter.go +++ b/vendor/github.com/onsi/ginkgo/internal/remote/forwarding_reporter.go @@ -16,7 +16,7 @@ import ( "github.com/onsi/ginkgo/types" ) -//An interface to net/http's client to allow the injection of fakes under test +// An interface to net/http's client to allow the injection of fakes under test type Poster interface { Post(url string, bodyType string, body io.Reader) (resp *http.Response, err error) } diff --git a/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_unix.go b/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_unix.go index 774967db6..cdfdaa819 100644 --- a/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_unix.go +++ b/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_unix.go @@ -1,3 +1,4 @@ +//go:build freebsd || openbsd || netbsd || dragonfly || darwin || linux || solaris // +build freebsd openbsd netbsd dragonfly darwin linux solaris package remote diff --git a/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_win.go b/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_win.go index 40c790336..5d088101e 100644 --- a/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_win.go +++ b/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor_win.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package remote diff --git a/vendor/github.com/onsi/ginkgo/internal/remote/server.go b/vendor/github.com/onsi/ginkgo/internal/remote/server.go index 93e9dac05..d9375cd3a 100644 --- a/vendor/github.com/onsi/ginkgo/internal/remote/server.go +++ b/vendor/github.com/onsi/ginkgo/internal/remote/server.go @@ -35,7 +35,7 @@ type Server struct { counter int } -//Create a new server, automatically selecting a port +// Create a new server, automatically selecting a port func NewServer(parallelTotal int) (*Server, error) { listener, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { @@ -50,7 +50,7 @@ func NewServer(parallelTotal int) (*Server, error) { }, nil } -//Start the server. You don't need to `go s.Start()`, just `s.Start()` +// Start the server. You don't need to `go s.Start()`, just `s.Start()` func (server *Server) Start() { httpServer := &http.Server{} mux := http.NewServeMux() @@ -73,12 +73,12 @@ func (server *Server) Start() { go httpServer.Serve(server.listener) } -//Stop the server +// Stop the server func (server *Server) Close() { server.listener.Close() } -//The address the server can be reached it. Pass this into the `ForwardingReporter`. +// The address the server can be reached it. Pass this into the `ForwardingReporter`. func (server *Server) Address() string { return "http://" + server.listener.Addr().String() } @@ -87,7 +87,7 @@ func (server *Server) Address() string { // Streaming Endpoints // -//The server will forward all received messages to Ginkgo reporters registered with `RegisterReporters` +// The server will forward all received messages to Ginkgo reporters registered with `RegisterReporters` func (server *Server) readAll(request *http.Request) []byte { defer request.Body.Close() body, _ := ioutil.ReadAll(request.Body) diff --git a/vendor/github.com/onsi/ginkgo/reporters/fake_reporter.go b/vendor/github.com/onsi/ginkgo/reporters/fake_reporter.go index 27db47949..bf3af17c4 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/fake_reporter.go +++ b/vendor/github.com/onsi/ginkgo/reporters/fake_reporter.go @@ -5,7 +5,7 @@ import ( "github.com/onsi/ginkgo/types" ) -//FakeReporter is useful for testing purposes +// FakeReporter is useful for testing purposes type FakeReporter struct { Config config.GinkgoConfigType diff --git a/vendor/github.com/onsi/ginkgo/reporters/junit_reporter.go b/vendor/github.com/onsi/ginkgo/reporters/junit_reporter.go index 01ddca6e1..f19c760b5 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/junit_reporter.go +++ b/vendor/github.com/onsi/ginkgo/reporters/junit_reporter.go @@ -55,7 +55,7 @@ type JUnitReporter struct { ReporterConfig config.DefaultReporterConfigType } -//NewJUnitReporter creates a new JUnit XML reporter. The XML will be stored in the passed in filename. +// NewJUnitReporter creates a new JUnit XML reporter. The XML will be stored in the passed in filename. func NewJUnitReporter(filename string) *JUnitReporter { return &JUnitReporter{ filename: filename, @@ -160,7 +160,7 @@ func (reporter *JUnitReporter) SpecSuiteDidEnd(summary *types.SuiteSummary) { if err == nil { fmt.Fprintf(os.Stdout, "\nJUnit report was created: %s\n", filePath) } else { - fmt.Fprintf(os.Stderr,"\nFailed to generate JUnit report data:\n\t%s", err.Error()) + fmt.Fprintf(os.Stderr, "\nFailed to generate JUnit report data:\n\t%s", err.Error()) } } diff --git a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable/colorable_others.go b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable/colorable_others.go index 52d6653b3..3fb5bf158 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable/colorable_others.go +++ b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable/colorable_others.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package colorable diff --git a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_appengine.go b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_appengine.go index 83c588773..84eabda78 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_appengine.go +++ b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_appengine.go @@ -1,3 +1,4 @@ +//go:build appengine // +build appengine package isatty diff --git a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_bsd.go b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_bsd.go index 98ffe86a4..5cb68df6c 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_bsd.go +++ b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_bsd.go @@ -1,3 +1,4 @@ +//go:build (darwin || freebsd || openbsd || netbsd) && !appengine // +build darwin freebsd openbsd netbsd // +build !appengine diff --git a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_linux.go b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_linux.go index 9d24bac1d..873523f42 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_linux.go +++ b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_linux.go @@ -1,5 +1,5 @@ -// +build linux -// +build !appengine +//go:build linux && !appengine +// +build linux,!appengine package isatty diff --git a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_solaris.go b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_solaris.go index 1f0c6bf53..fb80b2966 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_solaris.go +++ b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_solaris.go @@ -1,5 +1,5 @@ -// +build solaris -// +build !appengine +//go:build solaris && !appengine +// +build solaris,!appengine package isatty diff --git a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_windows.go b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_windows.go index 83c398b16..89fc3d02b 100644 --- a/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_windows.go +++ b/vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_windows.go @@ -1,5 +1,5 @@ -// +build windows -// +build !appengine +//go:build windows && !appengine +// +build windows,!appengine package isatty diff --git a/vendor/github.com/onsi/gomega/gstruct/elements.go b/vendor/github.com/onsi/gomega/gstruct/elements.go index b5e5ef2e4..072372226 100644 --- a/vendor/github.com/onsi/gomega/gstruct/elements.go +++ b/vendor/github.com/onsi/gomega/gstruct/elements.go @@ -14,16 +14,17 @@ import ( "github.com/onsi/gomega/types" ) -//MatchAllElements succeeds if every element of a slice matches the element matcher it maps to -//through the id function, and every element matcher is matched. -// idFn := func(element interface{}) string { -// return fmt.Sprintf("%v", element) -// } +// MatchAllElements succeeds if every element of a slice matches the element matcher it maps to +// through the id function, and every element matcher is matched. // -// Expect([]string{"a", "b"}).To(MatchAllElements(idFn, Elements{ -// "a": Equal("a"), -// "b": Equal("b"), -// })) +// idFn := func(element interface{}) string { +// return fmt.Sprintf("%v", element) +// } +// +// Expect([]string{"a", "b"}).To(MatchAllElements(idFn, Elements{ +// "a": Equal("a"), +// "b": Equal("b"), +// })) func MatchAllElements(identifier Identifier, elements Elements) types.GomegaMatcher { return &ElementsMatcher{ Identifier: identifier, @@ -31,16 +32,17 @@ func MatchAllElements(identifier Identifier, elements Elements) types.GomegaMatc } } -//MatchAllElementsWithIndex succeeds if every element of a slice matches the element matcher it maps to -//through the id with index function, and every element matcher is matched. -// idFn := func(index int, element interface{}) string { -// return strconv.Itoa(index) -// } +// MatchAllElementsWithIndex succeeds if every element of a slice matches the element matcher it maps to +// through the id with index function, and every element matcher is matched. +// +// idFn := func(index int, element interface{}) string { +// return strconv.Itoa(index) +// } // -// Expect([]string{"a", "b"}).To(MatchAllElements(idFn, Elements{ -// "0": Equal("a"), -// "1": Equal("b"), -// })) +// Expect([]string{"a", "b"}).To(MatchAllElements(idFn, Elements{ +// "0": Equal("a"), +// "1": Equal("b"), +// })) func MatchAllElementsWithIndex(identifier IdentifierWithIndex, elements Elements) types.GomegaMatcher { return &ElementsMatcher{ Identifier: identifier, @@ -48,22 +50,23 @@ func MatchAllElementsWithIndex(identifier IdentifierWithIndex, elements Elements } } -//MatchElements succeeds if each element of a slice matches the element matcher it maps to -//through the id function. It can ignore extra elements and/or missing elements. -// idFn := func(element interface{}) string { -// return fmt.Sprintf("%v", element) -// } +// MatchElements succeeds if each element of a slice matches the element matcher it maps to +// through the id function. It can ignore extra elements and/or missing elements. // -// Expect([]string{"a", "b", "c"}).To(MatchElements(idFn, IgnoreExtras, Elements{ -// "a": Equal("a"), -// "b": Equal("b"), -// })) -// Expect([]string{"a", "c"}).To(MatchElements(idFn, IgnoreMissing, Elements{ -// "a": Equal("a"), -// "b": Equal("b"), -// "c": Equal("c"), -// "d": Equal("d"), -// })) +// idFn := func(element interface{}) string { +// return fmt.Sprintf("%v", element) +// } +// +// Expect([]string{"a", "b", "c"}).To(MatchElements(idFn, IgnoreExtras, Elements{ +// "a": Equal("a"), +// "b": Equal("b"), +// })) +// Expect([]string{"a", "c"}).To(MatchElements(idFn, IgnoreMissing, Elements{ +// "a": Equal("a"), +// "b": Equal("b"), +// "c": Equal("c"), +// "d": Equal("d"), +// })) func MatchElements(identifier Identifier, options Options, elements Elements) types.GomegaMatcher { return &ElementsMatcher{ Identifier: identifier, @@ -74,22 +77,23 @@ func MatchElements(identifier Identifier, options Options, elements Elements) ty } } -//MatchElementsWithIndex succeeds if each element of a slice matches the element matcher it maps to -//through the id with index function. It can ignore extra elements and/or missing elements. -// idFn := func(index int, element interface{}) string { -// return strconv.Itoa(index) -// } +// MatchElementsWithIndex succeeds if each element of a slice matches the element matcher it maps to +// through the id with index function. It can ignore extra elements and/or missing elements. +// +// idFn := func(index int, element interface{}) string { +// return strconv.Itoa(index) +// } // -// Expect([]string{"a", "b", "c"}).To(MatchElements(idFn, IgnoreExtras, Elements{ -// "0": Equal("a"), -// "1": Equal("b"), -// })) -// Expect([]string{"a", "c"}).To(MatchElements(idFn, IgnoreMissing, Elements{ -// "0": Equal("a"), -// "1": Equal("b"), -// "2": Equal("c"), -// "3": Equal("d"), -// })) +// Expect([]string{"a", "b", "c"}).To(MatchElements(idFn, IgnoreExtras, Elements{ +// "0": Equal("a"), +// "1": Equal("b"), +// })) +// Expect([]string{"a", "c"}).To(MatchElements(idFn, IgnoreMissing, Elements{ +// "0": Equal("a"), +// "1": Equal("b"), +// "2": Equal("c"), +// "3": Equal("d"), +// })) func MatchElementsWithIndex(identifier IdentifierWithIndex, options Options, elements Elements) types.GomegaMatcher { return &ElementsMatcher{ Identifier: identifier, diff --git a/vendor/github.com/onsi/gomega/gstruct/fields.go b/vendor/github.com/onsi/gomega/gstruct/fields.go index faf07b1a2..72f270e71 100644 --- a/vendor/github.com/onsi/gomega/gstruct/fields.go +++ b/vendor/github.com/onsi/gomega/gstruct/fields.go @@ -14,51 +14,53 @@ import ( "github.com/onsi/gomega/types" ) -//MatchAllFields succeeds if every field of a struct matches the field matcher associated with -//it, and every element matcher is matched. -// actual := struct{ -// A int -// B []bool -// C string -// }{ -// A: 5, -// B: []bool{true, false}, -// C: "foo", -// } +// MatchAllFields succeeds if every field of a struct matches the field matcher associated with +// it, and every element matcher is matched. // -// Expect(actual).To(MatchAllFields(Fields{ -// "A": Equal(5), -// "B": ConsistOf(true, false), -// "C": Equal("foo"), -// })) +// actual := struct{ +// A int +// B []bool +// C string +// }{ +// A: 5, +// B: []bool{true, false}, +// C: "foo", +// } +// +// Expect(actual).To(MatchAllFields(Fields{ +// "A": Equal(5), +// "B": ConsistOf(true, false), +// "C": Equal("foo"), +// })) func MatchAllFields(fields Fields) types.GomegaMatcher { return &FieldsMatcher{ Fields: fields, } } -//MatchFields succeeds if each element of a struct matches the field matcher associated with -//it. It can ignore extra fields and/or missing fields. -// actual := struct{ -// A int -// B []bool -// C string -// }{ -// A: 5, -// B: []bool{true, false}, -// C: "foo", -// } +// MatchFields succeeds if each element of a struct matches the field matcher associated with +// it. It can ignore extra fields and/or missing fields. +// +// actual := struct{ +// A int +// B []bool +// C string +// }{ +// A: 5, +// B: []bool{true, false}, +// C: "foo", +// } // -// Expect(actual).To(MatchFields(IgnoreExtras, Fields{ -// "A": Equal(5), -// "B": ConsistOf(true, false), -// })) -// Expect(actual).To(MatchFields(IgnoreMissing, Fields{ -// "A": Equal(5), -// "B": ConsistOf(true, false), -// "C": Equal("foo"), -// "D": Equal("extra"), -// })) +// Expect(actual).To(MatchFields(IgnoreExtras, Fields{ +// "A": Equal(5), +// "B": ConsistOf(true, false), +// })) +// Expect(actual).To(MatchFields(IgnoreMissing, Fields{ +// "A": Equal(5), +// "B": ConsistOf(true, false), +// "C": Equal("foo"), +// "D": Equal("extra"), +// })) func MatchFields(options Options, fields Fields) types.GomegaMatcher { return &FieldsMatcher{ Fields: fields, diff --git a/vendor/github.com/onsi/gomega/gstruct/ignore.go b/vendor/github.com/onsi/gomega/gstruct/ignore.go index 4396573e4..935c0e7e8 100644 --- a/vendor/github.com/onsi/gomega/gstruct/ignore.go +++ b/vendor/github.com/onsi/gomega/gstruct/ignore.go @@ -6,17 +6,19 @@ import ( "github.com/onsi/gomega/types" ) -//Ignore ignores the actual value and always succeeds. -// Expect(nil).To(Ignore()) -// Expect(true).To(Ignore()) +// Ignore ignores the actual value and always succeeds. +// +// Expect(nil).To(Ignore()) +// Expect(true).To(Ignore()) func Ignore() types.GomegaMatcher { return &IgnoreMatcher{true} } -//Reject ignores the actual value and always fails. It can be used in conjunction with IgnoreMissing -//to catch problematic elements, or to verify tests are running. -// Expect(nil).NotTo(Reject()) -// Expect(true).NotTo(Reject()) +// Reject ignores the actual value and always fails. It can be used in conjunction with IgnoreMissing +// to catch problematic elements, or to verify tests are running. +// +// Expect(nil).NotTo(Reject()) +// Expect(true).NotTo(Reject()) func Reject() types.GomegaMatcher { return &IgnoreMatcher{false} } diff --git a/vendor/github.com/onsi/gomega/gstruct/pointer.go b/vendor/github.com/onsi/gomega/gstruct/pointer.go index cc828a325..7c94f85bd 100644 --- a/vendor/github.com/onsi/gomega/gstruct/pointer.go +++ b/vendor/github.com/onsi/gomega/gstruct/pointer.go @@ -10,10 +10,11 @@ import ( "github.com/onsi/gomega/types" ) -//PointTo applies the given matcher to the value pointed to by actual. It fails if the pointer is -//nil. -// actual := 5 -// Expect(&actual).To(PointTo(Equal(5))) +// PointTo applies the given matcher to the value pointed to by actual. It fails if the pointer is +// nil. +// +// actual := 5 +// Expect(&actual).To(PointTo(Equal(5))) func PointTo(matcher types.GomegaMatcher) types.GomegaMatcher { return &PointerMatcher{ Matcher: matcher, diff --git a/vendor/github.com/onsi/gomega/gstruct/types.go b/vendor/github.com/onsi/gomega/gstruct/types.go index 48cbbe8f6..8fc0b6a58 100644 --- a/vendor/github.com/onsi/gomega/gstruct/types.go +++ b/vendor/github.com/onsi/gomega/gstruct/types.go @@ -1,6 +1,6 @@ package gstruct -//Options is the type for options passed to some matchers. +// Options is the type for options passed to some matchers. type Options int const ( diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraph.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraph.go index 830e30827..fb4b9d07c 100644 --- a/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraph.go +++ b/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraph.go @@ -1,9 +1,11 @@ package bipartitegraph -import "fmt" +import ( + "fmt" -import . "github.com/onsi/gomega/matchers/support/goraph/node" -import . "github.com/onsi/gomega/matchers/support/goraph/edge" + . "github.com/onsi/gomega/matchers/support/goraph/edge" + . "github.com/onsi/gomega/matchers/support/goraph/node" +) type BipartiteGraph struct { Left NodeOrderedSet diff --git a/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go b/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go index 4339acc64..d60bd8e7a 100644 --- a/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go +++ b/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go @@ -1,7 +1,7 @@ package bipartitegraph import ( - "golang.org/x/exp/slices" + "golang.org/x/exp/slices" . "github.com/onsi/gomega/matchers/support/goraph/edge" . "github.com/onsi/gomega/matchers/support/goraph/node" diff --git a/vendor/github.com/opencontainers/go-digest/digest.go b/vendor/github.com/opencontainers/go-digest/digest.go index 518b5e715..465996ce6 100644 --- a/vendor/github.com/opencontainers/go-digest/digest.go +++ b/vendor/github.com/opencontainers/go-digest/digest.go @@ -30,7 +30,7 @@ import ( // // The following is an example of the contents of Digest types: // -// sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc +// sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc // // This allows to abstract the digest behind this type and work only in those // terms. diff --git a/vendor/github.com/opencontainers/go-digest/doc.go b/vendor/github.com/opencontainers/go-digest/doc.go index 83d3a936c..e2dd44f46 100644 --- a/vendor/github.com/opencontainers/go-digest/doc.go +++ b/vendor/github.com/opencontainers/go-digest/doc.go @@ -19,16 +19,16 @@ // More importantly, it provides tools and wrappers to work with // hash.Hash-based digests with little effort. // -// Basics +// # Basics // // The format of a digest is simply a string with two parts, dubbed the // "algorithm" and the "digest", separated by a colon: // -// : +// : // // An example of a sha256 digest representation follows: // -// sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc +// sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc // // The "algorithm" portion defines both the hashing algorithm used to calculate // the digest and the encoding of the resulting digest, which defaults to "hex" @@ -42,7 +42,7 @@ // obtained, comparisons are cheap, quick and simple to express with the // standard equality operator. // -// Verification +// # Verification // // The main benefit of using the Digest type is simple verification against a // given digest. The Verifier interface, modeled after the stdlib hash.Hash @@ -50,7 +50,7 @@ // writing is complete, calling the Verifier.Verified method will indicate // whether or not the stream of bytes matches the target digest. // -// Missing Features +// # Missing Features // // In addition to the above, we intend to add the following features to this // package: @@ -58,5 +58,4 @@ // 1. A Digester type that supports write sink digest calculation. // // 2. Suspend and resume of ongoing digest calculations to support efficient digest verification in the registry. -// package digest diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_builder.go index e73acdaac..add622b11 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // AccessTokenAuthBuilder contains the data and logic needed to build 'access_token_auth' objects. -// -// type AccessTokenAuthBuilder struct { bitmap_ uint32 auth string @@ -34,8 +32,6 @@ func NewAccessTokenAuth() *AccessTokenAuthBuilder { } // Auth sets the value of the 'auth' attribute to the given value. -// -// func (b *AccessTokenAuthBuilder) Auth(value string) *AccessTokenAuthBuilder { b.auth = value b.bitmap_ |= 1 @@ -43,8 +39,6 @@ func (b *AccessTokenAuthBuilder) Auth(value string) *AccessTokenAuthBuilder { } // Email sets the value of the 'email' attribute to the given value. -// -// func (b *AccessTokenAuthBuilder) Email(value string) *AccessTokenAuthBuilder { b.email = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_list_type_json.go index 15d38c1b2..760078f4f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAccessTokenAuthList(source interface{}) (items []*AccessTokenAuth, return } -// readAccessTokenAuthList reads list of values of the ''access_token_auth' type from +// readAccessTokenAuthList reads list of values of the ”access_token_auth' type from // the given iterator. func readAccessTokenAuthList(iterator *jsoniter.Iterator) []*AccessTokenAuth { list := []*AccessTokenAuth{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_type.go index e389865c8..c29a557c5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_auth_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // AccessTokenAuth represents the values of the 'access_token_auth' type. -// -// type AccessTokenAuth struct { bitmap_ uint32 auth string @@ -35,8 +33,6 @@ func (o *AccessTokenAuth) Empty() bool { // Auth returns the value of the 'auth' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *AccessTokenAuth) Auth() string { if o != nil && o.bitmap_&1 != 0 { return o.auth @@ -46,8 +42,6 @@ func (o *AccessTokenAuth) Auth() string { // GetAuth returns the value of the 'auth' attribute and // a flag indicating if the attribute has a value. -// -// func (o *AccessTokenAuth) GetAuth() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -58,8 +52,6 @@ func (o *AccessTokenAuth) GetAuth() (value string, ok bool) { // Email returns the value of the 'email' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *AccessTokenAuth) Email() string { if o != nil && o.bitmap_&2 != 0 { return o.email @@ -69,8 +61,6 @@ func (o *AccessTokenAuth) Email() string { // GetEmail returns the value of the 'email' attribute and // a flag indicating if the attribute has a value. -// -// func (o *AccessTokenAuth) GetEmail() (value string, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_builder.go index 95e780c51..b230a71d6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // AccessTokenBuilder contains the data and logic needed to build 'access_token' objects. -// -// type AccessTokenBuilder struct { bitmap_ uint32 auths map[string]*AccessTokenAuthBuilder @@ -33,8 +31,6 @@ func NewAccessToken() *AccessTokenBuilder { } // Auths sets the value of the 'auths' attribute to the given value. -// -// func (b *AccessTokenBuilder) Auths(value map[string]*AccessTokenAuthBuilder) *AccessTokenBuilder { b.auths = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_client.go index cfb11cc5e..62e0733d3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_client.go @@ -156,8 +156,6 @@ func (r *AccessTokenPostResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AccessTokenPostResponse) Body() *AccessToken { if r == nil { return nil @@ -167,8 +165,6 @@ func (r *AccessTokenPostResponse) Body() *AccessToken { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AccessTokenPostResponse) GetBody() (value *AccessToken, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_list_type_json.go index d15ed1ebf..2a83b1081 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAccessTokenList(source interface{}) (items []*AccessToken, err err return } -// readAccessTokenList reads list of values of the ''access_token' type from +// readAccessTokenList reads list of values of the ”access_token' type from // the given iterator. func readAccessTokenList(iterator *jsoniter.Iterator) []*AccessToken { list := []*AccessToken{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_server.go index 687d37236..d4a93e6d7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_server.go @@ -48,8 +48,6 @@ type AccessTokenPostServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AccessTokenPostServerResponse) Body(value *AccessToken) *AccessTokenPostServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_type.go index 13dfec1bc..9268aa742 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/access_token_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // AccessToken represents the values of the 'access_token' type. -// -// type AccessToken struct { bitmap_ uint32 auths map[string]*AccessTokenAuth @@ -34,8 +32,6 @@ func (o *AccessToken) Empty() bool { // Auths returns the value of the 'auths' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *AccessToken) Auths() map[string]*AccessTokenAuth { if o != nil && o.bitmap_&1 != 0 { return o.auths @@ -45,8 +41,6 @@ func (o *AccessToken) Auths() map[string]*AccessTokenAuth { // GetAuths returns the value of the 'auths' attribute and // a flag indicating if the attribute has a value. -// -// func (o *AccessToken) GetAuths() (value map[string]*AccessTokenAuth, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_builder.go index 869161c71..f571ba9da 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_builder.go @@ -24,8 +24,6 @@ import ( ) // AccountBuilder contains the data and logic needed to build 'account' objects. -// -// type AccountBuilder struct { bitmap_ uint32 id string @@ -70,8 +68,6 @@ func (b *AccountBuilder) HREF(value string) *AccountBuilder { } // BanCode sets the value of the 'ban_code' attribute to the given value. -// -// func (b *AccountBuilder) BanCode(value string) *AccountBuilder { b.banCode = value b.bitmap_ |= 8 @@ -79,8 +75,6 @@ func (b *AccountBuilder) BanCode(value string) *AccountBuilder { } // BanDescription sets the value of the 'ban_description' attribute to the given value. -// -// func (b *AccountBuilder) BanDescription(value string) *AccountBuilder { b.banDescription = value b.bitmap_ |= 16 @@ -88,8 +82,6 @@ func (b *AccountBuilder) BanDescription(value string) *AccountBuilder { } // Banned sets the value of the 'banned' attribute to the given value. -// -// func (b *AccountBuilder) Banned(value bool) *AccountBuilder { b.banned = value b.bitmap_ |= 32 @@ -97,8 +89,6 @@ func (b *AccountBuilder) Banned(value bool) *AccountBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *AccountBuilder) CreatedAt(value time.Time) *AccountBuilder { b.createdAt = value b.bitmap_ |= 64 @@ -106,8 +96,6 @@ func (b *AccountBuilder) CreatedAt(value time.Time) *AccountBuilder { } // Email sets the value of the 'email' attribute to the given value. -// -// func (b *AccountBuilder) Email(value string) *AccountBuilder { b.email = value b.bitmap_ |= 128 @@ -115,8 +103,6 @@ func (b *AccountBuilder) Email(value string) *AccountBuilder { } // FirstName sets the value of the 'first_name' attribute to the given value. -// -// func (b *AccountBuilder) FirstName(value string) *AccountBuilder { b.firstName = value b.bitmap_ |= 256 @@ -124,8 +110,6 @@ func (b *AccountBuilder) FirstName(value string) *AccountBuilder { } // Labels sets the value of the 'labels' attribute to the given values. -// -// func (b *AccountBuilder) Labels(values ...*LabelBuilder) *AccountBuilder { b.labels = make([]*LabelBuilder, len(values)) copy(b.labels, values) @@ -134,8 +118,6 @@ func (b *AccountBuilder) Labels(values ...*LabelBuilder) *AccountBuilder { } // LastName sets the value of the 'last_name' attribute to the given value. -// -// func (b *AccountBuilder) LastName(value string) *AccountBuilder { b.lastName = value b.bitmap_ |= 1024 @@ -143,8 +125,6 @@ func (b *AccountBuilder) LastName(value string) *AccountBuilder { } // Organization sets the value of the 'organization' attribute to the given value. -// -// func (b *AccountBuilder) Organization(value *OrganizationBuilder) *AccountBuilder { b.organization = value if value != nil { @@ -156,8 +136,6 @@ func (b *AccountBuilder) Organization(value *OrganizationBuilder) *AccountBuilde } // ServiceAccount sets the value of the 'service_account' attribute to the given value. -// -// func (b *AccountBuilder) ServiceAccount(value bool) *AccountBuilder { b.serviceAccount = value b.bitmap_ |= 4096 @@ -165,8 +143,6 @@ func (b *AccountBuilder) ServiceAccount(value bool) *AccountBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *AccountBuilder) UpdatedAt(value time.Time) *AccountBuilder { b.updatedAt = value b.bitmap_ |= 8192 @@ -174,8 +150,6 @@ func (b *AccountBuilder) UpdatedAt(value time.Time) *AccountBuilder { } // Username sets the value of the 'username' attribute to the given value. -// -// func (b *AccountBuilder) Username(value string) *AccountBuilder { b.username = value b.bitmap_ |= 16384 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_client.go index b1ba2520d..56560b174 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_client.go @@ -181,16 +181,12 @@ func (r *AccountPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AccountPollResponse) Body() *Account { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AccountPollResponse) GetBody() (value *Account, ok bool) { return r.response.GetBody() } @@ -303,8 +299,6 @@ func (r *AccountGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AccountGetResponse) Body() *Account { if r == nil { return nil @@ -314,8 +308,6 @@ func (r *AccountGetResponse) Body() *Account { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AccountGetResponse) GetBody() (value *Account, ok bool) { ok = r != nil && r.body != nil if ok { @@ -346,8 +338,6 @@ func (r *AccountUpdateRequest) Header(name string, value interface{}) *AccountUp } // Body sets the value of the 'body' parameter. -// -// func (r *AccountUpdateRequest) Body(value *Account) *AccountUpdateRequest { r.body = value return r @@ -449,8 +439,6 @@ func (r *AccountUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AccountUpdateResponse) Body() *Account { if r == nil { return nil @@ -460,8 +448,6 @@ func (r *AccountUpdateResponse) Body() *Account { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AccountUpdateResponse) GetBody() (value *Account, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_list_type_json.go index fb27017a8..a013ebaf1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAccountList(source interface{}) (items []*Account, err error) { return } -// readAccountList reads list of values of the ''account' type from +// readAccountList reads list of values of the ”account' type from // the given iterator. func readAccountList(iterator *jsoniter.Iterator) []*Account { list := []*Account{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_server.go index 4c29a1ed6..2d3ef422b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_server.go @@ -58,8 +58,6 @@ type AccountGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AccountGetServerResponse) Body(value *Account) *AccountGetServerResponse { r.body = value return r @@ -77,8 +75,6 @@ type AccountUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *AccountUpdateServerRequest) Body() *Account { if r == nil { return nil @@ -88,8 +84,6 @@ func (r *AccountUpdateServerRequest) Body() *Account { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AccountUpdateServerRequest) GetBody() (value *Account, ok bool) { ok = r != nil && r.body != nil if ok { @@ -106,8 +100,6 @@ type AccountUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AccountUpdateServerResponse) Body(value *Account) *AccountUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_type.go index 4e77315d9..1ec5823fa 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/account_type.go @@ -36,8 +36,6 @@ const AccountLinkKind = "AccountLink" const AccountNilKind = "AccountNil" // Account represents the values of the 'account' type. -// -// type Account struct { bitmap_ uint32 id string @@ -115,8 +113,6 @@ func (o *Account) Empty() bool { // BanCode returns the value of the 'ban_code' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) BanCode() string { if o != nil && o.bitmap_&8 != 0 { return o.banCode @@ -126,8 +122,6 @@ func (o *Account) BanCode() string { // GetBanCode returns the value of the 'ban_code' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetBanCode() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -138,8 +132,6 @@ func (o *Account) GetBanCode() (value string, ok bool) { // BanDescription returns the value of the 'ban_description' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) BanDescription() string { if o != nil && o.bitmap_&16 != 0 { return o.banDescription @@ -149,8 +141,6 @@ func (o *Account) BanDescription() string { // GetBanDescription returns the value of the 'ban_description' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetBanDescription() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -161,8 +151,6 @@ func (o *Account) GetBanDescription() (value string, ok bool) { // Banned returns the value of the 'banned' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) Banned() bool { if o != nil && o.bitmap_&32 != 0 { return o.banned @@ -172,8 +160,6 @@ func (o *Account) Banned() bool { // GetBanned returns the value of the 'banned' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetBanned() (value bool, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -184,8 +170,6 @@ func (o *Account) GetBanned() (value bool, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) CreatedAt() time.Time { if o != nil && o.bitmap_&64 != 0 { return o.createdAt @@ -195,8 +179,6 @@ func (o *Account) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -207,8 +189,6 @@ func (o *Account) GetCreatedAt() (value time.Time, ok bool) { // Email returns the value of the 'email' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) Email() string { if o != nil && o.bitmap_&128 != 0 { return o.email @@ -218,8 +198,6 @@ func (o *Account) Email() string { // GetEmail returns the value of the 'email' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetEmail() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -230,8 +208,6 @@ func (o *Account) GetEmail() (value string, ok bool) { // FirstName returns the value of the 'first_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) FirstName() string { if o != nil && o.bitmap_&256 != 0 { return o.firstName @@ -241,8 +217,6 @@ func (o *Account) FirstName() string { // GetFirstName returns the value of the 'first_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetFirstName() (value string, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -253,8 +227,6 @@ func (o *Account) GetFirstName() (value string, ok bool) { // Labels returns the value of the 'labels' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) Labels() []*Label { if o != nil && o.bitmap_&512 != 0 { return o.labels @@ -264,8 +236,6 @@ func (o *Account) Labels() []*Label { // GetLabels returns the value of the 'labels' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetLabels() (value []*Label, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { @@ -276,8 +246,6 @@ func (o *Account) GetLabels() (value []*Label, ok bool) { // LastName returns the value of the 'last_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) LastName() string { if o != nil && o.bitmap_&1024 != 0 { return o.lastName @@ -287,8 +255,6 @@ func (o *Account) LastName() string { // GetLastName returns the value of the 'last_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetLastName() (value string, ok bool) { ok = o != nil && o.bitmap_&1024 != 0 if ok { @@ -299,8 +265,6 @@ func (o *Account) GetLastName() (value string, ok bool) { // Organization returns the value of the 'organization' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) Organization() *Organization { if o != nil && o.bitmap_&2048 != 0 { return o.organization @@ -310,8 +274,6 @@ func (o *Account) Organization() *Organization { // GetOrganization returns the value of the 'organization' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetOrganization() (value *Organization, ok bool) { ok = o != nil && o.bitmap_&2048 != 0 if ok { @@ -322,8 +284,6 @@ func (o *Account) GetOrganization() (value *Organization, ok bool) { // ServiceAccount returns the value of the 'service_account' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) ServiceAccount() bool { if o != nil && o.bitmap_&4096 != 0 { return o.serviceAccount @@ -333,8 +293,6 @@ func (o *Account) ServiceAccount() bool { // GetServiceAccount returns the value of the 'service_account' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetServiceAccount() (value bool, ok bool) { ok = o != nil && o.bitmap_&4096 != 0 if ok { @@ -345,8 +303,6 @@ func (o *Account) GetServiceAccount() (value bool, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) UpdatedAt() time.Time { if o != nil && o.bitmap_&8192 != 0 { return o.updatedAt @@ -356,8 +312,6 @@ func (o *Account) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&8192 != 0 if ok { @@ -368,8 +322,6 @@ func (o *Account) GetUpdatedAt() (value time.Time, ok bool) { // Username returns the value of the 'username' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Account) Username() string { if o != nil && o.bitmap_&16384 != 0 { return o.username @@ -379,8 +331,6 @@ func (o *Account) Username() string { // GetUsername returns the value of the 'username' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Account) GetUsername() (value string, ok bool) { ok = o != nil && o.bitmap_&16384 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_client.go index 25ccf9425..94d3d55f9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_client.go @@ -268,7 +268,6 @@ func (r *AccountsListRequest) FetchlabelsLabels(value bool) *AccountsListRequest // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *AccountsListRequest) Fields(value string) *AccountsListRequest { r.fields = &value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_server.go index 1b2bf976f..6a8847917 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/accounts_server.go @@ -133,7 +133,6 @@ func (r *AccountsListServerRequest) GetFetchlabelsLabels() (value bool, ok bool) // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *AccountsListServerRequest) Fields() string { if r != nil && r.fields != nil { return *r.fields @@ -149,7 +148,6 @@ func (r *AccountsListServerRequest) Fields() string { // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *AccountsListServerRequest) GetFields() (value string, ok bool) { ok = r != nil && r.fields != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/action_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/action_list_type_json.go index cefb4dc76..3b33a0259 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/action_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/action_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalActionList(source interface{}) (items []Action, err error) { return } -// readActionList reads list of values of the ''action' type from +// readActionList reads list of values of the ”action' type from // the given iterator. func readActionList(iterator *jsoniter.Iterator) []Action { list := []Action{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/billing_model_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/billing_model_list_type_json.go index 74d51cce7..c13e88dad 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/billing_model_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/billing_model_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalBillingModelList(source interface{}) (items []BillingModel, err er return } -// readBillingModelList reads list of values of the ''billing_model' type from +// readBillingModelList reads list of values of the ”billing_model' type from // the given iterator. func readBillingModelList(iterator *jsoniter.Iterator) []BillingModel { list := []BillingModel{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/boolean_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/boolean_list_type_json.go index 973eec454..ddc473a3b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/boolean_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/boolean_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalBooleanList(source interface{}) (items []bool, err error) { return } -// readBooleanList reads list of values of the ''boolean' type from +// readBooleanList reads list of values of the ”boolean' type from // the given iterator. func readBooleanList(iterator *jsoniter.Iterator) []bool { list := []bool{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_builder.go index 5f956b605..bca69cbd3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_builder.go @@ -35,8 +35,6 @@ func NewCapability() *CapabilityBuilder { } // Inherited sets the value of the 'inherited' attribute to the given value. -// -// func (b *CapabilityBuilder) Inherited(value bool) *CapabilityBuilder { b.inherited = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *CapabilityBuilder) Inherited(value bool) *CapabilityBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *CapabilityBuilder) Name(value string) *CapabilityBuilder { b.name = value b.bitmap_ |= 2 @@ -53,8 +49,6 @@ func (b *CapabilityBuilder) Name(value string) *CapabilityBuilder { } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *CapabilityBuilder) Value(value string) *CapabilityBuilder { b.value = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_list_type_json.go index 9adaf3976..f0744db4d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/capability_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCapabilityList(source interface{}) (items []*Capability, err error return } -// readCapabilityList reads list of values of the ''capability' type from +// readCapabilityList reads list of values of the ”capability' type from // the given iterator. func readCapabilityList(iterator *jsoniter.Iterator) []*Capability { list := []*Capability{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_builder.go index 7ae481815..36b4ce080 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterAuthorizationRequestBuilder contains the data and logic needed to build 'cluster_authorization_request' objects. -// -// type ClusterAuthorizationRequestBuilder struct { bitmap_ uint32 accountUsername string @@ -46,8 +44,6 @@ func NewClusterAuthorizationRequest() *ClusterAuthorizationRequestBuilder { } // BYOC sets the value of the 'BYOC' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) BYOC(value bool) *ClusterAuthorizationRequestBuilder { b.byoc = value b.bitmap_ |= 1 @@ -55,8 +51,6 @@ func (b *ClusterAuthorizationRequestBuilder) BYOC(value bool) *ClusterAuthorizat } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) AccountUsername(value string) *ClusterAuthorizationRequestBuilder { b.accountUsername = value b.bitmap_ |= 2 @@ -64,8 +58,6 @@ func (b *ClusterAuthorizationRequestBuilder) AccountUsername(value string) *Clus } // AvailabilityZone sets the value of the 'availability_zone' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) AvailabilityZone(value string) *ClusterAuthorizationRequestBuilder { b.availabilityZone = value b.bitmap_ |= 4 @@ -73,8 +65,6 @@ func (b *ClusterAuthorizationRequestBuilder) AvailabilityZone(value string) *Clu } // CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) CloudAccountID(value string) *ClusterAuthorizationRequestBuilder { b.cloudAccountID = value b.bitmap_ |= 8 @@ -82,8 +72,6 @@ func (b *ClusterAuthorizationRequestBuilder) CloudAccountID(value string) *Clust } // CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) CloudProviderID(value string) *ClusterAuthorizationRequestBuilder { b.cloudProviderID = value b.bitmap_ |= 16 @@ -91,8 +79,6 @@ func (b *ClusterAuthorizationRequestBuilder) CloudProviderID(value string) *Clus } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) ClusterID(value string) *ClusterAuthorizationRequestBuilder { b.clusterID = value b.bitmap_ |= 32 @@ -100,8 +86,6 @@ func (b *ClusterAuthorizationRequestBuilder) ClusterID(value string) *ClusterAut } // Disconnected sets the value of the 'disconnected' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) Disconnected(value bool) *ClusterAuthorizationRequestBuilder { b.disconnected = value b.bitmap_ |= 64 @@ -109,8 +93,6 @@ func (b *ClusterAuthorizationRequestBuilder) Disconnected(value bool) *ClusterAu } // DisplayName sets the value of the 'display_name' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) DisplayName(value string) *ClusterAuthorizationRequestBuilder { b.displayName = value b.bitmap_ |= 128 @@ -118,8 +100,6 @@ func (b *ClusterAuthorizationRequestBuilder) DisplayName(value string) *ClusterA } // ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) ExternalClusterID(value string) *ClusterAuthorizationRequestBuilder { b.externalClusterID = value b.bitmap_ |= 256 @@ -127,8 +107,6 @@ func (b *ClusterAuthorizationRequestBuilder) ExternalClusterID(value string) *Cl } // Managed sets the value of the 'managed' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) Managed(value bool) *ClusterAuthorizationRequestBuilder { b.managed = value b.bitmap_ |= 512 @@ -136,8 +114,6 @@ func (b *ClusterAuthorizationRequestBuilder) Managed(value bool) *ClusterAuthori } // ProductID sets the value of the 'product_ID' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) ProductID(value string) *ClusterAuthorizationRequestBuilder { b.productID = value b.bitmap_ |= 1024 @@ -145,8 +121,6 @@ func (b *ClusterAuthorizationRequestBuilder) ProductID(value string) *ClusterAut } // ProductCategory sets the value of the 'product_category' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) ProductCategory(value string) *ClusterAuthorizationRequestBuilder { b.productCategory = value b.bitmap_ |= 2048 @@ -154,8 +128,6 @@ func (b *ClusterAuthorizationRequestBuilder) ProductCategory(value string) *Clus } // Reserve sets the value of the 'reserve' attribute to the given value. -// -// func (b *ClusterAuthorizationRequestBuilder) Reserve(value bool) *ClusterAuthorizationRequestBuilder { b.reserve = value b.bitmap_ |= 4096 @@ -163,8 +135,6 @@ func (b *ClusterAuthorizationRequestBuilder) Reserve(value bool) *ClusterAuthori } // Resources sets the value of the 'resources' attribute to the given values. -// -// func (b *ClusterAuthorizationRequestBuilder) Resources(values ...*ReservedResourceBuilder) *ClusterAuthorizationRequestBuilder { b.resources = make([]*ReservedResourceBuilder, len(values)) copy(b.resources, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_list_type_json.go index 8e83ede57..2759724c0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterAuthorizationRequestList(source interface{}) (items []*Clus return } -// readClusterAuthorizationRequestList reads list of values of the ''cluster_authorization_request' type from +// readClusterAuthorizationRequestList reads list of values of the ”cluster_authorization_request' type from // the given iterator. func readClusterAuthorizationRequestList(iterator *jsoniter.Iterator) []*ClusterAuthorizationRequest { list := []*ClusterAuthorizationRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_type.go index 4b284aa09..b611da4e1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_request_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterAuthorizationRequest represents the values of the 'cluster_authorization_request' type. -// -// type ClusterAuthorizationRequest struct { bitmap_ uint32 accountUsername string @@ -47,8 +45,6 @@ func (o *ClusterAuthorizationRequest) Empty() bool { // BYOC returns the value of the 'BYOC' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) BYOC() bool { if o != nil && o.bitmap_&1 != 0 { return o.byoc @@ -58,8 +54,6 @@ func (o *ClusterAuthorizationRequest) BYOC() bool { // GetBYOC returns the value of the 'BYOC' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetBYOC() (value bool, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -70,8 +64,6 @@ func (o *ClusterAuthorizationRequest) GetBYOC() (value bool, ok bool) { // AccountUsername returns the value of the 'account_username' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) AccountUsername() string { if o != nil && o.bitmap_&2 != 0 { return o.accountUsername @@ -81,8 +73,6 @@ func (o *ClusterAuthorizationRequest) AccountUsername() string { // GetAccountUsername returns the value of the 'account_username' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetAccountUsername() (value string, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -93,8 +83,6 @@ func (o *ClusterAuthorizationRequest) GetAccountUsername() (value string, ok boo // AvailabilityZone returns the value of the 'availability_zone' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) AvailabilityZone() string { if o != nil && o.bitmap_&4 != 0 { return o.availabilityZone @@ -104,8 +92,6 @@ func (o *ClusterAuthorizationRequest) AvailabilityZone() string { // GetAvailabilityZone returns the value of the 'availability_zone' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetAvailabilityZone() (value string, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -116,8 +102,6 @@ func (o *ClusterAuthorizationRequest) GetAvailabilityZone() (value string, ok bo // CloudAccountID returns the value of the 'cloud_account_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) CloudAccountID() string { if o != nil && o.bitmap_&8 != 0 { return o.cloudAccountID @@ -127,8 +111,6 @@ func (o *ClusterAuthorizationRequest) CloudAccountID() string { // GetCloudAccountID returns the value of the 'cloud_account_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetCloudAccountID() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -139,8 +121,6 @@ func (o *ClusterAuthorizationRequest) GetCloudAccountID() (value string, ok bool // CloudProviderID returns the value of the 'cloud_provider_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) CloudProviderID() string { if o != nil && o.bitmap_&16 != 0 { return o.cloudProviderID @@ -150,8 +130,6 @@ func (o *ClusterAuthorizationRequest) CloudProviderID() string { // GetCloudProviderID returns the value of the 'cloud_provider_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetCloudProviderID() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -162,8 +140,6 @@ func (o *ClusterAuthorizationRequest) GetCloudProviderID() (value string, ok boo // ClusterID returns the value of the 'cluster_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) ClusterID() string { if o != nil && o.bitmap_&32 != 0 { return o.clusterID @@ -173,8 +149,6 @@ func (o *ClusterAuthorizationRequest) ClusterID() string { // GetClusterID returns the value of the 'cluster_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetClusterID() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -185,8 +159,6 @@ func (o *ClusterAuthorizationRequest) GetClusterID() (value string, ok bool) { // Disconnected returns the value of the 'disconnected' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) Disconnected() bool { if o != nil && o.bitmap_&64 != 0 { return o.disconnected @@ -196,8 +168,6 @@ func (o *ClusterAuthorizationRequest) Disconnected() bool { // GetDisconnected returns the value of the 'disconnected' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetDisconnected() (value bool, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -208,8 +178,6 @@ func (o *ClusterAuthorizationRequest) GetDisconnected() (value bool, ok bool) { // DisplayName returns the value of the 'display_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) DisplayName() string { if o != nil && o.bitmap_&128 != 0 { return o.displayName @@ -219,8 +187,6 @@ func (o *ClusterAuthorizationRequest) DisplayName() string { // GetDisplayName returns the value of the 'display_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetDisplayName() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -231,8 +197,6 @@ func (o *ClusterAuthorizationRequest) GetDisplayName() (value string, ok bool) { // ExternalClusterID returns the value of the 'external_cluster_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) ExternalClusterID() string { if o != nil && o.bitmap_&256 != 0 { return o.externalClusterID @@ -242,8 +206,6 @@ func (o *ClusterAuthorizationRequest) ExternalClusterID() string { // GetExternalClusterID returns the value of the 'external_cluster_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetExternalClusterID() (value string, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -254,8 +216,6 @@ func (o *ClusterAuthorizationRequest) GetExternalClusterID() (value string, ok b // Managed returns the value of the 'managed' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) Managed() bool { if o != nil && o.bitmap_&512 != 0 { return o.managed @@ -265,8 +225,6 @@ func (o *ClusterAuthorizationRequest) Managed() bool { // GetManaged returns the value of the 'managed' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetManaged() (value bool, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { @@ -277,8 +235,6 @@ func (o *ClusterAuthorizationRequest) GetManaged() (value bool, ok bool) { // ProductID returns the value of the 'product_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) ProductID() string { if o != nil && o.bitmap_&1024 != 0 { return o.productID @@ -288,8 +244,6 @@ func (o *ClusterAuthorizationRequest) ProductID() string { // GetProductID returns the value of the 'product_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetProductID() (value string, ok bool) { ok = o != nil && o.bitmap_&1024 != 0 if ok { @@ -300,8 +254,6 @@ func (o *ClusterAuthorizationRequest) GetProductID() (value string, ok bool) { // ProductCategory returns the value of the 'product_category' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) ProductCategory() string { if o != nil && o.bitmap_&2048 != 0 { return o.productCategory @@ -311,8 +263,6 @@ func (o *ClusterAuthorizationRequest) ProductCategory() string { // GetProductCategory returns the value of the 'product_category' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetProductCategory() (value string, ok bool) { ok = o != nil && o.bitmap_&2048 != 0 if ok { @@ -323,8 +273,6 @@ func (o *ClusterAuthorizationRequest) GetProductCategory() (value string, ok boo // Reserve returns the value of the 'reserve' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) Reserve() bool { if o != nil && o.bitmap_&4096 != 0 { return o.reserve @@ -334,8 +282,6 @@ func (o *ClusterAuthorizationRequest) Reserve() bool { // GetReserve returns the value of the 'reserve' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetReserve() (value bool, ok bool) { ok = o != nil && o.bitmap_&4096 != 0 if ok { @@ -346,8 +292,6 @@ func (o *ClusterAuthorizationRequest) GetReserve() (value bool, ok bool) { // Resources returns the value of the 'resources' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationRequest) Resources() []*ReservedResource { if o != nil && o.bitmap_&8192 != 0 { return o.resources @@ -357,8 +301,6 @@ func (o *ClusterAuthorizationRequest) Resources() []*ReservedResource { // GetResources returns the value of the 'resources' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationRequest) GetResources() (value []*ReservedResource, ok bool) { ok = o != nil && o.bitmap_&8192 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_builder.go index ad6508719..02dfd30d3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterAuthorizationResponseBuilder contains the data and logic needed to build 'cluster_authorization_response' objects. -// -// type ClusterAuthorizationResponseBuilder struct { bitmap_ uint32 excessResources []*ReservedResourceBuilder @@ -35,8 +33,6 @@ func NewClusterAuthorizationResponse() *ClusterAuthorizationResponseBuilder { } // Allowed sets the value of the 'allowed' attribute to the given value. -// -// func (b *ClusterAuthorizationResponseBuilder) Allowed(value bool) *ClusterAuthorizationResponseBuilder { b.allowed = value b.bitmap_ |= 1 @@ -44,8 +40,6 @@ func (b *ClusterAuthorizationResponseBuilder) Allowed(value bool) *ClusterAuthor } // ExcessResources sets the value of the 'excess_resources' attribute to the given values. -// -// func (b *ClusterAuthorizationResponseBuilder) ExcessResources(values ...*ReservedResourceBuilder) *ClusterAuthorizationResponseBuilder { b.excessResources = make([]*ReservedResourceBuilder, len(values)) copy(b.excessResources, values) @@ -54,8 +48,6 @@ func (b *ClusterAuthorizationResponseBuilder) ExcessResources(values ...*Reserve } // Subscription sets the value of the 'subscription' attribute to the given value. -// -// func (b *ClusterAuthorizationResponseBuilder) Subscription(value *SubscriptionBuilder) *ClusterAuthorizationResponseBuilder { b.subscription = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_list_type_json.go index d3cdd12aa..a630d2e93 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterAuthorizationResponseList(source interface{}) (items []*Clu return } -// readClusterAuthorizationResponseList reads list of values of the ''cluster_authorization_response' type from +// readClusterAuthorizationResponseList reads list of values of the ”cluster_authorization_response' type from // the given iterator. func readClusterAuthorizationResponseList(iterator *jsoniter.Iterator) []*ClusterAuthorizationResponse { list := []*ClusterAuthorizationResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_type.go index 51520a3da..1901cb62e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorization_response_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterAuthorizationResponse represents the values of the 'cluster_authorization_response' type. -// -// type ClusterAuthorizationResponse struct { bitmap_ uint32 excessResources []*ReservedResource @@ -36,8 +34,6 @@ func (o *ClusterAuthorizationResponse) Empty() bool { // Allowed returns the value of the 'allowed' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationResponse) Allowed() bool { if o != nil && o.bitmap_&1 != 0 { return o.allowed @@ -47,8 +43,6 @@ func (o *ClusterAuthorizationResponse) Allowed() bool { // GetAllowed returns the value of the 'allowed' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationResponse) GetAllowed() (value bool, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -59,8 +53,6 @@ func (o *ClusterAuthorizationResponse) GetAllowed() (value bool, ok bool) { // ExcessResources returns the value of the 'excess_resources' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationResponse) ExcessResources() []*ReservedResource { if o != nil && o.bitmap_&2 != 0 { return o.excessResources @@ -70,8 +62,6 @@ func (o *ClusterAuthorizationResponse) ExcessResources() []*ReservedResource { // GetExcessResources returns the value of the 'excess_resources' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationResponse) GetExcessResources() (value []*ReservedResource, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -82,8 +72,6 @@ func (o *ClusterAuthorizationResponse) GetExcessResources() (value []*ReservedRe // Subscription returns the value of the 'subscription' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterAuthorizationResponse) Subscription() *Subscription { if o != nil && o.bitmap_&4 != 0 { return o.subscription @@ -93,8 +81,6 @@ func (o *ClusterAuthorizationResponse) Subscription() *Subscription { // GetSubscription returns the value of the 'subscription' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterAuthorizationResponse) GetSubscription() (value *Subscription, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_client.go index adb6a3408..f8497a30e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_client.go @@ -82,8 +82,6 @@ func (r *ClusterAuthorizationsPostRequest) Header(name string, value interface{} } // Request sets the value of the 'request' parameter. -// -// func (r *ClusterAuthorizationsPostRequest) Request(value *ClusterAuthorizationRequest) *ClusterAuthorizationsPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *ClusterAuthorizationsPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *ClusterAuthorizationsPostResponse) Response() *ClusterAuthorizationResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *ClusterAuthorizationsPostResponse) Response() *ClusterAuthorizationResp // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterAuthorizationsPostResponse) GetResponse() (value *ClusterAuthorizationResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_server.go index 56ddc1a42..16af062c4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_authorizations_server.go @@ -42,8 +42,6 @@ type ClusterAuthorizationsPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *ClusterAuthorizationsPostServerRequest) Request() *ClusterAuthorizationRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *ClusterAuthorizationsPostServerRequest) Request() *ClusterAuthorization // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterAuthorizationsPostServerRequest) GetRequest() (value *ClusterAuthorizationRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type ClusterAuthorizationsPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *ClusterAuthorizationsPostServerResponse) Response(value *ClusterAuthorizationResponse) *ClusterAuthorizationsPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_builder.go index 6b7fc5e56..9dd9a90c5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterMetricsNodesBuilder contains the data and logic needed to build 'cluster_metrics_nodes' objects. -// -// type ClusterMetricsNodesBuilder struct { bitmap_ uint32 compute float64 @@ -36,8 +34,6 @@ func NewClusterMetricsNodes() *ClusterMetricsNodesBuilder { } // Compute sets the value of the 'compute' attribute to the given value. -// -// func (b *ClusterMetricsNodesBuilder) Compute(value float64) *ClusterMetricsNodesBuilder { b.compute = value b.bitmap_ |= 1 @@ -45,8 +41,6 @@ func (b *ClusterMetricsNodesBuilder) Compute(value float64) *ClusterMetricsNodes } // Infra sets the value of the 'infra' attribute to the given value. -// -// func (b *ClusterMetricsNodesBuilder) Infra(value float64) *ClusterMetricsNodesBuilder { b.infra = value b.bitmap_ |= 2 @@ -54,8 +48,6 @@ func (b *ClusterMetricsNodesBuilder) Infra(value float64) *ClusterMetricsNodesBu } // Master sets the value of the 'master' attribute to the given value. -// -// func (b *ClusterMetricsNodesBuilder) Master(value float64) *ClusterMetricsNodesBuilder { b.master = value b.bitmap_ |= 4 @@ -63,8 +55,6 @@ func (b *ClusterMetricsNodesBuilder) Master(value float64) *ClusterMetricsNodesB } // Total sets the value of the 'total' attribute to the given value. -// -// func (b *ClusterMetricsNodesBuilder) Total(value float64) *ClusterMetricsNodesBuilder { b.total = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_list_type_json.go index 64c0ae0ad..b229a9d8c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterMetricsNodesList(source interface{}) (items []*ClusterMetri return } -// readClusterMetricsNodesList reads list of values of the ''cluster_metrics_nodes' type from +// readClusterMetricsNodesList reads list of values of the ”cluster_metrics_nodes' type from // the given iterator. func readClusterMetricsNodesList(iterator *jsoniter.Iterator) []*ClusterMetricsNodes { list := []*ClusterMetricsNodes{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_type.go index 0edb17475..1a52ac808 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_metrics_nodes_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterMetricsNodes represents the values of the 'cluster_metrics_nodes' type. -// -// type ClusterMetricsNodes struct { bitmap_ uint32 compute float64 @@ -37,8 +35,6 @@ func (o *ClusterMetricsNodes) Empty() bool { // Compute returns the value of the 'compute' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterMetricsNodes) Compute() float64 { if o != nil && o.bitmap_&1 != 0 { return o.compute @@ -48,8 +44,6 @@ func (o *ClusterMetricsNodes) Compute() float64 { // GetCompute returns the value of the 'compute' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterMetricsNodes) GetCompute() (value float64, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -60,8 +54,6 @@ func (o *ClusterMetricsNodes) GetCompute() (value float64, ok bool) { // Infra returns the value of the 'infra' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterMetricsNodes) Infra() float64 { if o != nil && o.bitmap_&2 != 0 { return o.infra @@ -71,8 +63,6 @@ func (o *ClusterMetricsNodes) Infra() float64 { // GetInfra returns the value of the 'infra' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterMetricsNodes) GetInfra() (value float64, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -83,8 +73,6 @@ func (o *ClusterMetricsNodes) GetInfra() (value float64, ok bool) { // Master returns the value of the 'master' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterMetricsNodes) Master() float64 { if o != nil && o.bitmap_&4 != 0 { return o.master @@ -94,8 +82,6 @@ func (o *ClusterMetricsNodes) Master() float64 { // GetMaster returns the value of the 'master' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterMetricsNodes) GetMaster() (value float64, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -106,8 +92,6 @@ func (o *ClusterMetricsNodes) GetMaster() (value float64, ok bool) { // Total returns the value of the 'total' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterMetricsNodes) Total() float64 { if o != nil && o.bitmap_&8 != 0 { return o.total @@ -117,8 +101,6 @@ func (o *ClusterMetricsNodes) Total() float64 { // GetTotal returns the value of the 'total' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterMetricsNodes) GetTotal() (value float64, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_builder.go index 738ab552d..8714aa0eb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterRegistrationRequestBuilder contains the data and logic needed to build 'cluster_registration_request' objects. -// -// type ClusterRegistrationRequestBuilder struct { bitmap_ uint32 authorizationToken string @@ -34,8 +32,6 @@ func NewClusterRegistrationRequest() *ClusterRegistrationRequestBuilder { } // AuthorizationToken sets the value of the 'authorization_token' attribute to the given value. -// -// func (b *ClusterRegistrationRequestBuilder) AuthorizationToken(value string) *ClusterRegistrationRequestBuilder { b.authorizationToken = value b.bitmap_ |= 1 @@ -43,8 +39,6 @@ func (b *ClusterRegistrationRequestBuilder) AuthorizationToken(value string) *Cl } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *ClusterRegistrationRequestBuilder) ClusterID(value string) *ClusterRegistrationRequestBuilder { b.clusterID = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_list_type_json.go index 8f087a606..e53647338 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterRegistrationRequestList(source interface{}) (items []*Clust return } -// readClusterRegistrationRequestList reads list of values of the ''cluster_registration_request' type from +// readClusterRegistrationRequestList reads list of values of the ”cluster_registration_request' type from // the given iterator. func readClusterRegistrationRequestList(iterator *jsoniter.Iterator) []*ClusterRegistrationRequest { list := []*ClusterRegistrationRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_type.go index 033a7f0b3..eee3b9f64 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_request_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterRegistrationRequest represents the values of the 'cluster_registration_request' type. -// -// type ClusterRegistrationRequest struct { bitmap_ uint32 authorizationToken string @@ -35,8 +33,6 @@ func (o *ClusterRegistrationRequest) Empty() bool { // AuthorizationToken returns the value of the 'authorization_token' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterRegistrationRequest) AuthorizationToken() string { if o != nil && o.bitmap_&1 != 0 { return o.authorizationToken @@ -46,8 +42,6 @@ func (o *ClusterRegistrationRequest) AuthorizationToken() string { // GetAuthorizationToken returns the value of the 'authorization_token' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterRegistrationRequest) GetAuthorizationToken() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -58,8 +52,6 @@ func (o *ClusterRegistrationRequest) GetAuthorizationToken() (value string, ok b // ClusterID returns the value of the 'cluster_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterRegistrationRequest) ClusterID() string { if o != nil && o.bitmap_&2 != 0 { return o.clusterID @@ -69,8 +61,6 @@ func (o *ClusterRegistrationRequest) ClusterID() string { // GetClusterID returns the value of the 'cluster_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterRegistrationRequest) GetClusterID() (value string, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_builder.go index f18282fd1..2cbc1e66e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterRegistrationResponseBuilder contains the data and logic needed to build 'cluster_registration_response' objects. -// -// type ClusterRegistrationResponseBuilder struct { bitmap_ uint32 accountID string @@ -36,8 +34,6 @@ func NewClusterRegistrationResponse() *ClusterRegistrationResponseBuilder { } // AccountID sets the value of the 'account_ID' attribute to the given value. -// -// func (b *ClusterRegistrationResponseBuilder) AccountID(value string) *ClusterRegistrationResponseBuilder { b.accountID = value b.bitmap_ |= 1 @@ -45,8 +41,6 @@ func (b *ClusterRegistrationResponseBuilder) AccountID(value string) *ClusterReg } // AuthorizationToken sets the value of the 'authorization_token' attribute to the given value. -// -// func (b *ClusterRegistrationResponseBuilder) AuthorizationToken(value string) *ClusterRegistrationResponseBuilder { b.authorizationToken = value b.bitmap_ |= 2 @@ -54,8 +48,6 @@ func (b *ClusterRegistrationResponseBuilder) AuthorizationToken(value string) *C } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *ClusterRegistrationResponseBuilder) ClusterID(value string) *ClusterRegistrationResponseBuilder { b.clusterID = value b.bitmap_ |= 4 @@ -63,8 +55,6 @@ func (b *ClusterRegistrationResponseBuilder) ClusterID(value string) *ClusterReg } // ExpiresAt sets the value of the 'expires_at' attribute to the given value. -// -// func (b *ClusterRegistrationResponseBuilder) ExpiresAt(value string) *ClusterRegistrationResponseBuilder { b.expiresAt = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_list_type_json.go index e1ae9a697..6503df222 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterRegistrationResponseList(source interface{}) (items []*Clus return } -// readClusterRegistrationResponseList reads list of values of the ''cluster_registration_response' type from +// readClusterRegistrationResponseList reads list of values of the ”cluster_registration_response' type from // the given iterator. func readClusterRegistrationResponseList(iterator *jsoniter.Iterator) []*ClusterRegistrationResponse { list := []*ClusterRegistrationResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_type.go index dee65da16..3e6ec2386 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registration_response_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ClusterRegistrationResponse represents the values of the 'cluster_registration_response' type. -// -// type ClusterRegistrationResponse struct { bitmap_ uint32 accountID string @@ -37,8 +35,6 @@ func (o *ClusterRegistrationResponse) Empty() bool { // AccountID returns the value of the 'account_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterRegistrationResponse) AccountID() string { if o != nil && o.bitmap_&1 != 0 { return o.accountID @@ -48,8 +44,6 @@ func (o *ClusterRegistrationResponse) AccountID() string { // GetAccountID returns the value of the 'account_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterRegistrationResponse) GetAccountID() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -60,8 +54,6 @@ func (o *ClusterRegistrationResponse) GetAccountID() (value string, ok bool) { // AuthorizationToken returns the value of the 'authorization_token' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterRegistrationResponse) AuthorizationToken() string { if o != nil && o.bitmap_&2 != 0 { return o.authorizationToken @@ -71,8 +63,6 @@ func (o *ClusterRegistrationResponse) AuthorizationToken() string { // GetAuthorizationToken returns the value of the 'authorization_token' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterRegistrationResponse) GetAuthorizationToken() (value string, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -83,8 +73,6 @@ func (o *ClusterRegistrationResponse) GetAuthorizationToken() (value string, ok // ClusterID returns the value of the 'cluster_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterRegistrationResponse) ClusterID() string { if o != nil && o.bitmap_&4 != 0 { return o.clusterID @@ -94,8 +82,6 @@ func (o *ClusterRegistrationResponse) ClusterID() string { // GetClusterID returns the value of the 'cluster_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterRegistrationResponse) GetClusterID() (value string, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_client.go index 27aaa8af0..fd99e0fe4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_client.go @@ -83,8 +83,6 @@ func (r *ClusterRegistrationsPostRequest) Header(name string, value interface{}) } // Request sets the value of the 'request' parameter. -// -// func (r *ClusterRegistrationsPostRequest) Request(value *ClusterRegistrationRequest) *ClusterRegistrationsPostRequest { r.request = value return r @@ -186,8 +184,6 @@ func (r *ClusterRegistrationsPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *ClusterRegistrationsPostResponse) Response() *ClusterRegistrationResponse { if r == nil { return nil @@ -197,8 +193,6 @@ func (r *ClusterRegistrationsPostResponse) Response() *ClusterRegistrationRespon // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterRegistrationsPostResponse) GetResponse() (value *ClusterRegistrationResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_server.go index 5eed65828..6616bc010 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_registrations_server.go @@ -43,8 +43,6 @@ type ClusterRegistrationsPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *ClusterRegistrationsPostServerRequest) Request() *ClusterRegistrationRequest { if r == nil { return nil @@ -54,8 +52,6 @@ func (r *ClusterRegistrationsPostServerRequest) Request() *ClusterRegistrationRe // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterRegistrationsPostServerRequest) GetRequest() (value *ClusterRegistrationRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -72,8 +68,6 @@ type ClusterRegistrationsPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *ClusterRegistrationsPostServerResponse) Response(value *ClusterRegistrationResponse) *ClusterRegistrationsPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_builder.go index 4503087af..e63e1da58 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_builder.go @@ -24,8 +24,6 @@ import ( ) // ClusterResourceBuilder contains the data and logic needed to build 'cluster_resource' objects. -// -// type ClusterResourceBuilder struct { bitmap_ uint32 total *ValueUnitBuilder @@ -39,8 +37,6 @@ func NewClusterResource() *ClusterResourceBuilder { } // Total sets the value of the 'total' attribute to the given value. -// -// func (b *ClusterResourceBuilder) Total(value *ValueUnitBuilder) *ClusterResourceBuilder { b.total = value if value != nil { @@ -52,8 +48,6 @@ func (b *ClusterResourceBuilder) Total(value *ValueUnitBuilder) *ClusterResource } // UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value. -// -// func (b *ClusterResourceBuilder) UpdatedTimestamp(value time.Time) *ClusterResourceBuilder { b.updatedTimestamp = value b.bitmap_ |= 2 @@ -61,8 +55,6 @@ func (b *ClusterResourceBuilder) UpdatedTimestamp(value time.Time) *ClusterResou } // Used sets the value of the 'used' attribute to the given value. -// -// func (b *ClusterResourceBuilder) Used(value *ValueUnitBuilder) *ClusterResourceBuilder { b.used = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_list_type_json.go index 685e06266..b2e3a842a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterResourceList(source interface{}) (items []*ClusterResource, return } -// readClusterResourceList reads list of values of the ''cluster_resource' type from +// readClusterResourceList reads list of values of the ”cluster_resource' type from // the given iterator. func readClusterResourceList(iterator *jsoniter.Iterator) []*ClusterResource { list := []*ClusterResource{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_type.go index 390a033e4..e554681bb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_resource_type.go @@ -24,8 +24,6 @@ import ( ) // ClusterResource represents the values of the 'cluster_resource' type. -// -// type ClusterResource struct { bitmap_ uint32 total *ValueUnit @@ -40,8 +38,6 @@ func (o *ClusterResource) Empty() bool { // Total returns the value of the 'total' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterResource) Total() *ValueUnit { if o != nil && o.bitmap_&1 != 0 { return o.total @@ -51,8 +47,6 @@ func (o *ClusterResource) Total() *ValueUnit { // GetTotal returns the value of the 'total' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterResource) GetTotal() (value *ValueUnit, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -63,8 +57,6 @@ func (o *ClusterResource) GetTotal() (value *ValueUnit, ok bool) { // UpdatedTimestamp returns the value of the 'updated_timestamp' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterResource) UpdatedTimestamp() time.Time { if o != nil && o.bitmap_&2 != 0 { return o.updatedTimestamp @@ -74,8 +66,6 @@ func (o *ClusterResource) UpdatedTimestamp() time.Time { // GetUpdatedTimestamp returns the value of the 'updated_timestamp' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterResource) GetUpdatedTimestamp() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -86,8 +76,6 @@ func (o *ClusterResource) GetUpdatedTimestamp() (value time.Time, ok bool) { // Used returns the value of the 'used' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterResource) Used() *ValueUnit { if o != nil && o.bitmap_&4 != 0 { return o.used @@ -97,8 +85,6 @@ func (o *ClusterResource) Used() *ValueUnit { // GetUsed returns the value of the 'used' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterResource) GetUsed() (value *ValueUnit, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_builder.go index 7e0974d89..e2317033f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_builder.go @@ -24,8 +24,6 @@ import ( ) // ClusterUpgradeBuilder contains the data and logic needed to build 'cluster_upgrade' objects. -// -// type ClusterUpgradeBuilder struct { bitmap_ uint32 state string @@ -40,8 +38,6 @@ func NewClusterUpgrade() *ClusterUpgradeBuilder { } // Available sets the value of the 'available' attribute to the given value. -// -// func (b *ClusterUpgradeBuilder) Available(value bool) *ClusterUpgradeBuilder { b.available = value b.bitmap_ |= 1 @@ -49,8 +45,6 @@ func (b *ClusterUpgradeBuilder) Available(value bool) *ClusterUpgradeBuilder { } // State sets the value of the 'state' attribute to the given value. -// -// func (b *ClusterUpgradeBuilder) State(value string) *ClusterUpgradeBuilder { b.state = value b.bitmap_ |= 2 @@ -58,8 +52,6 @@ func (b *ClusterUpgradeBuilder) State(value string) *ClusterUpgradeBuilder { } // UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value. -// -// func (b *ClusterUpgradeBuilder) UpdatedTimestamp(value time.Time) *ClusterUpgradeBuilder { b.updatedTimestamp = value b.bitmap_ |= 4 @@ -67,8 +59,6 @@ func (b *ClusterUpgradeBuilder) UpdatedTimestamp(value time.Time) *ClusterUpgrad } // Version sets the value of the 'version' attribute to the given value. -// -// func (b *ClusterUpgradeBuilder) Version(value string) *ClusterUpgradeBuilder { b.version = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_list_type_json.go index 13bcb0965..2e5d50e0b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterUpgradeList(source interface{}) (items []*ClusterUpgrade, e return } -// readClusterUpgradeList reads list of values of the ''cluster_upgrade' type from +// readClusterUpgradeList reads list of values of the ”cluster_upgrade' type from // the given iterator. func readClusterUpgradeList(iterator *jsoniter.Iterator) []*ClusterUpgrade { list := []*ClusterUpgrade{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_type.go index c5559f343..b25efb925 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/cluster_upgrade_type.go @@ -24,8 +24,6 @@ import ( ) // ClusterUpgrade represents the values of the 'cluster_upgrade' type. -// -// type ClusterUpgrade struct { bitmap_ uint32 state string @@ -41,8 +39,6 @@ func (o *ClusterUpgrade) Empty() bool { // Available returns the value of the 'available' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterUpgrade) Available() bool { if o != nil && o.bitmap_&1 != 0 { return o.available @@ -52,8 +48,6 @@ func (o *ClusterUpgrade) Available() bool { // GetAvailable returns the value of the 'available' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterUpgrade) GetAvailable() (value bool, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -64,8 +58,6 @@ func (o *ClusterUpgrade) GetAvailable() (value bool, ok bool) { // State returns the value of the 'state' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterUpgrade) State() string { if o != nil && o.bitmap_&2 != 0 { return o.state @@ -75,8 +67,6 @@ func (o *ClusterUpgrade) State() string { // GetState returns the value of the 'state' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterUpgrade) GetState() (value string, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -87,8 +77,6 @@ func (o *ClusterUpgrade) GetState() (value string, ok bool) { // UpdatedTimestamp returns the value of the 'updated_timestamp' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterUpgrade) UpdatedTimestamp() time.Time { if o != nil && o.bitmap_&4 != 0 { return o.updatedTimestamp @@ -98,8 +86,6 @@ func (o *ClusterUpgrade) UpdatedTimestamp() time.Time { // GetUpdatedTimestamp returns the value of the 'updated_timestamp' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterUpgrade) GetUpdatedTimestamp() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -110,8 +96,6 @@ func (o *ClusterUpgrade) GetUpdatedTimestamp() (value time.Time, ok bool) { // Version returns the value of the 'version' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterUpgrade) Version() string { if o != nil && o.bitmap_&8 != 0 { return o.version @@ -121,8 +105,6 @@ func (o *ClusterUpgrade) Version() string { // GetVersion returns the value of the 'version' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterUpgrade) GetVersion() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_client.go index 4abf904d6..45c184f2b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_client.go @@ -183,8 +183,6 @@ func (r *CurrentAccessListResponse) Error() *errors.Error { } // Items returns the value of the 'items' parameter. -// -// func (r *CurrentAccessListResponse) Items() *RoleList { if r == nil { return nil @@ -194,8 +192,6 @@ func (r *CurrentAccessListResponse) Items() *RoleList { // GetItems returns the value of the 'items' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CurrentAccessListResponse) GetItems() (value *RoleList, ok bool) { ok = r != nil && r.items != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_server.go index 10aec5733..84511f8dc 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_access_server.go @@ -97,8 +97,6 @@ type CurrentAccessListServerResponse struct { } // Items sets the value of the 'items' parameter. -// -// func (r *CurrentAccessListServerResponse) Items(value *RoleList) *CurrentAccessListServerResponse { r.items = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_client.go index 72405a074..6433c75bc 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_client.go @@ -156,16 +156,12 @@ func (r *CurrentAccountPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CurrentAccountPollResponse) Body() *Account { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CurrentAccountPollResponse) GetBody() (value *Account, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *CurrentAccountGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CurrentAccountGetResponse) Body() *Account { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *CurrentAccountGetResponse) Body() *Account { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CurrentAccountGetResponse) GetBody() (value *Account, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_server.go index 1f93fbecb..6b177729c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/current_account_server.go @@ -48,8 +48,6 @@ type CurrentAccountGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *CurrentAccountGetServerResponse) Body(value *Account) *CurrentAccountGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/date_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/date_list_type_json.go index 3ab321c76..05fd1caf6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/date_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/date_list_type_json.go @@ -61,7 +61,7 @@ func UnmarshalDateList(source interface{}) (items []time.Time, err error) { return } -// readDateList reads list of values of the ''date' type from +// readDateList reads list of values of the ”date' type from // the given iterator. func readDateList(iterator *jsoniter.Iterator) []time.Time { list := []time.Time{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_builder.go index d3eb97446..5063903f6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // FeatureToggleBuilder contains the data and logic needed to build 'feature_toggle' objects. -// -// type FeatureToggleBuilder struct { bitmap_ uint32 id string @@ -55,8 +53,6 @@ func (b *FeatureToggleBuilder) HREF(value string) *FeatureToggleBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *FeatureToggleBuilder) Enabled(value bool) *FeatureToggleBuilder { b.enabled = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_client.go index ca81b66a3..3003121e9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_client.go @@ -43,8 +43,6 @@ func NewFeatureToggleClient(transport http.RoundTripper, path string) *FeatureTo } // Query returns the target 'feature_toggle_query' resource. -// -// func (c *FeatureToggleClient) Query() *FeatureToggleQueryClient { return NewFeatureToggleQueryClient( c.transport, diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_list_type_json.go index 5dbee2091..9a6c8feb0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFeatureToggleList(source interface{}) (items []*FeatureToggle, err return } -// readFeatureToggleList reads list of values of the ''feature_toggle' type from +// readFeatureToggleList reads list of values of the ”feature_toggle' type from // the given iterator. func readFeatureToggleList(iterator *jsoniter.Iterator) []*FeatureToggle { list := []*FeatureToggle{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_client.go index 37d410df9..5ce06df6a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_client.go @@ -82,8 +82,6 @@ func (r *FeatureToggleQueryPostRequest) Header(name string, value interface{}) * } // Request sets the value of the 'request' parameter. -// -// func (r *FeatureToggleQueryPostRequest) Request(value *FeatureToggleQueryRequest) *FeatureToggleQueryPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *FeatureToggleQueryPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *FeatureToggleQueryPostResponse) Response() *FeatureToggle { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *FeatureToggleQueryPostResponse) Response() *FeatureToggle { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FeatureToggleQueryPostResponse) GetResponse() (value *FeatureToggle, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_builder.go index b5a2fbd4f..a9c84680c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // FeatureToggleQueryRequestBuilder contains the data and logic needed to build 'feature_toggle_query_request' objects. -// -// type FeatureToggleQueryRequestBuilder struct { bitmap_ uint32 organizationID string @@ -33,8 +31,6 @@ func NewFeatureToggleQueryRequest() *FeatureToggleQueryRequestBuilder { } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *FeatureToggleQueryRequestBuilder) OrganizationID(value string) *FeatureToggleQueryRequestBuilder { b.organizationID = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_list_type_json.go index dad4ffdd1..cdb9fccfb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFeatureToggleQueryRequestList(source interface{}) (items []*Featur return } -// readFeatureToggleQueryRequestList reads list of values of the ''feature_toggle_query_request' type from +// readFeatureToggleQueryRequestList reads list of values of the ”feature_toggle_query_request' type from // the given iterator. func readFeatureToggleQueryRequestList(iterator *jsoniter.Iterator) []*FeatureToggleQueryRequest { list := []*FeatureToggleQueryRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_type.go index 44d47d8fb..82403cfb5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_request_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // FeatureToggleQueryRequest represents the values of the 'feature_toggle_query_request' type. -// -// type FeatureToggleQueryRequest struct { bitmap_ uint32 organizationID string @@ -34,8 +32,6 @@ func (o *FeatureToggleQueryRequest) Empty() bool { // OrganizationID returns the value of the 'organization_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *FeatureToggleQueryRequest) OrganizationID() string { if o != nil && o.bitmap_&1 != 0 { return o.organizationID @@ -45,8 +41,6 @@ func (o *FeatureToggleQueryRequest) OrganizationID() string { // GetOrganizationID returns the value of the 'organization_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *FeatureToggleQueryRequest) GetOrganizationID() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_server.go index 27db6ff58..918ff899d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_query_server.go @@ -42,8 +42,6 @@ type FeatureToggleQueryPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *FeatureToggleQueryPostServerRequest) Request() *FeatureToggleQueryRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *FeatureToggleQueryPostServerRequest) Request() *FeatureToggleQueryReque // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FeatureToggleQueryPostServerRequest) GetRequest() (value *FeatureToggleQueryRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type FeatureToggleQueryPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *FeatureToggleQueryPostServerResponse) Response(value *FeatureToggle) *FeatureToggleQueryPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_type.go index a99d01659..48934f3dd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggle_type.go @@ -32,8 +32,6 @@ const FeatureToggleLinkKind = "FeatureToggleLink" const FeatureToggleNilKind = "FeatureToggleNil" // FeatureToggle represents the values of the 'feature_toggle' type. -// -// type FeatureToggle struct { bitmap_ uint32 id string @@ -100,8 +98,6 @@ func (o *FeatureToggle) Empty() bool { // Enabled returns the value of the 'enabled' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *FeatureToggle) Enabled() bool { if o != nil && o.bitmap_&8 != 0 { return o.enabled @@ -111,8 +107,6 @@ func (o *FeatureToggle) Enabled() bool { // GetEnabled returns the value of the 'enabled' attribute and // a flag indicating if the attribute has a value. -// -// func (o *FeatureToggle) GetEnabled() (value bool, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggles_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggles_client.go index 156a48f29..b31d550c9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggles_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/feature_toggles_client.go @@ -43,8 +43,6 @@ func NewFeatureTogglesClient(transport http.RoundTripper, path string) *FeatureT } // FeatureToggle returns the target 'feature_toggle' resource for the given identifier. -// -// func (c *FeatureTogglesClient) FeatureToggle(id string) *FeatureToggleClient { return NewFeatureToggleClient( c.transport, diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/float_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/float_list_type_json.go index fa95deac3..f2974fa36 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/float_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/float_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFloatList(source interface{}) (items []float64, err error) { return } -// readFloatList reads list of values of the ''float' type from +// readFloatList reads list of values of the ”float' type from // the given iterator. func readFloatList(iterator *jsoniter.Iterator) []float64 { list := []float64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_client.go index 86e9811a8..17c2844c1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_client.go @@ -180,16 +180,12 @@ func (r *GenericLabelPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *GenericLabelPollResponse) Body() *Label { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *GenericLabelPollResponse) GetBody() (value *Label, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *GenericLabelGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *GenericLabelGetResponse) Body() *Label { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *GenericLabelGetResponse) Body() *Label { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *GenericLabelGetResponse) GetBody() (value *Label, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *GenericLabelUpdateRequest) Header(name string, value interface{}) *Gene } // Body sets the value of the 'body' parameter. -// -// func (r *GenericLabelUpdateRequest) Body(value *Label) *GenericLabelUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *GenericLabelUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *GenericLabelUpdateResponse) Body() *Label { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *GenericLabelUpdateResponse) Body() *Label { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *GenericLabelUpdateResponse) GetBody() (value *Label, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_server.go index a07bf0dd0..d25cbff60 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/generic_label_server.go @@ -74,8 +74,6 @@ type GenericLabelGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *GenericLabelGetServerResponse) Body(value *Label) *GenericLabelGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type GenericLabelUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *GenericLabelUpdateServerRequest) Body() *Label { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *GenericLabelUpdateServerRequest) Body() *Label { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *GenericLabelUpdateServerRequest) GetBody() (value *Label, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type GenericLabelUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *GenericLabelUpdateServerResponse) Body(value *Label) *GenericLabelUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/integer_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/integer_list_type_json.go index 6f887451a..60f0b32c6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/integer_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/integer_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIntegerList(source interface{}) (items []int, err error) { return } -// readIntegerList reads list of values of the ''integer' type from +// readIntegerList reads list of values of the ”integer' type from // the given iterator. func readIntegerList(iterator *jsoniter.Iterator) []int { list := []int{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/interface_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/interface_list_type_json.go index 785e67874..a65b4739b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/interface_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/interface_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error) return } -// readInterfaceList reads list of values of the ''interface' type from +// readInterfaceList reads list of values of the ”interface' type from // the given iterator. func readInterfaceList(iterator *jsoniter.Iterator) []interface{} { list := []interface{}{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_builder.go index 614adcede..7e005ed64 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_builder.go @@ -24,8 +24,6 @@ import ( ) // LabelBuilder contains the data and logic needed to build 'label' objects. -// -// type LabelBuilder struct { bitmap_ uint32 id string @@ -63,8 +61,6 @@ func (b *LabelBuilder) HREF(value string) *LabelBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *LabelBuilder) CreatedAt(value time.Time) *LabelBuilder { b.createdAt = value b.bitmap_ |= 8 @@ -72,8 +68,6 @@ func (b *LabelBuilder) CreatedAt(value time.Time) *LabelBuilder { } // Internal sets the value of the 'internal' attribute to the given value. -// -// func (b *LabelBuilder) Internal(value bool) *LabelBuilder { b.internal = value b.bitmap_ |= 16 @@ -81,8 +75,6 @@ func (b *LabelBuilder) Internal(value bool) *LabelBuilder { } // Key sets the value of the 'key' attribute to the given value. -// -// func (b *LabelBuilder) Key(value string) *LabelBuilder { b.key = value b.bitmap_ |= 32 @@ -90,8 +82,6 @@ func (b *LabelBuilder) Key(value string) *LabelBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *LabelBuilder) UpdatedAt(value time.Time) *LabelBuilder { b.updatedAt = value b.bitmap_ |= 64 @@ -99,8 +89,6 @@ func (b *LabelBuilder) UpdatedAt(value time.Time) *LabelBuilder { } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *LabelBuilder) Value(value string) *LabelBuilder { b.value = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_list_type_json.go index 73eb75296..56841e6af 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLabelList(source interface{}) (items []*Label, err error) { return } -// readLabelList reads list of values of the ''label' type from +// readLabelList reads list of values of the ”label' type from // the given iterator. func readLabelList(iterator *jsoniter.Iterator) []*Label { list := []*Label{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_type.go index fdd306f7b..47cbd4210 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/label_type.go @@ -36,8 +36,6 @@ const LabelLinkKind = "LabelLink" const LabelNilKind = "LabelNil" // Label represents the values of the 'label' type. -// -// type Label struct { bitmap_ uint32 id string @@ -108,8 +106,6 @@ func (o *Label) Empty() bool { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Label) CreatedAt() time.Time { if o != nil && o.bitmap_&8 != 0 { return o.createdAt @@ -119,8 +115,6 @@ func (o *Label) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Label) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -131,8 +125,6 @@ func (o *Label) GetCreatedAt() (value time.Time, ok bool) { // Internal returns the value of the 'internal' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Label) Internal() bool { if o != nil && o.bitmap_&16 != 0 { return o.internal @@ -142,8 +134,6 @@ func (o *Label) Internal() bool { // GetInternal returns the value of the 'internal' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Label) GetInternal() (value bool, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -154,8 +144,6 @@ func (o *Label) GetInternal() (value bool, ok bool) { // Key returns the value of the 'key' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Label) Key() string { if o != nil && o.bitmap_&32 != 0 { return o.key @@ -165,8 +153,6 @@ func (o *Label) Key() string { // GetKey returns the value of the 'key' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Label) GetKey() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -177,8 +163,6 @@ func (o *Label) GetKey() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Label) UpdatedAt() time.Time { if o != nil && o.bitmap_&64 != 0 { return o.updatedAt @@ -188,8 +172,6 @@ func (o *Label) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Label) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -200,8 +182,6 @@ func (o *Label) GetUpdatedAt() (value time.Time, ok bool) { // Value returns the value of the 'value' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Label) Value() string { if o != nil && o.bitmap_&128 != 0 { return o.value @@ -211,8 +191,6 @@ func (o *Label) Value() string { // GetValue returns the value of the 'value' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Label) GetValue() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/long_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/long_list_type_json.go index 4c3ff6346..8dffbd55b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/long_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/long_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLongList(source interface{}) (items []int64, err error) { return } -// readLongList reads list of values of the ''long' type from +// readLongList reads list of values of the ”long' type from // the given iterator. func readLongList(iterator *jsoniter.Iterator) []int64 { list := []int64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_client.go index c39aea996..a23f06f57 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_client.go @@ -82,8 +82,6 @@ func (r *NotifyAddRequest) Header(name string, value interface{}) *NotifyAddRequ } // Body sets the value of the 'body' parameter. -// -// func (r *NotifyAddRequest) Body(value *SubscriptionNotify) *NotifyAddRequest { r.body = value return r @@ -185,8 +183,6 @@ func (r *NotifyAddResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *NotifyAddResponse) Body() *SubscriptionNotify { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *NotifyAddResponse) Body() *SubscriptionNotify { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *NotifyAddResponse) GetBody() (value *SubscriptionNotify, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_server.go index 4de0b1e4e..190df33bb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/notify_server.go @@ -42,8 +42,6 @@ type NotifyAddServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *NotifyAddServerRequest) Body() *SubscriptionNotify { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *NotifyAddServerRequest) Body() *SubscriptionNotify { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *NotifyAddServerRequest) GetBody() (value *SubscriptionNotify, ok bool) { ok = r != nil && r.body != nil if ok { @@ -71,8 +67,6 @@ type NotifyAddServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *NotifyAddServerResponse) Body(value *SubscriptionNotify) *NotifyAddServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_builder.go index 4c899decf..03204d7e5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_builder.go @@ -24,8 +24,6 @@ import ( ) // OrganizationBuilder contains the data and logic needed to build 'organization' objects. -// -// type OrganizationBuilder struct { bitmap_ uint32 id string @@ -65,8 +63,6 @@ func (b *OrganizationBuilder) HREF(value string) *OrganizationBuilder { } // Capabilities sets the value of the 'capabilities' attribute to the given values. -// -// func (b *OrganizationBuilder) Capabilities(values ...*CapabilityBuilder) *OrganizationBuilder { b.capabilities = make([]*CapabilityBuilder, len(values)) copy(b.capabilities, values) @@ -75,8 +71,6 @@ func (b *OrganizationBuilder) Capabilities(values ...*CapabilityBuilder) *Organi } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *OrganizationBuilder) CreatedAt(value time.Time) *OrganizationBuilder { b.createdAt = value b.bitmap_ |= 16 @@ -84,8 +78,6 @@ func (b *OrganizationBuilder) CreatedAt(value time.Time) *OrganizationBuilder { } // EbsAccountID sets the value of the 'ebs_account_ID' attribute to the given value. -// -// func (b *OrganizationBuilder) EbsAccountID(value string) *OrganizationBuilder { b.ebsAccountID = value b.bitmap_ |= 32 @@ -93,8 +85,6 @@ func (b *OrganizationBuilder) EbsAccountID(value string) *OrganizationBuilder { } // ExternalID sets the value of the 'external_ID' attribute to the given value. -// -// func (b *OrganizationBuilder) ExternalID(value string) *OrganizationBuilder { b.externalID = value b.bitmap_ |= 64 @@ -102,8 +92,6 @@ func (b *OrganizationBuilder) ExternalID(value string) *OrganizationBuilder { } // Labels sets the value of the 'labels' attribute to the given values. -// -// func (b *OrganizationBuilder) Labels(values ...*LabelBuilder) *OrganizationBuilder { b.labels = make([]*LabelBuilder, len(values)) copy(b.labels, values) @@ -112,8 +100,6 @@ func (b *OrganizationBuilder) Labels(values ...*LabelBuilder) *OrganizationBuild } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *OrganizationBuilder) Name(value string) *OrganizationBuilder { b.name = value b.bitmap_ |= 256 @@ -121,8 +107,6 @@ func (b *OrganizationBuilder) Name(value string) *OrganizationBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *OrganizationBuilder) UpdatedAt(value time.Time) *OrganizationBuilder { b.updatedAt = value b.bitmap_ |= 512 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_client.go index f5d3f0d76..1c0183233 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_client.go @@ -224,16 +224,12 @@ func (r *OrganizationPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *OrganizationPollResponse) Body() *Organization { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *OrganizationPollResponse) GetBody() (value *Organization, ok bool) { return r.response.GetBody() } @@ -346,8 +342,6 @@ func (r *OrganizationGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *OrganizationGetResponse) Body() *Organization { if r == nil { return nil @@ -357,8 +351,6 @@ func (r *OrganizationGetResponse) Body() *Organization { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *OrganizationGetResponse) GetBody() (value *Organization, ok bool) { ok = r != nil && r.body != nil if ok { @@ -389,8 +381,6 @@ func (r *OrganizationUpdateRequest) Header(name string, value interface{}) *Orga } // Body sets the value of the 'body' parameter. -// -// func (r *OrganizationUpdateRequest) Body(value *Organization) *OrganizationUpdateRequest { r.body = value return r @@ -492,8 +482,6 @@ func (r *OrganizationUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *OrganizationUpdateResponse) Body() *Organization { if r == nil { return nil @@ -503,8 +491,6 @@ func (r *OrganizationUpdateResponse) Body() *Organization { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *OrganizationUpdateResponse) GetBody() (value *Organization, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_list_type_json.go index a4dcfc265..ab54366b2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalOrganizationList(source interface{}) (items []*Organization, err e return } -// readOrganizationList reads list of values of the ''organization' type from +// readOrganizationList reads list of values of the ”organization' type from // the given iterator. func readOrganizationList(iterator *jsoniter.Iterator) []*Organization { list := []*Organization{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_server.go index 70ee8b8e7..74e6f792b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_server.go @@ -81,8 +81,6 @@ type OrganizationGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *OrganizationGetServerResponse) Body(value *Organization) *OrganizationGetServerResponse { r.body = value return r @@ -100,8 +98,6 @@ type OrganizationUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *OrganizationUpdateServerRequest) Body() *Organization { if r == nil { return nil @@ -111,8 +107,6 @@ func (r *OrganizationUpdateServerRequest) Body() *Organization { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *OrganizationUpdateServerRequest) GetBody() (value *Organization, ok bool) { ok = r != nil && r.body != nil if ok { @@ -129,8 +123,6 @@ type OrganizationUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *OrganizationUpdateServerResponse) Body(value *Organization) *OrganizationUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_type.go index 31388ec6e..12c8818db 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organization_type.go @@ -36,8 +36,6 @@ const OrganizationLinkKind = "OrganizationLink" const OrganizationNilKind = "OrganizationNil" // Organization represents the values of the 'organization' type. -// -// type Organization struct { bitmap_ uint32 id string @@ -110,8 +108,6 @@ func (o *Organization) Empty() bool { // Capabilities returns the value of the 'capabilities' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Organization) Capabilities() []*Capability { if o != nil && o.bitmap_&8 != 0 { return o.capabilities @@ -121,8 +117,6 @@ func (o *Organization) Capabilities() []*Capability { // GetCapabilities returns the value of the 'capabilities' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Organization) GetCapabilities() (value []*Capability, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -133,8 +127,6 @@ func (o *Organization) GetCapabilities() (value []*Capability, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Organization) CreatedAt() time.Time { if o != nil && o.bitmap_&16 != 0 { return o.createdAt @@ -144,8 +136,6 @@ func (o *Organization) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Organization) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -156,8 +146,6 @@ func (o *Organization) GetCreatedAt() (value time.Time, ok bool) { // EbsAccountID returns the value of the 'ebs_account_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Organization) EbsAccountID() string { if o != nil && o.bitmap_&32 != 0 { return o.ebsAccountID @@ -167,8 +155,6 @@ func (o *Organization) EbsAccountID() string { // GetEbsAccountID returns the value of the 'ebs_account_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Organization) GetEbsAccountID() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -179,8 +165,6 @@ func (o *Organization) GetEbsAccountID() (value string, ok bool) { // ExternalID returns the value of the 'external_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Organization) ExternalID() string { if o != nil && o.bitmap_&64 != 0 { return o.externalID @@ -190,8 +174,6 @@ func (o *Organization) ExternalID() string { // GetExternalID returns the value of the 'external_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Organization) GetExternalID() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -202,8 +184,6 @@ func (o *Organization) GetExternalID() (value string, ok bool) { // Labels returns the value of the 'labels' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Organization) Labels() []*Label { if o != nil && o.bitmap_&128 != 0 { return o.labels @@ -213,8 +193,6 @@ func (o *Organization) Labels() []*Label { // GetLabels returns the value of the 'labels' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Organization) GetLabels() (value []*Label, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -225,8 +203,6 @@ func (o *Organization) GetLabels() (value []*Label, ok bool) { // Name returns the value of the 'name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Organization) Name() string { if o != nil && o.bitmap_&256 != 0 { return o.name @@ -236,8 +212,6 @@ func (o *Organization) Name() string { // GetName returns the value of the 'name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Organization) GetName() (value string, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -248,8 +222,6 @@ func (o *Organization) GetName() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Organization) UpdatedAt() time.Time { if o != nil && o.bitmap_&512 != 0 { return o.updatedAt @@ -259,8 +231,6 @@ func (o *Organization) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Organization) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_client.go index 2ae80c75f..3cfdb0a4e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_client.go @@ -267,7 +267,6 @@ func (r *OrganizationsListRequest) FetchlabelsLabels(value bool) *OrganizationsL // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *OrganizationsListRequest) Fields(value string) *OrganizationsListRequest { r.fields = &value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_server.go index c2448b82a..84bd2a8b5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/organizations_server.go @@ -132,7 +132,6 @@ func (r *OrganizationsListServerRequest) GetFetchlabelsLabels() (value bool, ok // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *OrganizationsListServerRequest) Fields() string { if r != nil && r.fields != nil { return *r.fields @@ -148,7 +147,6 @@ func (r *OrganizationsListServerRequest) Fields() string { // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *OrganizationsListServerRequest) GetFields() (value string, ok bool) { ok = r != nil && r.fields != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_builder.go index abdd58e23..00ec586d5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // PermissionBuilder contains the data and logic needed to build 'permission' objects. -// -// type PermissionBuilder struct { bitmap_ uint32 id string @@ -65,8 +63,6 @@ func (b *PermissionBuilder) Action(value Action) *PermissionBuilder { } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *PermissionBuilder) ResourceType(value string) *PermissionBuilder { b.resourceType = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_client.go index a6e750abf..8a387c7da 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_client.go @@ -166,16 +166,12 @@ func (r *PermissionPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *PermissionPollResponse) Body() *Permission { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *PermissionPollResponse) GetBody() (value *Permission, ok bool) { return r.response.GetBody() } @@ -382,8 +378,6 @@ func (r *PermissionGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *PermissionGetResponse) Body() *Permission { if r == nil { return nil @@ -393,8 +387,6 @@ func (r *PermissionGetResponse) Body() *Permission { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *PermissionGetResponse) GetBody() (value *Permission, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_list_type_json.go index fed1f3a77..1b0099c03 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalPermissionList(source interface{}) (items []*Permission, err error return } -// readPermissionList reads list of values of the ''permission' type from +// readPermissionList reads list of values of the ”permission' type from // the given iterator. func readPermissionList(iterator *jsoniter.Iterator) []*Permission { list := []*Permission{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_server.go index 61d381eed..e744322b6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_server.go @@ -69,8 +69,6 @@ type PermissionGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *PermissionGetServerResponse) Body(value *Permission) *PermissionGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_type.go index 63515aef9..be6994c86 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/permission_type.go @@ -32,8 +32,6 @@ const PermissionLinkKind = "PermissionLink" const PermissionNilKind = "PermissionNil" // Permission represents the values of the 'permission' type. -// -// type Permission struct { bitmap_ uint32 id string @@ -101,8 +99,6 @@ func (o *Permission) Empty() bool { // Action returns the value of the 'action' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Permission) Action() Action { if o != nil && o.bitmap_&8 != 0 { return o.action @@ -112,8 +108,6 @@ func (o *Permission) Action() Action { // GetAction returns the value of the 'action' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Permission) GetAction() (value Action, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -124,8 +118,6 @@ func (o *Permission) GetAction() (value Action, ok bool) { // ResourceType returns the value of the 'resource_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Permission) ResourceType() string { if o != nil && o.bitmap_&16 != 0 { return o.resourceType @@ -135,8 +127,6 @@ func (o *Permission) ResourceType() string { // GetResourceType returns the value of the 'resource_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Permission) GetResourceType() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_builder.go index cb567ca46..b60bb7549 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // PlanBuilder contains the data and logic needed to build 'plan' objects. -// -// type PlanBuilder struct { bitmap_ uint32 id string @@ -57,8 +55,6 @@ func (b *PlanBuilder) HREF(value string) *PlanBuilder { } // Category sets the value of the 'category' attribute to the given value. -// -// func (b *PlanBuilder) Category(value string) *PlanBuilder { b.category = value b.bitmap_ |= 8 @@ -66,8 +62,6 @@ func (b *PlanBuilder) Category(value string) *PlanBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *PlanBuilder) Name(value string) *PlanBuilder { b.name = value b.bitmap_ |= 16 @@ -75,8 +69,6 @@ func (b *PlanBuilder) Name(value string) *PlanBuilder { } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *PlanBuilder) Type(value string) *PlanBuilder { b.type_ = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_id_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_id_list_type_json.go index b2523e59e..1a931fd2f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_id_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_id_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalPlanIDList(source interface{}) (items []PlanID, err error) { return } -// readPlanIDList reads list of values of the ''plan_ID' type from +// readPlanIDList reads list of values of the ”plan_ID' type from // the given iterator. func readPlanIDList(iterator *jsoniter.Iterator) []PlanID { list := []PlanID{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_list_type_json.go index bb4d70459..3e5b15bff 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalPlanList(source interface{}) (items []*Plan, err error) { return } -// readPlanList reads list of values of the ''plan' type from +// readPlanList reads list of values of the ”plan' type from // the given iterator. func readPlanList(iterator *jsoniter.Iterator) []*Plan { list := []*Plan{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_type.go index ade94c1ee..ab1e1ee04 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/plan_type.go @@ -32,8 +32,6 @@ const PlanLinkKind = "PlanLink" const PlanNilKind = "PlanNil" // Plan represents the values of the 'plan' type. -// -// type Plan struct { bitmap_ uint32 id string @@ -102,8 +100,6 @@ func (o *Plan) Empty() bool { // Category returns the value of the 'category' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Plan) Category() string { if o != nil && o.bitmap_&8 != 0 { return o.category @@ -113,8 +109,6 @@ func (o *Plan) Category() string { // GetCategory returns the value of the 'category' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Plan) GetCategory() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -125,8 +119,6 @@ func (o *Plan) GetCategory() (value string, ok bool) { // Name returns the value of the 'name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Plan) Name() string { if o != nil && o.bitmap_&16 != 0 { return o.name @@ -136,8 +128,6 @@ func (o *Plan) Name() string { // GetName returns the value of the 'name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Plan) GetName() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -148,8 +138,6 @@ func (o *Plan) GetName() (value string, ok bool) { // Type returns the value of the 'type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Plan) Type() string { if o != nil && o.bitmap_&32 != 0 { return o.type_ @@ -159,8 +147,6 @@ func (o *Plan) Type() string { // GetType returns the value of the 'type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Plan) GetType() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_client.go index bae3b02f2..61adc049f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_client.go @@ -93,8 +93,6 @@ func (r *PullSecretsPostRequest) Header(name string, value interface{}) *PullSec } // Request sets the value of the 'request' parameter. -// -// func (r *PullSecretsPostRequest) Request(value *PullSecretsRequest) *PullSecretsPostRequest { r.request = value return r @@ -196,8 +194,6 @@ func (r *PullSecretsPostResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *PullSecretsPostResponse) Body() *AccessToken { if r == nil { return nil @@ -207,8 +203,6 @@ func (r *PullSecretsPostResponse) Body() *AccessToken { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *PullSecretsPostResponse) GetBody() (value *AccessToken, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_builder.go index 6149020b2..9e0ba1aac 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // PullSecretsRequestBuilder contains the data and logic needed to build 'pull_secrets_request' objects. -// -// type PullSecretsRequestBuilder struct { bitmap_ uint32 externalResourceId string @@ -33,8 +31,6 @@ func NewPullSecretsRequest() *PullSecretsRequestBuilder { } // ExternalResourceId sets the value of the 'external_resource_id' attribute to the given value. -// -// func (b *PullSecretsRequestBuilder) ExternalResourceId(value string) *PullSecretsRequestBuilder { b.externalResourceId = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_list_type_json.go index 1cb52a861..334c45feb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalPullSecretsRequestList(source interface{}) (items []*PullSecretsRe return } -// readPullSecretsRequestList reads list of values of the ''pull_secrets_request' type from +// readPullSecretsRequestList reads list of values of the ”pull_secrets_request' type from // the given iterator. func readPullSecretsRequestList(iterator *jsoniter.Iterator) []*PullSecretsRequest { list := []*PullSecretsRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_type.go index 486cc2138..40972ee68 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_request_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // PullSecretsRequest represents the values of the 'pull_secrets_request' type. -// -// type PullSecretsRequest struct { bitmap_ uint32 externalResourceId string @@ -34,8 +32,6 @@ func (o *PullSecretsRequest) Empty() bool { // ExternalResourceId returns the value of the 'external_resource_id' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *PullSecretsRequest) ExternalResourceId() string { if o != nil && o.bitmap_&1 != 0 { return o.externalResourceId @@ -45,8 +41,6 @@ func (o *PullSecretsRequest) ExternalResourceId() string { // GetExternalResourceId returns the value of the 'external_resource_id' attribute and // a flag indicating if the attribute has a value. -// -// func (o *PullSecretsRequest) GetExternalResourceId() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_server.go index da14ef329..56080d962 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/pull_secrets_server.go @@ -47,8 +47,6 @@ type PullSecretsPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *PullSecretsPostServerRequest) Request() *PullSecretsRequest { if r == nil { return nil @@ -58,8 +56,6 @@ func (r *PullSecretsPostServerRequest) Request() *PullSecretsRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *PullSecretsPostServerRequest) GetRequest() (value *PullSecretsRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -76,8 +72,6 @@ type PullSecretsPostServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *PullSecretsPostServerResponse) Body(value *AccessToken) *PullSecretsPostServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_builder.go index ea1f723f9..dbd4a08c5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // QuotaCostBuilder contains the data and logic needed to build 'quota_cost' objects. -// -// type QuotaCostBuilder struct { bitmap_ uint32 allowed int @@ -37,8 +35,6 @@ func NewQuotaCost() *QuotaCostBuilder { } // Allowed sets the value of the 'allowed' attribute to the given value. -// -// func (b *QuotaCostBuilder) Allowed(value int) *QuotaCostBuilder { b.allowed = value b.bitmap_ |= 1 @@ -46,8 +42,6 @@ func (b *QuotaCostBuilder) Allowed(value int) *QuotaCostBuilder { } // Consumed sets the value of the 'consumed' attribute to the given value. -// -// func (b *QuotaCostBuilder) Consumed(value int) *QuotaCostBuilder { b.consumed = value b.bitmap_ |= 2 @@ -55,8 +49,6 @@ func (b *QuotaCostBuilder) Consumed(value int) *QuotaCostBuilder { } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *QuotaCostBuilder) OrganizationID(value string) *QuotaCostBuilder { b.organizationID = value b.bitmap_ |= 4 @@ -64,8 +56,6 @@ func (b *QuotaCostBuilder) OrganizationID(value string) *QuotaCostBuilder { } // QuotaID sets the value of the 'quota_ID' attribute to the given value. -// -// func (b *QuotaCostBuilder) QuotaID(value string) *QuotaCostBuilder { b.quotaID = value b.bitmap_ |= 8 @@ -73,8 +63,6 @@ func (b *QuotaCostBuilder) QuotaID(value string) *QuotaCostBuilder { } // RelatedResources sets the value of the 'related_resources' attribute to the given values. -// -// func (b *QuotaCostBuilder) RelatedResources(values ...*RelatedResourceBuilder) *QuotaCostBuilder { b.relatedResources = make([]*RelatedResourceBuilder, len(values)) copy(b.relatedResources, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_list_type_json.go index e6f73996c..ce6e68a01 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalQuotaCostList(source interface{}) (items []*QuotaCost, err error) return } -// readQuotaCostList reads list of values of the ''quota_cost' type from +// readQuotaCostList reads list of values of the ”quota_cost' type from // the given iterator. func readQuotaCostList(iterator *jsoniter.Iterator) []*QuotaCost { list := []*QuotaCost{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_type.go index 19c1b8437..5b9662783 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_cost_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // QuotaCost represents the values of the 'quota_cost' type. -// -// type QuotaCost struct { bitmap_ uint32 allowed int @@ -38,8 +36,6 @@ func (o *QuotaCost) Empty() bool { // Allowed returns the value of the 'allowed' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaCost) Allowed() int { if o != nil && o.bitmap_&1 != 0 { return o.allowed @@ -49,8 +45,6 @@ func (o *QuotaCost) Allowed() int { // GetAllowed returns the value of the 'allowed' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaCost) GetAllowed() (value int, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -61,8 +55,6 @@ func (o *QuotaCost) GetAllowed() (value int, ok bool) { // Consumed returns the value of the 'consumed' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaCost) Consumed() int { if o != nil && o.bitmap_&2 != 0 { return o.consumed @@ -72,8 +64,6 @@ func (o *QuotaCost) Consumed() int { // GetConsumed returns the value of the 'consumed' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaCost) GetConsumed() (value int, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -84,8 +74,6 @@ func (o *QuotaCost) GetConsumed() (value int, ok bool) { // OrganizationID returns the value of the 'organization_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaCost) OrganizationID() string { if o != nil && o.bitmap_&4 != 0 { return o.organizationID @@ -95,8 +83,6 @@ func (o *QuotaCost) OrganizationID() string { // GetOrganizationID returns the value of the 'organization_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaCost) GetOrganizationID() (value string, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -107,8 +93,6 @@ func (o *QuotaCost) GetOrganizationID() (value string, ok bool) { // QuotaID returns the value of the 'quota_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaCost) QuotaID() string { if o != nil && o.bitmap_&8 != 0 { return o.quotaID @@ -118,8 +102,6 @@ func (o *QuotaCost) QuotaID() string { // GetQuotaID returns the value of the 'quota_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaCost) GetQuotaID() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -130,8 +112,6 @@ func (o *QuotaCost) GetQuotaID() (value string, ok bool) { // RelatedResources returns the value of the 'related_resources' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaCost) RelatedResources() []*RelatedResource { if o != nil && o.bitmap_&16 != 0 { return o.relatedResources @@ -141,8 +121,6 @@ func (o *QuotaCost) RelatedResources() []*RelatedResource { // GetRelatedResources returns the value of the 'related_resources' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaCost) GetRelatedResources() (value []*RelatedResource, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_builder.go index c8c85f884..a72cd8de0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // QuotaSummaryBuilder contains the data and logic needed to build 'quota_summary' objects. -// -// type QuotaSummaryBuilder struct { bitmap_ uint32 allowed int @@ -39,8 +37,6 @@ func NewQuotaSummary() *QuotaSummaryBuilder { } // BYOC sets the value of the 'BYOC' attribute to the given value. -// -// func (b *QuotaSummaryBuilder) BYOC(value bool) *QuotaSummaryBuilder { b.byoc = value b.bitmap_ |= 1 @@ -48,8 +44,6 @@ func (b *QuotaSummaryBuilder) BYOC(value bool) *QuotaSummaryBuilder { } // Allowed sets the value of the 'allowed' attribute to the given value. -// -// func (b *QuotaSummaryBuilder) Allowed(value int) *QuotaSummaryBuilder { b.allowed = value b.bitmap_ |= 2 @@ -57,8 +51,6 @@ func (b *QuotaSummaryBuilder) Allowed(value int) *QuotaSummaryBuilder { } // AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value. -// -// func (b *QuotaSummaryBuilder) AvailabilityZoneType(value string) *QuotaSummaryBuilder { b.availabilityZoneType = value b.bitmap_ |= 4 @@ -66,8 +58,6 @@ func (b *QuotaSummaryBuilder) AvailabilityZoneType(value string) *QuotaSummaryBu } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *QuotaSummaryBuilder) OrganizationID(value string) *QuotaSummaryBuilder { b.organizationID = value b.bitmap_ |= 8 @@ -75,8 +65,6 @@ func (b *QuotaSummaryBuilder) OrganizationID(value string) *QuotaSummaryBuilder } // Reserved sets the value of the 'reserved' attribute to the given value. -// -// func (b *QuotaSummaryBuilder) Reserved(value int) *QuotaSummaryBuilder { b.reserved = value b.bitmap_ |= 16 @@ -84,8 +72,6 @@ func (b *QuotaSummaryBuilder) Reserved(value int) *QuotaSummaryBuilder { } // ResourceName sets the value of the 'resource_name' attribute to the given value. -// -// func (b *QuotaSummaryBuilder) ResourceName(value string) *QuotaSummaryBuilder { b.resourceName = value b.bitmap_ |= 32 @@ -93,8 +79,6 @@ func (b *QuotaSummaryBuilder) ResourceName(value string) *QuotaSummaryBuilder { } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *QuotaSummaryBuilder) ResourceType(value string) *QuotaSummaryBuilder { b.resourceType = value b.bitmap_ |= 64 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_list_type_json.go index 4a99904d9..bcbaaba24 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalQuotaSummaryList(source interface{}) (items []*QuotaSummary, err e return } -// readQuotaSummaryList reads list of values of the ''quota_summary' type from +// readQuotaSummaryList reads list of values of the ”quota_summary' type from // the given iterator. func readQuotaSummaryList(iterator *jsoniter.Iterator) []*QuotaSummary { list := []*QuotaSummary{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_type.go index 0d5648baf..4a4c0b27e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/quota_summary_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // QuotaSummary represents the values of the 'quota_summary' type. -// -// type QuotaSummary struct { bitmap_ uint32 allowed int @@ -40,8 +38,6 @@ func (o *QuotaSummary) Empty() bool { // BYOC returns the value of the 'BYOC' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaSummary) BYOC() bool { if o != nil && o.bitmap_&1 != 0 { return o.byoc @@ -51,8 +47,6 @@ func (o *QuotaSummary) BYOC() bool { // GetBYOC returns the value of the 'BYOC' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaSummary) GetBYOC() (value bool, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -63,8 +57,6 @@ func (o *QuotaSummary) GetBYOC() (value bool, ok bool) { // Allowed returns the value of the 'allowed' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaSummary) Allowed() int { if o != nil && o.bitmap_&2 != 0 { return o.allowed @@ -74,8 +66,6 @@ func (o *QuotaSummary) Allowed() int { // GetAllowed returns the value of the 'allowed' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaSummary) GetAllowed() (value int, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -86,8 +76,6 @@ func (o *QuotaSummary) GetAllowed() (value int, ok bool) { // AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaSummary) AvailabilityZoneType() string { if o != nil && o.bitmap_&4 != 0 { return o.availabilityZoneType @@ -97,8 +85,6 @@ func (o *QuotaSummary) AvailabilityZoneType() string { // GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaSummary) GetAvailabilityZoneType() (value string, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -109,8 +95,6 @@ func (o *QuotaSummary) GetAvailabilityZoneType() (value string, ok bool) { // OrganizationID returns the value of the 'organization_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaSummary) OrganizationID() string { if o != nil && o.bitmap_&8 != 0 { return o.organizationID @@ -120,8 +104,6 @@ func (o *QuotaSummary) OrganizationID() string { // GetOrganizationID returns the value of the 'organization_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaSummary) GetOrganizationID() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -132,8 +114,6 @@ func (o *QuotaSummary) GetOrganizationID() (value string, ok bool) { // Reserved returns the value of the 'reserved' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaSummary) Reserved() int { if o != nil && o.bitmap_&16 != 0 { return o.reserved @@ -143,8 +123,6 @@ func (o *QuotaSummary) Reserved() int { // GetReserved returns the value of the 'reserved' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaSummary) GetReserved() (value int, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -155,8 +133,6 @@ func (o *QuotaSummary) GetReserved() (value int, ok bool) { // ResourceName returns the value of the 'resource_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaSummary) ResourceName() string { if o != nil && o.bitmap_&32 != 0 { return o.resourceName @@ -166,8 +142,6 @@ func (o *QuotaSummary) ResourceName() string { // GetResourceName returns the value of the 'resource_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaSummary) GetResourceName() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -178,8 +152,6 @@ func (o *QuotaSummary) GetResourceName() (value string, ok bool) { // ResourceType returns the value of the 'resource_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *QuotaSummary) ResourceType() string { if o != nil && o.bitmap_&64 != 0 { return o.resourceType @@ -189,8 +161,6 @@ func (o *QuotaSummary) ResourceType() string { // GetResourceType returns the value of the 'resource_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *QuotaSummary) GetResourceType() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_builder.go index 6df3d0fae..70e132162 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_builder.go @@ -24,8 +24,6 @@ import ( ) // RegistryBuilder contains the data and logic needed to build 'registry' objects. -// -// type RegistryBuilder struct { bitmap_ uint32 id string @@ -66,8 +64,6 @@ func (b *RegistryBuilder) HREF(value string) *RegistryBuilder { } // URL sets the value of the 'URL' attribute to the given value. -// -// func (b *RegistryBuilder) URL(value string) *RegistryBuilder { b.url = value b.bitmap_ |= 8 @@ -75,8 +71,6 @@ func (b *RegistryBuilder) URL(value string) *RegistryBuilder { } // CloudAlias sets the value of the 'cloud_alias' attribute to the given value. -// -// func (b *RegistryBuilder) CloudAlias(value bool) *RegistryBuilder { b.cloudAlias = value b.bitmap_ |= 16 @@ -84,8 +78,6 @@ func (b *RegistryBuilder) CloudAlias(value bool) *RegistryBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *RegistryBuilder) CreatedAt(value time.Time) *RegistryBuilder { b.createdAt = value b.bitmap_ |= 32 @@ -93,8 +85,6 @@ func (b *RegistryBuilder) CreatedAt(value time.Time) *RegistryBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *RegistryBuilder) Name(value string) *RegistryBuilder { b.name = value b.bitmap_ |= 64 @@ -102,8 +92,6 @@ func (b *RegistryBuilder) Name(value string) *RegistryBuilder { } // OrgName sets the value of the 'org_name' attribute to the given value. -// -// func (b *RegistryBuilder) OrgName(value string) *RegistryBuilder { b.orgName = value b.bitmap_ |= 128 @@ -111,8 +99,6 @@ func (b *RegistryBuilder) OrgName(value string) *RegistryBuilder { } // TeamName sets the value of the 'team_name' attribute to the given value. -// -// func (b *RegistryBuilder) TeamName(value string) *RegistryBuilder { b.teamName = value b.bitmap_ |= 256 @@ -120,8 +106,6 @@ func (b *RegistryBuilder) TeamName(value string) *RegistryBuilder { } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *RegistryBuilder) Type(value string) *RegistryBuilder { b.type_ = value b.bitmap_ |= 512 @@ -129,8 +113,6 @@ func (b *RegistryBuilder) Type(value string) *RegistryBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *RegistryBuilder) UpdatedAt(value time.Time) *RegistryBuilder { b.updatedAt = value b.bitmap_ |= 1024 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_client.go index 75e599e21..082038b61 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_client.go @@ -156,16 +156,12 @@ func (r *RegistryPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RegistryPollResponse) Body() *Registry { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RegistryPollResponse) GetBody() (value *Registry, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *RegistryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RegistryGetResponse) Body() *Registry { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *RegistryGetResponse) Body() *Registry { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RegistryGetResponse) GetBody() (value *Registry, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_builder.go index d1186f38f..13d11e59c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_builder.go @@ -24,8 +24,6 @@ import ( ) // RegistryCredentialBuilder contains the data and logic needed to build 'registry_credential' objects. -// -// type RegistryCredentialBuilder struct { bitmap_ uint32 id string @@ -65,8 +63,6 @@ func (b *RegistryCredentialBuilder) HREF(value string) *RegistryCredentialBuilde } // Account sets the value of the 'account' attribute to the given value. -// -// func (b *RegistryCredentialBuilder) Account(value *AccountBuilder) *RegistryCredentialBuilder { b.account = value if value != nil { @@ -78,8 +74,6 @@ func (b *RegistryCredentialBuilder) Account(value *AccountBuilder) *RegistryCred } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *RegistryCredentialBuilder) CreatedAt(value time.Time) *RegistryCredentialBuilder { b.createdAt = value b.bitmap_ |= 16 @@ -87,8 +81,6 @@ func (b *RegistryCredentialBuilder) CreatedAt(value time.Time) *RegistryCredenti } // ExternalResourceID sets the value of the 'external_resource_ID' attribute to the given value. -// -// func (b *RegistryCredentialBuilder) ExternalResourceID(value string) *RegistryCredentialBuilder { b.externalResourceID = value b.bitmap_ |= 32 @@ -96,8 +88,6 @@ func (b *RegistryCredentialBuilder) ExternalResourceID(value string) *RegistryCr } // Registry sets the value of the 'registry' attribute to the given value. -// -// func (b *RegistryCredentialBuilder) Registry(value *RegistryBuilder) *RegistryCredentialBuilder { b.registry = value if value != nil { @@ -109,8 +99,6 @@ func (b *RegistryCredentialBuilder) Registry(value *RegistryBuilder) *RegistryCr } // Token sets the value of the 'token' attribute to the given value. -// -// func (b *RegistryCredentialBuilder) Token(value string) *RegistryCredentialBuilder { b.token = value b.bitmap_ |= 128 @@ -118,8 +106,6 @@ func (b *RegistryCredentialBuilder) Token(value string) *RegistryCredentialBuild } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *RegistryCredentialBuilder) UpdatedAt(value time.Time) *RegistryCredentialBuilder { b.updatedAt = value b.bitmap_ |= 256 @@ -127,8 +113,6 @@ func (b *RegistryCredentialBuilder) UpdatedAt(value time.Time) *RegistryCredenti } // Username sets the value of the 'username' attribute to the given value. -// -// func (b *RegistryCredentialBuilder) Username(value string) *RegistryCredentialBuilder { b.username = value b.bitmap_ |= 512 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_client.go index f6bcb170b..435c3c406 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_client.go @@ -156,16 +156,12 @@ func (r *RegistryCredentialPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RegistryCredentialPollResponse) Body() *RegistryCredential { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RegistryCredentialPollResponse) GetBody() (value *RegistryCredential, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *RegistryCredentialGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RegistryCredentialGetResponse) Body() *RegistryCredential { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *RegistryCredentialGetResponse) Body() *RegistryCredential { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RegistryCredentialGetResponse) GetBody() (value *RegistryCredential, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_list_type_json.go index 5c9936f76..1efa5c24e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalRegistryCredentialList(source interface{}) (items []*RegistryCrede return } -// readRegistryCredentialList reads list of values of the ''registry_credential' type from +// readRegistryCredentialList reads list of values of the ”registry_credential' type from // the given iterator. func readRegistryCredentialList(iterator *jsoniter.Iterator) []*RegistryCredential { list := []*RegistryCredential{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_server.go index d65bdb1d8..354457fbf 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_server.go @@ -48,8 +48,6 @@ type RegistryCredentialGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *RegistryCredentialGetServerResponse) Body(value *RegistryCredential) *RegistryCredentialGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_type.go index 8131649ff..81ef5f9e0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_credential_type.go @@ -36,8 +36,6 @@ const RegistryCredentialLinkKind = "RegistryCredentialLink" const RegistryCredentialNilKind = "RegistryCredentialNil" // RegistryCredential represents the values of the 'registry_credential' type. -// -// type RegistryCredential struct { bitmap_ uint32 id string @@ -110,8 +108,6 @@ func (o *RegistryCredential) Empty() bool { // Account returns the value of the 'account' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RegistryCredential) Account() *Account { if o != nil && o.bitmap_&8 != 0 { return o.account @@ -121,8 +117,6 @@ func (o *RegistryCredential) Account() *Account { // GetAccount returns the value of the 'account' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RegistryCredential) GetAccount() (value *Account, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -133,8 +127,6 @@ func (o *RegistryCredential) GetAccount() (value *Account, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RegistryCredential) CreatedAt() time.Time { if o != nil && o.bitmap_&16 != 0 { return o.createdAt @@ -144,8 +136,6 @@ func (o *RegistryCredential) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RegistryCredential) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -156,8 +146,6 @@ func (o *RegistryCredential) GetCreatedAt() (value time.Time, ok bool) { // ExternalResourceID returns the value of the 'external_resource_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RegistryCredential) ExternalResourceID() string { if o != nil && o.bitmap_&32 != 0 { return o.externalResourceID @@ -167,8 +155,6 @@ func (o *RegistryCredential) ExternalResourceID() string { // GetExternalResourceID returns the value of the 'external_resource_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RegistryCredential) GetExternalResourceID() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -179,8 +165,6 @@ func (o *RegistryCredential) GetExternalResourceID() (value string, ok bool) { // Registry returns the value of the 'registry' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RegistryCredential) Registry() *Registry { if o != nil && o.bitmap_&64 != 0 { return o.registry @@ -190,8 +174,6 @@ func (o *RegistryCredential) Registry() *Registry { // GetRegistry returns the value of the 'registry' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RegistryCredential) GetRegistry() (value *Registry, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -202,8 +184,6 @@ func (o *RegistryCredential) GetRegistry() (value *Registry, ok bool) { // Token returns the value of the 'token' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RegistryCredential) Token() string { if o != nil && o.bitmap_&128 != 0 { return o.token @@ -213,8 +193,6 @@ func (o *RegistryCredential) Token() string { // GetToken returns the value of the 'token' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RegistryCredential) GetToken() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -225,8 +203,6 @@ func (o *RegistryCredential) GetToken() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RegistryCredential) UpdatedAt() time.Time { if o != nil && o.bitmap_&256 != 0 { return o.updatedAt @@ -236,8 +212,6 @@ func (o *RegistryCredential) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RegistryCredential) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -248,8 +222,6 @@ func (o *RegistryCredential) GetUpdatedAt() (value time.Time, ok bool) { // Username returns the value of the 'username' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RegistryCredential) Username() string { if o != nil && o.bitmap_&512 != 0 { return o.username @@ -259,8 +231,6 @@ func (o *RegistryCredential) Username() string { // GetUsername returns the value of the 'username' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RegistryCredential) GetUsername() (value string, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_list_type_json.go index 8d9c861a3..4dda91555 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalRegistryList(source interface{}) (items []*Registry, err error) { return } -// readRegistryList reads list of values of the ''registry' type from +// readRegistryList reads list of values of the ”registry' type from // the given iterator. func readRegistryList(iterator *jsoniter.Iterator) []*Registry { list := []*Registry{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_server.go index b8ef8c723..3546149e4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_server.go @@ -48,8 +48,6 @@ type RegistryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *RegistryGetServerResponse) Body(value *Registry) *RegistryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_type.go index 8a0a848f1..80119a248 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/registry_type.go @@ -36,8 +36,6 @@ const RegistryLinkKind = "RegistryLink" const RegistryNilKind = "RegistryNil" // Registry represents the values of the 'registry' type. -// -// type Registry struct { bitmap_ uint32 id string @@ -111,8 +109,6 @@ func (o *Registry) Empty() bool { // URL returns the value of the 'URL' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) URL() string { if o != nil && o.bitmap_&8 != 0 { return o.url @@ -122,8 +118,6 @@ func (o *Registry) URL() string { // GetURL returns the value of the 'URL' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetURL() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -134,8 +128,6 @@ func (o *Registry) GetURL() (value string, ok bool) { // CloudAlias returns the value of the 'cloud_alias' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) CloudAlias() bool { if o != nil && o.bitmap_&16 != 0 { return o.cloudAlias @@ -145,8 +137,6 @@ func (o *Registry) CloudAlias() bool { // GetCloudAlias returns the value of the 'cloud_alias' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetCloudAlias() (value bool, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -157,8 +147,6 @@ func (o *Registry) GetCloudAlias() (value bool, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) CreatedAt() time.Time { if o != nil && o.bitmap_&32 != 0 { return o.createdAt @@ -168,8 +156,6 @@ func (o *Registry) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -180,8 +166,6 @@ func (o *Registry) GetCreatedAt() (value time.Time, ok bool) { // Name returns the value of the 'name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) Name() string { if o != nil && o.bitmap_&64 != 0 { return o.name @@ -191,8 +175,6 @@ func (o *Registry) Name() string { // GetName returns the value of the 'name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetName() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -203,8 +185,6 @@ func (o *Registry) GetName() (value string, ok bool) { // OrgName returns the value of the 'org_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) OrgName() string { if o != nil && o.bitmap_&128 != 0 { return o.orgName @@ -214,8 +194,6 @@ func (o *Registry) OrgName() string { // GetOrgName returns the value of the 'org_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetOrgName() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -226,8 +204,6 @@ func (o *Registry) GetOrgName() (value string, ok bool) { // TeamName returns the value of the 'team_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) TeamName() string { if o != nil && o.bitmap_&256 != 0 { return o.teamName @@ -237,8 +213,6 @@ func (o *Registry) TeamName() string { // GetTeamName returns the value of the 'team_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetTeamName() (value string, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -249,8 +223,6 @@ func (o *Registry) GetTeamName() (value string, ok bool) { // Type returns the value of the 'type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) Type() string { if o != nil && o.bitmap_&512 != 0 { return o.type_ @@ -260,8 +232,6 @@ func (o *Registry) Type() string { // GetType returns the value of the 'type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetType() (value string, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { @@ -272,8 +242,6 @@ func (o *Registry) GetType() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Registry) UpdatedAt() time.Time { if o != nil && o.bitmap_&1024 != 0 { return o.updatedAt @@ -283,8 +251,6 @@ func (o *Registry) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Registry) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&1024 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_builder.go index 2d2771e22..1bd7dbc7b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_builder.go @@ -40,8 +40,6 @@ func NewRelatedResource() *RelatedResourceBuilder { } // BYOC sets the value of the 'BYOC' attribute to the given value. -// -// func (b *RelatedResourceBuilder) BYOC(value string) *RelatedResourceBuilder { b.byoc = value b.bitmap_ |= 1 @@ -49,8 +47,6 @@ func (b *RelatedResourceBuilder) BYOC(value string) *RelatedResourceBuilder { } // AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value. -// -// func (b *RelatedResourceBuilder) AvailabilityZoneType(value string) *RelatedResourceBuilder { b.availabilityZoneType = value b.bitmap_ |= 2 @@ -58,8 +54,6 @@ func (b *RelatedResourceBuilder) AvailabilityZoneType(value string) *RelatedReso } // BillingModel sets the value of the 'billing_model' attribute to the given value. -// -// func (b *RelatedResourceBuilder) BillingModel(value string) *RelatedResourceBuilder { b.billingModel = value b.bitmap_ |= 4 @@ -67,8 +61,6 @@ func (b *RelatedResourceBuilder) BillingModel(value string) *RelatedResourceBuil } // CloudProvider sets the value of the 'cloud_provider' attribute to the given value. -// -// func (b *RelatedResourceBuilder) CloudProvider(value string) *RelatedResourceBuilder { b.cloudProvider = value b.bitmap_ |= 8 @@ -76,8 +68,6 @@ func (b *RelatedResourceBuilder) CloudProvider(value string) *RelatedResourceBui } // Cost sets the value of the 'cost' attribute to the given value. -// -// func (b *RelatedResourceBuilder) Cost(value int) *RelatedResourceBuilder { b.cost = value b.bitmap_ |= 16 @@ -85,8 +75,6 @@ func (b *RelatedResourceBuilder) Cost(value int) *RelatedResourceBuilder { } // Product sets the value of the 'product' attribute to the given value. -// -// func (b *RelatedResourceBuilder) Product(value string) *RelatedResourceBuilder { b.product = value b.bitmap_ |= 32 @@ -94,8 +82,6 @@ func (b *RelatedResourceBuilder) Product(value string) *RelatedResourceBuilder { } // ResourceName sets the value of the 'resource_name' attribute to the given value. -// -// func (b *RelatedResourceBuilder) ResourceName(value string) *RelatedResourceBuilder { b.resourceName = value b.bitmap_ |= 64 @@ -103,8 +89,6 @@ func (b *RelatedResourceBuilder) ResourceName(value string) *RelatedResourceBuil } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *RelatedResourceBuilder) ResourceType(value string) *RelatedResourceBuilder { b.resourceType = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_list_type_json.go index 057ec388c..d065e5d4c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalRelatedResourceList(source interface{}) (items []*RelatedResource, return } -// readRelatedResourceList reads list of values of the ''related_resource' type from +// readRelatedResourceList reads list of values of the ”related_resource' type from // the given iterator. func readRelatedResourceList(iterator *jsoniter.Iterator) []*RelatedResource { list := []*RelatedResource{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_type.go index a85889f3b..fce2192b3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/related_resource_type.go @@ -41,8 +41,6 @@ func (o *RelatedResource) Empty() bool { // BYOC returns the value of the 'BYOC' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) BYOC() string { if o != nil && o.bitmap_&1 != 0 { return o.byoc @@ -52,8 +50,6 @@ func (o *RelatedResource) BYOC() string { // GetBYOC returns the value of the 'BYOC' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetBYOC() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -64,8 +60,6 @@ func (o *RelatedResource) GetBYOC() (value string, ok bool) { // AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) AvailabilityZoneType() string { if o != nil && o.bitmap_&2 != 0 { return o.availabilityZoneType @@ -75,8 +69,6 @@ func (o *RelatedResource) AvailabilityZoneType() string { // GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetAvailabilityZoneType() (value string, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -87,8 +79,6 @@ func (o *RelatedResource) GetAvailabilityZoneType() (value string, ok bool) { // BillingModel returns the value of the 'billing_model' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) BillingModel() string { if o != nil && o.bitmap_&4 != 0 { return o.billingModel @@ -98,8 +88,6 @@ func (o *RelatedResource) BillingModel() string { // GetBillingModel returns the value of the 'billing_model' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetBillingModel() (value string, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -110,8 +98,6 @@ func (o *RelatedResource) GetBillingModel() (value string, ok bool) { // CloudProvider returns the value of the 'cloud_provider' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) CloudProvider() string { if o != nil && o.bitmap_&8 != 0 { return o.cloudProvider @@ -121,8 +107,6 @@ func (o *RelatedResource) CloudProvider() string { // GetCloudProvider returns the value of the 'cloud_provider' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetCloudProvider() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -133,8 +117,6 @@ func (o *RelatedResource) GetCloudProvider() (value string, ok bool) { // Cost returns the value of the 'cost' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) Cost() int { if o != nil && o.bitmap_&16 != 0 { return o.cost @@ -144,8 +126,6 @@ func (o *RelatedResource) Cost() int { // GetCost returns the value of the 'cost' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetCost() (value int, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -156,8 +136,6 @@ func (o *RelatedResource) GetCost() (value int, ok bool) { // Product returns the value of the 'product' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) Product() string { if o != nil && o.bitmap_&32 != 0 { return o.product @@ -167,8 +145,6 @@ func (o *RelatedResource) Product() string { // GetProduct returns the value of the 'product' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetProduct() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -179,8 +155,6 @@ func (o *RelatedResource) GetProduct() (value string, ok bool) { // ResourceName returns the value of the 'resource_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) ResourceName() string { if o != nil && o.bitmap_&64 != 0 { return o.resourceName @@ -190,8 +164,6 @@ func (o *RelatedResource) ResourceName() string { // GetResourceName returns the value of the 'resource_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetResourceName() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -202,8 +174,6 @@ func (o *RelatedResource) GetResourceName() (value string, ok bool) { // ResourceType returns the value of the 'resource_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RelatedResource) ResourceType() string { if o != nil && o.bitmap_&128 != 0 { return o.resourceType @@ -213,8 +183,6 @@ func (o *RelatedResource) ResourceType() string { // GetResourceType returns the value of the 'resource_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RelatedResource) GetResourceType() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_builder.go index b4660c392..f659a4987 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_builder.go @@ -24,8 +24,6 @@ import ( ) // ReservedResourceBuilder contains the data and logic needed to build 'reserved_resource' objects. -// -// type ReservedResourceBuilder struct { bitmap_ uint32 availabilityZoneType string @@ -44,8 +42,6 @@ func NewReservedResource() *ReservedResourceBuilder { } // BYOC sets the value of the 'BYOC' attribute to the given value. -// -// func (b *ReservedResourceBuilder) BYOC(value bool) *ReservedResourceBuilder { b.byoc = value b.bitmap_ |= 1 @@ -53,8 +49,6 @@ func (b *ReservedResourceBuilder) BYOC(value bool) *ReservedResourceBuilder { } // AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value. -// -// func (b *ReservedResourceBuilder) AvailabilityZoneType(value string) *ReservedResourceBuilder { b.availabilityZoneType = value b.bitmap_ |= 2 @@ -71,8 +65,6 @@ func (b *ReservedResourceBuilder) BillingModel(value BillingModel) *ReservedReso } // Count sets the value of the 'count' attribute to the given value. -// -// func (b *ReservedResourceBuilder) Count(value int) *ReservedResourceBuilder { b.count = value b.bitmap_ |= 8 @@ -80,8 +72,6 @@ func (b *ReservedResourceBuilder) Count(value int) *ReservedResourceBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *ReservedResourceBuilder) CreatedAt(value time.Time) *ReservedResourceBuilder { b.createdAt = value b.bitmap_ |= 16 @@ -89,8 +79,6 @@ func (b *ReservedResourceBuilder) CreatedAt(value time.Time) *ReservedResourceBu } // ResourceName sets the value of the 'resource_name' attribute to the given value. -// -// func (b *ReservedResourceBuilder) ResourceName(value string) *ReservedResourceBuilder { b.resourceName = value b.bitmap_ |= 32 @@ -98,8 +86,6 @@ func (b *ReservedResourceBuilder) ResourceName(value string) *ReservedResourceBu } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *ReservedResourceBuilder) ResourceType(value string) *ReservedResourceBuilder { b.resourceType = value b.bitmap_ |= 64 @@ -107,8 +93,6 @@ func (b *ReservedResourceBuilder) ResourceType(value string) *ReservedResourceBu } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *ReservedResourceBuilder) UpdatedAt(value time.Time) *ReservedResourceBuilder { b.updatedAt = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_list_type_json.go index 8461d4bdf..69caef3b7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalReservedResourceList(source interface{}) (items []*ReservedResourc return } -// readReservedResourceList reads list of values of the ''reserved_resource' type from +// readReservedResourceList reads list of values of the ”reserved_resource' type from // the given iterator. func readReservedResourceList(iterator *jsoniter.Iterator) []*ReservedResource { list := []*ReservedResource{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_type.go index 7cbbb3a78..e78814263 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/reserved_resource_type.go @@ -24,8 +24,6 @@ import ( ) // ReservedResource represents the values of the 'reserved_resource' type. -// -// type ReservedResource struct { bitmap_ uint32 availabilityZoneType string @@ -45,8 +43,6 @@ func (o *ReservedResource) Empty() bool { // BYOC returns the value of the 'BYOC' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) BYOC() bool { if o != nil && o.bitmap_&1 != 0 { return o.byoc @@ -56,8 +52,6 @@ func (o *ReservedResource) BYOC() bool { // GetBYOC returns the value of the 'BYOC' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetBYOC() (value bool, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -68,8 +62,6 @@ func (o *ReservedResource) GetBYOC() (value bool, ok bool) { // AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) AvailabilityZoneType() string { if o != nil && o.bitmap_&2 != 0 { return o.availabilityZoneType @@ -79,8 +71,6 @@ func (o *ReservedResource) AvailabilityZoneType() string { // GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetAvailabilityZoneType() (value string, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -91,8 +81,6 @@ func (o *ReservedResource) GetAvailabilityZoneType() (value string, ok bool) { // BillingModel returns the value of the 'billing_model' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) BillingModel() BillingModel { if o != nil && o.bitmap_&4 != 0 { return o.billingModel @@ -102,8 +90,6 @@ func (o *ReservedResource) BillingModel() BillingModel { // GetBillingModel returns the value of the 'billing_model' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetBillingModel() (value BillingModel, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -114,8 +100,6 @@ func (o *ReservedResource) GetBillingModel() (value BillingModel, ok bool) { // Count returns the value of the 'count' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) Count() int { if o != nil && o.bitmap_&8 != 0 { return o.count @@ -125,8 +109,6 @@ func (o *ReservedResource) Count() int { // GetCount returns the value of the 'count' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetCount() (value int, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -137,8 +119,6 @@ func (o *ReservedResource) GetCount() (value int, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) CreatedAt() time.Time { if o != nil && o.bitmap_&16 != 0 { return o.createdAt @@ -148,8 +128,6 @@ func (o *ReservedResource) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -160,8 +138,6 @@ func (o *ReservedResource) GetCreatedAt() (value time.Time, ok bool) { // ResourceName returns the value of the 'resource_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) ResourceName() string { if o != nil && o.bitmap_&32 != 0 { return o.resourceName @@ -171,8 +147,6 @@ func (o *ReservedResource) ResourceName() string { // GetResourceName returns the value of the 'resource_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetResourceName() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -183,8 +157,6 @@ func (o *ReservedResource) GetResourceName() (value string, ok bool) { // ResourceType returns the value of the 'resource_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) ResourceType() string { if o != nil && o.bitmap_&64 != 0 { return o.resourceType @@ -194,8 +166,6 @@ func (o *ReservedResource) ResourceType() string { // GetResourceType returns the value of the 'resource_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetResourceType() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -206,8 +176,6 @@ func (o *ReservedResource) GetResourceType() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ReservedResource) UpdatedAt() time.Time { if o != nil && o.bitmap_&128 != 0 { return o.updatedAt @@ -217,8 +185,6 @@ func (o *ReservedResource) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ReservedResource) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_builder.go index ae5d1c7a5..6ba6f9861 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_builder.go @@ -60,8 +60,6 @@ func (b *ResourceBuilder) HREF(value string) *ResourceBuilder { } // BYOC sets the value of the 'BYOC' attribute to the given value. -// -// func (b *ResourceBuilder) BYOC(value bool) *ResourceBuilder { b.byoc = value b.bitmap_ |= 8 @@ -69,8 +67,6 @@ func (b *ResourceBuilder) BYOC(value bool) *ResourceBuilder { } // SKU sets the value of the 'SKU' attribute to the given value. -// -// func (b *ResourceBuilder) SKU(value string) *ResourceBuilder { b.sku = value b.bitmap_ |= 16 @@ -78,8 +74,6 @@ func (b *ResourceBuilder) SKU(value string) *ResourceBuilder { } // Allowed sets the value of the 'allowed' attribute to the given value. -// -// func (b *ResourceBuilder) Allowed(value int) *ResourceBuilder { b.allowed = value b.bitmap_ |= 32 @@ -87,8 +81,6 @@ func (b *ResourceBuilder) Allowed(value int) *ResourceBuilder { } // AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value. -// -// func (b *ResourceBuilder) AvailabilityZoneType(value string) *ResourceBuilder { b.availabilityZoneType = value b.bitmap_ |= 64 @@ -96,8 +88,6 @@ func (b *ResourceBuilder) AvailabilityZoneType(value string) *ResourceBuilder { } // ResourceName sets the value of the 'resource_name' attribute to the given value. -// -// func (b *ResourceBuilder) ResourceName(value string) *ResourceBuilder { b.resourceName = value b.bitmap_ |= 128 @@ -105,8 +95,6 @@ func (b *ResourceBuilder) ResourceName(value string) *ResourceBuilder { } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *ResourceBuilder) ResourceType(value string) *ResourceBuilder { b.resourceType = value b.bitmap_ |= 256 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_list_type_json.go index 61c67973a..d293a6370 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalResourceList(source interface{}) (items []*Resource, err error) { return } -// readResourceList reads list of values of the ''resource' type from +// readResourceList reads list of values of the ”resource' type from // the given iterator. func readResourceList(iterator *jsoniter.Iterator) []*Resource { list := []*Resource{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_builder.go index d81344087..00fc7de38 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_builder.go @@ -24,8 +24,6 @@ import ( ) // ResourceQuotaBuilder contains the data and logic needed to build 'resource_quota' objects. -// -// type ResourceQuotaBuilder struct { bitmap_ uint32 id string @@ -64,8 +62,6 @@ func (b *ResourceQuotaBuilder) HREF(value string) *ResourceQuotaBuilder { } // SKU sets the value of the 'SKU' attribute to the given value. -// -// func (b *ResourceQuotaBuilder) SKU(value string) *ResourceQuotaBuilder { b.sku = value b.bitmap_ |= 8 @@ -73,8 +69,6 @@ func (b *ResourceQuotaBuilder) SKU(value string) *ResourceQuotaBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *ResourceQuotaBuilder) CreatedAt(value time.Time) *ResourceQuotaBuilder { b.createdAt = value b.bitmap_ |= 16 @@ -82,8 +76,6 @@ func (b *ResourceQuotaBuilder) CreatedAt(value time.Time) *ResourceQuotaBuilder } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *ResourceQuotaBuilder) OrganizationID(value string) *ResourceQuotaBuilder { b.organizationID = value b.bitmap_ |= 32 @@ -91,8 +83,6 @@ func (b *ResourceQuotaBuilder) OrganizationID(value string) *ResourceQuotaBuilde } // SkuCount sets the value of the 'sku_count' attribute to the given value. -// -// func (b *ResourceQuotaBuilder) SkuCount(value int) *ResourceQuotaBuilder { b.skuCount = value b.bitmap_ |= 64 @@ -100,8 +90,6 @@ func (b *ResourceQuotaBuilder) SkuCount(value int) *ResourceQuotaBuilder { } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *ResourceQuotaBuilder) Type(value string) *ResourceQuotaBuilder { b.type_ = value b.bitmap_ |= 128 @@ -109,8 +97,6 @@ func (b *ResourceQuotaBuilder) Type(value string) *ResourceQuotaBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *ResourceQuotaBuilder) UpdatedAt(value time.Time) *ResourceQuotaBuilder { b.updatedAt = value b.bitmap_ |= 256 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_client.go index 43d11cf7e..fcc157470 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_client.go @@ -180,16 +180,12 @@ func (r *ResourceQuotaPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ResourceQuotaPollResponse) Body() *ResourceQuota { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ResourceQuotaPollResponse) GetBody() (value *ResourceQuota, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *ResourceQuotaGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ResourceQuotaGetResponse) Body() *ResourceQuota { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *ResourceQuotaGetResponse) Body() *ResourceQuota { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ResourceQuotaGetResponse) GetBody() (value *ResourceQuota, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *ResourceQuotaUpdateRequest) Header(name string, value interface{}) *Res } // Body sets the value of the 'body' parameter. -// -// func (r *ResourceQuotaUpdateRequest) Body(value *ResourceQuota) *ResourceQuotaUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *ResourceQuotaUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ResourceQuotaUpdateResponse) Body() *ResourceQuota { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *ResourceQuotaUpdateResponse) Body() *ResourceQuota { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ResourceQuotaUpdateResponse) GetBody() (value *ResourceQuota, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_list_type_json.go index a6a2d9fed..01ea80fc3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalResourceQuotaList(source interface{}) (items []*ResourceQuota, err return } -// readResourceQuotaList reads list of values of the ''resource_quota' type from +// readResourceQuotaList reads list of values of the ”resource_quota' type from // the given iterator. func readResourceQuotaList(iterator *jsoniter.Iterator) []*ResourceQuota { list := []*ResourceQuota{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_server.go index a68feba10..2cb15da65 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_server.go @@ -74,8 +74,6 @@ type ResourceQuotaGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ResourceQuotaGetServerResponse) Body(value *ResourceQuota) *ResourceQuotaGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type ResourceQuotaUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *ResourceQuotaUpdateServerRequest) Body() *ResourceQuota { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *ResourceQuotaUpdateServerRequest) Body() *ResourceQuota { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ResourceQuotaUpdateServerRequest) GetBody() (value *ResourceQuota, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type ResourceQuotaUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ResourceQuotaUpdateServerResponse) Body(value *ResourceQuota) *ResourceQuotaUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_type.go index e30a37481..1d45a167d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_quota_type.go @@ -36,8 +36,6 @@ const ResourceQuotaLinkKind = "ResourceQuotaLink" const ResourceQuotaNilKind = "ResourceQuotaNil" // ResourceQuota represents the values of the 'resource_quota' type. -// -// type ResourceQuota struct { bitmap_ uint32 id string @@ -109,8 +107,6 @@ func (o *ResourceQuota) Empty() bool { // SKU returns the value of the 'SKU' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ResourceQuota) SKU() string { if o != nil && o.bitmap_&8 != 0 { return o.sku @@ -120,8 +116,6 @@ func (o *ResourceQuota) SKU() string { // GetSKU returns the value of the 'SKU' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ResourceQuota) GetSKU() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -132,8 +126,6 @@ func (o *ResourceQuota) GetSKU() (value string, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ResourceQuota) CreatedAt() time.Time { if o != nil && o.bitmap_&16 != 0 { return o.createdAt @@ -143,8 +135,6 @@ func (o *ResourceQuota) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ResourceQuota) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -155,8 +145,6 @@ func (o *ResourceQuota) GetCreatedAt() (value time.Time, ok bool) { // OrganizationID returns the value of the 'organization_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ResourceQuota) OrganizationID() string { if o != nil && o.bitmap_&32 != 0 { return o.organizationID @@ -166,8 +154,6 @@ func (o *ResourceQuota) OrganizationID() string { // GetOrganizationID returns the value of the 'organization_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ResourceQuota) GetOrganizationID() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -178,8 +164,6 @@ func (o *ResourceQuota) GetOrganizationID() (value string, ok bool) { // SkuCount returns the value of the 'sku_count' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ResourceQuota) SkuCount() int { if o != nil && o.bitmap_&64 != 0 { return o.skuCount @@ -189,8 +173,6 @@ func (o *ResourceQuota) SkuCount() int { // GetSkuCount returns the value of the 'sku_count' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ResourceQuota) GetSkuCount() (value int, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -201,8 +183,6 @@ func (o *ResourceQuota) GetSkuCount() (value int, ok bool) { // Type returns the value of the 'type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ResourceQuota) Type() string { if o != nil && o.bitmap_&128 != 0 { return o.type_ @@ -212,8 +192,6 @@ func (o *ResourceQuota) Type() string { // GetType returns the value of the 'type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ResourceQuota) GetType() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -224,8 +202,6 @@ func (o *ResourceQuota) GetType() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ResourceQuota) UpdatedAt() time.Time { if o != nil && o.bitmap_&256 != 0 { return o.updatedAt @@ -235,8 +211,6 @@ func (o *ResourceQuota) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ResourceQuota) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_type.go index def43349d..f9ac28396 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/resource_type.go @@ -105,8 +105,6 @@ func (o *Resource) Empty() bool { // BYOC returns the value of the 'BYOC' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Resource) BYOC() bool { if o != nil && o.bitmap_&8 != 0 { return o.byoc @@ -116,8 +114,6 @@ func (o *Resource) BYOC() bool { // GetBYOC returns the value of the 'BYOC' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Resource) GetBYOC() (value bool, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -128,8 +124,6 @@ func (o *Resource) GetBYOC() (value bool, ok bool) { // SKU returns the value of the 'SKU' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Resource) SKU() string { if o != nil && o.bitmap_&16 != 0 { return o.sku @@ -139,8 +133,6 @@ func (o *Resource) SKU() string { // GetSKU returns the value of the 'SKU' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Resource) GetSKU() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -174,8 +166,6 @@ func (o *Resource) GetAllowed() (value int, ok bool) { // AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Resource) AvailabilityZoneType() string { if o != nil && o.bitmap_&64 != 0 { return o.availabilityZoneType @@ -185,8 +175,6 @@ func (o *Resource) AvailabilityZoneType() string { // GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Resource) GetAvailabilityZoneType() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -220,8 +208,6 @@ func (o *Resource) GetResourceName() (value string, ok bool) { // ResourceType returns the value of the 'resource_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Resource) ResourceType() string { if o != nil && o.bitmap_&256 != 0 { return o.resourceType @@ -231,8 +217,6 @@ func (o *Resource) ResourceType() string { // GetResourceType returns the value of the 'resource_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Resource) GetResourceType() (value string, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_builder.go index cab3491bd..ebe5bd2e5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_builder.go @@ -24,8 +24,6 @@ import ( ) // RoleBindingBuilder contains the data and logic needed to build 'role_binding' objects. -// -// type RoleBindingBuilder struct { bitmap_ uint32 id string @@ -70,8 +68,6 @@ func (b *RoleBindingBuilder) HREF(value string) *RoleBindingBuilder { } // Account sets the value of the 'account' attribute to the given value. -// -// func (b *RoleBindingBuilder) Account(value *AccountBuilder) *RoleBindingBuilder { b.account = value if value != nil { @@ -83,8 +79,6 @@ func (b *RoleBindingBuilder) Account(value *AccountBuilder) *RoleBindingBuilder } // AccountID sets the value of the 'account_ID' attribute to the given value. -// -// func (b *RoleBindingBuilder) AccountID(value string) *RoleBindingBuilder { b.accountID = value b.bitmap_ |= 16 @@ -92,8 +86,6 @@ func (b *RoleBindingBuilder) AccountID(value string) *RoleBindingBuilder { } // ConfigManaged sets the value of the 'config_managed' attribute to the given value. -// -// func (b *RoleBindingBuilder) ConfigManaged(value bool) *RoleBindingBuilder { b.configManaged = value b.bitmap_ |= 32 @@ -101,8 +93,6 @@ func (b *RoleBindingBuilder) ConfigManaged(value bool) *RoleBindingBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *RoleBindingBuilder) CreatedAt(value time.Time) *RoleBindingBuilder { b.createdAt = value b.bitmap_ |= 64 @@ -110,8 +100,6 @@ func (b *RoleBindingBuilder) CreatedAt(value time.Time) *RoleBindingBuilder { } // Organization sets the value of the 'organization' attribute to the given value. -// -// func (b *RoleBindingBuilder) Organization(value *OrganizationBuilder) *RoleBindingBuilder { b.organization = value if value != nil { @@ -123,8 +111,6 @@ func (b *RoleBindingBuilder) Organization(value *OrganizationBuilder) *RoleBindi } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *RoleBindingBuilder) OrganizationID(value string) *RoleBindingBuilder { b.organizationID = value b.bitmap_ |= 256 @@ -132,8 +118,6 @@ func (b *RoleBindingBuilder) OrganizationID(value string) *RoleBindingBuilder { } // Role sets the value of the 'role' attribute to the given value. -// -// func (b *RoleBindingBuilder) Role(value *RoleBuilder) *RoleBindingBuilder { b.role = value if value != nil { @@ -145,8 +129,6 @@ func (b *RoleBindingBuilder) Role(value *RoleBuilder) *RoleBindingBuilder { } // RoleID sets the value of the 'role_ID' attribute to the given value. -// -// func (b *RoleBindingBuilder) RoleID(value string) *RoleBindingBuilder { b.roleID = value b.bitmap_ |= 1024 @@ -154,8 +136,6 @@ func (b *RoleBindingBuilder) RoleID(value string) *RoleBindingBuilder { } // Subscription sets the value of the 'subscription' attribute to the given value. -// -// func (b *RoleBindingBuilder) Subscription(value *SubscriptionBuilder) *RoleBindingBuilder { b.subscription = value if value != nil { @@ -167,8 +147,6 @@ func (b *RoleBindingBuilder) Subscription(value *SubscriptionBuilder) *RoleBindi } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *RoleBindingBuilder) SubscriptionID(value string) *RoleBindingBuilder { b.subscriptionID = value b.bitmap_ |= 4096 @@ -176,8 +154,6 @@ func (b *RoleBindingBuilder) SubscriptionID(value string) *RoleBindingBuilder { } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *RoleBindingBuilder) Type(value string) *RoleBindingBuilder { b.type_ = value b.bitmap_ |= 8192 @@ -185,8 +161,6 @@ func (b *RoleBindingBuilder) Type(value string) *RoleBindingBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *RoleBindingBuilder) UpdatedAt(value time.Time) *RoleBindingBuilder { b.updatedAt = value b.bitmap_ |= 16384 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_client.go index 6440f1ad1..cd717bc4d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_client.go @@ -180,16 +180,12 @@ func (r *RoleBindingPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RoleBindingPollResponse) Body() *RoleBinding { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RoleBindingPollResponse) GetBody() (value *RoleBinding, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *RoleBindingGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RoleBindingGetResponse) Body() *RoleBinding { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *RoleBindingGetResponse) Body() *RoleBinding { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RoleBindingGetResponse) GetBody() (value *RoleBinding, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *RoleBindingUpdateRequest) Header(name string, value interface{}) *RoleB } // Body sets the value of the 'body' parameter. -// -// func (r *RoleBindingUpdateRequest) Body(value *RoleBinding) *RoleBindingUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *RoleBindingUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RoleBindingUpdateResponse) Body() *RoleBinding { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *RoleBindingUpdateResponse) Body() *RoleBinding { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RoleBindingUpdateResponse) GetBody() (value *RoleBinding, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_list_type_json.go index 50c9ae152..12dd4edd0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalRoleBindingList(source interface{}) (items []*RoleBinding, err err return } -// readRoleBindingList reads list of values of the ''role_binding' type from +// readRoleBindingList reads list of values of the ”role_binding' type from // the given iterator. func readRoleBindingList(iterator *jsoniter.Iterator) []*RoleBinding { list := []*RoleBinding{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_server.go index 340d40c9a..23783b741 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_server.go @@ -74,8 +74,6 @@ type RoleBindingGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *RoleBindingGetServerResponse) Body(value *RoleBinding) *RoleBindingGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type RoleBindingUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *RoleBindingUpdateServerRequest) Body() *RoleBinding { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *RoleBindingUpdateServerRequest) Body() *RoleBinding { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RoleBindingUpdateServerRequest) GetBody() (value *RoleBinding, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type RoleBindingUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *RoleBindingUpdateServerResponse) Body(value *RoleBinding) *RoleBindingUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_type.go index 447b8ed7b..47c850263 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_binding_type.go @@ -36,8 +36,6 @@ const RoleBindingLinkKind = "RoleBindingLink" const RoleBindingNilKind = "RoleBindingNil" // RoleBinding represents the values of the 'role_binding' type. -// -// type RoleBinding struct { bitmap_ uint32 id string @@ -115,8 +113,6 @@ func (o *RoleBinding) Empty() bool { // Account returns the value of the 'account' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) Account() *Account { if o != nil && o.bitmap_&8 != 0 { return o.account @@ -126,8 +122,6 @@ func (o *RoleBinding) Account() *Account { // GetAccount returns the value of the 'account' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetAccount() (value *Account, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -138,8 +132,6 @@ func (o *RoleBinding) GetAccount() (value *Account, ok bool) { // AccountID returns the value of the 'account_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) AccountID() string { if o != nil && o.bitmap_&16 != 0 { return o.accountID @@ -149,8 +141,6 @@ func (o *RoleBinding) AccountID() string { // GetAccountID returns the value of the 'account_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetAccountID() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -161,8 +151,6 @@ func (o *RoleBinding) GetAccountID() (value string, ok bool) { // ConfigManaged returns the value of the 'config_managed' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) ConfigManaged() bool { if o != nil && o.bitmap_&32 != 0 { return o.configManaged @@ -172,8 +160,6 @@ func (o *RoleBinding) ConfigManaged() bool { // GetConfigManaged returns the value of the 'config_managed' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetConfigManaged() (value bool, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -184,8 +170,6 @@ func (o *RoleBinding) GetConfigManaged() (value bool, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) CreatedAt() time.Time { if o != nil && o.bitmap_&64 != 0 { return o.createdAt @@ -195,8 +179,6 @@ func (o *RoleBinding) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -207,8 +189,6 @@ func (o *RoleBinding) GetCreatedAt() (value time.Time, ok bool) { // Organization returns the value of the 'organization' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) Organization() *Organization { if o != nil && o.bitmap_&128 != 0 { return o.organization @@ -218,8 +198,6 @@ func (o *RoleBinding) Organization() *Organization { // GetOrganization returns the value of the 'organization' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetOrganization() (value *Organization, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -230,8 +208,6 @@ func (o *RoleBinding) GetOrganization() (value *Organization, ok bool) { // OrganizationID returns the value of the 'organization_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) OrganizationID() string { if o != nil && o.bitmap_&256 != 0 { return o.organizationID @@ -241,8 +217,6 @@ func (o *RoleBinding) OrganizationID() string { // GetOrganizationID returns the value of the 'organization_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetOrganizationID() (value string, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -253,8 +227,6 @@ func (o *RoleBinding) GetOrganizationID() (value string, ok bool) { // Role returns the value of the 'role' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) Role() *Role { if o != nil && o.bitmap_&512 != 0 { return o.role @@ -264,8 +236,6 @@ func (o *RoleBinding) Role() *Role { // GetRole returns the value of the 'role' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetRole() (value *Role, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { @@ -276,8 +246,6 @@ func (o *RoleBinding) GetRole() (value *Role, ok bool) { // RoleID returns the value of the 'role_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) RoleID() string { if o != nil && o.bitmap_&1024 != 0 { return o.roleID @@ -287,8 +255,6 @@ func (o *RoleBinding) RoleID() string { // GetRoleID returns the value of the 'role_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetRoleID() (value string, ok bool) { ok = o != nil && o.bitmap_&1024 != 0 if ok { @@ -299,8 +265,6 @@ func (o *RoleBinding) GetRoleID() (value string, ok bool) { // Subscription returns the value of the 'subscription' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) Subscription() *Subscription { if o != nil && o.bitmap_&2048 != 0 { return o.subscription @@ -310,8 +274,6 @@ func (o *RoleBinding) Subscription() *Subscription { // GetSubscription returns the value of the 'subscription' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetSubscription() (value *Subscription, ok bool) { ok = o != nil && o.bitmap_&2048 != 0 if ok { @@ -322,8 +284,6 @@ func (o *RoleBinding) GetSubscription() (value *Subscription, ok bool) { // SubscriptionID returns the value of the 'subscription_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) SubscriptionID() string { if o != nil && o.bitmap_&4096 != 0 { return o.subscriptionID @@ -333,8 +293,6 @@ func (o *RoleBinding) SubscriptionID() string { // GetSubscriptionID returns the value of the 'subscription_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetSubscriptionID() (value string, ok bool) { ok = o != nil && o.bitmap_&4096 != 0 if ok { @@ -345,8 +303,6 @@ func (o *RoleBinding) GetSubscriptionID() (value string, ok bool) { // Type returns the value of the 'type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) Type() string { if o != nil && o.bitmap_&8192 != 0 { return o.type_ @@ -356,8 +312,6 @@ func (o *RoleBinding) Type() string { // GetType returns the value of the 'type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetType() (value string, ok bool) { ok = o != nil && o.bitmap_&8192 != 0 if ok { @@ -368,8 +322,6 @@ func (o *RoleBinding) GetType() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *RoleBinding) UpdatedAt() time.Time { if o != nil && o.bitmap_&16384 != 0 { return o.updatedAt @@ -379,8 +331,6 @@ func (o *RoleBinding) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *RoleBinding) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&16384 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_builder.go index 28f0e746a..908dc7f8f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // RoleBuilder contains the data and logic needed to build 'role' objects. -// -// type RoleBuilder struct { bitmap_ uint32 id string @@ -56,8 +54,6 @@ func (b *RoleBuilder) HREF(value string) *RoleBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *RoleBuilder) Name(value string) *RoleBuilder { b.name = value b.bitmap_ |= 8 @@ -65,8 +61,6 @@ func (b *RoleBuilder) Name(value string) *RoleBuilder { } // Permissions sets the value of the 'permissions' attribute to the given values. -// -// func (b *RoleBuilder) Permissions(values ...*PermissionBuilder) *RoleBuilder { b.permissions = make([]*PermissionBuilder, len(values)) copy(b.permissions, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_client.go index d5a14d0fc..efc3b8b70 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_client.go @@ -180,16 +180,12 @@ func (r *RolePollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RolePollResponse) Body() *Role { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RolePollResponse) GetBody() (value *Role, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *RoleGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RoleGetResponse) Body() *Role { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *RoleGetResponse) Body() *Role { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RoleGetResponse) GetBody() (value *Role, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *RoleUpdateRequest) Header(name string, value interface{}) *RoleUpdateRe } // Body sets the value of the 'body' parameter. -// -// func (r *RoleUpdateRequest) Body(value *Role) *RoleUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *RoleUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *RoleUpdateResponse) Body() *Role { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *RoleUpdateResponse) Body() *Role { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RoleUpdateResponse) GetBody() (value *Role, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_list_type_json.go index ca3b5135f..e2ee478ca 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalRoleList(source interface{}) (items []*Role, err error) { return } -// readRoleList reads list of values of the ''role' type from +// readRoleList reads list of values of the ”role' type from // the given iterator. func readRoleList(iterator *jsoniter.Iterator) []*Role { list := []*Role{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_server.go index 33ff0052b..c90dbacbe 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_server.go @@ -74,8 +74,6 @@ type RoleGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *RoleGetServerResponse) Body(value *Role) *RoleGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type RoleUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *RoleUpdateServerRequest) Body() *Role { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *RoleUpdateServerRequest) Body() *Role { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *RoleUpdateServerRequest) GetBody() (value *Role, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type RoleUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *RoleUpdateServerResponse) Body(value *Role) *RoleUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_type.go index f5996c9a6..352e66191 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/role_type.go @@ -32,8 +32,6 @@ const RoleLinkKind = "RoleLink" const RoleNilKind = "RoleNil" // Role represents the values of the 'role' type. -// -// type Role struct { bitmap_ uint32 id string @@ -101,8 +99,6 @@ func (o *Role) Empty() bool { // Name returns the value of the 'name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Role) Name() string { if o != nil && o.bitmap_&8 != 0 { return o.name @@ -112,8 +108,6 @@ func (o *Role) Name() string { // GetName returns the value of the 'name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Role) GetName() (value string, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -124,8 +118,6 @@ func (o *Role) GetName() (value string, ok bool) { // Permissions returns the value of the 'permissions' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Role) Permissions() []*Permission { if o != nil && o.bitmap_&16 != 0 { return o.permissions @@ -135,8 +127,6 @@ func (o *Role) Permissions() []*Permission { // GetPermissions returns the value of the 'permissions' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Role) GetPermissions() (value []*Permission, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_builder.go index 3eeda3a89..104e6cc5b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_builder.go @@ -59,8 +59,6 @@ func (b *SKUBuilder) HREF(value string) *SKUBuilder { } // BYOC sets the value of the 'BYOC' attribute to the given value. -// -// func (b *SKUBuilder) BYOC(value bool) *SKUBuilder { b.byoc = value b.bitmap_ |= 8 @@ -68,8 +66,6 @@ func (b *SKUBuilder) BYOC(value bool) *SKUBuilder { } // AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value. -// -// func (b *SKUBuilder) AvailabilityZoneType(value string) *SKUBuilder { b.availabilityZoneType = value b.bitmap_ |= 16 @@ -77,8 +73,6 @@ func (b *SKUBuilder) AvailabilityZoneType(value string) *SKUBuilder { } // ResourceName sets the value of the 'resource_name' attribute to the given value. -// -// func (b *SKUBuilder) ResourceName(value string) *SKUBuilder { b.resourceName = value b.bitmap_ |= 32 @@ -86,8 +80,6 @@ func (b *SKUBuilder) ResourceName(value string) *SKUBuilder { } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *SKUBuilder) ResourceType(value string) *SKUBuilder { b.resourceType = value b.bitmap_ |= 64 @@ -95,8 +87,6 @@ func (b *SKUBuilder) ResourceType(value string) *SKUBuilder { } // Resources sets the value of the 'resources' attribute to the given values. -// -// func (b *SKUBuilder) Resources(values ...*ResourceBuilder) *SKUBuilder { b.resources = make([]*ResourceBuilder, len(values)) copy(b.resources, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_client.go index 5bb3ff525..819aa6b30 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_client.go @@ -156,16 +156,12 @@ func (r *SKUPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SKUPollResponse) Body() *SKU { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SKUPollResponse) GetBody() (value *SKU, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *SKUGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SKUGetResponse) Body() *SKU { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *SKUGetResponse) Body() *SKU { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SKUGetResponse) GetBody() (value *SKU, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_list_type_json.go index 93e1d76de..73aa2d482 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSKUList(source interface{}) (items []*SKU, err error) { return } -// readSKUList reads list of values of the ''SKU' type from +// readSKUList reads list of values of the ”SKU' type from // the given iterator. func readSKUList(iterator *jsoniter.Iterator) []*SKU { list := []*SKU{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_builder.go index a3be0420a..c14fa8b45 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_builder.go @@ -57,8 +57,6 @@ func (b *SkuRuleBuilder) HREF(value string) *SkuRuleBuilder { } // Allowed sets the value of the 'allowed' attribute to the given value. -// -// func (b *SkuRuleBuilder) Allowed(value int) *SkuRuleBuilder { b.allowed = value b.bitmap_ |= 8 @@ -66,8 +64,6 @@ func (b *SkuRuleBuilder) Allowed(value int) *SkuRuleBuilder { } // QuotaId sets the value of the 'quota_id' attribute to the given value. -// -// func (b *SkuRuleBuilder) QuotaId(value string) *SkuRuleBuilder { b.quotaId = value b.bitmap_ |= 16 @@ -75,8 +71,6 @@ func (b *SkuRuleBuilder) QuotaId(value string) *SkuRuleBuilder { } // Sku sets the value of the 'sku' attribute to the given value. -// -// func (b *SkuRuleBuilder) Sku(value string) *SkuRuleBuilder { b.sku = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_client.go index b0c5b20b3..c36103717 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_client.go @@ -156,16 +156,12 @@ func (r *SkuRulePollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SkuRulePollResponse) Body() *SkuRule { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SkuRulePollResponse) GetBody() (value *SkuRule, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *SkuRuleGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SkuRuleGetResponse) Body() *SkuRule { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *SkuRuleGetResponse) Body() *SkuRule { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SkuRuleGetResponse) GetBody() (value *SkuRule, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_list_type_json.go index 4b29e2274..a9a1fe63a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSkuRuleList(source interface{}) (items []*SkuRule, err error) { return } -// readSkuRuleList reads list of values of the ''sku_rule' type from +// readSkuRuleList reads list of values of the ”sku_rule' type from // the given iterator. func readSkuRuleList(iterator *jsoniter.Iterator) []*SkuRule { list := []*SkuRule{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_server.go index 33e771a06..c54af319f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_rule_server.go @@ -48,8 +48,6 @@ type SkuRuleGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SkuRuleGetServerResponse) Body(value *SkuRule) *SkuRuleGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_server.go index 1a885b53d..0325956be 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_server.go @@ -48,8 +48,6 @@ type SKUGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SKUGetServerResponse) Body(value *SKU) *SKUGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_type.go index 1fbc307e8..6e74499b4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/sku_type.go @@ -104,8 +104,6 @@ func (o *SKU) Empty() bool { // BYOC returns the value of the 'BYOC' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SKU) BYOC() bool { if o != nil && o.bitmap_&8 != 0 { return o.byoc @@ -115,8 +113,6 @@ func (o *SKU) BYOC() bool { // GetBYOC returns the value of the 'BYOC' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SKU) GetBYOC() (value bool, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -127,8 +123,6 @@ func (o *SKU) GetBYOC() (value bool, ok bool) { // AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SKU) AvailabilityZoneType() string { if o != nil && o.bitmap_&16 != 0 { return o.availabilityZoneType @@ -138,8 +132,6 @@ func (o *SKU) AvailabilityZoneType() string { // GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SKU) GetAvailabilityZoneType() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -173,8 +165,6 @@ func (o *SKU) GetResourceName() (value string, ok bool) { // ResourceType returns the value of the 'resource_type' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SKU) ResourceType() string { if o != nil && o.bitmap_&64 != 0 { return o.resourceType @@ -184,8 +174,6 @@ func (o *SKU) ResourceType() string { // GetResourceType returns the value of the 'resource_type' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SKU) GetResourceType() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -196,8 +184,6 @@ func (o *SKU) GetResourceType() (value string, ok bool) { // Resources returns the value of the 'resources' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SKU) Resources() []*Resource { if o != nil && o.bitmap_&128 != 0 { return o.resources @@ -207,8 +193,6 @@ func (o *SKU) Resources() []*Resource { // GetResources returns the value of the 'resources' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SKU) GetResources() (value []*Resource, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/string_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/string_list_type_json.go index 99069fe91..98147add0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/string_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/string_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalStringList(source interface{}) (items []string, err error) { return } -// readStringList reads list of values of the ''string' type from +// readStringList reads list of values of the ”string' type from // the given iterator. func readStringList(iterator *jsoniter.Iterator) []string { list := []string{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_builder.go index 2930184af..ff3c26a50 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_builder.go @@ -24,8 +24,6 @@ import ( ) // SubscriptionBuilder contains the data and logic needed to build 'subscription' objects. -// -// type SubscriptionBuilder struct { bitmap_ uint64 id string @@ -91,8 +89,6 @@ func (b *SubscriptionBuilder) HREF(value string) *SubscriptionBuilder { } // Capabilities sets the value of the 'capabilities' attribute to the given values. -// -// func (b *SubscriptionBuilder) Capabilities(values ...*CapabilityBuilder) *SubscriptionBuilder { b.capabilities = make([]*CapabilityBuilder, len(values)) copy(b.capabilities, values) @@ -101,8 +97,6 @@ func (b *SubscriptionBuilder) Capabilities(values ...*CapabilityBuilder) *Subscr } // CloudAccountID sets the value of the 'cloud_account_ID' attribute to the given value. -// -// func (b *SubscriptionBuilder) CloudAccountID(value string) *SubscriptionBuilder { b.cloudAccountID = value b.bitmap_ |= 16 @@ -110,8 +104,6 @@ func (b *SubscriptionBuilder) CloudAccountID(value string) *SubscriptionBuilder } // CloudProviderID sets the value of the 'cloud_provider_ID' attribute to the given value. -// -// func (b *SubscriptionBuilder) CloudProviderID(value string) *SubscriptionBuilder { b.cloudProviderID = value b.bitmap_ |= 32 @@ -119,8 +111,6 @@ func (b *SubscriptionBuilder) CloudProviderID(value string) *SubscriptionBuilder } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *SubscriptionBuilder) ClusterID(value string) *SubscriptionBuilder { b.clusterID = value b.bitmap_ |= 64 @@ -137,8 +127,6 @@ func (b *SubscriptionBuilder) ClusterBillingModel(value BillingModel) *Subscript } // ConsoleURL sets the value of the 'console_URL' attribute to the given value. -// -// func (b *SubscriptionBuilder) ConsoleURL(value string) *SubscriptionBuilder { b.consoleURL = value b.bitmap_ |= 256 @@ -146,8 +134,6 @@ func (b *SubscriptionBuilder) ConsoleURL(value string) *SubscriptionBuilder { } // ConsumerUUID sets the value of the 'consumer_UUID' attribute to the given value. -// -// func (b *SubscriptionBuilder) ConsumerUUID(value string) *SubscriptionBuilder { b.consumerUUID = value b.bitmap_ |= 512 @@ -155,8 +141,6 @@ func (b *SubscriptionBuilder) ConsumerUUID(value string) *SubscriptionBuilder { } // CpuTotal sets the value of the 'cpu_total' attribute to the given value. -// -// func (b *SubscriptionBuilder) CpuTotal(value int) *SubscriptionBuilder { b.cpuTotal = value b.bitmap_ |= 1024 @@ -164,8 +148,6 @@ func (b *SubscriptionBuilder) CpuTotal(value int) *SubscriptionBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *SubscriptionBuilder) CreatedAt(value time.Time) *SubscriptionBuilder { b.createdAt = value b.bitmap_ |= 2048 @@ -173,8 +155,6 @@ func (b *SubscriptionBuilder) CreatedAt(value time.Time) *SubscriptionBuilder { } // Creator sets the value of the 'creator' attribute to the given value. -// -// func (b *SubscriptionBuilder) Creator(value *AccountBuilder) *SubscriptionBuilder { b.creator = value if value != nil { @@ -186,8 +166,6 @@ func (b *SubscriptionBuilder) Creator(value *AccountBuilder) *SubscriptionBuilde } // DisplayName sets the value of the 'display_name' attribute to the given value. -// -// func (b *SubscriptionBuilder) DisplayName(value string) *SubscriptionBuilder { b.displayName = value b.bitmap_ |= 8192 @@ -195,8 +173,6 @@ func (b *SubscriptionBuilder) DisplayName(value string) *SubscriptionBuilder { } // ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value. -// -// func (b *SubscriptionBuilder) ExternalClusterID(value string) *SubscriptionBuilder { b.externalClusterID = value b.bitmap_ |= 16384 @@ -204,8 +180,6 @@ func (b *SubscriptionBuilder) ExternalClusterID(value string) *SubscriptionBuild } // Labels sets the value of the 'labels' attribute to the given values. -// -// func (b *SubscriptionBuilder) Labels(values ...*LabelBuilder) *SubscriptionBuilder { b.labels = make([]*LabelBuilder, len(values)) copy(b.labels, values) @@ -214,8 +188,6 @@ func (b *SubscriptionBuilder) Labels(values ...*LabelBuilder) *SubscriptionBuild } // LastReconcileDate sets the value of the 'last_reconcile_date' attribute to the given value. -// -// func (b *SubscriptionBuilder) LastReconcileDate(value time.Time) *SubscriptionBuilder { b.lastReconcileDate = value b.bitmap_ |= 65536 @@ -223,8 +195,6 @@ func (b *SubscriptionBuilder) LastReconcileDate(value time.Time) *SubscriptionBu } // LastReleasedAt sets the value of the 'last_released_at' attribute to the given value. -// -// func (b *SubscriptionBuilder) LastReleasedAt(value time.Time) *SubscriptionBuilder { b.lastReleasedAt = value b.bitmap_ |= 131072 @@ -232,8 +202,6 @@ func (b *SubscriptionBuilder) LastReleasedAt(value time.Time) *SubscriptionBuild } // LastTelemetryDate sets the value of the 'last_telemetry_date' attribute to the given value. -// -// func (b *SubscriptionBuilder) LastTelemetryDate(value time.Time) *SubscriptionBuilder { b.lastTelemetryDate = value b.bitmap_ |= 262144 @@ -241,8 +209,6 @@ func (b *SubscriptionBuilder) LastTelemetryDate(value time.Time) *SubscriptionBu } // Managed sets the value of the 'managed' attribute to the given value. -// -// func (b *SubscriptionBuilder) Managed(value bool) *SubscriptionBuilder { b.managed = value b.bitmap_ |= 524288 @@ -250,8 +216,6 @@ func (b *SubscriptionBuilder) Managed(value bool) *SubscriptionBuilder { } // Metrics sets the value of the 'metrics' attribute to the given values. -// -// func (b *SubscriptionBuilder) Metrics(values ...*SubscriptionMetricsBuilder) *SubscriptionBuilder { b.metrics = make([]*SubscriptionMetricsBuilder, len(values)) copy(b.metrics, values) @@ -260,8 +224,6 @@ func (b *SubscriptionBuilder) Metrics(values ...*SubscriptionMetricsBuilder) *Su } // NotificationContacts sets the value of the 'notification_contacts' attribute to the given values. -// -// func (b *SubscriptionBuilder) NotificationContacts(values ...*AccountBuilder) *SubscriptionBuilder { b.notificationContacts = make([]*AccountBuilder, len(values)) copy(b.notificationContacts, values) @@ -270,8 +232,6 @@ func (b *SubscriptionBuilder) NotificationContacts(values ...*AccountBuilder) *S } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *SubscriptionBuilder) OrganizationID(value string) *SubscriptionBuilder { b.organizationID = value b.bitmap_ |= 4194304 @@ -279,8 +239,6 @@ func (b *SubscriptionBuilder) OrganizationID(value string) *SubscriptionBuilder } // Plan sets the value of the 'plan' attribute to the given value. -// -// func (b *SubscriptionBuilder) Plan(value *PlanBuilder) *SubscriptionBuilder { b.plan = value if value != nil { @@ -292,8 +250,6 @@ func (b *SubscriptionBuilder) Plan(value *PlanBuilder) *SubscriptionBuilder { } // ProductBundle sets the value of the 'product_bundle' attribute to the given value. -// -// func (b *SubscriptionBuilder) ProductBundle(value string) *SubscriptionBuilder { b.productBundle = value b.bitmap_ |= 16777216 @@ -301,8 +257,6 @@ func (b *SubscriptionBuilder) ProductBundle(value string) *SubscriptionBuilder { } // Provenance sets the value of the 'provenance' attribute to the given value. -// -// func (b *SubscriptionBuilder) Provenance(value string) *SubscriptionBuilder { b.provenance = value b.bitmap_ |= 33554432 @@ -310,8 +264,6 @@ func (b *SubscriptionBuilder) Provenance(value string) *SubscriptionBuilder { } // RegionID sets the value of the 'region_ID' attribute to the given value. -// -// func (b *SubscriptionBuilder) RegionID(value string) *SubscriptionBuilder { b.regionID = value b.bitmap_ |= 67108864 @@ -319,8 +271,6 @@ func (b *SubscriptionBuilder) RegionID(value string) *SubscriptionBuilder { } // Released sets the value of the 'released' attribute to the given value. -// -// func (b *SubscriptionBuilder) Released(value bool) *SubscriptionBuilder { b.released = value b.bitmap_ |= 134217728 @@ -328,8 +278,6 @@ func (b *SubscriptionBuilder) Released(value bool) *SubscriptionBuilder { } // ServiceLevel sets the value of the 'service_level' attribute to the given value. -// -// func (b *SubscriptionBuilder) ServiceLevel(value string) *SubscriptionBuilder { b.serviceLevel = value b.bitmap_ |= 268435456 @@ -337,8 +285,6 @@ func (b *SubscriptionBuilder) ServiceLevel(value string) *SubscriptionBuilder { } // SocketTotal sets the value of the 'socket_total' attribute to the given value. -// -// func (b *SubscriptionBuilder) SocketTotal(value int) *SubscriptionBuilder { b.socketTotal = value b.bitmap_ |= 536870912 @@ -346,8 +292,6 @@ func (b *SubscriptionBuilder) SocketTotal(value int) *SubscriptionBuilder { } // Status sets the value of the 'status' attribute to the given value. -// -// func (b *SubscriptionBuilder) Status(value string) *SubscriptionBuilder { b.status = value b.bitmap_ |= 1073741824 @@ -355,8 +299,6 @@ func (b *SubscriptionBuilder) Status(value string) *SubscriptionBuilder { } // SupportLevel sets the value of the 'support_level' attribute to the given value. -// -// func (b *SubscriptionBuilder) SupportLevel(value string) *SubscriptionBuilder { b.supportLevel = value b.bitmap_ |= 2147483648 @@ -364,8 +306,6 @@ func (b *SubscriptionBuilder) SupportLevel(value string) *SubscriptionBuilder { } // SystemUnits sets the value of the 'system_units' attribute to the given value. -// -// func (b *SubscriptionBuilder) SystemUnits(value string) *SubscriptionBuilder { b.systemUnits = value b.bitmap_ |= 4294967296 @@ -373,8 +313,6 @@ func (b *SubscriptionBuilder) SystemUnits(value string) *SubscriptionBuilder { } // TrialEndDate sets the value of the 'trial_end_date' attribute to the given value. -// -// func (b *SubscriptionBuilder) TrialEndDate(value time.Time) *SubscriptionBuilder { b.trialEndDate = value b.bitmap_ |= 8589934592 @@ -382,8 +320,6 @@ func (b *SubscriptionBuilder) TrialEndDate(value time.Time) *SubscriptionBuilder } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *SubscriptionBuilder) UpdatedAt(value time.Time) *SubscriptionBuilder { b.updatedAt = value b.bitmap_ |= 17179869184 @@ -391,8 +327,6 @@ func (b *SubscriptionBuilder) UpdatedAt(value time.Time) *SubscriptionBuilder { } // Usage sets the value of the 'usage' attribute to the given value. -// -// func (b *SubscriptionBuilder) Usage(value string) *SubscriptionBuilder { b.usage = value b.bitmap_ |= 34359738368 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_client.go index 9861590ec..71f39386f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_client.go @@ -212,16 +212,12 @@ func (r *SubscriptionPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SubscriptionPollResponse) Body() *Subscription { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SubscriptionPollResponse) GetBody() (value *Subscription, ok bool) { return r.response.GetBody() } @@ -428,8 +424,6 @@ func (r *SubscriptionGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SubscriptionGetResponse) Body() *Subscription { if r == nil { return nil @@ -439,8 +433,6 @@ func (r *SubscriptionGetResponse) Body() *Subscription { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SubscriptionGetResponse) GetBody() (value *Subscription, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_list_type_json.go index cd10dcc42..1dd3348c0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSubscriptionList(source interface{}) (items []*Subscription, err e return } -// readSubscriptionList reads list of values of the ''subscription' type from +// readSubscriptionList reads list of values of the ”subscription' type from // the given iterator. func readSubscriptionList(iterator *jsoniter.Iterator) []*Subscription { list := []*Subscription{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_builder.go index 2fe27db3f..8841ab5b5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_builder.go @@ -54,8 +54,6 @@ func NewSubscriptionMetrics() *SubscriptionMetricsBuilder { } // CloudProvider sets the value of the 'cloud_provider' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) CloudProvider(value string) *SubscriptionMetricsBuilder { b.cloudProvider = value b.bitmap_ |= 1 @@ -63,8 +61,6 @@ func (b *SubscriptionMetricsBuilder) CloudProvider(value string) *SubscriptionMe } // ComputeNodesCpu sets the value of the 'compute_nodes_cpu' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) ComputeNodesCpu(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder { b.computeNodesCpu = value if value != nil { @@ -76,8 +72,6 @@ func (b *SubscriptionMetricsBuilder) ComputeNodesCpu(value *ClusterResourceBuild } // ComputeNodesMemory sets the value of the 'compute_nodes_memory' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) ComputeNodesMemory(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder { b.computeNodesMemory = value if value != nil { @@ -89,8 +83,6 @@ func (b *SubscriptionMetricsBuilder) ComputeNodesMemory(value *ClusterResourceBu } // ComputeNodesSockets sets the value of the 'compute_nodes_sockets' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) ComputeNodesSockets(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder { b.computeNodesSockets = value if value != nil { @@ -102,8 +94,6 @@ func (b *SubscriptionMetricsBuilder) ComputeNodesSockets(value *ClusterResourceB } // ConsoleUrl sets the value of the 'console_url' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) ConsoleUrl(value string) *SubscriptionMetricsBuilder { b.consoleUrl = value b.bitmap_ |= 16 @@ -111,8 +101,6 @@ func (b *SubscriptionMetricsBuilder) ConsoleUrl(value string) *SubscriptionMetri } // Cpu sets the value of the 'cpu' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) Cpu(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder { b.cpu = value if value != nil { @@ -124,8 +112,6 @@ func (b *SubscriptionMetricsBuilder) Cpu(value *ClusterResourceBuilder) *Subscri } // CriticalAlertsFiring sets the value of the 'critical_alerts_firing' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) CriticalAlertsFiring(value float64) *SubscriptionMetricsBuilder { b.criticalAlertsFiring = value b.bitmap_ |= 64 @@ -133,8 +119,6 @@ func (b *SubscriptionMetricsBuilder) CriticalAlertsFiring(value float64) *Subscr } // HealthState sets the value of the 'health_state' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) HealthState(value string) *SubscriptionMetricsBuilder { b.healthState = value b.bitmap_ |= 128 @@ -142,8 +126,6 @@ func (b *SubscriptionMetricsBuilder) HealthState(value string) *SubscriptionMetr } // Memory sets the value of the 'memory' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) Memory(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder { b.memory = value if value != nil { @@ -155,8 +137,6 @@ func (b *SubscriptionMetricsBuilder) Memory(value *ClusterResourceBuilder) *Subs } // Nodes sets the value of the 'nodes' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) Nodes(value *ClusterMetricsNodesBuilder) *SubscriptionMetricsBuilder { b.nodes = value if value != nil { @@ -168,8 +148,6 @@ func (b *SubscriptionMetricsBuilder) Nodes(value *ClusterMetricsNodesBuilder) *S } // OpenshiftVersion sets the value of the 'openshift_version' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) OpenshiftVersion(value string) *SubscriptionMetricsBuilder { b.openshiftVersion = value b.bitmap_ |= 1024 @@ -177,8 +155,6 @@ func (b *SubscriptionMetricsBuilder) OpenshiftVersion(value string) *Subscriptio } // OperatingSystem sets the value of the 'operating_system' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) OperatingSystem(value string) *SubscriptionMetricsBuilder { b.operatingSystem = value b.bitmap_ |= 2048 @@ -186,8 +162,6 @@ func (b *SubscriptionMetricsBuilder) OperatingSystem(value string) *Subscription } // OperatorsConditionFailing sets the value of the 'operators_condition_failing' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) OperatorsConditionFailing(value float64) *SubscriptionMetricsBuilder { b.operatorsConditionFailing = value b.bitmap_ |= 4096 @@ -195,8 +169,6 @@ func (b *SubscriptionMetricsBuilder) OperatorsConditionFailing(value float64) *S } // Region sets the value of the 'region' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) Region(value string) *SubscriptionMetricsBuilder { b.region = value b.bitmap_ |= 8192 @@ -204,8 +176,6 @@ func (b *SubscriptionMetricsBuilder) Region(value string) *SubscriptionMetricsBu } // Sockets sets the value of the 'sockets' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) Sockets(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder { b.sockets = value if value != nil { @@ -217,8 +187,6 @@ func (b *SubscriptionMetricsBuilder) Sockets(value *ClusterResourceBuilder) *Sub } // State sets the value of the 'state' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) State(value string) *SubscriptionMetricsBuilder { b.state = value b.bitmap_ |= 32768 @@ -226,8 +194,6 @@ func (b *SubscriptionMetricsBuilder) State(value string) *SubscriptionMetricsBui } // StateDescription sets the value of the 'state_description' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) StateDescription(value string) *SubscriptionMetricsBuilder { b.stateDescription = value b.bitmap_ |= 65536 @@ -235,8 +201,6 @@ func (b *SubscriptionMetricsBuilder) StateDescription(value string) *Subscriptio } // Storage sets the value of the 'storage' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) Storage(value *ClusterResourceBuilder) *SubscriptionMetricsBuilder { b.storage = value if value != nil { @@ -248,8 +212,6 @@ func (b *SubscriptionMetricsBuilder) Storage(value *ClusterResourceBuilder) *Sub } // SubscriptionCpuTotal sets the value of the 'subscription_cpu_total' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) SubscriptionCpuTotal(value float64) *SubscriptionMetricsBuilder { b.subscriptionCpuTotal = value b.bitmap_ |= 262144 @@ -257,8 +219,6 @@ func (b *SubscriptionMetricsBuilder) SubscriptionCpuTotal(value float64) *Subscr } // SubscriptionObligationExists sets the value of the 'subscription_obligation_exists' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) SubscriptionObligationExists(value float64) *SubscriptionMetricsBuilder { b.subscriptionObligationExists = value b.bitmap_ |= 524288 @@ -266,8 +226,6 @@ func (b *SubscriptionMetricsBuilder) SubscriptionObligationExists(value float64) } // SubscriptionSocketTotal sets the value of the 'subscription_socket_total' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) SubscriptionSocketTotal(value float64) *SubscriptionMetricsBuilder { b.subscriptionSocketTotal = value b.bitmap_ |= 1048576 @@ -275,8 +233,6 @@ func (b *SubscriptionMetricsBuilder) SubscriptionSocketTotal(value float64) *Sub } // Upgrade sets the value of the 'upgrade' attribute to the given value. -// -// func (b *SubscriptionMetricsBuilder) Upgrade(value *ClusterUpgradeBuilder) *SubscriptionMetricsBuilder { b.upgrade = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_list_type_json.go index 14bd79436..668e5569d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSubscriptionMetricsList(source interface{}) (items []*Subscription return } -// readSubscriptionMetricsList reads list of values of the ''subscription_metrics' type from +// readSubscriptionMetricsList reads list of values of the ”subscription_metrics' type from // the given iterator. func readSubscriptionMetricsList(iterator *jsoniter.Iterator) []*SubscriptionMetrics { list := []*SubscriptionMetrics{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_type.go index 8a7dc9696..b52515904 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_metrics_type.go @@ -55,8 +55,6 @@ func (o *SubscriptionMetrics) Empty() bool { // CloudProvider returns the value of the 'cloud_provider' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) CloudProvider() string { if o != nil && o.bitmap_&1 != 0 { return o.cloudProvider @@ -66,8 +64,6 @@ func (o *SubscriptionMetrics) CloudProvider() string { // GetCloudProvider returns the value of the 'cloud_provider' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetCloudProvider() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -78,8 +74,6 @@ func (o *SubscriptionMetrics) GetCloudProvider() (value string, ok bool) { // ComputeNodesCpu returns the value of the 'compute_nodes_cpu' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) ComputeNodesCpu() *ClusterResource { if o != nil && o.bitmap_&2 != 0 { return o.computeNodesCpu @@ -89,8 +83,6 @@ func (o *SubscriptionMetrics) ComputeNodesCpu() *ClusterResource { // GetComputeNodesCpu returns the value of the 'compute_nodes_cpu' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetComputeNodesCpu() (value *ClusterResource, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { @@ -101,8 +93,6 @@ func (o *SubscriptionMetrics) GetComputeNodesCpu() (value *ClusterResource, ok b // ComputeNodesMemory returns the value of the 'compute_nodes_memory' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) ComputeNodesMemory() *ClusterResource { if o != nil && o.bitmap_&4 != 0 { return o.computeNodesMemory @@ -112,8 +102,6 @@ func (o *SubscriptionMetrics) ComputeNodesMemory() *ClusterResource { // GetComputeNodesMemory returns the value of the 'compute_nodes_memory' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetComputeNodesMemory() (value *ClusterResource, ok bool) { ok = o != nil && o.bitmap_&4 != 0 if ok { @@ -124,8 +112,6 @@ func (o *SubscriptionMetrics) GetComputeNodesMemory() (value *ClusterResource, o // ComputeNodesSockets returns the value of the 'compute_nodes_sockets' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) ComputeNodesSockets() *ClusterResource { if o != nil && o.bitmap_&8 != 0 { return o.computeNodesSockets @@ -135,8 +121,6 @@ func (o *SubscriptionMetrics) ComputeNodesSockets() *ClusterResource { // GetComputeNodesSockets returns the value of the 'compute_nodes_sockets' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetComputeNodesSockets() (value *ClusterResource, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -147,8 +131,6 @@ func (o *SubscriptionMetrics) GetComputeNodesSockets() (value *ClusterResource, // ConsoleUrl returns the value of the 'console_url' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) ConsoleUrl() string { if o != nil && o.bitmap_&16 != 0 { return o.consoleUrl @@ -158,8 +140,6 @@ func (o *SubscriptionMetrics) ConsoleUrl() string { // GetConsoleUrl returns the value of the 'console_url' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetConsoleUrl() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -170,8 +150,6 @@ func (o *SubscriptionMetrics) GetConsoleUrl() (value string, ok bool) { // Cpu returns the value of the 'cpu' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) Cpu() *ClusterResource { if o != nil && o.bitmap_&32 != 0 { return o.cpu @@ -181,8 +159,6 @@ func (o *SubscriptionMetrics) Cpu() *ClusterResource { // GetCpu returns the value of the 'cpu' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetCpu() (value *ClusterResource, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -193,8 +169,6 @@ func (o *SubscriptionMetrics) GetCpu() (value *ClusterResource, ok bool) { // CriticalAlertsFiring returns the value of the 'critical_alerts_firing' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) CriticalAlertsFiring() float64 { if o != nil && o.bitmap_&64 != 0 { return o.criticalAlertsFiring @@ -204,8 +178,6 @@ func (o *SubscriptionMetrics) CriticalAlertsFiring() float64 { // GetCriticalAlertsFiring returns the value of the 'critical_alerts_firing' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetCriticalAlertsFiring() (value float64, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -216,8 +188,6 @@ func (o *SubscriptionMetrics) GetCriticalAlertsFiring() (value float64, ok bool) // HealthState returns the value of the 'health_state' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) HealthState() string { if o != nil && o.bitmap_&128 != 0 { return o.healthState @@ -227,8 +197,6 @@ func (o *SubscriptionMetrics) HealthState() string { // GetHealthState returns the value of the 'health_state' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetHealthState() (value string, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -239,8 +207,6 @@ func (o *SubscriptionMetrics) GetHealthState() (value string, ok bool) { // Memory returns the value of the 'memory' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) Memory() *ClusterResource { if o != nil && o.bitmap_&256 != 0 { return o.memory @@ -250,8 +216,6 @@ func (o *SubscriptionMetrics) Memory() *ClusterResource { // GetMemory returns the value of the 'memory' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetMemory() (value *ClusterResource, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -262,8 +226,6 @@ func (o *SubscriptionMetrics) GetMemory() (value *ClusterResource, ok bool) { // Nodes returns the value of the 'nodes' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) Nodes() *ClusterMetricsNodes { if o != nil && o.bitmap_&512 != 0 { return o.nodes @@ -273,8 +235,6 @@ func (o *SubscriptionMetrics) Nodes() *ClusterMetricsNodes { // GetNodes returns the value of the 'nodes' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetNodes() (value *ClusterMetricsNodes, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { @@ -285,8 +245,6 @@ func (o *SubscriptionMetrics) GetNodes() (value *ClusterMetricsNodes, ok bool) { // OpenshiftVersion returns the value of the 'openshift_version' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) OpenshiftVersion() string { if o != nil && o.bitmap_&1024 != 0 { return o.openshiftVersion @@ -296,8 +254,6 @@ func (o *SubscriptionMetrics) OpenshiftVersion() string { // GetOpenshiftVersion returns the value of the 'openshift_version' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetOpenshiftVersion() (value string, ok bool) { ok = o != nil && o.bitmap_&1024 != 0 if ok { @@ -308,8 +264,6 @@ func (o *SubscriptionMetrics) GetOpenshiftVersion() (value string, ok bool) { // OperatingSystem returns the value of the 'operating_system' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) OperatingSystem() string { if o != nil && o.bitmap_&2048 != 0 { return o.operatingSystem @@ -319,8 +273,6 @@ func (o *SubscriptionMetrics) OperatingSystem() string { // GetOperatingSystem returns the value of the 'operating_system' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetOperatingSystem() (value string, ok bool) { ok = o != nil && o.bitmap_&2048 != 0 if ok { @@ -331,8 +283,6 @@ func (o *SubscriptionMetrics) GetOperatingSystem() (value string, ok bool) { // OperatorsConditionFailing returns the value of the 'operators_condition_failing' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) OperatorsConditionFailing() float64 { if o != nil && o.bitmap_&4096 != 0 { return o.operatorsConditionFailing @@ -342,8 +292,6 @@ func (o *SubscriptionMetrics) OperatorsConditionFailing() float64 { // GetOperatorsConditionFailing returns the value of the 'operators_condition_failing' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetOperatorsConditionFailing() (value float64, ok bool) { ok = o != nil && o.bitmap_&4096 != 0 if ok { @@ -354,8 +302,6 @@ func (o *SubscriptionMetrics) GetOperatorsConditionFailing() (value float64, ok // Region returns the value of the 'region' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) Region() string { if o != nil && o.bitmap_&8192 != 0 { return o.region @@ -365,8 +311,6 @@ func (o *SubscriptionMetrics) Region() string { // GetRegion returns the value of the 'region' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetRegion() (value string, ok bool) { ok = o != nil && o.bitmap_&8192 != 0 if ok { @@ -377,8 +321,6 @@ func (o *SubscriptionMetrics) GetRegion() (value string, ok bool) { // Sockets returns the value of the 'sockets' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) Sockets() *ClusterResource { if o != nil && o.bitmap_&16384 != 0 { return o.sockets @@ -388,8 +330,6 @@ func (o *SubscriptionMetrics) Sockets() *ClusterResource { // GetSockets returns the value of the 'sockets' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetSockets() (value *ClusterResource, ok bool) { ok = o != nil && o.bitmap_&16384 != 0 if ok { @@ -400,8 +340,6 @@ func (o *SubscriptionMetrics) GetSockets() (value *ClusterResource, ok bool) { // State returns the value of the 'state' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) State() string { if o != nil && o.bitmap_&32768 != 0 { return o.state @@ -411,8 +349,6 @@ func (o *SubscriptionMetrics) State() string { // GetState returns the value of the 'state' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetState() (value string, ok bool) { ok = o != nil && o.bitmap_&32768 != 0 if ok { @@ -423,8 +359,6 @@ func (o *SubscriptionMetrics) GetState() (value string, ok bool) { // StateDescription returns the value of the 'state_description' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) StateDescription() string { if o != nil && o.bitmap_&65536 != 0 { return o.stateDescription @@ -434,8 +368,6 @@ func (o *SubscriptionMetrics) StateDescription() string { // GetStateDescription returns the value of the 'state_description' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetStateDescription() (value string, ok bool) { ok = o != nil && o.bitmap_&65536 != 0 if ok { @@ -446,8 +378,6 @@ func (o *SubscriptionMetrics) GetStateDescription() (value string, ok bool) { // Storage returns the value of the 'storage' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) Storage() *ClusterResource { if o != nil && o.bitmap_&131072 != 0 { return o.storage @@ -457,8 +387,6 @@ func (o *SubscriptionMetrics) Storage() *ClusterResource { // GetStorage returns the value of the 'storage' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetStorage() (value *ClusterResource, ok bool) { ok = o != nil && o.bitmap_&131072 != 0 if ok { @@ -469,8 +397,6 @@ func (o *SubscriptionMetrics) GetStorage() (value *ClusterResource, ok bool) { // SubscriptionCpuTotal returns the value of the 'subscription_cpu_total' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) SubscriptionCpuTotal() float64 { if o != nil && o.bitmap_&262144 != 0 { return o.subscriptionCpuTotal @@ -480,8 +406,6 @@ func (o *SubscriptionMetrics) SubscriptionCpuTotal() float64 { // GetSubscriptionCpuTotal returns the value of the 'subscription_cpu_total' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetSubscriptionCpuTotal() (value float64, ok bool) { ok = o != nil && o.bitmap_&262144 != 0 if ok { @@ -492,8 +416,6 @@ func (o *SubscriptionMetrics) GetSubscriptionCpuTotal() (value float64, ok bool) // SubscriptionObligationExists returns the value of the 'subscription_obligation_exists' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) SubscriptionObligationExists() float64 { if o != nil && o.bitmap_&524288 != 0 { return o.subscriptionObligationExists @@ -503,8 +425,6 @@ func (o *SubscriptionMetrics) SubscriptionObligationExists() float64 { // GetSubscriptionObligationExists returns the value of the 'subscription_obligation_exists' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetSubscriptionObligationExists() (value float64, ok bool) { ok = o != nil && o.bitmap_&524288 != 0 if ok { @@ -515,8 +435,6 @@ func (o *SubscriptionMetrics) GetSubscriptionObligationExists() (value float64, // SubscriptionSocketTotal returns the value of the 'subscription_socket_total' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) SubscriptionSocketTotal() float64 { if o != nil && o.bitmap_&1048576 != 0 { return o.subscriptionSocketTotal @@ -526,8 +444,6 @@ func (o *SubscriptionMetrics) SubscriptionSocketTotal() float64 { // GetSubscriptionSocketTotal returns the value of the 'subscription_socket_total' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetSubscriptionSocketTotal() (value float64, ok bool) { ok = o != nil && o.bitmap_&1048576 != 0 if ok { @@ -538,8 +454,6 @@ func (o *SubscriptionMetrics) GetSubscriptionSocketTotal() (value float64, ok bo // Upgrade returns the value of the 'upgrade' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SubscriptionMetrics) Upgrade() *ClusterUpgrade { if o != nil && o.bitmap_&2097152 != 0 { return o.upgrade @@ -549,8 +463,6 @@ func (o *SubscriptionMetrics) Upgrade() *ClusterUpgrade { // GetUpgrade returns the value of the 'upgrade' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SubscriptionMetrics) GetUpgrade() (value *ClusterUpgrade, ok bool) { ok = o != nil && o.bitmap_&2097152 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_builder.go index 2ff3b9527..b89f75bf0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_builder.go @@ -42,8 +42,6 @@ func NewSubscriptionNotify() *SubscriptionNotifyBuilder { } // BccAddress sets the value of the 'bcc_address' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) BccAddress(value string) *SubscriptionNotifyBuilder { b.bccAddress = value b.bitmap_ |= 1 @@ -51,8 +49,6 @@ func (b *SubscriptionNotifyBuilder) BccAddress(value string) *SubscriptionNotify } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) ClusterID(value string) *SubscriptionNotifyBuilder { b.clusterID = value b.bitmap_ |= 2 @@ -60,8 +56,6 @@ func (b *SubscriptionNotifyBuilder) ClusterID(value string) *SubscriptionNotifyB } // ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) ClusterUUID(value string) *SubscriptionNotifyBuilder { b.clusterUUID = value b.bitmap_ |= 4 @@ -69,8 +63,6 @@ func (b *SubscriptionNotifyBuilder) ClusterUUID(value string) *SubscriptionNotif } // IncludeRedHatAssociates sets the value of the 'include_red_hat_associates' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) IncludeRedHatAssociates(value bool) *SubscriptionNotifyBuilder { b.includeRedHatAssociates = value b.bitmap_ |= 8 @@ -78,8 +70,6 @@ func (b *SubscriptionNotifyBuilder) IncludeRedHatAssociates(value bool) *Subscri } // InternalOnly sets the value of the 'internal_only' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) InternalOnly(value bool) *SubscriptionNotifyBuilder { b.internalOnly = value b.bitmap_ |= 16 @@ -87,8 +77,6 @@ func (b *SubscriptionNotifyBuilder) InternalOnly(value bool) *SubscriptionNotify } // Subject sets the value of the 'subject' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) Subject(value string) *SubscriptionNotifyBuilder { b.subject = value b.bitmap_ |= 32 @@ -96,8 +84,6 @@ func (b *SubscriptionNotifyBuilder) Subject(value string) *SubscriptionNotifyBui } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) SubscriptionID(value string) *SubscriptionNotifyBuilder { b.subscriptionID = value b.bitmap_ |= 64 @@ -105,8 +91,6 @@ func (b *SubscriptionNotifyBuilder) SubscriptionID(value string) *SubscriptionNo } // TemplateName sets the value of the 'template_name' attribute to the given value. -// -// func (b *SubscriptionNotifyBuilder) TemplateName(value string) *SubscriptionNotifyBuilder { b.templateName = value b.bitmap_ |= 128 @@ -114,8 +98,6 @@ func (b *SubscriptionNotifyBuilder) TemplateName(value string) *SubscriptionNoti } // TemplateParameters sets the value of the 'template_parameters' attribute to the given values. -// -// func (b *SubscriptionNotifyBuilder) TemplateParameters(values ...*TemplateParameterBuilder) *SubscriptionNotifyBuilder { b.templateParameters = make([]*TemplateParameterBuilder, len(values)) copy(b.templateParameters, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_client.go index c2aa762c6..5e246483e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_client.go @@ -82,8 +82,6 @@ func (r *SubscriptionNotifyAddRequest) Header(name string, value interface{}) *S } // Body sets the value of the 'body' parameter. -// -// func (r *SubscriptionNotifyAddRequest) Body(value *SubscriptionNotify) *SubscriptionNotifyAddRequest { r.body = value return r @@ -185,8 +183,6 @@ func (r *SubscriptionNotifyAddResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SubscriptionNotifyAddResponse) Body() *SubscriptionNotify { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *SubscriptionNotifyAddResponse) Body() *SubscriptionNotify { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SubscriptionNotifyAddResponse) GetBody() (value *SubscriptionNotify, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_list_type_json.go index 3dc218766..2c8665637 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSubscriptionNotifyList(source interface{}) (items []*SubscriptionN return } -// readSubscriptionNotifyList reads list of values of the ''subscription_notify' type from +// readSubscriptionNotifyList reads list of values of the ”subscription_notify' type from // the given iterator. func readSubscriptionNotifyList(iterator *jsoniter.Iterator) []*SubscriptionNotify { list := []*SubscriptionNotify{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_server.go index eaeb04dc7..0af8657db 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_notify_server.go @@ -42,8 +42,6 @@ type SubscriptionNotifyAddServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *SubscriptionNotifyAddServerRequest) Body() *SubscriptionNotify { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *SubscriptionNotifyAddServerRequest) Body() *SubscriptionNotify { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SubscriptionNotifyAddServerRequest) GetBody() (value *SubscriptionNotify, ok bool) { ok = r != nil && r.body != nil if ok { @@ -71,8 +67,6 @@ type SubscriptionNotifyAddServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SubscriptionNotifyAddServerResponse) Body(value *SubscriptionNotify) *SubscriptionNotifyAddServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_builder.go index 1379a9e81..7ac49aa83 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_builder.go @@ -37,8 +37,6 @@ func NewSubscriptionRegistration() *SubscriptionRegistrationBuilder { } // ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value. -// -// func (b *SubscriptionRegistrationBuilder) ClusterUUID(value string) *SubscriptionRegistrationBuilder { b.clusterUUID = value b.bitmap_ |= 1 @@ -46,8 +44,6 @@ func (b *SubscriptionRegistrationBuilder) ClusterUUID(value string) *Subscriptio } // ConsoleURL sets the value of the 'console_URL' attribute to the given value. -// -// func (b *SubscriptionRegistrationBuilder) ConsoleURL(value string) *SubscriptionRegistrationBuilder { b.consoleURL = value b.bitmap_ |= 2 @@ -55,8 +51,6 @@ func (b *SubscriptionRegistrationBuilder) ConsoleURL(value string) *Subscription } // DisplayName sets the value of the 'display_name' attribute to the given value. -// -// func (b *SubscriptionRegistrationBuilder) DisplayName(value string) *SubscriptionRegistrationBuilder { b.displayName = value b.bitmap_ |= 4 @@ -73,8 +67,6 @@ func (b *SubscriptionRegistrationBuilder) PlanID(value PlanID) *SubscriptionRegi } // Status sets the value of the 'status' attribute to the given value. -// -// func (b *SubscriptionRegistrationBuilder) Status(value string) *SubscriptionRegistrationBuilder { b.status = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_list_type_json.go index 6a844b28c..cd76eda3e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_registration_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSubscriptionRegistrationList(source interface{}) (items []*Subscri return } -// readSubscriptionRegistrationList reads list of values of the ''subscription_registration' type from +// readSubscriptionRegistrationList reads list of values of the ”subscription_registration' type from // the given iterator. func readSubscriptionRegistrationList(iterator *jsoniter.Iterator) []*SubscriptionRegistration { list := []*SubscriptionRegistration{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_server.go index c65beaddf..97aac73b5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_server.go @@ -90,8 +90,6 @@ type SubscriptionGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SubscriptionGetServerResponse) Body(value *Subscription) *SubscriptionGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_type.go index a09903df2..4510d9341 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscription_type.go @@ -36,8 +36,6 @@ const SubscriptionLinkKind = "SubscriptionLink" const SubscriptionNilKind = "SubscriptionNil" // Subscription represents the values of the 'subscription' type. -// -// type Subscription struct { bitmap_ uint64 id string @@ -136,8 +134,6 @@ func (o *Subscription) Empty() bool { // Capabilities returns the value of the 'capabilities' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) Capabilities() []*Capability { if o != nil && o.bitmap_&8 != 0 { return o.capabilities @@ -147,8 +143,6 @@ func (o *Subscription) Capabilities() []*Capability { // GetCapabilities returns the value of the 'capabilities' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetCapabilities() (value []*Capability, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -159,8 +153,6 @@ func (o *Subscription) GetCapabilities() (value []*Capability, ok bool) { // CloudAccountID returns the value of the 'cloud_account_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) CloudAccountID() string { if o != nil && o.bitmap_&16 != 0 { return o.cloudAccountID @@ -170,8 +162,6 @@ func (o *Subscription) CloudAccountID() string { // GetCloudAccountID returns the value of the 'cloud_account_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetCloudAccountID() (value string, ok bool) { ok = o != nil && o.bitmap_&16 != 0 if ok { @@ -182,8 +172,6 @@ func (o *Subscription) GetCloudAccountID() (value string, ok bool) { // CloudProviderID returns the value of the 'cloud_provider_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) CloudProviderID() string { if o != nil && o.bitmap_&32 != 0 { return o.cloudProviderID @@ -193,8 +181,6 @@ func (o *Subscription) CloudProviderID() string { // GetCloudProviderID returns the value of the 'cloud_provider_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetCloudProviderID() (value string, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -205,8 +191,6 @@ func (o *Subscription) GetCloudProviderID() (value string, ok bool) { // ClusterID returns the value of the 'cluster_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) ClusterID() string { if o != nil && o.bitmap_&64 != 0 { return o.clusterID @@ -216,8 +200,6 @@ func (o *Subscription) ClusterID() string { // GetClusterID returns the value of the 'cluster_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetClusterID() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -228,8 +210,6 @@ func (o *Subscription) GetClusterID() (value string, ok bool) { // ClusterBillingModel returns the value of the 'cluster_billing_model' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) ClusterBillingModel() BillingModel { if o != nil && o.bitmap_&128 != 0 { return o.clusterBillingModel @@ -239,8 +219,6 @@ func (o *Subscription) ClusterBillingModel() BillingModel { // GetClusterBillingModel returns the value of the 'cluster_billing_model' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetClusterBillingModel() (value BillingModel, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { @@ -251,8 +229,6 @@ func (o *Subscription) GetClusterBillingModel() (value BillingModel, ok bool) { // ConsoleURL returns the value of the 'console_URL' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) ConsoleURL() string { if o != nil && o.bitmap_&256 != 0 { return o.consoleURL @@ -262,8 +238,6 @@ func (o *Subscription) ConsoleURL() string { // GetConsoleURL returns the value of the 'console_URL' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetConsoleURL() (value string, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { @@ -274,8 +248,6 @@ func (o *Subscription) GetConsoleURL() (value string, ok bool) { // ConsumerUUID returns the value of the 'consumer_UUID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) ConsumerUUID() string { if o != nil && o.bitmap_&512 != 0 { return o.consumerUUID @@ -285,8 +257,6 @@ func (o *Subscription) ConsumerUUID() string { // GetConsumerUUID returns the value of the 'consumer_UUID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetConsumerUUID() (value string, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { @@ -297,8 +267,6 @@ func (o *Subscription) GetConsumerUUID() (value string, ok bool) { // CpuTotal returns the value of the 'cpu_total' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) CpuTotal() int { if o != nil && o.bitmap_&1024 != 0 { return o.cpuTotal @@ -308,8 +276,6 @@ func (o *Subscription) CpuTotal() int { // GetCpuTotal returns the value of the 'cpu_total' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetCpuTotal() (value int, ok bool) { ok = o != nil && o.bitmap_&1024 != 0 if ok { @@ -320,8 +286,6 @@ func (o *Subscription) GetCpuTotal() (value int, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) CreatedAt() time.Time { if o != nil && o.bitmap_&2048 != 0 { return o.createdAt @@ -331,8 +295,6 @@ func (o *Subscription) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&2048 != 0 if ok { @@ -366,8 +328,6 @@ func (o *Subscription) GetCreator() (value *Account, ok bool) { // DisplayName returns the value of the 'display_name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) DisplayName() string { if o != nil && o.bitmap_&8192 != 0 { return o.displayName @@ -377,8 +337,6 @@ func (o *Subscription) DisplayName() string { // GetDisplayName returns the value of the 'display_name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetDisplayName() (value string, ok bool) { ok = o != nil && o.bitmap_&8192 != 0 if ok { @@ -389,8 +347,6 @@ func (o *Subscription) GetDisplayName() (value string, ok bool) { // ExternalClusterID returns the value of the 'external_cluster_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) ExternalClusterID() string { if o != nil && o.bitmap_&16384 != 0 { return o.externalClusterID @@ -400,8 +356,6 @@ func (o *Subscription) ExternalClusterID() string { // GetExternalClusterID returns the value of the 'external_cluster_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetExternalClusterID() (value string, ok bool) { ok = o != nil && o.bitmap_&16384 != 0 if ok { @@ -412,8 +366,6 @@ func (o *Subscription) GetExternalClusterID() (value string, ok bool) { // Labels returns the value of the 'labels' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) Labels() []*Label { if o != nil && o.bitmap_&32768 != 0 { return o.labels @@ -423,8 +375,6 @@ func (o *Subscription) Labels() []*Label { // GetLabels returns the value of the 'labels' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetLabels() (value []*Label, ok bool) { ok = o != nil && o.bitmap_&32768 != 0 if ok { @@ -504,8 +454,6 @@ func (o *Subscription) GetLastTelemetryDate() (value time.Time, ok bool) { // Managed returns the value of the 'managed' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) Managed() bool { if o != nil && o.bitmap_&524288 != 0 { return o.managed @@ -515,8 +463,6 @@ func (o *Subscription) Managed() bool { // GetManaged returns the value of the 'managed' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetManaged() (value bool, ok bool) { ok = o != nil && o.bitmap_&524288 != 0 if ok { @@ -550,8 +496,6 @@ func (o *Subscription) GetMetrics() (value []*SubscriptionMetrics, ok bool) { // NotificationContacts returns the value of the 'notification_contacts' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) NotificationContacts() []*Account { if o != nil && o.bitmap_&2097152 != 0 { return o.notificationContacts @@ -561,8 +505,6 @@ func (o *Subscription) NotificationContacts() []*Account { // GetNotificationContacts returns the value of the 'notification_contacts' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetNotificationContacts() (value []*Account, ok bool) { ok = o != nil && o.bitmap_&2097152 != 0 if ok { @@ -573,8 +515,6 @@ func (o *Subscription) GetNotificationContacts() (value []*Account, ok bool) { // OrganizationID returns the value of the 'organization_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) OrganizationID() string { if o != nil && o.bitmap_&4194304 != 0 { return o.organizationID @@ -584,8 +524,6 @@ func (o *Subscription) OrganizationID() string { // GetOrganizationID returns the value of the 'organization_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetOrganizationID() (value string, ok bool) { ok = o != nil && o.bitmap_&4194304 != 0 if ok { @@ -596,8 +534,6 @@ func (o *Subscription) GetOrganizationID() (value string, ok bool) { // Plan returns the value of the 'plan' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) Plan() *Plan { if o != nil && o.bitmap_&8388608 != 0 { return o.plan @@ -607,8 +543,6 @@ func (o *Subscription) Plan() *Plan { // GetPlan returns the value of the 'plan' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetPlan() (value *Plan, ok bool) { ok = o != nil && o.bitmap_&8388608 != 0 if ok { @@ -619,8 +553,6 @@ func (o *Subscription) GetPlan() (value *Plan, ok bool) { // ProductBundle returns the value of the 'product_bundle' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) ProductBundle() string { if o != nil && o.bitmap_&16777216 != 0 { return o.productBundle @@ -630,8 +562,6 @@ func (o *Subscription) ProductBundle() string { // GetProductBundle returns the value of the 'product_bundle' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetProductBundle() (value string, ok bool) { ok = o != nil && o.bitmap_&16777216 != 0 if ok { @@ -665,8 +595,6 @@ func (o *Subscription) GetProvenance() (value string, ok bool) { // RegionID returns the value of the 'region_ID' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) RegionID() string { if o != nil && o.bitmap_&67108864 != 0 { return o.regionID @@ -676,8 +604,6 @@ func (o *Subscription) RegionID() string { // GetRegionID returns the value of the 'region_ID' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetRegionID() (value string, ok bool) { ok = o != nil && o.bitmap_&67108864 != 0 if ok { @@ -711,8 +637,6 @@ func (o *Subscription) GetReleased() (value bool, ok bool) { // ServiceLevel returns the value of the 'service_level' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) ServiceLevel() string { if o != nil && o.bitmap_&268435456 != 0 { return o.serviceLevel @@ -722,8 +646,6 @@ func (o *Subscription) ServiceLevel() string { // GetServiceLevel returns the value of the 'service_level' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetServiceLevel() (value string, ok bool) { ok = o != nil && o.bitmap_&268435456 != 0 if ok { @@ -734,8 +656,6 @@ func (o *Subscription) GetServiceLevel() (value string, ok bool) { // SocketTotal returns the value of the 'socket_total' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) SocketTotal() int { if o != nil && o.bitmap_&536870912 != 0 { return o.socketTotal @@ -745,8 +665,6 @@ func (o *Subscription) SocketTotal() int { // GetSocketTotal returns the value of the 'socket_total' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetSocketTotal() (value int, ok bool) { ok = o != nil && o.bitmap_&536870912 != 0 if ok { @@ -757,8 +675,6 @@ func (o *Subscription) GetSocketTotal() (value int, ok bool) { // Status returns the value of the 'status' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) Status() string { if o != nil && o.bitmap_&1073741824 != 0 { return o.status @@ -768,8 +684,6 @@ func (o *Subscription) Status() string { // GetStatus returns the value of the 'status' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetStatus() (value string, ok bool) { ok = o != nil && o.bitmap_&1073741824 != 0 if ok { @@ -780,8 +694,6 @@ func (o *Subscription) GetStatus() (value string, ok bool) { // SupportLevel returns the value of the 'support_level' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) SupportLevel() string { if o != nil && o.bitmap_&2147483648 != 0 { return o.supportLevel @@ -791,8 +703,6 @@ func (o *Subscription) SupportLevel() string { // GetSupportLevel returns the value of the 'support_level' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetSupportLevel() (value string, ok bool) { ok = o != nil && o.bitmap_&2147483648 != 0 if ok { @@ -803,8 +713,6 @@ func (o *Subscription) GetSupportLevel() (value string, ok bool) { // SystemUnits returns the value of the 'system_units' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) SystemUnits() string { if o != nil && o.bitmap_&4294967296 != 0 { return o.systemUnits @@ -814,8 +722,6 @@ func (o *Subscription) SystemUnits() string { // GetSystemUnits returns the value of the 'system_units' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetSystemUnits() (value string, ok bool) { ok = o != nil && o.bitmap_&4294967296 != 0 if ok { @@ -849,8 +755,6 @@ func (o *Subscription) GetTrialEndDate() (value time.Time, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) UpdatedAt() time.Time { if o != nil && o.bitmap_&17179869184 != 0 { return o.updatedAt @@ -860,8 +764,6 @@ func (o *Subscription) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&17179869184 != 0 if ok { @@ -872,8 +774,6 @@ func (o *Subscription) GetUpdatedAt() (value time.Time, ok bool) { // Usage returns the value of the 'usage' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Subscription) Usage() string { if o != nil && o.bitmap_&34359738368 != 0 { return o.usage @@ -883,8 +783,6 @@ func (o *Subscription) Usage() string { // GetUsage returns the value of the 'usage' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Subscription) GetUsage() (value string, ok bool) { ok = o != nil && o.bitmap_&34359738368 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_client.go index b62017bf9..79dd4b456 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_client.go @@ -142,7 +142,6 @@ func (r *SubscriptionsListRequest) FetchlabelsLabels(value bool) *SubscriptionsL // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *SubscriptionsListRequest) Fields(value string) *SubscriptionsListRequest { r.fields = &value return r @@ -156,7 +155,6 @@ func (r *SubscriptionsListRequest) Fields(value string) *SubscriptionsListReques // ---- // env=staging,department=sales // ---- -// func (r *SubscriptionsListRequest) Labels(value string) *SubscriptionsListRequest { r.labels = &value return r @@ -437,8 +435,6 @@ func (r *SubscriptionsPostRequest) Header(name string, value interface{}) *Subsc } // Request sets the value of the 'request' parameter. -// -// func (r *SubscriptionsPostRequest) Request(value *SubscriptionRegistration) *SubscriptionsPostRequest { r.request = value return r @@ -540,8 +536,6 @@ func (r *SubscriptionsPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *SubscriptionsPostResponse) Response() *Subscription { if r == nil { return nil @@ -551,8 +545,6 @@ func (r *SubscriptionsPostResponse) Response() *Subscription { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SubscriptionsPostResponse) GetResponse() (value *Subscription, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_server.go index 0db89fd29..bbaf90503 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/subscriptions_server.go @@ -114,7 +114,6 @@ func (r *SubscriptionsListServerRequest) GetFetchlabelsLabels() (value bool, ok // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *SubscriptionsListServerRequest) Fields() string { if r != nil && r.fields != nil { return *r.fields @@ -130,7 +129,6 @@ func (r *SubscriptionsListServerRequest) Fields() string { // a result. No new fields can be added, only existing ones can be filtered. // To specify a field 'id' of a structure 'plan' use 'plan.id'. // To specify all fields of a structure 'labels' use 'labels.*'. -// func (r *SubscriptionsListServerRequest) GetFields() (value string, ok bool) { ok = r != nil && r.fields != nil if ok { @@ -147,7 +145,6 @@ func (r *SubscriptionsListServerRequest) GetFields() (value string, ok bool) { // ---- // env=staging,department=sales // ---- -// func (r *SubscriptionsListServerRequest) Labels() string { if r != nil && r.labels != nil { return *r.labels @@ -164,7 +161,6 @@ func (r *SubscriptionsListServerRequest) Labels() string { // ---- // env=staging,department=sales // ---- -// func (r *SubscriptionsListServerRequest) GetLabels() (value string, ok bool) { ok = r != nil && r.labels != nil if ok { @@ -366,8 +362,6 @@ type SubscriptionsPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *SubscriptionsPostServerRequest) Request() *SubscriptionRegistration { if r == nil { return nil @@ -377,8 +371,6 @@ func (r *SubscriptionsPostServerRequest) Request() *SubscriptionRegistration { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SubscriptionsPostServerRequest) GetRequest() (value *SubscriptionRegistration, ok bool) { ok = r != nil && r.request != nil if ok { @@ -395,8 +387,6 @@ type SubscriptionsPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *SubscriptionsPostServerResponse) Response(value *Subscription) *SubscriptionsPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_builder.go index 91b9de418..82b58b210 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // SummaryDashboardBuilder contains the data and logic needed to build 'summary_dashboard' objects. -// -// type SummaryDashboardBuilder struct { bitmap_ uint32 id string @@ -55,8 +53,6 @@ func (b *SummaryDashboardBuilder) HREF(value string) *SummaryDashboardBuilder { } // Metrics sets the value of the 'metrics' attribute to the given values. -// -// func (b *SummaryDashboardBuilder) Metrics(values ...*SummaryMetricsBuilder) *SummaryDashboardBuilder { b.metrics = make([]*SummaryMetricsBuilder, len(values)) copy(b.metrics, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_client.go index d18dd1a25..df69ef456 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_client.go @@ -156,16 +156,12 @@ func (r *SummaryDashboardPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SummaryDashboardPollResponse) Body() *SummaryDashboard { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SummaryDashboardPollResponse) GetBody() (value *SummaryDashboard, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *SummaryDashboardGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SummaryDashboardGetResponse) Body() *SummaryDashboard { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *SummaryDashboardGetResponse) Body() *SummaryDashboard { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SummaryDashboardGetResponse) GetBody() (value *SummaryDashboard, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_list_type_json.go index b37264c7f..0ad556984 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSummaryDashboardList(source interface{}) (items []*SummaryDashboar return } -// readSummaryDashboardList reads list of values of the ''summary_dashboard' type from +// readSummaryDashboardList reads list of values of the ”summary_dashboard' type from // the given iterator. func readSummaryDashboardList(iterator *jsoniter.Iterator) []*SummaryDashboard { list := []*SummaryDashboard{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_server.go index 2f2810d59..3a598e4ec 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_server.go @@ -48,8 +48,6 @@ type SummaryDashboardGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SummaryDashboardGetServerResponse) Body(value *SummaryDashboard) *SummaryDashboardGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_type.go index 7448be45c..fd6f4f065 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_dashboard_type.go @@ -32,8 +32,6 @@ const SummaryDashboardLinkKind = "SummaryDashboardLink" const SummaryDashboardNilKind = "SummaryDashboardNil" // SummaryDashboard represents the values of the 'summary_dashboard' type. -// -// type SummaryDashboard struct { bitmap_ uint32 id string @@ -100,8 +98,6 @@ func (o *SummaryDashboard) Empty() bool { // Metrics returns the value of the 'metrics' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SummaryDashboard) Metrics() []*SummaryMetrics { if o != nil && o.bitmap_&8 != 0 { return o.metrics @@ -111,8 +107,6 @@ func (o *SummaryDashboard) Metrics() []*SummaryMetrics { // GetMetrics returns the value of the 'metrics' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SummaryDashboard) GetMetrics() (value []*SummaryMetrics, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_builder.go index ad983c5cc..68bb7dd2e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // SummaryMetricsBuilder contains the data and logic needed to build 'summary_metrics' objects. -// -// type SummaryMetricsBuilder struct { bitmap_ uint32 name string @@ -34,8 +32,6 @@ func NewSummaryMetrics() *SummaryMetricsBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *SummaryMetricsBuilder) Name(value string) *SummaryMetricsBuilder { b.name = value b.bitmap_ |= 1 @@ -43,8 +39,6 @@ func (b *SummaryMetricsBuilder) Name(value string) *SummaryMetricsBuilder { } // Vector sets the value of the 'vector' attribute to the given values. -// -// func (b *SummaryMetricsBuilder) Vector(values ...*SummarySampleBuilder) *SummaryMetricsBuilder { b.vector = make([]*SummarySampleBuilder, len(values)) copy(b.vector, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_list_type_json.go index 967fda567..ff0c78c13 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSummaryMetricsList(source interface{}) (items []*SummaryMetrics, e return } -// readSummaryMetricsList reads list of values of the ''summary_metrics' type from +// readSummaryMetricsList reads list of values of the ”summary_metrics' type from // the given iterator. func readSummaryMetricsList(iterator *jsoniter.Iterator) []*SummaryMetrics { list := []*SummaryMetrics{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_type.go index a6648e247..322ea68df 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_metrics_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // SummaryMetrics represents the values of the 'summary_metrics' type. -// -// type SummaryMetrics struct { bitmap_ uint32 name string @@ -35,8 +33,6 @@ func (o *SummaryMetrics) Empty() bool { // Name returns the value of the 'name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SummaryMetrics) Name() string { if o != nil && o.bitmap_&1 != 0 { return o.name @@ -46,8 +42,6 @@ func (o *SummaryMetrics) Name() string { // GetName returns the value of the 'name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SummaryMetrics) GetName() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -58,8 +52,6 @@ func (o *SummaryMetrics) GetName() (value string, ok bool) { // Vector returns the value of the 'vector' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SummaryMetrics) Vector() []*SummarySample { if o != nil && o.bitmap_&2 != 0 { return o.vector @@ -69,8 +61,6 @@ func (o *SummaryMetrics) Vector() []*SummarySample { // GetVector returns the value of the 'vector' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SummaryMetrics) GetVector() (value []*SummarySample, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_builder.go index 00714bcbf..0f667506a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // SummarySampleBuilder contains the data and logic needed to build 'summary_sample' objects. -// -// type SummarySampleBuilder struct { bitmap_ uint32 time string @@ -34,8 +32,6 @@ func NewSummarySample() *SummarySampleBuilder { } // Time sets the value of the 'time' attribute to the given value. -// -// func (b *SummarySampleBuilder) Time(value string) *SummarySampleBuilder { b.time = value b.bitmap_ |= 1 @@ -43,8 +39,6 @@ func (b *SummarySampleBuilder) Time(value string) *SummarySampleBuilder { } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *SummarySampleBuilder) Value(value float64) *SummarySampleBuilder { b.value = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_list_type_json.go index 9451d0258..37874933a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSummarySampleList(source interface{}) (items []*SummarySample, err return } -// readSummarySampleList reads list of values of the ''summary_sample' type from +// readSummarySampleList reads list of values of the ”summary_sample' type from // the given iterator. func readSummarySampleList(iterator *jsoniter.Iterator) []*SummarySample { list := []*SummarySample{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_type.go index 9bce1e463..eb32674ec 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/summary_sample_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // SummarySample represents the values of the 'summary_sample' type. -// -// type SummarySample struct { bitmap_ uint32 time string @@ -35,8 +33,6 @@ func (o *SummarySample) Empty() bool { // Time returns the value of the 'time' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SummarySample) Time() string { if o != nil && o.bitmap_&1 != 0 { return o.time @@ -46,8 +42,6 @@ func (o *SummarySample) Time() string { // GetTime returns the value of the 'time' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SummarySample) GetTime() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -58,8 +52,6 @@ func (o *SummarySample) GetTime() (value string, ok bool) { // Value returns the value of the 'value' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SummarySample) Value() float64 { if o != nil && o.bitmap_&2 != 0 { return o.value @@ -69,8 +61,6 @@ func (o *SummarySample) Value() float64 { // GetValue returns the value of the 'value' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SummarySample) GetValue() (value float64, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_builder.go index 8044f1e12..bc76420b1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // SupportCaseRequestBuilder contains the data and logic needed to build 'support_case_request' objects. -// -// type SupportCaseRequestBuilder struct { bitmap_ uint32 id string @@ -61,8 +59,6 @@ func (b *SupportCaseRequestBuilder) HREF(value string) *SupportCaseRequestBuilde } // ClusterId sets the value of the 'cluster_id' attribute to the given value. -// -// func (b *SupportCaseRequestBuilder) ClusterId(value string) *SupportCaseRequestBuilder { b.clusterId = value b.bitmap_ |= 8 @@ -70,8 +66,6 @@ func (b *SupportCaseRequestBuilder) ClusterId(value string) *SupportCaseRequestB } // ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value. -// -// func (b *SupportCaseRequestBuilder) ClusterUuid(value string) *SupportCaseRequestBuilder { b.clusterUuid = value b.bitmap_ |= 16 @@ -79,8 +73,6 @@ func (b *SupportCaseRequestBuilder) ClusterUuid(value string) *SupportCaseReques } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *SupportCaseRequestBuilder) Description(value string) *SupportCaseRequestBuilder { b.description = value b.bitmap_ |= 32 @@ -88,8 +80,6 @@ func (b *SupportCaseRequestBuilder) Description(value string) *SupportCaseReques } // EventStreamId sets the value of the 'event_stream_id' attribute to the given value. -// -// func (b *SupportCaseRequestBuilder) EventStreamId(value string) *SupportCaseRequestBuilder { b.eventStreamId = value b.bitmap_ |= 64 @@ -97,8 +87,6 @@ func (b *SupportCaseRequestBuilder) EventStreamId(value string) *SupportCaseRequ } // Severity sets the value of the 'severity' attribute to the given value. -// -// func (b *SupportCaseRequestBuilder) Severity(value string) *SupportCaseRequestBuilder { b.severity = value b.bitmap_ |= 128 @@ -106,8 +94,6 @@ func (b *SupportCaseRequestBuilder) Severity(value string) *SupportCaseRequestBu } // SubscriptionId sets the value of the 'subscription_id' attribute to the given value. -// -// func (b *SupportCaseRequestBuilder) SubscriptionId(value string) *SupportCaseRequestBuilder { b.subscriptionId = value b.bitmap_ |= 256 @@ -115,8 +101,6 @@ func (b *SupportCaseRequestBuilder) SubscriptionId(value string) *SupportCaseReq } // Summary sets the value of the 'summary' attribute to the given value. -// -// func (b *SupportCaseRequestBuilder) Summary(value string) *SupportCaseRequestBuilder { b.summary = value b.bitmap_ |= 512 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_list_type_json.go index 2afbe972e..588f8afdf 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSupportCaseRequestList(source interface{}) (items []*SupportCaseRe return } -// readSupportCaseRequestList reads list of values of the ''support_case_request' type from +// readSupportCaseRequestList reads list of values of the ”support_case_request' type from // the given iterator. func readSupportCaseRequestList(iterator *jsoniter.Iterator) []*SupportCaseRequest { list := []*SupportCaseRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_type.go index 28e270325..452307fb6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_request_type.go @@ -32,8 +32,6 @@ const SupportCaseRequestLinkKind = "SupportCaseRequestLink" const SupportCaseRequestNilKind = "SupportCaseRequestNil" // SupportCaseRequest represents the values of the 'support_case_request' type. -// -// type SupportCaseRequest struct { bitmap_ uint32 id string diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_builder.go index df5e771c7..c5a8fa090 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // SupportCaseResponseBuilder contains the data and logic needed to build 'support_case_response' objects. -// -// type SupportCaseResponseBuilder struct { bitmap_ uint32 id string @@ -63,8 +61,6 @@ func (b *SupportCaseResponseBuilder) HREF(value string) *SupportCaseResponseBuil } // URI sets the value of the 'URI' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) URI(value string) *SupportCaseResponseBuilder { b.uri = value b.bitmap_ |= 8 @@ -72,8 +68,6 @@ func (b *SupportCaseResponseBuilder) URI(value string) *SupportCaseResponseBuild } // CaseNumber sets the value of the 'case_number' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) CaseNumber(value string) *SupportCaseResponseBuilder { b.caseNumber = value b.bitmap_ |= 16 @@ -81,8 +75,6 @@ func (b *SupportCaseResponseBuilder) CaseNumber(value string) *SupportCaseRespon } // ClusterId sets the value of the 'cluster_id' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) ClusterId(value string) *SupportCaseResponseBuilder { b.clusterId = value b.bitmap_ |= 32 @@ -90,8 +82,6 @@ func (b *SupportCaseResponseBuilder) ClusterId(value string) *SupportCaseRespons } // ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) ClusterUuid(value string) *SupportCaseResponseBuilder { b.clusterUuid = value b.bitmap_ |= 64 @@ -99,8 +89,6 @@ func (b *SupportCaseResponseBuilder) ClusterUuid(value string) *SupportCaseRespo } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) Description(value string) *SupportCaseResponseBuilder { b.description = value b.bitmap_ |= 128 @@ -108,8 +96,6 @@ func (b *SupportCaseResponseBuilder) Description(value string) *SupportCaseRespo } // Severity sets the value of the 'severity' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) Severity(value string) *SupportCaseResponseBuilder { b.severity = value b.bitmap_ |= 256 @@ -117,8 +103,6 @@ func (b *SupportCaseResponseBuilder) Severity(value string) *SupportCaseResponse } // Status sets the value of the 'status' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) Status(value string) *SupportCaseResponseBuilder { b.status = value b.bitmap_ |= 512 @@ -126,8 +110,6 @@ func (b *SupportCaseResponseBuilder) Status(value string) *SupportCaseResponseBu } // SubscriptionId sets the value of the 'subscription_id' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) SubscriptionId(value string) *SupportCaseResponseBuilder { b.subscriptionId = value b.bitmap_ |= 1024 @@ -135,8 +117,6 @@ func (b *SupportCaseResponseBuilder) SubscriptionId(value string) *SupportCaseRe } // Summary sets the value of the 'summary' attribute to the given value. -// -// func (b *SupportCaseResponseBuilder) Summary(value string) *SupportCaseResponseBuilder { b.summary = value b.bitmap_ |= 2048 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_list_type_json.go index ec8762492..94a34b15e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSupportCaseResponseList(source interface{}) (items []*SupportCaseR return } -// readSupportCaseResponseList reads list of values of the ''support_case_response' type from +// readSupportCaseResponseList reads list of values of the ”support_case_response' type from // the given iterator. func readSupportCaseResponseList(iterator *jsoniter.Iterator) []*SupportCaseResponse { list := []*SupportCaseResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_type.go index c2855e161..75a38b260 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_case_response_type.go @@ -32,8 +32,6 @@ const SupportCaseResponseLinkKind = "SupportCaseResponseLink" const SupportCaseResponseNilKind = "SupportCaseResponseNil" // SupportCaseResponse represents the values of the 'support_case_response' type. -// -// type SupportCaseResponse struct { bitmap_ uint32 id string diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_client.go index 165b9dd9b..e235600fd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_client.go @@ -93,8 +93,6 @@ func (r *SupportCasesPostRequest) Header(name string, value interface{}) *Suppor } // Request sets the value of the 'request' parameter. -// -// func (r *SupportCasesPostRequest) Request(value *SupportCaseRequest) *SupportCasesPostRequest { r.request = value return r @@ -196,8 +194,6 @@ func (r *SupportCasesPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *SupportCasesPostResponse) Response() *SupportCaseResponse { if r == nil { return nil @@ -207,8 +203,6 @@ func (r *SupportCasesPostResponse) Response() *SupportCaseResponse { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SupportCasesPostResponse) GetResponse() (value *SupportCaseResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_server.go index 4ab6465e2..108a479e2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/support_cases_server.go @@ -47,8 +47,6 @@ type SupportCasesPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *SupportCasesPostServerRequest) Request() *SupportCaseRequest { if r == nil { return nil @@ -58,8 +56,6 @@ func (r *SupportCasesPostServerRequest) Request() *SupportCaseRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SupportCasesPostServerRequest) GetRequest() (value *SupportCaseRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -76,8 +72,6 @@ type SupportCasesPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *SupportCasesPostServerResponse) Response(value *SupportCaseResponse) *SupportCasesPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_builder.go index 8dbf95099..3d1c18b94 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_builder.go @@ -35,8 +35,6 @@ func NewTemplateParameter() *TemplateParameterBuilder { } // Content sets the value of the 'content' attribute to the given value. -// -// func (b *TemplateParameterBuilder) Content(value string) *TemplateParameterBuilder { b.content = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *TemplateParameterBuilder) Content(value string) *TemplateParameterBuild } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *TemplateParameterBuilder) Name(value string) *TemplateParameterBuilder { b.name = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_list_type_json.go index e7d47a61d..4d7d0f113 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/template_parameter_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalTemplateParameterList(source interface{}) (items []*TemplateParame return } -// readTemplateParameterList reads list of values of the ''template_parameter' type from +// readTemplateParameterList reads list of values of the ”template_parameter' type from // the given iterator. func readTemplateParameterList(iterator *jsoniter.Iterator) []*TemplateParameter { list := []*TemplateParameter{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_client.go index a35b4be2c..ef1f08a8c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_client.go @@ -82,8 +82,6 @@ func (r *TokenAuthorizationPostRequest) Header(name string, value interface{}) * } // Request sets the value of the 'request' parameter. -// -// func (r *TokenAuthorizationPostRequest) Request(value *TokenAuthorizationRequest) *TokenAuthorizationPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *TokenAuthorizationPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *TokenAuthorizationPostResponse) Response() *TokenAuthorizationResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *TokenAuthorizationPostResponse) Response() *TokenAuthorizationResponse // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *TokenAuthorizationPostResponse) GetResponse() (value *TokenAuthorizationResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_builder.go index bd0557c74..f35a019a5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // TokenAuthorizationRequestBuilder contains the data and logic needed to build 'token_authorization_request' objects. -// -// type TokenAuthorizationRequestBuilder struct { bitmap_ uint32 authorizationToken string @@ -33,8 +31,6 @@ func NewTokenAuthorizationRequest() *TokenAuthorizationRequestBuilder { } // AuthorizationToken sets the value of the 'authorization_token' attribute to the given value. -// -// func (b *TokenAuthorizationRequestBuilder) AuthorizationToken(value string) *TokenAuthorizationRequestBuilder { b.authorizationToken = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_list_type_json.go index 03de79fc8..baec5870a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalTokenAuthorizationRequestList(source interface{}) (items []*TokenA return } -// readTokenAuthorizationRequestList reads list of values of the ''token_authorization_request' type from +// readTokenAuthorizationRequestList reads list of values of the ”token_authorization_request' type from // the given iterator. func readTokenAuthorizationRequestList(iterator *jsoniter.Iterator) []*TokenAuthorizationRequest { list := []*TokenAuthorizationRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_type.go index 7a3ffdbce..076cfe132 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_request_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // TokenAuthorizationRequest represents the values of the 'token_authorization_request' type. -// -// type TokenAuthorizationRequest struct { bitmap_ uint32 authorizationToken string diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_builder.go index 66476c6bf..3b99f0778 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // TokenAuthorizationResponseBuilder contains the data and logic needed to build 'token_authorization_response' objects. -// -// type TokenAuthorizationResponseBuilder struct { bitmap_ uint32 account *AccountBuilder @@ -33,8 +31,6 @@ func NewTokenAuthorizationResponse() *TokenAuthorizationResponseBuilder { } // Account sets the value of the 'account' attribute to the given value. -// -// func (b *TokenAuthorizationResponseBuilder) Account(value *AccountBuilder) *TokenAuthorizationResponseBuilder { b.account = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_list_type_json.go index c3d924f48..32230ec7c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalTokenAuthorizationResponseList(source interface{}) (items []*Token return } -// readTokenAuthorizationResponseList reads list of values of the ''token_authorization_response' type from +// readTokenAuthorizationResponseList reads list of values of the ”token_authorization_response' type from // the given iterator. func readTokenAuthorizationResponseList(iterator *jsoniter.Iterator) []*TokenAuthorizationResponse { list := []*TokenAuthorizationResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_type.go index 4caf490fc..0e4911f24 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_response_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // TokenAuthorizationResponse represents the values of the 'token_authorization_response' type. -// -// type TokenAuthorizationResponse struct { bitmap_ uint32 account *Account @@ -34,8 +32,6 @@ func (o *TokenAuthorizationResponse) Empty() bool { // Account returns the value of the 'account' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *TokenAuthorizationResponse) Account() *Account { if o != nil && o.bitmap_&1 != 0 { return o.account @@ -45,8 +41,6 @@ func (o *TokenAuthorizationResponse) Account() *Account { // GetAccount returns the value of the 'account' attribute and // a flag indicating if the attribute has a value. -// -// func (o *TokenAuthorizationResponse) GetAccount() (value *Account, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_server.go index 956faa6a2..5a8a48c40 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/token_authorization_server.go @@ -42,8 +42,6 @@ type TokenAuthorizationPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *TokenAuthorizationPostServerRequest) Request() *TokenAuthorizationRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *TokenAuthorizationPostServerRequest) Request() *TokenAuthorizationReque // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *TokenAuthorizationPostServerRequest) GetRequest() (value *TokenAuthorizationRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type TokenAuthorizationPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *TokenAuthorizationPostServerResponse) Response(value *TokenAuthorizationResponse) *TokenAuthorizationPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_builder.go index 498a12c10..d44cbb0ce 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ValueUnitBuilder contains the data and logic needed to build 'value_unit' objects. -// -// type ValueUnitBuilder struct { bitmap_ uint32 unit string @@ -34,8 +32,6 @@ func NewValueUnit() *ValueUnitBuilder { } // Unit sets the value of the 'unit' attribute to the given value. -// -// func (b *ValueUnitBuilder) Unit(value string) *ValueUnitBuilder { b.unit = value b.bitmap_ |= 1 @@ -43,8 +39,6 @@ func (b *ValueUnitBuilder) Unit(value string) *ValueUnitBuilder { } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *ValueUnitBuilder) Value(value float64) *ValueUnitBuilder { b.value = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_list_type_json.go index acf4f6ac8..7ae670f17 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalValueUnitList(source interface{}) (items []*ValueUnit, err error) return } -// readValueUnitList reads list of values of the ''value_unit' type from +// readValueUnitList reads list of values of the ”value_unit' type from // the given iterator. func readValueUnitList(iterator *jsoniter.Iterator) []*ValueUnit { list := []*ValueUnit{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_type.go index a9219544d..b91d7811a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1/value_unit_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/accountsmgmt/v1 // ValueUnit represents the values of the 'value_unit' type. -// -// type ValueUnit struct { bitmap_ uint32 unit string @@ -35,8 +33,6 @@ func (o *ValueUnit) Empty() bool { // Unit returns the value of the 'unit' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ValueUnit) Unit() string { if o != nil && o.bitmap_&1 != 0 { return o.unit @@ -46,8 +42,6 @@ func (o *ValueUnit) Unit() string { // GetUnit returns the value of the 'unit' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ValueUnit) GetUnit() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { @@ -58,8 +52,6 @@ func (o *ValueUnit) GetUnit() (value string, ok bool) { // Value returns the value of the 'value' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ValueUnit) Value() float64 { if o != nil && o.bitmap_&2 != 0 { return o.value @@ -69,8 +61,6 @@ func (o *ValueUnit) Value() float64 { // GetValue returns the value of the 'value' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ValueUnit) GetValue() (value float64, ok bool) { ok = o != nil && o.bitmap_&2 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authentication/handler.go b/vendor/github.com/openshift-online/ocm-sdk-go/authentication/handler.go index 47851c381..03e8e4228 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authentication/handler.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authentication/handler.go @@ -145,11 +145,11 @@ func (b *HandlerBuilder) KeysInsecure(value bool) *HandlerBuilder { // ACLFile sets a file that contains items of the access control list. This should be a YAML file // with the following format: // -// - claim: email -// pattern: ^.*@redhat\.com$ +// - claim: email +// pattern: ^.*@redhat\.com$ // -// - claim: sub -// pattern: ^f:b3f7b485-7184-43c8-8169-37bd6d1fe4aa:myuser$ +// - claim: sub +// pattern: ^f:b3f7b485-7184-43c8-8169-37bd6d1fe4aa:myuser$ // // The claim field is the name of the claim of the JWT token that will be checked. The pattern field // is a regular expression. If the claim matches the regular expression then access will be allowed. diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authentication/transport_wrapper.go b/vendor/github.com/openshift-online/ocm-sdk-go/authentication/transport_wrapper.go index 817d7db42..787270ac3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authentication/transport_wrapper.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authentication/transport_wrapper.go @@ -291,7 +291,7 @@ func (b *TransportWrapperBuilder) TransportWrappers( // the `le` label is `1` then the value will be the number of requests that were processed in less // than one second. // -// code - HTTP response code, for example 200 or 500. +// code - HTTP response code, for example 200 or 500. // // The value of the `code` label will be zero when sending the request failed without a response // code, for example if it wasn't possible to open the connection, or if there was a timeout waiting diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_client.go index 20616bf44..634ce7c7f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_client.go @@ -82,8 +82,6 @@ func (r *AccessReviewPostRequest) Header(name string, value interface{}) *Access } // Request sets the value of the 'request' parameter. -// -// func (r *AccessReviewPostRequest) Request(value *AccessReviewRequest) *AccessReviewPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *AccessReviewPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *AccessReviewPostResponse) Response() *AccessReviewResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *AccessReviewPostResponse) Response() *AccessReviewResponse { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AccessReviewPostResponse) GetResponse() (value *AccessReviewResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_builder.go index 805cfd231..80d14c6f0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_builder.go @@ -39,8 +39,6 @@ func NewAccessReviewRequest() *AccessReviewRequestBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *AccessReviewRequestBuilder) AccountUsername(value string) *AccessReviewRequestBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -48,8 +46,6 @@ func (b *AccessReviewRequestBuilder) AccountUsername(value string) *AccessReview } // Action sets the value of the 'action' attribute to the given value. -// -// func (b *AccessReviewRequestBuilder) Action(value string) *AccessReviewRequestBuilder { b.action = value b.bitmap_ |= 2 @@ -57,8 +53,6 @@ func (b *AccessReviewRequestBuilder) Action(value string) *AccessReviewRequestBu } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *AccessReviewRequestBuilder) ClusterID(value string) *AccessReviewRequestBuilder { b.clusterID = value b.bitmap_ |= 4 @@ -66,8 +60,6 @@ func (b *AccessReviewRequestBuilder) ClusterID(value string) *AccessReviewReques } // ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value. -// -// func (b *AccessReviewRequestBuilder) ClusterUUID(value string) *AccessReviewRequestBuilder { b.clusterUUID = value b.bitmap_ |= 8 @@ -75,8 +67,6 @@ func (b *AccessReviewRequestBuilder) ClusterUUID(value string) *AccessReviewRequ } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *AccessReviewRequestBuilder) OrganizationID(value string) *AccessReviewRequestBuilder { b.organizationID = value b.bitmap_ |= 16 @@ -84,8 +74,6 @@ func (b *AccessReviewRequestBuilder) OrganizationID(value string) *AccessReviewR } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *AccessReviewRequestBuilder) ResourceType(value string) *AccessReviewRequestBuilder { b.resourceType = value b.bitmap_ |= 32 @@ -93,8 +81,6 @@ func (b *AccessReviewRequestBuilder) ResourceType(value string) *AccessReviewReq } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *AccessReviewRequestBuilder) SubscriptionID(value string) *AccessReviewRequestBuilder { b.subscriptionID = value b.bitmap_ |= 64 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_list_type_json.go index 3eb654981..63d730f2e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAccessReviewRequestList(source interface{}) (items []*AccessReview return } -// readAccessReviewRequestList reads list of values of the ''access_review_request' type from +// readAccessReviewRequestList reads list of values of the ”access_review_request' type from // the given iterator. func readAccessReviewRequestList(iterator *jsoniter.Iterator) []*AccessReviewRequest { list := []*AccessReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_builder.go index ac03f0c54..c86283270 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_builder.go @@ -40,8 +40,6 @@ func NewAccessReviewResponse() *AccessReviewResponseBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) AccountUsername(value string) *AccessReviewResponseBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -49,8 +47,6 @@ func (b *AccessReviewResponseBuilder) AccountUsername(value string) *AccessRevie } // Action sets the value of the 'action' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) Action(value string) *AccessReviewResponseBuilder { b.action = value b.bitmap_ |= 2 @@ -58,8 +54,6 @@ func (b *AccessReviewResponseBuilder) Action(value string) *AccessReviewResponse } // Allowed sets the value of the 'allowed' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) Allowed(value bool) *AccessReviewResponseBuilder { b.allowed = value b.bitmap_ |= 4 @@ -67,8 +61,6 @@ func (b *AccessReviewResponseBuilder) Allowed(value bool) *AccessReviewResponseB } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) ClusterID(value string) *AccessReviewResponseBuilder { b.clusterID = value b.bitmap_ |= 8 @@ -76,8 +68,6 @@ func (b *AccessReviewResponseBuilder) ClusterID(value string) *AccessReviewRespo } // ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) ClusterUUID(value string) *AccessReviewResponseBuilder { b.clusterUUID = value b.bitmap_ |= 16 @@ -85,8 +75,6 @@ func (b *AccessReviewResponseBuilder) ClusterUUID(value string) *AccessReviewRes } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) OrganizationID(value string) *AccessReviewResponseBuilder { b.organizationID = value b.bitmap_ |= 32 @@ -94,8 +82,6 @@ func (b *AccessReviewResponseBuilder) OrganizationID(value string) *AccessReview } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) ResourceType(value string) *AccessReviewResponseBuilder { b.resourceType = value b.bitmap_ |= 64 @@ -103,8 +89,6 @@ func (b *AccessReviewResponseBuilder) ResourceType(value string) *AccessReviewRe } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *AccessReviewResponseBuilder) SubscriptionID(value string) *AccessReviewResponseBuilder { b.subscriptionID = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_list_type_json.go index f1350631e..c4aa84f03 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAccessReviewResponseList(source interface{}) (items []*AccessRevie return } -// readAccessReviewResponseList reads list of values of the ''access_review_response' type from +// readAccessReviewResponseList reads list of values of the ”access_review_response' type from // the given iterator. func readAccessReviewResponseList(iterator *jsoniter.Iterator) []*AccessReviewResponse { list := []*AccessReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_server.go index 500ddb487..641705a71 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/access_review_server.go @@ -42,8 +42,6 @@ type AccessReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *AccessReviewPostServerRequest) Request() *AccessReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *AccessReviewPostServerRequest) Request() *AccessReviewRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AccessReviewPostServerRequest) GetRequest() (value *AccessReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type AccessReviewPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *AccessReviewPostServerResponse) Response(value *AccessReviewResponse) *AccessReviewPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/boolean_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/boolean_list_type_json.go index 15cdaa53e..a43a16745 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/boolean_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/boolean_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalBooleanList(source interface{}) (items []bool, err error) { return } -// readBooleanList reads list of values of the ''boolean' type from +// readBooleanList reads list of values of the ”boolean' type from // the given iterator. func readBooleanList(iterator *jsoniter.Iterator) []bool { list := []bool{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_client.go index b262a36d4..e4e2ba635 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_client.go @@ -82,8 +82,6 @@ func (r *CapabilityReviewPostRequest) Header(name string, value interface{}) *Ca } // Request sets the value of the 'request' parameter. -// -// func (r *CapabilityReviewPostRequest) Request(value *CapabilityReviewRequest) *CapabilityReviewPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *CapabilityReviewPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *CapabilityReviewPostResponse) Response() *CapabilityReviewResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *CapabilityReviewPostResponse) Response() *CapabilityReviewResponse { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CapabilityReviewPostResponse) GetResponse() (value *CapabilityReviewResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_builder.go index 34b9b669a..86510049d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_builder.go @@ -39,8 +39,6 @@ func NewCapabilityReviewRequest() *CapabilityReviewRequestBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *CapabilityReviewRequestBuilder) AccountUsername(value string) *CapabilityReviewRequestBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -48,8 +46,6 @@ func (b *CapabilityReviewRequestBuilder) AccountUsername(value string) *Capabili } // Capability sets the value of the 'capability' attribute to the given value. -// -// func (b *CapabilityReviewRequestBuilder) Capability(value string) *CapabilityReviewRequestBuilder { b.capability = value b.bitmap_ |= 2 @@ -57,8 +53,6 @@ func (b *CapabilityReviewRequestBuilder) Capability(value string) *CapabilityRev } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *CapabilityReviewRequestBuilder) ClusterID(value string) *CapabilityReviewRequestBuilder { b.clusterID = value b.bitmap_ |= 4 @@ -66,8 +60,6 @@ func (b *CapabilityReviewRequestBuilder) ClusterID(value string) *CapabilityRevi } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *CapabilityReviewRequestBuilder) OrganizationID(value string) *CapabilityReviewRequestBuilder { b.organizationID = value b.bitmap_ |= 8 @@ -75,8 +67,6 @@ func (b *CapabilityReviewRequestBuilder) OrganizationID(value string) *Capabilit } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *CapabilityReviewRequestBuilder) ResourceType(value string) *CapabilityReviewRequestBuilder { b.resourceType = value b.bitmap_ |= 16 @@ -84,8 +74,6 @@ func (b *CapabilityReviewRequestBuilder) ResourceType(value string) *CapabilityR } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *CapabilityReviewRequestBuilder) SubscriptionID(value string) *CapabilityReviewRequestBuilder { b.subscriptionID = value b.bitmap_ |= 32 @@ -93,8 +81,6 @@ func (b *CapabilityReviewRequestBuilder) SubscriptionID(value string) *Capabilit } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *CapabilityReviewRequestBuilder) Type(value string) *CapabilityReviewRequestBuilder { b.type_ = value b.bitmap_ |= 64 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_list_type_json.go index 8f6b7f0e6..8fb0476ab 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCapabilityReviewRequestList(source interface{}) (items []*Capabili return } -// readCapabilityReviewRequestList reads list of values of the ''capability_review_request' type from +// readCapabilityReviewRequestList reads list of values of the ”capability_review_request' type from // the given iterator. func readCapabilityReviewRequestList(iterator *jsoniter.Iterator) []*CapabilityReviewRequest { list := []*CapabilityReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_builder.go index bce0d002c..b69be8f29 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_builder.go @@ -33,8 +33,6 @@ func NewCapabilityReviewResponse() *CapabilityReviewResponseBuilder { } // Result sets the value of the 'result' attribute to the given value. -// -// func (b *CapabilityReviewResponseBuilder) Result(value string) *CapabilityReviewResponseBuilder { b.result = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_list_type_json.go index fff57d7fd..84c6eaf4e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCapabilityReviewResponseList(source interface{}) (items []*Capabil return } -// readCapabilityReviewResponseList reads list of values of the ''capability_review_response' type from +// readCapabilityReviewResponseList reads list of values of the ”capability_review_response' type from // the given iterator. func readCapabilityReviewResponseList(iterator *jsoniter.Iterator) []*CapabilityReviewResponse { list := []*CapabilityReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_type.go index 33d84fe91..55716bed7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_response_type.go @@ -34,8 +34,6 @@ func (o *CapabilityReviewResponse) Empty() bool { // Result returns the value of the 'result' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *CapabilityReviewResponse) Result() string { if o != nil && o.bitmap_&1 != 0 { return o.result @@ -45,8 +43,6 @@ func (o *CapabilityReviewResponse) Result() string { // GetResult returns the value of the 'result' attribute and // a flag indicating if the attribute has a value. -// -// func (o *CapabilityReviewResponse) GetResult() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_server.go index 2c6850852..870b97be1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/capability_review_server.go @@ -42,8 +42,6 @@ type CapabilityReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *CapabilityReviewPostServerRequest) Request() *CapabilityReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *CapabilityReviewPostServerRequest) Request() *CapabilityReviewRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CapabilityReviewPostServerRequest) GetRequest() (value *CapabilityReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type CapabilityReviewPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *CapabilityReviewPostServerResponse) Response(value *CapabilityReviewResponse) *CapabilityReviewPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/date_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/date_list_type_json.go index 7911556ca..bbb11e148 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/date_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/date_list_type_json.go @@ -61,7 +61,7 @@ func UnmarshalDateList(source interface{}) (items []time.Time, err error) { return } -// readDateList reads list of values of the ''date' type from +// readDateList reads list of values of the ”date' type from // the given iterator. func readDateList(iterator *jsoniter.Iterator) []time.Time { list := []time.Time{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_client.go index 36dea6293..67988a181 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_client.go @@ -82,8 +82,6 @@ func (r *ExportControlReviewPostRequest) Header(name string, value interface{}) } // Request sets the value of the 'request' parameter. -// -// func (r *ExportControlReviewPostRequest) Request(value *ExportControlReviewRequest) *ExportControlReviewPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *ExportControlReviewPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *ExportControlReviewPostResponse) Response() *ExportControlReviewResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *ExportControlReviewPostResponse) Response() *ExportControlReviewRespons // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ExportControlReviewPostResponse) GetResponse() (value *ExportControlReviewResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_builder.go index c30c5b388..6a034ad6f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/authorizations/v1 // ExportControlReviewRequestBuilder contains the data and logic needed to build 'export_control_review_request' objects. -// -// type ExportControlReviewRequestBuilder struct { bitmap_ uint32 accountUsername string @@ -33,8 +31,6 @@ func NewExportControlReviewRequest() *ExportControlReviewRequestBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *ExportControlReviewRequestBuilder) AccountUsername(value string) *ExportControlReviewRequestBuilder { b.accountUsername = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_list_type_json.go index d16961757..39510630f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalExportControlReviewRequestList(source interface{}) (items []*Expor return } -// readExportControlReviewRequestList reads list of values of the ''export_control_review_request' type from +// readExportControlReviewRequestList reads list of values of the ”export_control_review_request' type from // the given iterator. func readExportControlReviewRequestList(iterator *jsoniter.Iterator) []*ExportControlReviewRequest { list := []*ExportControlReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_type.go index cb8c8f6cb..05693bca3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_request_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/authorizations/v1 // ExportControlReviewRequest represents the values of the 'export_control_review_request' type. -// -// type ExportControlReviewRequest struct { bitmap_ uint32 accountUsername string @@ -34,8 +32,6 @@ func (o *ExportControlReviewRequest) Empty() bool { // AccountUsername returns the value of the 'account_username' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ExportControlReviewRequest) AccountUsername() string { if o != nil && o.bitmap_&1 != 0 { return o.accountUsername @@ -45,8 +41,6 @@ func (o *ExportControlReviewRequest) AccountUsername() string { // GetAccountUsername returns the value of the 'account_username' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ExportControlReviewRequest) GetAccountUsername() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_builder.go index 1a374b7dd..816c86968 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/authorizations/v1 // ExportControlReviewResponseBuilder contains the data and logic needed to build 'export_control_review_response' objects. -// -// type ExportControlReviewResponseBuilder struct { bitmap_ uint32 restricted bool @@ -33,8 +31,6 @@ func NewExportControlReviewResponse() *ExportControlReviewResponseBuilder { } // Restricted sets the value of the 'restricted' attribute to the given value. -// -// func (b *ExportControlReviewResponseBuilder) Restricted(value bool) *ExportControlReviewResponseBuilder { b.restricted = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_list_type_json.go index fd1f097ec..9bd01819a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalExportControlReviewResponseList(source interface{}) (items []*Expo return } -// readExportControlReviewResponseList reads list of values of the ''export_control_review_response' type from +// readExportControlReviewResponseList reads list of values of the ”export_control_review_response' type from // the given iterator. func readExportControlReviewResponseList(iterator *jsoniter.Iterator) []*ExportControlReviewResponse { list := []*ExportControlReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_type.go index f70b2fa3c..c71c9a699 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_response_type.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/authorizations/v1 // ExportControlReviewResponse represents the values of the 'export_control_review_response' type. -// -// type ExportControlReviewResponse struct { bitmap_ uint32 restricted bool @@ -34,8 +32,6 @@ func (o *ExportControlReviewResponse) Empty() bool { // Restricted returns the value of the 'restricted' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ExportControlReviewResponse) Restricted() bool { if o != nil && o.bitmap_&1 != 0 { return o.restricted @@ -45,8 +41,6 @@ func (o *ExportControlReviewResponse) Restricted() bool { // GetRestricted returns the value of the 'restricted' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ExportControlReviewResponse) GetRestricted() (value bool, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_server.go index 5fe138e79..ed2dfa4e8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/export_control_review_server.go @@ -42,8 +42,6 @@ type ExportControlReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *ExportControlReviewPostServerRequest) Request() *ExportControlReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *ExportControlReviewPostServerRequest) Request() *ExportControlReviewReq // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ExportControlReviewPostServerRequest) GetRequest() (value *ExportControlReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type ExportControlReviewPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *ExportControlReviewPostServerResponse) Response(value *ExportControlReviewResponse) *ExportControlReviewPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_client.go index 159c00b80..84cfe5c6c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_client.go @@ -82,8 +82,6 @@ func (r *FeatureReviewPostRequest) Header(name string, value interface{}) *Featu } // Request sets the value of the 'request' parameter. -// -// func (r *FeatureReviewPostRequest) Request(value *FeatureReviewRequest) *FeatureReviewPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *FeatureReviewPostResponse) Error() *errors.Error { } // Request returns the value of the 'request' parameter. -// -// func (r *FeatureReviewPostResponse) Request() *FeatureReviewResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *FeatureReviewPostResponse) Request() *FeatureReviewResponse { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FeatureReviewPostResponse) GetRequest() (value *FeatureReviewResponse, ok bool) { ok = r != nil && r.request != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_builder.go index a563a396d..d951728cb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_builder.go @@ -34,8 +34,6 @@ func NewFeatureReviewRequest() *FeatureReviewRequestBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *FeatureReviewRequestBuilder) AccountUsername(value string) *FeatureReviewRequestBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *FeatureReviewRequestBuilder) AccountUsername(value string) *FeatureRevi } // Feature sets the value of the 'feature' attribute to the given value. -// -// func (b *FeatureReviewRequestBuilder) Feature(value string) *FeatureReviewRequestBuilder { b.feature = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_list_type_json.go index 33bc4eb84..80fbe2963 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFeatureReviewRequestList(source interface{}) (items []*FeatureRevi return } -// readFeatureReviewRequestList reads list of values of the ''feature_review_request' type from +// readFeatureReviewRequestList reads list of values of the ”feature_review_request' type from // the given iterator. func readFeatureReviewRequestList(iterator *jsoniter.Iterator) []*FeatureReviewRequest { list := []*FeatureReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_builder.go index ae2d98b2d..d63695168 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_builder.go @@ -34,8 +34,6 @@ func NewFeatureReviewResponse() *FeatureReviewResponseBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *FeatureReviewResponseBuilder) Enabled(value bool) *FeatureReviewResponseBuilder { b.enabled = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *FeatureReviewResponseBuilder) Enabled(value bool) *FeatureReviewRespons } // FeatureID sets the value of the 'feature_ID' attribute to the given value. -// -// func (b *FeatureReviewResponseBuilder) FeatureID(value string) *FeatureReviewResponseBuilder { b.featureID = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_list_type_json.go index 7362febc4..1e092b66d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFeatureReviewResponseList(source interface{}) (items []*FeatureRev return } -// readFeatureReviewResponseList reads list of values of the ''feature_review_response' type from +// readFeatureReviewResponseList reads list of values of the ”feature_review_response' type from // the given iterator. func readFeatureReviewResponseList(iterator *jsoniter.Iterator) []*FeatureReviewResponse { list := []*FeatureReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_server.go index 44d2afacb..1547bfc35 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/feature_review_server.go @@ -42,8 +42,6 @@ type FeatureReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *FeatureReviewPostServerRequest) Request() *FeatureReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *FeatureReviewPostServerRequest) Request() *FeatureReviewRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FeatureReviewPostServerRequest) GetRequest() (value *FeatureReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type FeatureReviewPostServerResponse struct { } // Request sets the value of the 'request' parameter. -// -// func (r *FeatureReviewPostServerResponse) Request(value *FeatureReviewResponse) *FeatureReviewPostServerResponse { r.request = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/float_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/float_list_type_json.go index 87ed7cd17..29fdd475d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/float_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/float_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFloatList(source interface{}) (items []float64, err error) { return } -// readFloatList reads list of values of the ''float' type from +// readFloatList reads list of values of the ”float' type from // the given iterator. func readFloatList(iterator *jsoniter.Iterator) []float64 { list := []float64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/integer_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/integer_list_type_json.go index ee15a43ff..f77bdadc9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/integer_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/integer_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIntegerList(source interface{}) (items []int, err error) { return } -// readIntegerList reads list of values of the ''integer' type from +// readIntegerList reads list of values of the ”integer' type from // the given iterator. func readIntegerList(iterator *jsoniter.Iterator) []int { list := []int{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/interface_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/interface_list_type_json.go index 09ecbb02b..86f3dbc6e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/interface_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/interface_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error) return } -// readInterfaceList reads list of values of the ''interface' type from +// readInterfaceList reads list of values of the ”interface' type from // the given iterator. func readInterfaceList(iterator *jsoniter.Iterator) []interface{} { list := []interface{}{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/long_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/long_list_type_json.go index f581dbb35..229f6b4b9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/long_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/long_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLongList(source interface{}) (items []int64, err error) { return } -// readLongList reads list of values of the ''long' type from +// readLongList reads list of values of the ”long' type from // the given iterator. func readLongList(iterator *jsoniter.Iterator) []int64 { list := []int64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_builder.go index c5d75bbc1..4f2f81450 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_builder.go @@ -39,8 +39,6 @@ func NewResourceReview() *ResourceReviewBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *ResourceReviewBuilder) AccountUsername(value string) *ResourceReviewBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -48,8 +46,6 @@ func (b *ResourceReviewBuilder) AccountUsername(value string) *ResourceReviewBui } // Action sets the value of the 'action' attribute to the given value. -// -// func (b *ResourceReviewBuilder) Action(value string) *ResourceReviewBuilder { b.action = value b.bitmap_ |= 2 @@ -57,8 +53,6 @@ func (b *ResourceReviewBuilder) Action(value string) *ResourceReviewBuilder { } // ClusterIDs sets the value of the 'cluster_IDs' attribute to the given values. -// -// func (b *ResourceReviewBuilder) ClusterIDs(values ...string) *ResourceReviewBuilder { b.clusterIDs = make([]string, len(values)) copy(b.clusterIDs, values) @@ -67,8 +61,6 @@ func (b *ResourceReviewBuilder) ClusterIDs(values ...string) *ResourceReviewBuil } // ClusterUUIDs sets the value of the 'cluster_UUIDs' attribute to the given values. -// -// func (b *ResourceReviewBuilder) ClusterUUIDs(values ...string) *ResourceReviewBuilder { b.clusterUUIDs = make([]string, len(values)) copy(b.clusterUUIDs, values) @@ -77,8 +69,6 @@ func (b *ResourceReviewBuilder) ClusterUUIDs(values ...string) *ResourceReviewBu } // OrganizationIDs sets the value of the 'organization_IDs' attribute to the given values. -// -// func (b *ResourceReviewBuilder) OrganizationIDs(values ...string) *ResourceReviewBuilder { b.organizationIDs = make([]string, len(values)) copy(b.organizationIDs, values) @@ -87,8 +77,6 @@ func (b *ResourceReviewBuilder) OrganizationIDs(values ...string) *ResourceRevie } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *ResourceReviewBuilder) ResourceType(value string) *ResourceReviewBuilder { b.resourceType = value b.bitmap_ |= 32 @@ -96,8 +84,6 @@ func (b *ResourceReviewBuilder) ResourceType(value string) *ResourceReviewBuilde } // SubscriptionIDs sets the value of the 'subscription_IDs' attribute to the given values. -// -// func (b *ResourceReviewBuilder) SubscriptionIDs(values ...string) *ResourceReviewBuilder { b.subscriptionIDs = make([]string, len(values)) copy(b.subscriptionIDs, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_client.go index 0a93d38bf..65b309240 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_client.go @@ -83,8 +83,6 @@ func (r *ResourceReviewPostRequest) Header(name string, value interface{}) *Reso } // Request sets the value of the 'request' parameter. -// -// func (r *ResourceReviewPostRequest) Request(value *ResourceReviewRequest) *ResourceReviewPostRequest { r.request = value return r @@ -186,8 +184,6 @@ func (r *ResourceReviewPostResponse) Error() *errors.Error { } // Review returns the value of the 'review' parameter. -// -// func (r *ResourceReviewPostResponse) Review() *ResourceReview { if r == nil { return nil @@ -197,8 +193,6 @@ func (r *ResourceReviewPostResponse) Review() *ResourceReview { // GetReview returns the value of the 'review' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ResourceReviewPostResponse) GetReview() (value *ResourceReview, ok bool) { ok = r != nil && r.review != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_list_type_json.go index d87874c69..dc136795a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalResourceReviewList(source interface{}) (items []*ResourceReview, e return } -// readResourceReviewList reads list of values of the ''resource_review' type from +// readResourceReviewList reads list of values of the ”resource_review' type from // the given iterator. func readResourceReviewList(iterator *jsoniter.Iterator) []*ResourceReview { list := []*ResourceReview{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_builder.go index 9f5545f8c..93a1cbb1a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_builder.go @@ -36,8 +36,6 @@ func NewResourceReviewRequest() *ResourceReviewRequestBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *ResourceReviewRequestBuilder) AccountUsername(value string) *ResourceReviewRequestBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -45,8 +43,6 @@ func (b *ResourceReviewRequestBuilder) AccountUsername(value string) *ResourceRe } // Action sets the value of the 'action' attribute to the given value. -// -// func (b *ResourceReviewRequestBuilder) Action(value string) *ResourceReviewRequestBuilder { b.action = value b.bitmap_ |= 2 @@ -54,8 +50,6 @@ func (b *ResourceReviewRequestBuilder) Action(value string) *ResourceReviewReque } // ReduceClusterList sets the value of the 'reduce_cluster_list' attribute to the given value. -// -// func (b *ResourceReviewRequestBuilder) ReduceClusterList(value bool) *ResourceReviewRequestBuilder { b.reduceClusterList = value b.bitmap_ |= 4 @@ -63,8 +57,6 @@ func (b *ResourceReviewRequestBuilder) ReduceClusterList(value bool) *ResourceRe } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *ResourceReviewRequestBuilder) ResourceType(value string) *ResourceReviewRequestBuilder { b.resourceType = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_list_type_json.go index e8f478998..8bf9e2f4b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalResourceReviewRequestList(source interface{}) (items []*ResourceRe return } -// readResourceReviewRequestList reads list of values of the ''resource_review_request' type from +// readResourceReviewRequestList reads list of values of the ”resource_review_request' type from // the given iterator. func readResourceReviewRequestList(iterator *jsoniter.Iterator) []*ResourceReviewRequest { list := []*ResourceReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_server.go index 131c59fd7..c3ebb918b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/resource_review_server.go @@ -43,8 +43,6 @@ type ResourceReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *ResourceReviewPostServerRequest) Request() *ResourceReviewRequest { if r == nil { return nil @@ -54,8 +52,6 @@ func (r *ResourceReviewPostServerRequest) Request() *ResourceReviewRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ResourceReviewPostServerRequest) GetRequest() (value *ResourceReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -72,8 +68,6 @@ type ResourceReviewPostServerResponse struct { } // Review sets the value of the 'review' parameter. -// -// func (r *ResourceReviewPostServerResponse) Review(value *ResourceReview) *ResourceReviewPostServerResponse { r.review = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_client.go index 4c1fcee75..01e851346 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_client.go @@ -82,8 +82,6 @@ func (r *SelfAccessReviewPostRequest) Header(name string, value interface{}) *Se } // Request sets the value of the 'request' parameter. -// -// func (r *SelfAccessReviewPostRequest) Request(value *SelfAccessReviewRequest) *SelfAccessReviewPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *SelfAccessReviewPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *SelfAccessReviewPostResponse) Response() *SelfAccessReviewResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *SelfAccessReviewPostResponse) Response() *SelfAccessReviewResponse { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfAccessReviewPostResponse) GetResponse() (value *SelfAccessReviewResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_builder.go index 61330c0ac..f241f6389 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_builder.go @@ -38,8 +38,6 @@ func NewSelfAccessReviewRequest() *SelfAccessReviewRequestBuilder { } // Action sets the value of the 'action' attribute to the given value. -// -// func (b *SelfAccessReviewRequestBuilder) Action(value string) *SelfAccessReviewRequestBuilder { b.action = value b.bitmap_ |= 1 @@ -47,8 +45,6 @@ func (b *SelfAccessReviewRequestBuilder) Action(value string) *SelfAccessReviewR } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *SelfAccessReviewRequestBuilder) ClusterID(value string) *SelfAccessReviewRequestBuilder { b.clusterID = value b.bitmap_ |= 2 @@ -56,8 +52,6 @@ func (b *SelfAccessReviewRequestBuilder) ClusterID(value string) *SelfAccessRevi } // ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value. -// -// func (b *SelfAccessReviewRequestBuilder) ClusterUUID(value string) *SelfAccessReviewRequestBuilder { b.clusterUUID = value b.bitmap_ |= 4 @@ -65,8 +59,6 @@ func (b *SelfAccessReviewRequestBuilder) ClusterUUID(value string) *SelfAccessRe } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *SelfAccessReviewRequestBuilder) OrganizationID(value string) *SelfAccessReviewRequestBuilder { b.organizationID = value b.bitmap_ |= 8 @@ -74,8 +66,6 @@ func (b *SelfAccessReviewRequestBuilder) OrganizationID(value string) *SelfAcces } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *SelfAccessReviewRequestBuilder) ResourceType(value string) *SelfAccessReviewRequestBuilder { b.resourceType = value b.bitmap_ |= 16 @@ -83,8 +73,6 @@ func (b *SelfAccessReviewRequestBuilder) ResourceType(value string) *SelfAccessR } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *SelfAccessReviewRequestBuilder) SubscriptionID(value string) *SelfAccessReviewRequestBuilder { b.subscriptionID = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_list_type_json.go index 45f4d967a..5a0f185ee 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSelfAccessReviewRequestList(source interface{}) (items []*SelfAcce return } -// readSelfAccessReviewRequestList reads list of values of the ''self_access_review_request' type from +// readSelfAccessReviewRequestList reads list of values of the ”self_access_review_request' type from // the given iterator. func readSelfAccessReviewRequestList(iterator *jsoniter.Iterator) []*SelfAccessReviewRequest { list := []*SelfAccessReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_builder.go index aec84b5c4..6e9e0199a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_builder.go @@ -39,8 +39,6 @@ func NewSelfAccessReviewResponse() *SelfAccessReviewResponseBuilder { } // Action sets the value of the 'action' attribute to the given value. -// -// func (b *SelfAccessReviewResponseBuilder) Action(value string) *SelfAccessReviewResponseBuilder { b.action = value b.bitmap_ |= 1 @@ -48,8 +46,6 @@ func (b *SelfAccessReviewResponseBuilder) Action(value string) *SelfAccessReview } // Allowed sets the value of the 'allowed' attribute to the given value. -// -// func (b *SelfAccessReviewResponseBuilder) Allowed(value bool) *SelfAccessReviewResponseBuilder { b.allowed = value b.bitmap_ |= 2 @@ -57,8 +53,6 @@ func (b *SelfAccessReviewResponseBuilder) Allowed(value bool) *SelfAccessReviewR } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *SelfAccessReviewResponseBuilder) ClusterID(value string) *SelfAccessReviewResponseBuilder { b.clusterID = value b.bitmap_ |= 4 @@ -66,8 +60,6 @@ func (b *SelfAccessReviewResponseBuilder) ClusterID(value string) *SelfAccessRev } // ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value. -// -// func (b *SelfAccessReviewResponseBuilder) ClusterUUID(value string) *SelfAccessReviewResponseBuilder { b.clusterUUID = value b.bitmap_ |= 8 @@ -75,8 +67,6 @@ func (b *SelfAccessReviewResponseBuilder) ClusterUUID(value string) *SelfAccessR } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *SelfAccessReviewResponseBuilder) OrganizationID(value string) *SelfAccessReviewResponseBuilder { b.organizationID = value b.bitmap_ |= 16 @@ -84,8 +74,6 @@ func (b *SelfAccessReviewResponseBuilder) OrganizationID(value string) *SelfAcce } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *SelfAccessReviewResponseBuilder) ResourceType(value string) *SelfAccessReviewResponseBuilder { b.resourceType = value b.bitmap_ |= 32 @@ -93,8 +81,6 @@ func (b *SelfAccessReviewResponseBuilder) ResourceType(value string) *SelfAccess } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *SelfAccessReviewResponseBuilder) SubscriptionID(value string) *SelfAccessReviewResponseBuilder { b.subscriptionID = value b.bitmap_ |= 64 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_list_type_json.go index f08496784..d25f8bdae 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSelfAccessReviewResponseList(source interface{}) (items []*SelfAcc return } -// readSelfAccessReviewResponseList reads list of values of the ''self_access_review_response' type from +// readSelfAccessReviewResponseList reads list of values of the ”self_access_review_response' type from // the given iterator. func readSelfAccessReviewResponseList(iterator *jsoniter.Iterator) []*SelfAccessReviewResponse { list := []*SelfAccessReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_server.go index 9c0404859..f44e51285 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_access_review_server.go @@ -42,8 +42,6 @@ type SelfAccessReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *SelfAccessReviewPostServerRequest) Request() *SelfAccessReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *SelfAccessReviewPostServerRequest) Request() *SelfAccessReviewRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfAccessReviewPostServerRequest) GetRequest() (value *SelfAccessReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type SelfAccessReviewPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *SelfAccessReviewPostServerResponse) Response(value *SelfAccessReviewResponse) *SelfAccessReviewPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_client.go index 1408965a2..e66fa649e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_client.go @@ -82,8 +82,6 @@ func (r *SelfCapabilityReviewPostRequest) Header(name string, value interface{}) } // Request sets the value of the 'request' parameter. -// -// func (r *SelfCapabilityReviewPostRequest) Request(value *SelfCapabilityReviewRequest) *SelfCapabilityReviewPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *SelfCapabilityReviewPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *SelfCapabilityReviewPostResponse) Response() *SelfCapabilityReviewResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *SelfCapabilityReviewPostResponse) Response() *SelfCapabilityReviewRespo // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfCapabilityReviewPostResponse) GetResponse() (value *SelfCapabilityReviewResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_builder.go index 0bc408d49..118dd297d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_builder.go @@ -39,8 +39,6 @@ func NewSelfCapabilityReviewRequest() *SelfCapabilityReviewRequestBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *SelfCapabilityReviewRequestBuilder) AccountUsername(value string) *SelfCapabilityReviewRequestBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -48,8 +46,6 @@ func (b *SelfCapabilityReviewRequestBuilder) AccountUsername(value string) *Self } // Capability sets the value of the 'capability' attribute to the given value. -// -// func (b *SelfCapabilityReviewRequestBuilder) Capability(value string) *SelfCapabilityReviewRequestBuilder { b.capability = value b.bitmap_ |= 2 @@ -57,8 +53,6 @@ func (b *SelfCapabilityReviewRequestBuilder) Capability(value string) *SelfCapab } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *SelfCapabilityReviewRequestBuilder) ClusterID(value string) *SelfCapabilityReviewRequestBuilder { b.clusterID = value b.bitmap_ |= 4 @@ -66,8 +60,6 @@ func (b *SelfCapabilityReviewRequestBuilder) ClusterID(value string) *SelfCapabi } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *SelfCapabilityReviewRequestBuilder) OrganizationID(value string) *SelfCapabilityReviewRequestBuilder { b.organizationID = value b.bitmap_ |= 8 @@ -75,8 +67,6 @@ func (b *SelfCapabilityReviewRequestBuilder) OrganizationID(value string) *SelfC } // ResourceType sets the value of the 'resource_type' attribute to the given value. -// -// func (b *SelfCapabilityReviewRequestBuilder) ResourceType(value string) *SelfCapabilityReviewRequestBuilder { b.resourceType = value b.bitmap_ |= 16 @@ -84,8 +74,6 @@ func (b *SelfCapabilityReviewRequestBuilder) ResourceType(value string) *SelfCap } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *SelfCapabilityReviewRequestBuilder) SubscriptionID(value string) *SelfCapabilityReviewRequestBuilder { b.subscriptionID = value b.bitmap_ |= 32 @@ -93,8 +81,6 @@ func (b *SelfCapabilityReviewRequestBuilder) SubscriptionID(value string) *SelfC } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *SelfCapabilityReviewRequestBuilder) Type(value string) *SelfCapabilityReviewRequestBuilder { b.type_ = value b.bitmap_ |= 64 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_list_type_json.go index 240518b2f..d2b522cce 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSelfCapabilityReviewRequestList(source interface{}) (items []*Self return } -// readSelfCapabilityReviewRequestList reads list of values of the ''self_capability_review_request' type from +// readSelfCapabilityReviewRequestList reads list of values of the ”self_capability_review_request' type from // the given iterator. func readSelfCapabilityReviewRequestList(iterator *jsoniter.Iterator) []*SelfCapabilityReviewRequest { list := []*SelfCapabilityReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_builder.go index 51097310d..f5b238971 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_builder.go @@ -33,8 +33,6 @@ func NewSelfCapabilityReviewResponse() *SelfCapabilityReviewResponseBuilder { } // Result sets the value of the 'result' attribute to the given value. -// -// func (b *SelfCapabilityReviewResponseBuilder) Result(value string) *SelfCapabilityReviewResponseBuilder { b.result = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_list_type_json.go index 5e7068c50..f9a9b2cb8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSelfCapabilityReviewResponseList(source interface{}) (items []*Sel return } -// readSelfCapabilityReviewResponseList reads list of values of the ''self_capability_review_response' type from +// readSelfCapabilityReviewResponseList reads list of values of the ”self_capability_review_response' type from // the given iterator. func readSelfCapabilityReviewResponseList(iterator *jsoniter.Iterator) []*SelfCapabilityReviewResponse { list := []*SelfCapabilityReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_type.go index 37b6e629b..439039cad 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_response_type.go @@ -34,8 +34,6 @@ func (o *SelfCapabilityReviewResponse) Empty() bool { // Result returns the value of the 'result' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SelfCapabilityReviewResponse) Result() string { if o != nil && o.bitmap_&1 != 0 { return o.result @@ -45,8 +43,6 @@ func (o *SelfCapabilityReviewResponse) Result() string { // GetResult returns the value of the 'result' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SelfCapabilityReviewResponse) GetResult() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_server.go index d9f32ce85..c6ac6ce7b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_capability_review_server.go @@ -42,8 +42,6 @@ type SelfCapabilityReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *SelfCapabilityReviewPostServerRequest) Request() *SelfCapabilityReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *SelfCapabilityReviewPostServerRequest) Request() *SelfCapabilityReviewR // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfCapabilityReviewPostServerRequest) GetRequest() (value *SelfCapabilityReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type SelfCapabilityReviewPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *SelfCapabilityReviewPostServerResponse) Response(value *SelfCapabilityReviewResponse) *SelfCapabilityReviewPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_client.go index e0089f21f..150f80bcd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_client.go @@ -82,8 +82,6 @@ func (r *SelfFeatureReviewPostRequest) Header(name string, value interface{}) *S } // Request sets the value of the 'request' parameter. -// -// func (r *SelfFeatureReviewPostRequest) Request(value *SelfFeatureReviewRequest) *SelfFeatureReviewPostRequest { r.request = value return r @@ -185,8 +183,6 @@ func (r *SelfFeatureReviewPostResponse) Error() *errors.Error { } // Request returns the value of the 'request' parameter. -// -// func (r *SelfFeatureReviewPostResponse) Request() *SelfFeatureReviewResponse { if r == nil { return nil @@ -196,8 +192,6 @@ func (r *SelfFeatureReviewPostResponse) Request() *SelfFeatureReviewResponse { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfFeatureReviewPostResponse) GetRequest() (value *SelfFeatureReviewResponse, ok bool) { ok = r != nil && r.request != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_builder.go index b8943951c..60539b7fc 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_builder.go @@ -33,8 +33,6 @@ func NewSelfFeatureReviewRequest() *SelfFeatureReviewRequestBuilder { } // Feature sets the value of the 'feature' attribute to the given value. -// -// func (b *SelfFeatureReviewRequestBuilder) Feature(value string) *SelfFeatureReviewRequestBuilder { b.feature = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_list_type_json.go index c0c7c702d..0cce4145a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSelfFeatureReviewRequestList(source interface{}) (items []*SelfFea return } -// readSelfFeatureReviewRequestList reads list of values of the ''self_feature_review_request' type from +// readSelfFeatureReviewRequestList reads list of values of the ”self_feature_review_request' type from // the given iterator. func readSelfFeatureReviewRequestList(iterator *jsoniter.Iterator) []*SelfFeatureReviewRequest { list := []*SelfFeatureReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_builder.go index 9b1b79c3a..4d0260833 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_builder.go @@ -34,8 +34,6 @@ func NewSelfFeatureReviewResponse() *SelfFeatureReviewResponseBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *SelfFeatureReviewResponseBuilder) Enabled(value bool) *SelfFeatureReviewResponseBuilder { b.enabled = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *SelfFeatureReviewResponseBuilder) Enabled(value bool) *SelfFeatureRevie } // FeatureID sets the value of the 'feature_ID' attribute to the given value. -// -// func (b *SelfFeatureReviewResponseBuilder) FeatureID(value string) *SelfFeatureReviewResponseBuilder { b.featureID = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_list_type_json.go index 0e5650b22..7b4e26c34 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSelfFeatureReviewResponseList(source interface{}) (items []*SelfFe return } -// readSelfFeatureReviewResponseList reads list of values of the ''self_feature_review_response' type from +// readSelfFeatureReviewResponseList reads list of values of the ”self_feature_review_response' type from // the given iterator. func readSelfFeatureReviewResponseList(iterator *jsoniter.Iterator) []*SelfFeatureReviewResponse { list := []*SelfFeatureReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_server.go index 8c726c90c..e4057925f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_feature_review_server.go @@ -42,8 +42,6 @@ type SelfFeatureReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *SelfFeatureReviewPostServerRequest) Request() *SelfFeatureReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *SelfFeatureReviewPostServerRequest) Request() *SelfFeatureReviewRequest // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfFeatureReviewPostServerRequest) GetRequest() (value *SelfFeatureReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type SelfFeatureReviewPostServerResponse struct { } // Request sets the value of the 'request' parameter. -// -// func (r *SelfFeatureReviewPostServerResponse) Request(value *SelfFeatureReviewResponse) *SelfFeatureReviewPostServerResponse { r.request = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_client.go index df0879e39..1fed8b044 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_client.go @@ -83,8 +83,6 @@ func (r *SelfTermsReviewPostRequest) Header(name string, value interface{}) *Sel } // Request sets the value of the 'request' parameter. -// -// func (r *SelfTermsReviewPostRequest) Request(value *SelfTermsReviewRequest) *SelfTermsReviewPostRequest { r.request = value return r @@ -186,8 +184,6 @@ func (r *SelfTermsReviewPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *SelfTermsReviewPostResponse) Response() *TermsReviewResponse { if r == nil { return nil @@ -197,8 +193,6 @@ func (r *SelfTermsReviewPostResponse) Response() *TermsReviewResponse { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfTermsReviewPostResponse) GetResponse() (value *TermsReviewResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_builder.go index 912ffc4bc..73cb03744 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_builder.go @@ -35,8 +35,6 @@ func NewSelfTermsReviewRequest() *SelfTermsReviewRequestBuilder { } // EventCode sets the value of the 'event_code' attribute to the given value. -// -// func (b *SelfTermsReviewRequestBuilder) EventCode(value string) *SelfTermsReviewRequestBuilder { b.eventCode = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *SelfTermsReviewRequestBuilder) EventCode(value string) *SelfTermsReview } // SiteCode sets the value of the 'site_code' attribute to the given value. -// -// func (b *SelfTermsReviewRequestBuilder) SiteCode(value string) *SelfTermsReviewRequestBuilder { b.siteCode = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_list_type_json.go index 5b041578a..8822fbad0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSelfTermsReviewRequestList(source interface{}) (items []*SelfTerms return } -// readSelfTermsReviewRequestList reads list of values of the ''self_terms_review_request' type from +// readSelfTermsReviewRequestList reads list of values of the ”self_terms_review_request' type from // the given iterator. func readSelfTermsReviewRequestList(iterator *jsoniter.Iterator) []*SelfTermsReviewRequest { list := []*SelfTermsReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_server.go index c42fd5b82..1362a70d5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/self_terms_review_server.go @@ -42,8 +42,6 @@ type SelfTermsReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *SelfTermsReviewPostServerRequest) Request() *SelfTermsReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *SelfTermsReviewPostServerRequest) Request() *SelfTermsReviewRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SelfTermsReviewPostServerRequest) GetRequest() (value *SelfTermsReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type SelfTermsReviewPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *SelfTermsReviewPostServerResponse) Response(value *TermsReviewResponse) *SelfTermsReviewPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/string_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/string_list_type_json.go index ea4a8fbb1..27727ca56 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/string_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/string_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalStringList(source interface{}) (items []string, err error) { return } -// readStringList reads list of values of the ''string' type from +// readStringList reads list of values of the ”string' type from // the given iterator. func readStringList(iterator *jsoniter.Iterator) []string { list := []string{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_client.go index 3bbf6069c..d09e03477 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_client.go @@ -83,8 +83,6 @@ func (r *TermsReviewPostRequest) Header(name string, value interface{}) *TermsRe } // Request sets the value of the 'request' parameter. -// -// func (r *TermsReviewPostRequest) Request(value *TermsReviewRequest) *TermsReviewPostRequest { r.request = value return r @@ -186,8 +184,6 @@ func (r *TermsReviewPostResponse) Error() *errors.Error { } // Response returns the value of the 'response' parameter. -// -// func (r *TermsReviewPostResponse) Response() *TermsReviewResponse { if r == nil { return nil @@ -197,8 +193,6 @@ func (r *TermsReviewPostResponse) Response() *TermsReviewResponse { // GetResponse returns the value of the 'response' parameter and // a flag indicating if the parameter has a value. -// -// func (r *TermsReviewPostResponse) GetResponse() (value *TermsReviewResponse, ok bool) { ok = r != nil && r.response != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_builder.go index 118d442f8..9d7db6ca4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_builder.go @@ -37,8 +37,6 @@ func NewTermsReviewRequest() *TermsReviewRequestBuilder { } // AccountUsername sets the value of the 'account_username' attribute to the given value. -// -// func (b *TermsReviewRequestBuilder) AccountUsername(value string) *TermsReviewRequestBuilder { b.accountUsername = value b.bitmap_ |= 1 @@ -46,8 +44,6 @@ func (b *TermsReviewRequestBuilder) AccountUsername(value string) *TermsReviewRe } // CheckOptionalTerms sets the value of the 'check_optional_terms' attribute to the given value. -// -// func (b *TermsReviewRequestBuilder) CheckOptionalTerms(value bool) *TermsReviewRequestBuilder { b.checkOptionalTerms = value b.bitmap_ |= 2 @@ -55,8 +51,6 @@ func (b *TermsReviewRequestBuilder) CheckOptionalTerms(value bool) *TermsReviewR } // EventCode sets the value of the 'event_code' attribute to the given value. -// -// func (b *TermsReviewRequestBuilder) EventCode(value string) *TermsReviewRequestBuilder { b.eventCode = value b.bitmap_ |= 4 @@ -64,8 +58,6 @@ func (b *TermsReviewRequestBuilder) EventCode(value string) *TermsReviewRequestB } // SiteCode sets the value of the 'site_code' attribute to the given value. -// -// func (b *TermsReviewRequestBuilder) SiteCode(value string) *TermsReviewRequestBuilder { b.siteCode = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_list_type_json.go index b9317eb5d..099b42db3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_request_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalTermsReviewRequestList(source interface{}) (items []*TermsReviewRe return } -// readTermsReviewRequestList reads list of values of the ''terms_review_request' type from +// readTermsReviewRequestList reads list of values of the ”terms_review_request' type from // the given iterator. func readTermsReviewRequestList(iterator *jsoniter.Iterator) []*TermsReviewRequest { list := []*TermsReviewRequest{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_builder.go index 17ab25685..6a89a248f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_builder.go @@ -38,8 +38,6 @@ func NewTermsReviewResponse() *TermsReviewResponseBuilder { } // AccountId sets the value of the 'account_id' attribute to the given value. -// -// func (b *TermsReviewResponseBuilder) AccountId(value string) *TermsReviewResponseBuilder { b.accountId = value b.bitmap_ |= 1 @@ -47,8 +45,6 @@ func (b *TermsReviewResponseBuilder) AccountId(value string) *TermsReviewRespons } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *TermsReviewResponseBuilder) OrganizationID(value string) *TermsReviewResponseBuilder { b.organizationID = value b.bitmap_ |= 2 @@ -56,8 +52,6 @@ func (b *TermsReviewResponseBuilder) OrganizationID(value string) *TermsReviewRe } // RedirectUrl sets the value of the 'redirect_url' attribute to the given value. -// -// func (b *TermsReviewResponseBuilder) RedirectUrl(value string) *TermsReviewResponseBuilder { b.redirectUrl = value b.bitmap_ |= 4 @@ -65,8 +59,6 @@ func (b *TermsReviewResponseBuilder) RedirectUrl(value string) *TermsReviewRespo } // TermsAvailable sets the value of the 'terms_available' attribute to the given value. -// -// func (b *TermsReviewResponseBuilder) TermsAvailable(value bool) *TermsReviewResponseBuilder { b.termsAvailable = value b.bitmap_ |= 8 @@ -74,8 +66,6 @@ func (b *TermsReviewResponseBuilder) TermsAvailable(value bool) *TermsReviewResp } // TermsRequired sets the value of the 'terms_required' attribute to the given value. -// -// func (b *TermsReviewResponseBuilder) TermsRequired(value bool) *TermsReviewResponseBuilder { b.termsRequired = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_list_type_json.go index da1887790..f8cc4ca5d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_response_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalTermsReviewResponseList(source interface{}) (items []*TermsReviewR return } -// readTermsReviewResponseList reads list of values of the ''terms_review_response' type from +// readTermsReviewResponseList reads list of values of the ”terms_review_response' type from // the given iterator. func readTermsReviewResponseList(iterator *jsoniter.Iterator) []*TermsReviewResponse { list := []*TermsReviewResponse{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_server.go index 7be06379b..9ffd37362 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/authorizations/v1/terms_review_server.go @@ -42,8 +42,6 @@ type TermsReviewPostServerRequest struct { } // Request returns the value of the 'request' parameter. -// -// func (r *TermsReviewPostServerRequest) Request() *TermsReviewRequest { if r == nil { return nil @@ -53,8 +51,6 @@ func (r *TermsReviewPostServerRequest) Request() *TermsReviewRequest { // GetRequest returns the value of the 'request' parameter and // a flag indicating if the parameter has a value. -// -// func (r *TermsReviewPostServerRequest) GetRequest() (value *TermsReviewRequest, ok bool) { ok = r != nil && r.request != nil if ok { @@ -71,8 +67,6 @@ type TermsReviewPostServerResponse struct { } // Response sets the value of the 'response' parameter. -// -// func (r *TermsReviewPostServerResponse) Response(value *TermsReviewResponse) *TermsReviewPostServerResponse { r.response = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_builder.go index ef7e75f17..ad4306511 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_builder.go @@ -70,8 +70,6 @@ func (b *AddOnBuilder) HREF(value string) *AddOnBuilder { } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *AddOnBuilder) Description(value string) *AddOnBuilder { b.description = value b.bitmap_ |= 8 @@ -79,8 +77,6 @@ func (b *AddOnBuilder) Description(value string) *AddOnBuilder { } // DocsLink sets the value of the 'docs_link' attribute to the given value. -// -// func (b *AddOnBuilder) DocsLink(value string) *AddOnBuilder { b.docsLink = value b.bitmap_ |= 16 @@ -88,8 +84,6 @@ func (b *AddOnBuilder) DocsLink(value string) *AddOnBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *AddOnBuilder) Enabled(value bool) *AddOnBuilder { b.enabled = value b.bitmap_ |= 32 @@ -97,8 +91,6 @@ func (b *AddOnBuilder) Enabled(value bool) *AddOnBuilder { } // HasExternalResources sets the value of the 'has_external_resources' attribute to the given value. -// -// func (b *AddOnBuilder) HasExternalResources(value bool) *AddOnBuilder { b.hasExternalResources = value b.bitmap_ |= 64 @@ -106,8 +98,6 @@ func (b *AddOnBuilder) HasExternalResources(value bool) *AddOnBuilder { } // Hidden sets the value of the 'hidden' attribute to the given value. -// -// func (b *AddOnBuilder) Hidden(value bool) *AddOnBuilder { b.hidden = value b.bitmap_ |= 128 @@ -115,8 +105,6 @@ func (b *AddOnBuilder) Hidden(value bool) *AddOnBuilder { } // Icon sets the value of the 'icon' attribute to the given value. -// -// func (b *AddOnBuilder) Icon(value string) *AddOnBuilder { b.icon = value b.bitmap_ |= 256 @@ -133,8 +121,6 @@ func (b *AddOnBuilder) InstallMode(value AddOnInstallMode) *AddOnBuilder { } // Label sets the value of the 'label' attribute to the given value. -// -// func (b *AddOnBuilder) Label(value string) *AddOnBuilder { b.label = value b.bitmap_ |= 1024 @@ -142,8 +128,6 @@ func (b *AddOnBuilder) Label(value string) *AddOnBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *AddOnBuilder) Name(value string) *AddOnBuilder { b.name = value b.bitmap_ |= 2048 @@ -151,8 +135,6 @@ func (b *AddOnBuilder) Name(value string) *AddOnBuilder { } // OperatorName sets the value of the 'operator_name' attribute to the given value. -// -// func (b *AddOnBuilder) OperatorName(value string) *AddOnBuilder { b.operatorName = value b.bitmap_ |= 4096 @@ -160,8 +142,6 @@ func (b *AddOnBuilder) OperatorName(value string) *AddOnBuilder { } // Parameters sets the value of the 'parameters' attribute to the given values. -// -// func (b *AddOnBuilder) Parameters(value *AddOnParameterListBuilder) *AddOnBuilder { b.parameters = value b.bitmap_ |= 8192 @@ -169,8 +149,6 @@ func (b *AddOnBuilder) Parameters(value *AddOnParameterListBuilder) *AddOnBuilde } // Requirements sets the value of the 'requirements' attribute to the given values. -// -// func (b *AddOnBuilder) Requirements(values ...*AddOnRequirementBuilder) *AddOnBuilder { b.requirements = make([]*AddOnRequirementBuilder, len(values)) copy(b.requirements, values) @@ -179,8 +157,6 @@ func (b *AddOnBuilder) Requirements(values ...*AddOnRequirementBuilder) *AddOnBu } // ResourceCost sets the value of the 'resource_cost' attribute to the given value. -// -// func (b *AddOnBuilder) ResourceCost(value float64) *AddOnBuilder { b.resourceCost = value b.bitmap_ |= 32768 @@ -188,8 +164,6 @@ func (b *AddOnBuilder) ResourceCost(value float64) *AddOnBuilder { } // ResourceName sets the value of the 'resource_name' attribute to the given value. -// -// func (b *AddOnBuilder) ResourceName(value string) *AddOnBuilder { b.resourceName = value b.bitmap_ |= 65536 @@ -197,8 +171,6 @@ func (b *AddOnBuilder) ResourceName(value string) *AddOnBuilder { } // SubOperators sets the value of the 'sub_operators' attribute to the given values. -// -// func (b *AddOnBuilder) SubOperators(values ...*AddOnSubOperatorBuilder) *AddOnBuilder { b.subOperators = make([]*AddOnSubOperatorBuilder, len(values)) copy(b.subOperators, values) @@ -207,8 +179,6 @@ func (b *AddOnBuilder) SubOperators(values ...*AddOnSubOperatorBuilder) *AddOnBu } // TargetNamespace sets the value of the 'target_namespace' attribute to the given value. -// -// func (b *AddOnBuilder) TargetNamespace(value string) *AddOnBuilder { b.targetNamespace = value b.bitmap_ |= 262144 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_client.go index 2037367b2..b1d601141 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_client.go @@ -180,16 +180,12 @@ func (r *AddOnPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnPollResponse) Body() *AddOn { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnPollResponse) GetBody() (value *AddOn, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *AddOnGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnGetResponse) Body() *AddOn { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *AddOnGetResponse) Body() *AddOn { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnGetResponse) GetBody() (value *AddOn, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *AddOnUpdateRequest) Header(name string, value interface{}) *AddOnUpdate } // Body sets the value of the 'body' parameter. -// -// func (r *AddOnUpdateRequest) Body(value *AddOn) *AddOnUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *AddOnUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnUpdateResponse) Body() *AddOn { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *AddOnUpdateResponse) Body() *AddOn { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnUpdateResponse) GetBody() (value *AddOn, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_install_mode_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_install_mode_list_type_json.go index d30b18075..9fba5e706 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_install_mode_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_install_mode_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnInstallModeList(source interface{}) (items []AddOnInstallMode return } -// readAddOnInstallModeList reads list of values of the ''add_on_install_mode' type from +// readAddOnInstallModeList reads list of values of the ”add_on_install_mode' type from // the given iterator. func readAddOnInstallModeList(iterator *jsoniter.Iterator) []AddOnInstallMode { list := []AddOnInstallMode{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_builder.go index 904af3432..cc902ca92 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_builder.go @@ -88,13 +88,15 @@ func (b *AddOnInstallationBuilder) Addon(value *AddOnBuilder) *AddOnInstallation // // [source,json] // ---- -// { -// "cloud_provider": { -// "kind": "CloudProviderLink", -// "id": "123", -// "href": "/api/clusters_mgmt/v1/cloud_providers/123" -// } -// } +// +// { +// "cloud_provider": { +// "kind": "CloudProviderLink", +// "id": "123", +// "href": "/api/clusters_mgmt/v1/cloud_providers/123" +// } +// } +// // ---- // // When a cluster is created this is optional, and if used it should contain the @@ -102,11 +104,13 @@ func (b *AddOnInstallationBuilder) Addon(value *AddOnBuilder) *AddOnInstallation // // [source,json] // ---- -// { -// "cloud_provider": { -// "id": "123", -// } -// } +// +// { +// "cloud_provider": { +// "id": "123", +// } +// } +// // ---- // // If not included, then the cluster will be created using the default cloud @@ -128,8 +132,6 @@ func (b *AddOnInstallationBuilder) Cluster(value *ClusterBuilder) *AddOnInstalla } // CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value. -// -// func (b *AddOnInstallationBuilder) CreationTimestamp(value time.Time) *AddOnInstallationBuilder { b.creationTimestamp = value b.bitmap_ |= 32 @@ -137,8 +139,6 @@ func (b *AddOnInstallationBuilder) CreationTimestamp(value time.Time) *AddOnInst } // OperatorVersion sets the value of the 'operator_version' attribute to the given value. -// -// func (b *AddOnInstallationBuilder) OperatorVersion(value string) *AddOnInstallationBuilder { b.operatorVersion = value b.bitmap_ |= 64 @@ -146,8 +146,6 @@ func (b *AddOnInstallationBuilder) OperatorVersion(value string) *AddOnInstallat } // Parameters sets the value of the 'parameters' attribute to the given values. -// -// func (b *AddOnInstallationBuilder) Parameters(value *AddOnInstallationParameterListBuilder) *AddOnInstallationBuilder { b.parameters = value b.bitmap_ |= 128 @@ -164,8 +162,6 @@ func (b *AddOnInstallationBuilder) State(value AddOnInstallationState) *AddOnIns } // StateDescription sets the value of the 'state_description' attribute to the given value. -// -// func (b *AddOnInstallationBuilder) StateDescription(value string) *AddOnInstallationBuilder { b.stateDescription = value b.bitmap_ |= 512 @@ -173,8 +169,6 @@ func (b *AddOnInstallationBuilder) StateDescription(value string) *AddOnInstalla } // UpdatedTimestamp sets the value of the 'updated_timestamp' attribute to the given value. -// -// func (b *AddOnInstallationBuilder) UpdatedTimestamp(value time.Time) *AddOnInstallationBuilder { b.updatedTimestamp = value b.bitmap_ |= 1024 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_client.go index 19ef46112..e135c87d0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_client.go @@ -180,16 +180,12 @@ func (r *AddOnInstallationPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnInstallationPollResponse) Body() *AddOnInstallation { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnInstallationPollResponse) GetBody() (value *AddOnInstallation, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *AddOnInstallationGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnInstallationGetResponse) Body() *AddOnInstallation { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *AddOnInstallationGetResponse) Body() *AddOnInstallation { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnInstallationGetResponse) GetBody() (value *AddOnInstallation, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *AddOnInstallationUpdateRequest) Header(name string, value interface{}) } // Body sets the value of the 'body' parameter. -// -// func (r *AddOnInstallationUpdateRequest) Body(value *AddOnInstallation) *AddOnInstallationUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *AddOnInstallationUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnInstallationUpdateResponse) Body() *AddOnInstallation { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *AddOnInstallationUpdateResponse) Body() *AddOnInstallation { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnInstallationUpdateResponse) GetBody() (value *AddOnInstallation, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_list_type_json.go index db33a8b29..009ab1c03 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnInstallationList(source interface{}) (items []*AddOnInstallat return } -// readAddOnInstallationList reads list of values of the ''add_on_installation' type from +// readAddOnInstallationList reads list of values of the ”add_on_installation' type from // the given iterator. func readAddOnInstallationList(iterator *jsoniter.Iterator) []*AddOnInstallation { list := []*AddOnInstallation{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_builder.go index 811f30e48..242b22156 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_builder.go @@ -55,8 +55,6 @@ func (b *AddOnInstallationParameterBuilder) HREF(value string) *AddOnInstallatio } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *AddOnInstallationParameterBuilder) Value(value string) *AddOnInstallationParameterBuilder { b.value = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_list_type_json.go index 2cd19d133..74b6b1cde 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_parameter_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnInstallationParameterList(source interface{}) (items []*AddOn return } -// readAddOnInstallationParameterList reads list of values of the ''add_on_installation_parameter' type from +// readAddOnInstallationParameterList reads list of values of the ”add_on_installation_parameter' type from // the given iterator. func readAddOnInstallationParameterList(iterator *jsoniter.Iterator) []*AddOnInstallationParameter { list := []*AddOnInstallationParameter{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_server.go index 08bf90fc7..16765e621 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_server.go @@ -74,8 +74,6 @@ type AddOnInstallationGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AddOnInstallationGetServerResponse) Body(value *AddOnInstallation) *AddOnInstallationGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type AddOnInstallationUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnInstallationUpdateServerRequest) Body() *AddOnInstallation { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *AddOnInstallationUpdateServerRequest) Body() *AddOnInstallation { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnInstallationUpdateServerRequest) GetBody() (value *AddOnInstallation, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type AddOnInstallationUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AddOnInstallationUpdateServerResponse) Body(value *AddOnInstallation) *AddOnInstallationUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_state_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_state_list_type_json.go index 87f25b651..1d0fdff7f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_state_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_installation_state_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnInstallationStateList(source interface{}) (items []AddOnInsta return } -// readAddOnInstallationStateList reads list of values of the ''add_on_installation_state' type from +// readAddOnInstallationStateList reads list of values of the ”add_on_installation_state' type from // the given iterator. func readAddOnInstallationStateList(iterator *jsoniter.Iterator) []AddOnInstallationState { list := []AddOnInstallationState{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_list_type_json.go index 54dcaadbc..fe327a480 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnList(source interface{}) (items []*AddOn, err error) { return } -// readAddOnList reads list of values of the ''add_on' type from +// readAddOnList reads list of values of the ”add_on' type from // the given iterator. func readAddOnList(iterator *jsoniter.Iterator) []*AddOn { list := []*AddOn{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_builder.go index 2e9f6040e..3ab812982 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_builder.go @@ -77,8 +77,6 @@ func (b *AddOnParameterBuilder) Addon(value *AddOnBuilder) *AddOnParameterBuilde } // DefaultValue sets the value of the 'default_value' attribute to the given value. -// -// func (b *AddOnParameterBuilder) DefaultValue(value string) *AddOnParameterBuilder { b.defaultValue = value b.bitmap_ |= 16 @@ -86,8 +84,6 @@ func (b *AddOnParameterBuilder) DefaultValue(value string) *AddOnParameterBuilde } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *AddOnParameterBuilder) Description(value string) *AddOnParameterBuilder { b.description = value b.bitmap_ |= 32 @@ -95,8 +91,6 @@ func (b *AddOnParameterBuilder) Description(value string) *AddOnParameterBuilder } // Editable sets the value of the 'editable' attribute to the given value. -// -// func (b *AddOnParameterBuilder) Editable(value bool) *AddOnParameterBuilder { b.editable = value b.bitmap_ |= 64 @@ -104,8 +98,6 @@ func (b *AddOnParameterBuilder) Editable(value bool) *AddOnParameterBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *AddOnParameterBuilder) Enabled(value bool) *AddOnParameterBuilder { b.enabled = value b.bitmap_ |= 128 @@ -113,8 +105,6 @@ func (b *AddOnParameterBuilder) Enabled(value bool) *AddOnParameterBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *AddOnParameterBuilder) Name(value string) *AddOnParameterBuilder { b.name = value b.bitmap_ |= 256 @@ -122,8 +112,6 @@ func (b *AddOnParameterBuilder) Name(value string) *AddOnParameterBuilder { } // Options sets the value of the 'options' attribute to the given values. -// -// func (b *AddOnParameterBuilder) Options(values ...*AddOnParameterOptionBuilder) *AddOnParameterBuilder { b.options = make([]*AddOnParameterOptionBuilder, len(values)) copy(b.options, values) @@ -132,8 +120,6 @@ func (b *AddOnParameterBuilder) Options(values ...*AddOnParameterOptionBuilder) } // Required sets the value of the 'required' attribute to the given value. -// -// func (b *AddOnParameterBuilder) Required(value bool) *AddOnParameterBuilder { b.required = value b.bitmap_ |= 1024 @@ -141,8 +127,6 @@ func (b *AddOnParameterBuilder) Required(value bool) *AddOnParameterBuilder { } // Validation sets the value of the 'validation' attribute to the given value. -// -// func (b *AddOnParameterBuilder) Validation(value string) *AddOnParameterBuilder { b.validation = value b.bitmap_ |= 2048 @@ -150,8 +134,6 @@ func (b *AddOnParameterBuilder) Validation(value string) *AddOnParameterBuilder } // ValueType sets the value of the 'value_type' attribute to the given value. -// -// func (b *AddOnParameterBuilder) ValueType(value string) *AddOnParameterBuilder { b.valueType = value b.bitmap_ |= 4096 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_list_type_json.go index 3f7c89c37..d55a0db6b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnParameterList(source interface{}) (items []*AddOnParameter, e return } -// readAddOnParameterList reads list of values of the ''add_on_parameter' type from +// readAddOnParameterList reads list of values of the ”add_on_parameter' type from // the given iterator. func readAddOnParameterList(iterator *jsoniter.Iterator) []*AddOnParameter { list := []*AddOnParameter{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_builder.go index a274d2097..14c431aac 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_builder.go @@ -34,8 +34,6 @@ func NewAddOnParameterOption() *AddOnParameterOptionBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *AddOnParameterOptionBuilder) Name(value string) *AddOnParameterOptionBuilder { b.name = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *AddOnParameterOptionBuilder) Name(value string) *AddOnParameterOptionBu } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *AddOnParameterOptionBuilder) Value(value string) *AddOnParameterOptionBuilder { b.value = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_list_type_json.go index 02827fe01..011ed1cd2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_parameter_option_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnParameterOptionList(source interface{}) (items []*AddOnParame return } -// readAddOnParameterOptionList reads list of values of the ''add_on_parameter_option' type from +// readAddOnParameterOptionList reads list of values of the ”add_on_parameter_option' type from // the given iterator. func readAddOnParameterOptionList(iterator *jsoniter.Iterator) []*AddOnParameterOption { list := []*AddOnParameterOption{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_builder.go index 7bccd4f74..7fde78c21 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_builder.go @@ -36,8 +36,6 @@ func NewAddOnRequirement() *AddOnRequirementBuilder { } // ID sets the value of the 'ID' attribute to the given value. -// -// func (b *AddOnRequirementBuilder) ID(value string) *AddOnRequirementBuilder { b.id = value b.bitmap_ |= 1 @@ -45,8 +43,6 @@ func (b *AddOnRequirementBuilder) ID(value string) *AddOnRequirementBuilder { } // Data sets the value of the 'data' attribute to the given value. -// -// func (b *AddOnRequirementBuilder) Data(value map[string]interface{}) *AddOnRequirementBuilder { b.data = value if value != nil { @@ -58,8 +54,6 @@ func (b *AddOnRequirementBuilder) Data(value map[string]interface{}) *AddOnRequi } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *AddOnRequirementBuilder) Enabled(value bool) *AddOnRequirementBuilder { b.enabled = value b.bitmap_ |= 4 @@ -67,8 +61,6 @@ func (b *AddOnRequirementBuilder) Enabled(value bool) *AddOnRequirementBuilder { } // Resource sets the value of the 'resource' attribute to the given value. -// -// func (b *AddOnRequirementBuilder) Resource(value string) *AddOnRequirementBuilder { b.resource = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_list_type_json.go index ed3b7c4b6..bb9e6551d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_requirement_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnRequirementList(source interface{}) (items []*AddOnRequiremen return } -// readAddOnRequirementList reads list of values of the ''add_on_requirement' type from +// readAddOnRequirementList reads list of values of the ”add_on_requirement' type from // the given iterator. func readAddOnRequirementList(iterator *jsoniter.Iterator) []*AddOnRequirement { list := []*AddOnRequirement{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_server.go index dc041a93a..9240b065f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_server.go @@ -74,8 +74,6 @@ type AddOnGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AddOnGetServerResponse) Body(value *AddOn) *AddOnGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type AddOnUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *AddOnUpdateServerRequest) Body() *AddOn { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *AddOnUpdateServerRequest) Body() *AddOn { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddOnUpdateServerRequest) GetBody() (value *AddOn, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type AddOnUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AddOnUpdateServerResponse) Body(value *AddOn) *AddOnUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_builder.go index 28f00324b..922b017a5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_builder.go @@ -36,8 +36,6 @@ func NewAddOnSubOperator() *AddOnSubOperatorBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *AddOnSubOperatorBuilder) Enabled(value bool) *AddOnSubOperatorBuilder { b.enabled = value b.bitmap_ |= 1 @@ -45,8 +43,6 @@ func (b *AddOnSubOperatorBuilder) Enabled(value bool) *AddOnSubOperatorBuilder { } // OperatorName sets the value of the 'operator_name' attribute to the given value. -// -// func (b *AddOnSubOperatorBuilder) OperatorName(value string) *AddOnSubOperatorBuilder { b.operatorName = value b.bitmap_ |= 2 @@ -54,8 +50,6 @@ func (b *AddOnSubOperatorBuilder) OperatorName(value string) *AddOnSubOperatorBu } // OperatorNamespace sets the value of the 'operator_namespace' attribute to the given value. -// -// func (b *AddOnSubOperatorBuilder) OperatorNamespace(value string) *AddOnSubOperatorBuilder { b.operatorNamespace = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_list_type_json.go index 1f13df334..22011c614 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/add_on_sub_operator_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAddOnSubOperatorList(source interface{}) (items []*AddOnSubOperato return } -// readAddOnSubOperatorList reads list of values of the ''add_on_sub_operator' type from +// readAddOnSubOperatorList reads list of values of the ”add_on_sub_operator' type from // the given iterator. func readAddOnSubOperatorList(iterator *jsoniter.Iterator) []*AddOnSubOperator { list := []*AddOnSubOperator{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiries_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiries_client.go index c9f0ebc75..499f72932 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiries_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiries_client.go @@ -49,8 +49,6 @@ func NewAddonInquiriesClient(transport http.RoundTripper, path string) *AddonInq } // List creates a request for the 'list' method. -// -// func (c *AddonInquiriesClient) List() *AddonInquiriesListRequest { return &AddonInquiriesListRequest{ transport: c.transport, @@ -59,8 +57,6 @@ func (c *AddonInquiriesClient) List() *AddonInquiriesListRequest { } // AddonInquiry returns the target 'addon_inquiry' resource for the given identifier. -// -// func (c *AddonInquiriesClient) AddonInquiry(id string) *AddonInquiryClient { return NewAddonInquiryClient( c.transport, diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_client.go index b22b33888..b51a954b1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_client.go @@ -48,8 +48,6 @@ func NewAddonInquiryClient(transport http.RoundTripper, path string) *AddonInqui } // Get creates a request for the 'get' method. -// -// func (c *AddonInquiryClient) Get() *AddonInquiryGetRequest { return &AddonInquiryGetRequest{ transport: c.transport, @@ -156,16 +154,12 @@ func (r *AddonInquiryPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddonInquiryPollResponse) Body() *AddOn { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddonInquiryPollResponse) GetBody() (value *AddOn, ok bool) { return r.response.GetBody() } @@ -278,8 +272,6 @@ func (r *AddonInquiryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AddonInquiryGetResponse) Body() *AddOn { if r == nil { return nil @@ -289,8 +281,6 @@ func (r *AddonInquiryGetResponse) Body() *AddOn { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AddonInquiryGetResponse) GetBody() (value *AddOn, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_server.go index ade8b3204..094378203 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/addon_inquiry_server.go @@ -48,8 +48,6 @@ type AddonInquiryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AddonInquiryGetServerResponse) Body(value *AddOn) *AddonInquiryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_builder.go index 01ee746b2..f82a22668 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_builder.go @@ -35,8 +35,6 @@ func NewAdminCredentials() *AdminCredentialsBuilder { } // Password sets the value of the 'password' attribute to the given value. -// -// func (b *AdminCredentialsBuilder) Password(value string) *AdminCredentialsBuilder { b.password = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *AdminCredentialsBuilder) Password(value string) *AdminCredentialsBuilde } // User sets the value of the 'user' attribute to the given value. -// -// func (b *AdminCredentialsBuilder) User(value string) *AdminCredentialsBuilder { b.user = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_list_type_json.go index 0cd04c38b..4a8a91eb8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/admin_credentials_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAdminCredentialsList(source interface{}) (items []*AdminCredential return } -// readAdminCredentialsList reads list of values of the ''admin_credentials' type from +// readAdminCredentialsList reads list of values of the ”admin_credentials' type from // the given iterator. func readAdminCredentialsList(iterator *jsoniter.Iterator) []*AdminCredentials { list := []*AdminCredentials{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_builder.go index 17f956812..43f05da3a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_builder.go @@ -34,8 +34,6 @@ func NewAlertInfo() *AlertInfoBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *AlertInfoBuilder) Name(value string) *AlertInfoBuilder { b.name = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_list_type_json.go index 3f1945c4a..2c3b88384 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_info_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAlertInfoList(source interface{}) (items []*AlertInfo, err error) return } -// readAlertInfoList reads list of values of the ''alert_info' type from +// readAlertInfoList reads list of values of the ”alert_info' type from // the given iterator. func readAlertInfoList(iterator *jsoniter.Iterator) []*AlertInfo { list := []*AlertInfo{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_severity_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_severity_list_type_json.go index ce5f471ba..607ffeb23 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_severity_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alert_severity_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAlertSeverityList(source interface{}) (items []AlertSeverity, err return } -// readAlertSeverityList reads list of values of the ''alert_severity' type from +// readAlertSeverityList reads list of values of the ”alert_severity' type from // the given iterator. func readAlertSeverityList(iterator *jsoniter.Iterator) []AlertSeverity { list := []AlertSeverity{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_builder.go index 51dc3c925..96fe825d7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_builder.go @@ -33,8 +33,6 @@ func NewAlertsInfo() *AlertsInfoBuilder { } // Alerts sets the value of the 'alerts' attribute to the given values. -// -// func (b *AlertsInfoBuilder) Alerts(values ...*AlertInfoBuilder) *AlertsInfoBuilder { b.alerts = make([]*AlertInfoBuilder, len(values)) copy(b.alerts, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_list_type_json.go index 4ffa1612d..2d2d83f93 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAlertsInfoList(source interface{}) (items []*AlertsInfo, err error return } -// readAlertsInfoList reads list of values of the ''alerts_info' type from +// readAlertsInfoList reads list of values of the ”alerts_info' type from // the given iterator. func readAlertsInfoList(iterator *jsoniter.Iterator) []*AlertsInfo { list := []*AlertsInfo{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_type.go index 35017318f..ecaa8a2e2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_info_type.go @@ -34,8 +34,6 @@ func (o *AlertsInfo) Empty() bool { // Alerts returns the value of the 'alerts' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *AlertsInfo) Alerts() []*AlertInfo { if o != nil && o.bitmap_&1 != 0 { return o.alerts @@ -45,8 +43,6 @@ func (o *AlertsInfo) Alerts() []*AlertInfo { // GetAlerts returns the value of the 'alerts' attribute and // a flag indicating if the attribute has a value. -// -// func (o *AlertsInfo) GetAlerts() (value []*AlertInfo, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_client.go index 2e94971a8..6fc8a713b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_client.go @@ -48,8 +48,6 @@ func NewAlertsMetricQueryClient(transport http.RoundTripper, path string) *Alert } // Get creates a request for the 'get' method. -// -// func (c *AlertsMetricQueryClient) Get() *AlertsMetricQueryGetRequest { return &AlertsMetricQueryGetRequest{ transport: c.transport, @@ -156,16 +154,12 @@ func (r *AlertsMetricQueryPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AlertsMetricQueryPollResponse) Body() *AlertsInfo { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AlertsMetricQueryPollResponse) GetBody() (value *AlertsInfo, ok bool) { return r.response.GetBody() } @@ -278,8 +272,6 @@ func (r *AlertsMetricQueryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AlertsMetricQueryGetResponse) Body() *AlertsInfo { if r == nil { return nil @@ -289,8 +281,6 @@ func (r *AlertsMetricQueryGetResponse) Body() *AlertsInfo { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AlertsMetricQueryGetResponse) GetBody() (value *AlertsInfo, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_server.go index c54768cd9..9519b1547 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/alerts_metric_query_server.go @@ -48,8 +48,6 @@ type AlertsMetricQueryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AlertsMetricQueryGetServerResponse) Body(value *AlertsInfo) *AlertsMetricQueryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_builder.go index 3492add95..49c5dfc7a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_builder.go @@ -40,8 +40,6 @@ func NewAWS() *AWSBuilder { } // KMSKeyArn sets the value of the 'KMS_key_arn' attribute to the given value. -// -// func (b *AWSBuilder) KMSKeyArn(value string) *AWSBuilder { b.kmsKeyArn = value b.bitmap_ |= 1 @@ -62,8 +60,6 @@ func (b *AWSBuilder) STS(value *STSBuilder) *AWSBuilder { } // AccessKeyID sets the value of the 'access_key_ID' attribute to the given value. -// -// func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder { b.accessKeyID = value b.bitmap_ |= 4 @@ -71,8 +67,6 @@ func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder { } // AccountID sets the value of the 'account_ID' attribute to the given value. -// -// func (b *AWSBuilder) AccountID(value string) *AWSBuilder { b.accountID = value b.bitmap_ |= 8 @@ -80,8 +74,6 @@ func (b *AWSBuilder) AccountID(value string) *AWSBuilder { } // PrivateLink sets the value of the 'private_link' attribute to the given value. -// -// func (b *AWSBuilder) PrivateLink(value bool) *AWSBuilder { b.privateLink = value b.bitmap_ |= 16 @@ -89,8 +81,6 @@ func (b *AWSBuilder) PrivateLink(value bool) *AWSBuilder { } // SecretAccessKey sets the value of the 'secret_access_key' attribute to the given value. -// -// func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder { b.secretAccessKey = value b.bitmap_ |= 32 @@ -98,8 +88,6 @@ func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder { } // SubnetIDs sets the value of the 'subnet_IDs' attribute to the given values. -// -// func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder { b.subnetIDs = make([]string, len(values)) copy(b.subnetIDs, values) @@ -108,8 +96,6 @@ func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder { } // Tags sets the value of the 'tags' attribute to the given value. -// -// func (b *AWSBuilder) Tags(value map[string]string) *AWSBuilder { b.tags = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_builder.go index 14aae3358..770e14008 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_builder.go @@ -38,8 +38,6 @@ func NewAWSFlavour() *AWSFlavourBuilder { } // ComputeInstanceType sets the value of the 'compute_instance_type' attribute to the given value. -// -// func (b *AWSFlavourBuilder) ComputeInstanceType(value string) *AWSFlavourBuilder { b.computeInstanceType = value b.bitmap_ |= 1 @@ -47,8 +45,6 @@ func (b *AWSFlavourBuilder) ComputeInstanceType(value string) *AWSFlavourBuilder } // InfraInstanceType sets the value of the 'infra_instance_type' attribute to the given value. -// -// func (b *AWSFlavourBuilder) InfraInstanceType(value string) *AWSFlavourBuilder { b.infraInstanceType = value b.bitmap_ |= 2 @@ -69,8 +65,6 @@ func (b *AWSFlavourBuilder) InfraVolume(value *AWSVolumeBuilder) *AWSFlavourBuil } // MasterInstanceType sets the value of the 'master_instance_type' attribute to the given value. -// -// func (b *AWSFlavourBuilder) MasterInstanceType(value string) *AWSFlavourBuilder { b.masterInstanceType = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_list_type_json.go index 0243ec3b6..c9f619d0c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_flavour_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSFlavourList(source interface{}) (items []*AWSFlavour, err error return } -// readAWSFlavourList reads list of values of the ''AWS_flavour' type from +// readAWSFlavourList reads list of values of the ”AWS_flavour' type from // the given iterator. func readAWSFlavourList(iterator *jsoniter.Iterator) []*AWSFlavour { list := []*AWSFlavour{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_builder.go index 4c9aa9731..07c2ff232 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_builder.go @@ -57,8 +57,6 @@ func (b *AWSInfrastructureAccessRoleBuilder) HREF(value string) *AWSInfrastructu } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *AWSInfrastructureAccessRoleBuilder) Description(value string) *AWSInfrastructureAccessRoleBuilder { b.description = value b.bitmap_ |= 8 @@ -66,8 +64,6 @@ func (b *AWSInfrastructureAccessRoleBuilder) Description(value string) *AWSInfra } // DisplayName sets the value of the 'display_name' attribute to the given value. -// -// func (b *AWSInfrastructureAccessRoleBuilder) DisplayName(value string) *AWSInfrastructureAccessRoleBuilder { b.displayName = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_client.go index 776f90e00..2c87f6efb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_client.go @@ -156,16 +156,12 @@ func (r *AWSInfrastructureAccessRolePollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AWSInfrastructureAccessRolePollResponse) Body() *AWSInfrastructureAccessRole { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AWSInfrastructureAccessRolePollResponse) GetBody() (value *AWSInfrastructureAccessRole, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *AWSInfrastructureAccessRoleGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AWSInfrastructureAccessRoleGetResponse) Body() *AWSInfrastructureAccessRole { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *AWSInfrastructureAccessRoleGetResponse) Body() *AWSInfrastructureAccess // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AWSInfrastructureAccessRoleGetResponse) GetBody() (value *AWSInfrastructureAccessRole, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_builder.go index 84aee81fa..f8bae3d17 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_builder.go @@ -59,8 +59,6 @@ func (b *AWSInfrastructureAccessRoleGrantBuilder) HREF(value string) *AWSInfrast } // ConsoleURL sets the value of the 'console_URL' attribute to the given value. -// -// func (b *AWSInfrastructureAccessRoleGrantBuilder) ConsoleURL(value string) *AWSInfrastructureAccessRoleGrantBuilder { b.consoleURL = value b.bitmap_ |= 8 @@ -90,8 +88,6 @@ func (b *AWSInfrastructureAccessRoleGrantBuilder) State(value AWSInfrastructureA } // StateDescription sets the value of the 'state_description' attribute to the given value. -// -// func (b *AWSInfrastructureAccessRoleGrantBuilder) StateDescription(value string) *AWSInfrastructureAccessRoleGrantBuilder { b.stateDescription = value b.bitmap_ |= 64 @@ -99,8 +95,6 @@ func (b *AWSInfrastructureAccessRoleGrantBuilder) StateDescription(value string) } // UserARN sets the value of the 'user_ARN' attribute to the given value. -// -// func (b *AWSInfrastructureAccessRoleGrantBuilder) UserARN(value string) *AWSInfrastructureAccessRoleGrantBuilder { b.userARN = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_client.go index e29544d0c..8efef4cc2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_client.go @@ -166,16 +166,12 @@ func (r *AWSInfrastructureAccessRoleGrantPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AWSInfrastructureAccessRoleGrantPollResponse) Body() *AWSInfrastructureAccessRoleGrant { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AWSInfrastructureAccessRoleGrantPollResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool) { return r.response.GetBody() } @@ -382,8 +378,6 @@ func (r *AWSInfrastructureAccessRoleGrantGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *AWSInfrastructureAccessRoleGrantGetResponse) Body() *AWSInfrastructureAccessRoleGrant { if r == nil { return nil @@ -393,8 +387,6 @@ func (r *AWSInfrastructureAccessRoleGrantGetResponse) Body() *AWSInfrastructureA // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *AWSInfrastructureAccessRoleGrantGetResponse) GetBody() (value *AWSInfrastructureAccessRoleGrant, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_list_type_json.go index 303898cd0..cc93540dd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSInfrastructureAccessRoleGrantList(source interface{}) (items [] return } -// readAWSInfrastructureAccessRoleGrantList reads list of values of the ''AWS_infrastructure_access_role_grant' type from +// readAWSInfrastructureAccessRoleGrantList reads list of values of the ”AWS_infrastructure_access_role_grant' type from // the given iterator. func readAWSInfrastructureAccessRoleGrantList(iterator *jsoniter.Iterator) []*AWSInfrastructureAccessRoleGrant { list := []*AWSInfrastructureAccessRoleGrant{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_server.go index e68d30159..4c6cbe016 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_server.go @@ -69,8 +69,6 @@ type AWSInfrastructureAccessRoleGrantGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AWSInfrastructureAccessRoleGrantGetServerResponse) Body(value *AWSInfrastructureAccessRoleGrant) *AWSInfrastructureAccessRoleGrantGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_state_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_state_list_type_json.go index 550b04a52..3baf45907 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_state_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_grant_state_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSInfrastructureAccessRoleGrantStateList(source interface{}) (ite return } -// readAWSInfrastructureAccessRoleGrantStateList reads list of values of the ''AWS_infrastructure_access_role_grant_state' type from +// readAWSInfrastructureAccessRoleGrantStateList reads list of values of the ”AWS_infrastructure_access_role_grant_state' type from // the given iterator. func readAWSInfrastructureAccessRoleGrantStateList(iterator *jsoniter.Iterator) []AWSInfrastructureAccessRoleGrantState { list := []AWSInfrastructureAccessRoleGrantState{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_list_type_json.go index 5d61a578e..bd36574c3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSInfrastructureAccessRoleList(source interface{}) (items []*AWSI return } -// readAWSInfrastructureAccessRoleList reads list of values of the ''AWS_infrastructure_access_role' type from +// readAWSInfrastructureAccessRoleList reads list of values of the ”AWS_infrastructure_access_role' type from // the given iterator. func readAWSInfrastructureAccessRoleList(iterator *jsoniter.Iterator) []*AWSInfrastructureAccessRole { list := []*AWSInfrastructureAccessRole{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_server.go index c24b4b9b4..1eddcd339 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_server.go @@ -48,8 +48,6 @@ type AWSInfrastructureAccessRoleGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *AWSInfrastructureAccessRoleGetServerResponse) Body(value *AWSInfrastructureAccessRole) *AWSInfrastructureAccessRoleGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_state_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_state_list_type_json.go index 32723a084..6447388bb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_state_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_role_state_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSInfrastructureAccessRoleStateList(source interface{}) (items [] return } -// readAWSInfrastructureAccessRoleStateList reads list of values of the ''AWS_infrastructure_access_role_state' type from +// readAWSInfrastructureAccessRoleStateList reads list of values of the ”AWS_infrastructure_access_role_state' type from // the given iterator. func readAWSInfrastructureAccessRoleStateList(iterator *jsoniter.Iterator) []AWSInfrastructureAccessRoleState { list := []AWSInfrastructureAccessRoleState{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_roles_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_roles_client.go index 7cc27f76c..9a6e564c3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_roles_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_infrastructure_access_roles_client.go @@ -48,8 +48,6 @@ func NewAWSInfrastructureAccessRolesClient(transport http.RoundTripper, path str } // List creates a request for the 'list' method. -// -// func (c *AWSInfrastructureAccessRolesClient) List() *AWSInfrastructureAccessRolesListRequest { return &AWSInfrastructureAccessRolesListRequest{ transport: c.transport, diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_list_type_json.go index c00a81904..cb0a9c971 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSList(source interface{}) (items []*AWS, err error) { return } -// readAWSList reads list of values of the ''AWS' type from +// readAWSList reads list of values of the ”AWS' type from // the given iterator. func readAWSList(iterator *jsoniter.Iterator) []*AWS { list := []*AWS{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_machine_pool_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_machine_pool_list_type_json.go index badb3d016..1aff3036b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_machine_pool_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_machine_pool_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSMachinePoolList(source interface{}) (items []*AWSMachinePool, e return } -// readAWSMachinePoolList reads list of values of the ''AWS_machine_pool' type from +// readAWSMachinePoolList reads list of values of the ”AWS_machine_pool' type from // the given iterator. func readAWSMachinePoolList(iterator *jsoniter.Iterator) []*AWSMachinePool { list := []*AWSMachinePool{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_builder.go index e94cb3c81..c775c03b9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_builder.go @@ -55,8 +55,6 @@ func (b *AWSSpotMarketOptionsBuilder) HREF(value string) *AWSSpotMarketOptionsBu } // MaxPrice sets the value of the 'max_price' attribute to the given value. -// -// func (b *AWSSpotMarketOptionsBuilder) MaxPrice(value float64) *AWSSpotMarketOptionsBuilder { b.maxPrice = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_list_type_json.go index a4c84c3aa..e8a824443 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_spot_market_options_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSSpotMarketOptionsList(source interface{}) (items []*AWSSpotMark return } -// readAWSSpotMarketOptionsList reads list of values of the ''AWS_spot_market_options' type from +// readAWSSpotMarketOptionsList reads list of values of the ”AWS_spot_market_options' type from // the given iterator. func readAWSSpotMarketOptionsList(iterator *jsoniter.Iterator) []*AWSSpotMarketOptions { list := []*AWSSpotMarketOptions{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_builder.go index 137e46728..968324cea 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_builder.go @@ -35,8 +35,6 @@ func NewAWSVolume() *AWSVolumeBuilder { } // IOPS sets the value of the 'IOPS' attribute to the given value. -// -// func (b *AWSVolumeBuilder) IOPS(value int) *AWSVolumeBuilder { b.iops = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *AWSVolumeBuilder) IOPS(value int) *AWSVolumeBuilder { } // Size sets the value of the 'size' attribute to the given value. -// -// func (b *AWSVolumeBuilder) Size(value int) *AWSVolumeBuilder { b.size = value b.bitmap_ |= 2 @@ -53,8 +49,6 @@ func (b *AWSVolumeBuilder) Size(value int) *AWSVolumeBuilder { } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *AWSVolumeBuilder) Type(value string) *AWSVolumeBuilder { b.type_ = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_list_type_json.go index 99f55defa..95c8014b5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalAWSVolumeList(source interface{}) (items []*AWSVolume, err error) return } -// readAWSVolumeList reads list of values of the ''AWS_volume' type from +// readAWSVolumeList reads list of values of the ”AWS_volume' type from // the given iterator. func readAWSVolumeList(iterator *jsoniter.Iterator) []*AWSVolume { list := []*AWSVolume{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_type.go index f1b5dc26a..8d3fba6f2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/aws_volume_type.go @@ -83,7 +83,7 @@ func (o *AWSVolume) GetSize() (value int, ok bool) { // Type returns the value of the 'type' attribute, or // the zero value of the type if the attribute doesn't have a value. // -// Volume Type +// # Volume Type // // Possible values are: 'io1', 'gp2', 'st1', 'sc1', 'standard' func (o *AWSVolume) Type() string { @@ -96,7 +96,7 @@ func (o *AWSVolume) Type() string { // GetType returns the value of the 'type' attribute and // a flag indicating if the attribute has a value. // -// Volume Type +// # Volume Type // // Possible values are: 'io1', 'gp2', 'st1', 'sc1', 'standard' func (o *AWSVolume) GetType() (value string, ok bool) { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/billing_model_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/billing_model_list_type_json.go index 64817f037..a1e279d18 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/billing_model_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/billing_model_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalBillingModelList(source interface{}) (items []BillingModel, err er return } -// readBillingModelList reads list of values of the ''billing_model' type from +// readBillingModelList reads list of values of the ”billing_model' type from // the given iterator. func readBillingModelList(iterator *jsoniter.Iterator) []BillingModel { list := []BillingModel{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/boolean_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/boolean_list_type_json.go index f373dad68..e47b1badc 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/boolean_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/boolean_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalBooleanList(source interface{}) (items []bool, err error) { return } -// readBooleanList reads list of values of the ''boolean' type from +// readBooleanList reads list of values of the ”boolean' type from // the given iterator. func readBooleanList(iterator *jsoniter.Iterator) []bool { list := []bool{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_builder.go index b79298ee1..e87d4cd95 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_builder.go @@ -20,8 +20,6 @@ limitations under the License. package v1 // github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1 // CCSBuilder contains the data and logic needed to build 'CCS' objects. -// -// type CCSBuilder struct { bitmap_ uint32 id string @@ -56,8 +54,6 @@ func (b *CCSBuilder) HREF(value string) *CCSBuilder { } // DisableSCPChecks sets the value of the 'disable_SCP_checks' attribute to the given value. -// -// func (b *CCSBuilder) DisableSCPChecks(value bool) *CCSBuilder { b.disableSCPChecks = value b.bitmap_ |= 8 @@ -65,8 +61,6 @@ func (b *CCSBuilder) DisableSCPChecks(value bool) *CCSBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *CCSBuilder) Enabled(value bool) *CCSBuilder { b.enabled = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_list_type_json.go index 18df978a8..97bec0873 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCCSList(source interface{}) (items []*CCS, err error) { return } -// readCCSList reads list of values of the ''CCS' type from +// readCCSList reads list of values of the ”CCS' type from // the given iterator. func readCCSList(iterator *jsoniter.Iterator) []*CCS { list := []*CCS{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_type.go index cacf5bfa0..bc8a62047 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ccs_type.go @@ -32,8 +32,6 @@ const CCSLinkKind = "CCSLink" const CCSNilKind = "CCSNil" // CCS represents the values of the 'CCS' type. -// -// type CCS struct { bitmap_ uint32 id string diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_builder.go index eac4ac8f2..c87b2a616 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_builder.go @@ -56,8 +56,6 @@ func (b *CloudProviderBuilder) HREF(value string) *CloudProviderBuilder { } // DisplayName sets the value of the 'display_name' attribute to the given value. -// -// func (b *CloudProviderBuilder) DisplayName(value string) *CloudProviderBuilder { b.displayName = value b.bitmap_ |= 8 @@ -65,8 +63,6 @@ func (b *CloudProviderBuilder) DisplayName(value string) *CloudProviderBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *CloudProviderBuilder) Name(value string) *CloudProviderBuilder { b.name = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_client.go index a34705ea4..51c260bfd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_client.go @@ -179,16 +179,12 @@ func (r *CloudProviderPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CloudProviderPollResponse) Body() *CloudProvider { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CloudProviderPollResponse) GetBody() (value *CloudProvider, ok bool) { return r.response.GetBody() } @@ -301,8 +297,6 @@ func (r *CloudProviderGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CloudProviderGetResponse) Body() *CloudProvider { if r == nil { return nil @@ -312,8 +306,6 @@ func (r *CloudProviderGetResponse) Body() *CloudProvider { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CloudProviderGetResponse) GetBody() (value *CloudProvider, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_builder.go index b8d82d8f6..a61fab461 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_builder.go @@ -63,8 +63,6 @@ func (b *CloudProviderDataBuilder) GCP(value *GCPBuilder) *CloudProviderDataBuil } // KeyLocation sets the value of the 'key_location' attribute to the given value. -// -// func (b *CloudProviderDataBuilder) KeyLocation(value string) *CloudProviderDataBuilder { b.keyLocation = value b.bitmap_ |= 4 @@ -72,8 +70,6 @@ func (b *CloudProviderDataBuilder) KeyLocation(value string) *CloudProviderDataB } // KeyRingName sets the value of the 'key_ring_name' attribute to the given value. -// -// func (b *CloudProviderDataBuilder) KeyRingName(value string) *CloudProviderDataBuilder { b.keyRingName = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_list_type_json.go index 812866b5d..a27d009bf 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_data_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCloudProviderDataList(source interface{}) (items []*CloudProviderD return } -// readCloudProviderDataList reads list of values of the ''cloud_provider_data' type from +// readCloudProviderDataList reads list of values of the ”cloud_provider_data' type from // the given iterator. func readCloudProviderDataList(iterator *jsoniter.Iterator) []*CloudProviderData { list := []*CloudProviderData{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_list_type_json.go index 307907339..692ee8686 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCloudProviderList(source interface{}) (items []*CloudProvider, err return } -// readCloudProviderList reads list of values of the ''cloud_provider' type from +// readCloudProviderList reads list of values of the ”cloud_provider' type from // the given iterator. func readCloudProviderList(iterator *jsoniter.Iterator) []*CloudProvider { list := []*CloudProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_server.go index b8282edad..0b08c75fa 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_provider_server.go @@ -60,8 +60,6 @@ type CloudProviderGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *CloudProviderGetServerResponse) Body(value *CloudProvider) *CloudProviderGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_builder.go index 073563d22..8bb480bcb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_builder.go @@ -60,8 +60,6 @@ func (b *CloudRegionBuilder) HREF(value string) *CloudRegionBuilder { } // CCSOnly sets the value of the 'CCS_only' attribute to the given value. -// -// func (b *CloudRegionBuilder) CCSOnly(value bool) *CloudRegionBuilder { b.ccsOnly = value b.bitmap_ |= 8 @@ -82,8 +80,6 @@ func (b *CloudRegionBuilder) CloudProvider(value *CloudProviderBuilder) *CloudRe } // DisplayName sets the value of the 'display_name' attribute to the given value. -// -// func (b *CloudRegionBuilder) DisplayName(value string) *CloudRegionBuilder { b.displayName = value b.bitmap_ |= 32 @@ -91,8 +87,6 @@ func (b *CloudRegionBuilder) DisplayName(value string) *CloudRegionBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *CloudRegionBuilder) Enabled(value bool) *CloudRegionBuilder { b.enabled = value b.bitmap_ |= 64 @@ -100,8 +94,6 @@ func (b *CloudRegionBuilder) Enabled(value bool) *CloudRegionBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *CloudRegionBuilder) Name(value string) *CloudRegionBuilder { b.name = value b.bitmap_ |= 128 @@ -109,8 +101,6 @@ func (b *CloudRegionBuilder) Name(value string) *CloudRegionBuilder { } // SupportsMultiAZ sets the value of the 'supports_multi_AZ' attribute to the given value. -// -// func (b *CloudRegionBuilder) SupportsMultiAZ(value bool) *CloudRegionBuilder { b.supportsMultiAZ = value b.bitmap_ |= 256 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_client.go index 0893c955a..db574d4b8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_client.go @@ -156,16 +156,12 @@ func (r *CloudRegionPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CloudRegionPollResponse) Body() *CloudRegion { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CloudRegionPollResponse) GetBody() (value *CloudRegion, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *CloudRegionGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CloudRegionGetResponse) Body() *CloudRegion { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *CloudRegionGetResponse) Body() *CloudRegion { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CloudRegionGetResponse) GetBody() (value *CloudRegion, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_list_type_json.go index fd536efd4..83297735c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCloudRegionList(source interface{}) (items []*CloudRegion, err err return } -// readCloudRegionList reads list of values of the ''cloud_region' type from +// readCloudRegionList reads list of values of the ”cloud_region' type from // the given iterator. func readCloudRegionList(iterator *jsoniter.Iterator) []*CloudRegion { list := []*CloudRegion{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_server.go index 5e6544ad3..9bc21cb89 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_region_server.go @@ -48,8 +48,6 @@ type CloudRegionGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *CloudRegionGetServerResponse) Body(value *CloudRegion) *CloudRegionGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_builder.go index 0d1663ef5..1c47f4908 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_builder.go @@ -34,8 +34,6 @@ func NewCloudVPC() *CloudVPCBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *CloudVPCBuilder) Name(value string) *CloudVPCBuilder { b.name = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *CloudVPCBuilder) Name(value string) *CloudVPCBuilder { } // Subnets sets the value of the 'subnets' attribute to the given values. -// -// func (b *CloudVPCBuilder) Subnets(values ...string) *CloudVPCBuilder { b.subnets = make([]string, len(values)) copy(b.subnets, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_list_type_json.go index eecbeb5db..4f8114e34 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cloud_vpc_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCloudVPCList(source interface{}) (items []*CloudVPC, err error) { return } -// readCloudVPCList reads list of values of the ''cloud_VPC' type from +// readCloudVPCList reads list of values of the ”cloud_VPC' type from // the given iterator. func readCloudVPCList(iterator *jsoniter.Iterator) []*CloudVPC { list := []*CloudVPC{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_builder.go index 7f1cc6256..a609c22d1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_builder.go @@ -34,8 +34,6 @@ func NewClusterAPI() *ClusterAPIBuilder { } // URL sets the value of the 'URL' attribute to the given value. -// -// func (b *ClusterAPIBuilder) URL(value string) *ClusterAPIBuilder { b.url = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_list_type_json.go index 5c8daebb1..2227d70ed 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_api_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterAPIList(source interface{}) (items []*ClusterAPI, err error return } -// readClusterAPIList reads list of values of the ''cluster_API' type from +// readClusterAPIList reads list of values of the ”cluster_API' type from // the given iterator. func readClusterAPIList(iterator *jsoniter.Iterator) []*ClusterAPI { list := []*ClusterAPI{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_builder.go index 0ece8427a..fd9c0fc1d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_builder.go @@ -33,13 +33,15 @@ import ( // // [source,json] // ---- -// { -// "cloud_provider": { -// "kind": "CloudProviderLink", -// "id": "123", -// "href": "/api/clusters_mgmt/v1/cloud_providers/123" -// } -// } +// +// { +// "cloud_provider": { +// "kind": "CloudProviderLink", +// "id": "123", +// "href": "/api/clusters_mgmt/v1/cloud_providers/123" +// } +// } +// // ---- // // When a cluster is created this is optional, and if used it should contain the @@ -47,11 +49,13 @@ import ( // // [source,json] // ---- -// { -// "cloud_provider": { -// "id": "123", -// } -// } +// +// { +// "cloud_provider": { +// "id": "123", +// } +// } +// // ---- // // If not included, then the cluster will be created using the default cloud @@ -160,8 +164,6 @@ func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder { } // AWSInfrastructureAccessRoleGrants sets the value of the 'AWS_infrastructure_access_role_grants' attribute to the given values. -// -// func (b *ClusterBuilder) AWSInfrastructureAccessRoleGrants(value *AWSInfrastructureAccessRoleGrantListBuilder) *ClusterBuilder { b.awsInfrastructureAccessRoleGrants = value b.bitmap_ |= 32 @@ -169,8 +171,6 @@ func (b *ClusterBuilder) AWSInfrastructureAccessRoleGrants(value *AWSInfrastruct } // CCS sets the value of the 'CCS' attribute to the given value. -// -// func (b *ClusterBuilder) CCS(value *CCSBuilder) *ClusterBuilder { b.ccs = value if value != nil { @@ -208,8 +208,6 @@ func (b *ClusterBuilder) GCP(value *GCPBuilder) *ClusterBuilder { } // Addons sets the value of the 'addons' attribute to the given values. -// -// func (b *ClusterBuilder) Addons(value *AddOnInstallationListBuilder) *ClusterBuilder { b.addons = value b.bitmap_ |= 512 @@ -252,8 +250,6 @@ func (b *ClusterBuilder) Console(value *ClusterConsoleBuilder) *ClusterBuilder { } // CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value. -// -// func (b *ClusterBuilder) CreationTimestamp(value time.Time) *ClusterBuilder { b.creationTimestamp = value b.bitmap_ |= 8192 @@ -261,8 +257,6 @@ func (b *ClusterBuilder) CreationTimestamp(value time.Time) *ClusterBuilder { } // DisableUserWorkloadMonitoring sets the value of the 'disable_user_workload_monitoring' attribute to the given value. -// -// func (b *ClusterBuilder) DisableUserWorkloadMonitoring(value bool) *ClusterBuilder { b.disableUserWorkloadMonitoring = value b.bitmap_ |= 16384 @@ -270,8 +264,6 @@ func (b *ClusterBuilder) DisableUserWorkloadMonitoring(value bool) *ClusterBuild } // DisplayName sets the value of the 'display_name' attribute to the given value. -// -// func (b *ClusterBuilder) DisplayName(value string) *ClusterBuilder { b.displayName = value b.bitmap_ |= 32768 @@ -279,8 +271,6 @@ func (b *ClusterBuilder) DisplayName(value string) *ClusterBuilder { } // EtcdEncryption sets the value of the 'etcd_encryption' attribute to the given value. -// -// func (b *ClusterBuilder) EtcdEncryption(value bool) *ClusterBuilder { b.etcdEncryption = value b.bitmap_ |= 65536 @@ -288,8 +278,6 @@ func (b *ClusterBuilder) EtcdEncryption(value bool) *ClusterBuilder { } // ExpirationTimestamp sets the value of the 'expiration_timestamp' attribute to the given value. -// -// func (b *ClusterBuilder) ExpirationTimestamp(value time.Time) *ClusterBuilder { b.expirationTimestamp = value b.bitmap_ |= 131072 @@ -297,8 +285,6 @@ func (b *ClusterBuilder) ExpirationTimestamp(value time.Time) *ClusterBuilder { } // ExternalID sets the value of the 'external_ID' attribute to the given value. -// -// func (b *ClusterBuilder) ExternalID(value string) *ClusterBuilder { b.externalID = value b.bitmap_ |= 262144 @@ -333,8 +319,6 @@ func (b *ClusterBuilder) Flavour(value *FlavourBuilder) *ClusterBuilder { } // Groups sets the value of the 'groups' attribute to the given values. -// -// func (b *ClusterBuilder) Groups(value *GroupListBuilder) *ClusterBuilder { b.groups = value b.bitmap_ |= 2097152 @@ -351,8 +335,6 @@ func (b *ClusterBuilder) HealthState(value ClusterHealthState) *ClusterBuilder { } // IdentityProviders sets the value of the 'identity_providers' attribute to the given values. -// -// func (b *ClusterBuilder) IdentityProviders(value *IdentityProviderListBuilder) *ClusterBuilder { b.identityProviders = value b.bitmap_ |= 8388608 @@ -360,8 +342,6 @@ func (b *ClusterBuilder) IdentityProviders(value *IdentityProviderListBuilder) * } // Ingresses sets the value of the 'ingresses' attribute to the given values. -// -// func (b *ClusterBuilder) Ingresses(value *IngressListBuilder) *ClusterBuilder { b.ingresses = value b.bitmap_ |= 16777216 @@ -369,8 +349,6 @@ func (b *ClusterBuilder) Ingresses(value *IngressListBuilder) *ClusterBuilder { } // LoadBalancerQuota sets the value of the 'load_balancer_quota' attribute to the given value. -// -// func (b *ClusterBuilder) LoadBalancerQuota(value int) *ClusterBuilder { b.loadBalancerQuota = value b.bitmap_ |= 33554432 @@ -378,8 +356,6 @@ func (b *ClusterBuilder) LoadBalancerQuota(value int) *ClusterBuilder { } // MachinePools sets the value of the 'machine_pools' attribute to the given values. -// -// func (b *ClusterBuilder) MachinePools(value *MachinePoolListBuilder) *ClusterBuilder { b.machinePools = value b.bitmap_ |= 67108864 @@ -387,8 +363,6 @@ func (b *ClusterBuilder) MachinePools(value *MachinePoolListBuilder) *ClusterBui } // Managed sets the value of the 'managed' attribute to the given value. -// -// func (b *ClusterBuilder) Managed(value bool) *ClusterBuilder { b.managed = value b.bitmap_ |= 134217728 @@ -396,8 +370,6 @@ func (b *ClusterBuilder) Managed(value bool) *ClusterBuilder { } // MultiAZ sets the value of the 'multi_AZ' attribute to the given value. -// -// func (b *ClusterBuilder) MultiAZ(value bool) *ClusterBuilder { b.multiAZ = value b.bitmap_ |= 268435456 @@ -405,8 +377,6 @@ func (b *ClusterBuilder) MultiAZ(value bool) *ClusterBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *ClusterBuilder) Name(value string) *ClusterBuilder { b.name = value b.bitmap_ |= 536870912 @@ -470,8 +440,6 @@ func (b *ClusterBuilder) Nodes(value *ClusterNodesBuilder) *ClusterBuilder { } // OpenshiftVersion sets the value of the 'openshift_version' attribute to the given value. -// -// func (b *ClusterBuilder) OpenshiftVersion(value string) *ClusterBuilder { b.openshiftVersion = value b.bitmap_ |= 8589934592 @@ -492,8 +460,6 @@ func (b *ClusterBuilder) Product(value *ProductBuilder) *ClusterBuilder { } // Properties sets the value of the 'properties' attribute to the given value. -// -// func (b *ClusterBuilder) Properties(value map[string]string) *ClusterBuilder { b.properties = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_client.go index f73eac474..3e854b3e9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_client.go @@ -383,16 +383,12 @@ func (r *ClusterPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterPollResponse) Body() *Cluster { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterPollResponse) GetBody() (value *Cluster, ok bool) { return r.response.GetBody() } @@ -612,8 +608,6 @@ func (r *ClusterGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterGetResponse) Body() *Cluster { if r == nil { return nil @@ -623,8 +617,6 @@ func (r *ClusterGetResponse) Body() *Cluster { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterGetResponse) GetBody() (value *Cluster, ok bool) { ok = r != nil && r.body != nil if ok { @@ -843,8 +835,6 @@ func (r *ClusterUpdateRequest) Header(name string, value interface{}) *ClusterUp } // Body sets the value of the 'body' parameter. -// -// func (r *ClusterUpdateRequest) Body(value *Cluster) *ClusterUpdateRequest { r.body = value return r @@ -946,8 +936,6 @@ func (r *ClusterUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterUpdateResponse) Body() *Cluster { if r == nil { return nil @@ -957,8 +945,6 @@ func (r *ClusterUpdateResponse) Body() *Cluster { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterUpdateResponse) GetBody() (value *Cluster, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_configuration_mode_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_configuration_mode_list_type_json.go index 0e37c1259..1ef109d68 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_configuration_mode_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_configuration_mode_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterConfigurationModeList(source interface{}) (items []ClusterC return } -// readClusterConfigurationModeList reads list of values of the ''cluster_configuration_mode' type from +// readClusterConfigurationModeList reads list of values of the ”cluster_configuration_mode' type from // the given iterator. func readClusterConfigurationModeList(iterator *jsoniter.Iterator) []ClusterConfigurationMode { list := []ClusterConfigurationMode{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_builder.go index 8139577c9..0ae742a36 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_builder.go @@ -33,8 +33,6 @@ func NewClusterConsole() *ClusterConsoleBuilder { } // URL sets the value of the 'URL' attribute to the given value. -// -// func (b *ClusterConsoleBuilder) URL(value string) *ClusterConsoleBuilder { b.url = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_list_type_json.go index c4ffd187e..95c6e303b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_console_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterConsoleList(source interface{}) (items []*ClusterConsole, e return } -// readClusterConsoleList reads list of values of the ''cluster_console' type from +// readClusterConsoleList reads list of values of the ”cluster_console' type from // the given iterator. func readClusterConsoleList(iterator *jsoniter.Iterator) []*ClusterConsole { list := []*ClusterConsole{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_builder.go index 39d93385d..17d49d295 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_builder.go @@ -84,8 +84,6 @@ func (b *ClusterCredentialsBuilder) Admin(value *AdminCredentialsBuilder) *Clust } // Kubeconfig sets the value of the 'kubeconfig' attribute to the given value. -// -// func (b *ClusterCredentialsBuilder) Kubeconfig(value string) *ClusterCredentialsBuilder { b.kubeconfig = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_list_type_json.go index 7141cd353..c206f0b29 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_credentials_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterCredentialsList(source interface{}) (items []*ClusterCreden return } -// readClusterCredentialsList reads list of values of the ''cluster_credentials' type from +// readClusterCredentialsList reads list of values of the ”cluster_credentials' type from // the given iterator. func readClusterCredentialsList(iterator *jsoniter.Iterator) []*ClusterCredentials { list := []*ClusterCredentials{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_builder.go index 727325877..21168c35a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_builder.go @@ -55,8 +55,6 @@ func (b *ClusterDeploymentBuilder) HREF(value string) *ClusterDeploymentBuilder } // Content sets the value of the 'content' attribute to the given value. -// -// func (b *ClusterDeploymentBuilder) Content(value interface{}) *ClusterDeploymentBuilder { b.content = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_list_type_json.go index 5d76e39a4..99ecb48da 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_deployment_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterDeploymentList(source interface{}) (items []*ClusterDeploym return } -// readClusterDeploymentList reads list of values of the ''cluster_deployment' type from +// readClusterDeploymentList reads list of values of the ”cluster_deployment' type from // the given iterator. func readClusterDeploymentList(iterator *jsoniter.Iterator) []*ClusterDeployment { list := []*ClusterDeployment{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_health_state_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_health_state_list_type_json.go index efe31641d..21f000505 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_health_state_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_health_state_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterHealthStateList(source interface{}) (items []ClusterHealthS return } -// readClusterHealthStateList reads list of values of the ''cluster_health_state' type from +// readClusterHealthStateList reads list of values of the ”cluster_health_state' type from // the given iterator. func readClusterHealthStateList(iterator *jsoniter.Iterator) []ClusterHealthState { list := []ClusterHealthState{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_list_type_json.go index 3a1e1ba04..fc7a0e979 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterList(source interface{}) (items []*Cluster, err error) { return } -// readClusterList reads list of values of the ''cluster' type from +// readClusterList reads list of values of the ”cluster' type from // the given iterator. func readClusterList(iterator *jsoniter.Iterator) []*Cluster { list := []*Cluster{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_builder.go index 68d71cc4f..9b53573a2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_builder.go @@ -53,8 +53,6 @@ func (b *ClusterNodesBuilder) AutoscaleCompute(value *MachinePoolAutoscalingBuil } // AvailabilityZones sets the value of the 'availability_zones' attribute to the given values. -// -// func (b *ClusterNodesBuilder) AvailabilityZones(values ...string) *ClusterNodesBuilder { b.availabilityZones = make([]string, len(values)) copy(b.availabilityZones, values) @@ -63,8 +61,6 @@ func (b *ClusterNodesBuilder) AvailabilityZones(values ...string) *ClusterNodesB } // Compute sets the value of the 'compute' attribute to the given value. -// -// func (b *ClusterNodesBuilder) Compute(value int) *ClusterNodesBuilder { b.compute = value b.bitmap_ |= 4 @@ -72,8 +68,6 @@ func (b *ClusterNodesBuilder) Compute(value int) *ClusterNodesBuilder { } // ComputeLabels sets the value of the 'compute_labels' attribute to the given value. -// -// func (b *ClusterNodesBuilder) ComputeLabels(value map[string]string) *ClusterNodesBuilder { b.computeLabels = value if value != nil { @@ -98,8 +92,6 @@ func (b *ClusterNodesBuilder) ComputeMachineType(value *MachineTypeBuilder) *Clu } // Infra sets the value of the 'infra' attribute to the given value. -// -// func (b *ClusterNodesBuilder) Infra(value int) *ClusterNodesBuilder { b.infra = value b.bitmap_ |= 32 @@ -107,8 +99,6 @@ func (b *ClusterNodesBuilder) Infra(value int) *ClusterNodesBuilder { } // Master sets the value of the 'master' attribute to the given value. -// -// func (b *ClusterNodesBuilder) Master(value int) *ClusterNodesBuilder { b.master = value b.bitmap_ |= 64 @@ -116,8 +106,6 @@ func (b *ClusterNodesBuilder) Master(value int) *ClusterNodesBuilder { } // Total sets the value of the 'total' attribute to the given value. -// -// func (b *ClusterNodesBuilder) Total(value int) *ClusterNodesBuilder { b.total = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_list_type_json.go index 16386b260..c416521ad 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_nodes_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterNodesList(source interface{}) (items []*ClusterNodes, err e return } -// readClusterNodesList reads list of values of the ''cluster_nodes' type from +// readClusterNodesList reads list of values of the ”cluster_nodes' type from // the given iterator. func readClusterNodesList(iterator *jsoniter.Iterator) []*ClusterNodes { list := []*ClusterNodes{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_builder.go index 9ca53ca25..319ca9514 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_builder.go @@ -24,8 +24,6 @@ import ( ) // ClusterOperatorInfoBuilder contains the data and logic needed to build 'cluster_operator_info' objects. -// -// type ClusterOperatorInfoBuilder struct { bitmap_ uint32 condition ClusterOperatorState @@ -50,8 +48,6 @@ func (b *ClusterOperatorInfoBuilder) Condition(value ClusterOperatorState) *Clus } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *ClusterOperatorInfoBuilder) Name(value string) *ClusterOperatorInfoBuilder { b.name = value b.bitmap_ |= 2 @@ -59,8 +55,6 @@ func (b *ClusterOperatorInfoBuilder) Name(value string) *ClusterOperatorInfoBuil } // Reason sets the value of the 'reason' attribute to the given value. -// -// func (b *ClusterOperatorInfoBuilder) Reason(value string) *ClusterOperatorInfoBuilder { b.reason = value b.bitmap_ |= 4 @@ -68,8 +62,6 @@ func (b *ClusterOperatorInfoBuilder) Reason(value string) *ClusterOperatorInfoBu } // Time sets the value of the 'time' attribute to the given value. -// -// func (b *ClusterOperatorInfoBuilder) Time(value time.Time) *ClusterOperatorInfoBuilder { b.time = value b.bitmap_ |= 8 @@ -77,8 +69,6 @@ func (b *ClusterOperatorInfoBuilder) Time(value time.Time) *ClusterOperatorInfoB } // Version sets the value of the 'version' attribute to the given value. -// -// func (b *ClusterOperatorInfoBuilder) Version(value string) *ClusterOperatorInfoBuilder { b.version = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_list_type_json.go index af03f555a..c73e00cc7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterOperatorInfoList(source interface{}) (items []*ClusterOpera return } -// readClusterOperatorInfoList reads list of values of the ''cluster_operator_info' type from +// readClusterOperatorInfoList reads list of values of the ”cluster_operator_info' type from // the given iterator. func readClusterOperatorInfoList(iterator *jsoniter.Iterator) []*ClusterOperatorInfo { list := []*ClusterOperatorInfo{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_type.go index 736067231..8450fd3eb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_info_type.go @@ -24,8 +24,6 @@ import ( ) // ClusterOperatorInfo represents the values of the 'cluster_operator_info' type. -// -// type ClusterOperatorInfo struct { bitmap_ uint32 condition ClusterOperatorState diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_state_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_state_list_type_json.go index 364d164a9..75e4d23b7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_state_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operator_state_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterOperatorStateList(source interface{}) (items []ClusterOpera return } -// readClusterOperatorStateList reads list of values of the ''cluster_operator_state' type from +// readClusterOperatorStateList reads list of values of the ”cluster_operator_state' type from // the given iterator. func readClusterOperatorStateList(iterator *jsoniter.Iterator) []ClusterOperatorState { list := []ClusterOperatorState{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_builder.go index 737431467..be76a8716 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_builder.go @@ -33,8 +33,6 @@ func NewClusterOperatorsInfo() *ClusterOperatorsInfoBuilder { } // Operators sets the value of the 'operators' attribute to the given values. -// -// func (b *ClusterOperatorsInfoBuilder) Operators(values ...*ClusterOperatorInfoBuilder) *ClusterOperatorsInfoBuilder { b.operators = make([]*ClusterOperatorInfoBuilder, len(values)) copy(b.operators, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_list_type_json.go index c5e10fe5d..d9e55a644 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterOperatorsInfoList(source interface{}) (items []*ClusterOper return } -// readClusterOperatorsInfoList reads list of values of the ''cluster_operators_info' type from +// readClusterOperatorsInfoList reads list of values of the ”cluster_operators_info' type from // the given iterator. func readClusterOperatorsInfoList(iterator *jsoniter.Iterator) []*ClusterOperatorsInfo { list := []*ClusterOperatorsInfo{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_type.go index 8c41cc425..11520371a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_info_type.go @@ -34,8 +34,6 @@ func (o *ClusterOperatorsInfo) Empty() bool { // Operators returns the value of the 'operators' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *ClusterOperatorsInfo) Operators() []*ClusterOperatorInfo { if o != nil && o.bitmap_&1 != 0 { return o.operators @@ -45,8 +43,6 @@ func (o *ClusterOperatorsInfo) Operators() []*ClusterOperatorInfo { // GetOperators returns the value of the 'operators' attribute and // a flag indicating if the attribute has a value. -// -// func (o *ClusterOperatorsInfo) GetOperators() (value []*ClusterOperatorInfo, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_client.go index ae1aa47d9..2e0298c24 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_client.go @@ -48,8 +48,6 @@ func NewClusterOperatorsMetricQueryClient(transport http.RoundTripper, path stri } // Get creates a request for the 'get' method. -// -// func (c *ClusterOperatorsMetricQueryClient) Get() *ClusterOperatorsMetricQueryGetRequest { return &ClusterOperatorsMetricQueryGetRequest{ transport: c.transport, @@ -156,16 +154,12 @@ func (r *ClusterOperatorsMetricQueryPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterOperatorsMetricQueryPollResponse) Body() *ClusterOperatorsInfo { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterOperatorsMetricQueryPollResponse) GetBody() (value *ClusterOperatorsInfo, ok bool) { return r.response.GetBody() } @@ -278,8 +272,6 @@ func (r *ClusterOperatorsMetricQueryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterOperatorsMetricQueryGetResponse) Body() *ClusterOperatorsInfo { if r == nil { return nil @@ -289,8 +281,6 @@ func (r *ClusterOperatorsMetricQueryGetResponse) Body() *ClusterOperatorsInfo { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterOperatorsMetricQueryGetResponse) GetBody() (value *ClusterOperatorsInfo, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_server.go index 590eedead..992b12e9f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_operators_metric_query_server.go @@ -48,8 +48,6 @@ type ClusterOperatorsMetricQueryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ClusterOperatorsMetricQueryGetServerResponse) Body(value *ClusterOperatorsInfo) *ClusterOperatorsMetricQueryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_builder.go index a4314f381..ac3cd7e36 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_builder.go @@ -35,8 +35,6 @@ func NewClusterRegistration() *ClusterRegistrationBuilder { } // ExternalID sets the value of the 'external_ID' attribute to the given value. -// -// func (b *ClusterRegistrationBuilder) ExternalID(value string) *ClusterRegistrationBuilder { b.externalID = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *ClusterRegistrationBuilder) ExternalID(value string) *ClusterRegistrati } // OrganizationID sets the value of the 'organization_ID' attribute to the given value. -// -// func (b *ClusterRegistrationBuilder) OrganizationID(value string) *ClusterRegistrationBuilder { b.organizationID = value b.bitmap_ |= 2 @@ -53,8 +49,6 @@ func (b *ClusterRegistrationBuilder) OrganizationID(value string) *ClusterRegist } // SubscriptionID sets the value of the 'subscription_ID' attribute to the given value. -// -// func (b *ClusterRegistrationBuilder) SubscriptionID(value string) *ClusterRegistrationBuilder { b.subscriptionID = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_list_type_json.go index 7fb5ba764..7467e224c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterRegistrationList(source interface{}) (items []*ClusterRegis return } -// readClusterRegistrationList reads list of values of the ''cluster_registration' type from +// readClusterRegistrationList reads list of values of the ”cluster_registration' type from // the given iterator. func readClusterRegistrationList(iterator *jsoniter.Iterator) []*ClusterRegistration { list := []*ClusterRegistration{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_type.go index 8ba338d8e..d19f533d6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_registration_type.go @@ -51,9 +51,11 @@ func (o *ClusterRegistration) Empty() bool { // // [source,json] // ---- -// { -// "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba" -// } +// +// { +// "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba" +// } +// // ---- func (o *ClusterRegistration) ExternalID() string { if o != nil && o.bitmap_&1 != 0 { @@ -79,9 +81,11 @@ func (o *ClusterRegistration) ExternalID() string { // // [source,json] // ---- -// { -// "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba" -// } +// +// { +// "external_id": "d656aecf-11a6-4782-ad86-8f72638449ba" +// } +// // ---- func (o *ClusterRegistration) GetExternalID() (value string, ok bool) { ok = o != nil && o.bitmap_&1 != 0 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_server.go index 096e1c8e1..9775ccca2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_server.go @@ -201,8 +201,6 @@ type ClusterGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ClusterGetServerResponse) Body(value *Cluster) *ClusterGetServerResponse { r.body = value return r @@ -252,8 +250,6 @@ type ClusterUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterUpdateServerRequest) Body() *Cluster { if r == nil { return nil @@ -263,8 +259,6 @@ func (r *ClusterUpdateServerRequest) Body() *Cluster { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterUpdateServerRequest) GetBody() (value *Cluster, ok bool) { ok = r != nil && r.body != nil if ok { @@ -281,8 +275,6 @@ type ClusterUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ClusterUpdateServerResponse) Body(value *Cluster) *ClusterUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_state_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_state_list_type_json.go index 4e21224b3..82c112f56 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_state_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_state_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterStateList(source interface{}) (items []ClusterState, err er return } -// readClusterStateList reads list of values of the ''cluster_state' type from +// readClusterStateList reads list of values of the ”cluster_state' type from // the given iterator. func readClusterStateList(iterator *jsoniter.Iterator) []ClusterState { list := []ClusterState{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_builder.go index 4aa7eab31..0b910c7d5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_builder.go @@ -60,8 +60,6 @@ func (b *ClusterStatusBuilder) HREF(value string) *ClusterStatusBuilder { } // DNSReady sets the value of the 'DNS_ready' attribute to the given value. -// -// func (b *ClusterStatusBuilder) DNSReady(value bool) *ClusterStatusBuilder { b.dnsReady = value b.bitmap_ |= 8 @@ -78,8 +76,6 @@ func (b *ClusterStatusBuilder) ConfigurationMode(value ClusterConfigurationMode) } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *ClusterStatusBuilder) Description(value string) *ClusterStatusBuilder { b.description = value b.bitmap_ |= 32 @@ -87,8 +83,6 @@ func (b *ClusterStatusBuilder) Description(value string) *ClusterStatusBuilder { } // ProvisionErrorCode sets the value of the 'provision_error_code' attribute to the given value. -// -// func (b *ClusterStatusBuilder) ProvisionErrorCode(value string) *ClusterStatusBuilder { b.provisionErrorCode = value b.bitmap_ |= 64 @@ -96,8 +90,6 @@ func (b *ClusterStatusBuilder) ProvisionErrorCode(value string) *ClusterStatusBu } // ProvisionErrorMessage sets the value of the 'provision_error_message' attribute to the given value. -// -// func (b *ClusterStatusBuilder) ProvisionErrorMessage(value string) *ClusterStatusBuilder { b.provisionErrorMessage = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_client.go index c4d4c1a41..c68a5fc6f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_client.go @@ -48,8 +48,6 @@ func NewClusterStatusClient(transport http.RoundTripper, path string) *ClusterSt } // Get creates a request for the 'get' method. -// -// func (c *ClusterStatusClient) Get() *ClusterStatusGetRequest { return &ClusterStatusGetRequest{ transport: c.transport, @@ -156,16 +154,12 @@ func (r *ClusterStatusPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterStatusPollResponse) Body() *ClusterStatus { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterStatusPollResponse) GetBody() (value *ClusterStatus, ok bool) { return r.response.GetBody() } @@ -278,8 +272,6 @@ func (r *ClusterStatusGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ClusterStatusGetResponse) Body() *ClusterStatus { if r == nil { return nil @@ -289,8 +281,6 @@ func (r *ClusterStatusGetResponse) Body() *ClusterStatus { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ClusterStatusGetResponse) GetBody() (value *ClusterStatus, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_list_type_json.go index a322bb827..962f65ad1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalClusterStatusList(source interface{}) (items []*ClusterStatus, err return } -// readClusterStatusList reads list of values of the ''cluster_status' type from +// readClusterStatusList reads list of values of the ”cluster_status' type from // the given iterator. func readClusterStatusList(iterator *jsoniter.Iterator) []*ClusterStatus { list := []*ClusterStatus{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_server.go index be5c3c1c0..0660fe4ba 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_status_server.go @@ -48,8 +48,6 @@ type ClusterStatusGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ClusterStatusGetServerResponse) Body(value *ClusterStatus) *ClusterStatusGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_type.go index 4c7329a94..527b994c7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cluster_type.go @@ -45,13 +45,15 @@ const ClusterNilKind = "ClusterNil" // // [source,json] // ---- -// { -// "cloud_provider": { -// "kind": "CloudProviderLink", -// "id": "123", -// "href": "/api/clusters_mgmt/v1/cloud_providers/123" -// } -// } +// +// { +// "cloud_provider": { +// "kind": "CloudProviderLink", +// "id": "123", +// "href": "/api/clusters_mgmt/v1/cloud_providers/123" +// } +// } +// // ---- // // When a cluster is created this is optional, and if used it should contain the @@ -59,11 +61,13 @@ const ClusterNilKind = "ClusterNil" // // [source,json] // ---- -// { -// "cloud_provider": { -// "id": "123", -// } -// } +// +// { +// "cloud_provider": { +// "id": "123", +// } +// } +// // ---- // // If not included, then the cluster will be created using the default cloud diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_client.go index 1d9851afe..be1b96c3c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_client.go @@ -156,16 +156,12 @@ func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) Body() *CPUTotalsNodeRoleOSMetricNode { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CPUTotalByNodeRolesOSMetricQueryPollResponse) GetBody() (value *CPUTotalsNodeRoleOSMetricNode, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Body() *CPUTotalsNodeRoleOSMetricNode { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) Body() *CPUTotalsNodeRoleO // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CPUTotalByNodeRolesOSMetricQueryGetResponse) GetBody() (value *CPUTotalsNodeRoleOSMetricNode, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_server.go index c764d5d71..ad90da974 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_by_node_roles_os_metric_query_server.go @@ -48,8 +48,6 @@ type CPUTotalByNodeRolesOSMetricQueryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *CPUTotalByNodeRolesOSMetricQueryGetServerResponse) Body(value *CPUTotalsNodeRoleOSMetricNode) *CPUTotalByNodeRolesOSMetricQueryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_builder.go index 11efc8437..f179eedce 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_builder.go @@ -40,8 +40,6 @@ func NewCPUTotalNodeRoleOSMetricNode() *CPUTotalNodeRoleOSMetricNodeBuilder { } // CPUTotal sets the value of the 'CPU_total' attribute to the given value. -// -// func (b *CPUTotalNodeRoleOSMetricNodeBuilder) CPUTotal(value float64) *CPUTotalNodeRoleOSMetricNodeBuilder { b.cpuTotal = value b.bitmap_ |= 1 @@ -49,8 +47,6 @@ func (b *CPUTotalNodeRoleOSMetricNodeBuilder) CPUTotal(value float64) *CPUTotalN } // NodeRoles sets the value of the 'node_roles' attribute to the given values. -// -// func (b *CPUTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *CPUTotalNodeRoleOSMetricNodeBuilder { b.nodeRoles = make([]string, len(values)) copy(b.nodeRoles, values) @@ -59,8 +55,6 @@ func (b *CPUTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *CPUTo } // OperatingSystem sets the value of the 'operating_system' attribute to the given value. -// -// func (b *CPUTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) *CPUTotalNodeRoleOSMetricNodeBuilder { b.operatingSystem = value b.bitmap_ |= 4 @@ -68,8 +62,6 @@ func (b *CPUTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) *CPU } // Time sets the value of the 'time' attribute to the given value. -// -// func (b *CPUTotalNodeRoleOSMetricNodeBuilder) Time(value time.Time) *CPUTotalNodeRoleOSMetricNodeBuilder { b.time = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_list_type_json.go index f19129871..4b78f1715 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCPUTotalNodeRoleOSMetricNodeList(source interface{}) (items []*CPU return } -// readCPUTotalNodeRoleOSMetricNodeList reads list of values of the ''CPU_total_node_role_OS_metric_node' type from +// readCPUTotalNodeRoleOSMetricNodeList reads list of values of the ”CPU_total_node_role_OS_metric_node' type from // the given iterator. func readCPUTotalNodeRoleOSMetricNodeList(iterator *jsoniter.Iterator) []*CPUTotalNodeRoleOSMetricNode { list := []*CPUTotalNodeRoleOSMetricNode{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_type.go index 8e4c27c6c..3f7908b58 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_total_node_role_os_metric_node_type.go @@ -110,8 +110,6 @@ func (o *CPUTotalNodeRoleOSMetricNode) GetOperatingSystem() (value string, ok bo // Time returns the value of the 'time' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *CPUTotalNodeRoleOSMetricNode) Time() time.Time { if o != nil && o.bitmap_&8 != 0 { return o.time @@ -121,8 +119,6 @@ func (o *CPUTotalNodeRoleOSMetricNode) Time() time.Time { // GetTime returns the value of the 'time' attribute and // a flag indicating if the attribute has a value. -// -// func (o *CPUTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_builder.go index 89b07af70..7784bd4f8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_builder.go @@ -34,8 +34,6 @@ func NewCPUTotalsNodeRoleOSMetricNode() *CPUTotalsNodeRoleOSMetricNodeBuilder { } // CPUTotals sets the value of the 'CPU_totals' attribute to the given values. -// -// func (b *CPUTotalsNodeRoleOSMetricNodeBuilder) CPUTotals(values ...*CPUTotalNodeRoleOSMetricNodeBuilder) *CPUTotalsNodeRoleOSMetricNodeBuilder { b.cpuTotals = make([]*CPUTotalNodeRoleOSMetricNodeBuilder, len(values)) copy(b.cpuTotals, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_list_type_json.go index e39e3c3fc..6a19a1ce9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalCPUTotalsNodeRoleOSMetricNodeList(source interface{}) (items []*CP return } -// readCPUTotalsNodeRoleOSMetricNodeList reads list of values of the ''CPU_totals_node_role_OS_metric_node' type from +// readCPUTotalsNodeRoleOSMetricNodeList reads list of values of the ”CPU_totals_node_role_OS_metric_node' type from // the given iterator. func readCPUTotalsNodeRoleOSMetricNodeList(iterator *jsoniter.Iterator) []*CPUTotalsNodeRoleOSMetricNode { list := []*CPUTotalsNodeRoleOSMetricNode{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_type.go index a4dc2de94..ff6cdd570 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/cpu_totals_node_role_os_metric_node_type.go @@ -35,8 +35,6 @@ func (o *CPUTotalsNodeRoleOSMetricNode) Empty() bool { // CPUTotals returns the value of the 'CPU_totals' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *CPUTotalsNodeRoleOSMetricNode) CPUTotals() []*CPUTotalNodeRoleOSMetricNode { if o != nil && o.bitmap_&1 != 0 { return o.cpuTotals @@ -46,8 +44,6 @@ func (o *CPUTotalsNodeRoleOSMetricNode) CPUTotals() []*CPUTotalNodeRoleOSMetricN // GetCPUTotals returns the value of the 'CPU_totals' attribute and // a flag indicating if the attribute has a value. -// -// func (o *CPUTotalsNodeRoleOSMetricNode) GetCPUTotals() (value []*CPUTotalNodeRoleOSMetricNode, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_client.go index f4bf85a27..9266a5de2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_client.go @@ -156,16 +156,12 @@ func (r *CredentialsPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CredentialsPollResponse) Body() *ClusterCredentials { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CredentialsPollResponse) GetBody() (value *ClusterCredentials, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *CredentialsGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *CredentialsGetResponse) Body() *ClusterCredentials { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *CredentialsGetResponse) Body() *ClusterCredentials { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *CredentialsGetResponse) GetBody() (value *ClusterCredentials, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_server.go index 2f8a4b5bf..91748bd4e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/credentials_server.go @@ -48,8 +48,6 @@ type CredentialsGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *CredentialsGetServerResponse) Body(value *ClusterCredentials) *CredentialsGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/date_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/date_list_type_json.go index a8a0980e9..c57b9c01e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/date_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/date_list_type_json.go @@ -61,7 +61,7 @@ func UnmarshalDateList(source interface{}) (items []time.Time, err error) { return } -// readDateList reads list of values of the ''date' type from +// readDateList reads list of values of the ”date' type from // the given iterator. func readDateList(iterator *jsoniter.Iterator) []time.Time { list := []time.Time{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/detection_type_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/detection_type_list_type_json.go index ae096b2b4..a4f27d3d6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/detection_type_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/detection_type_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalDetectionTypeList(source interface{}) (items []DetectionType, err return } -// readDetectionTypeList reads list of values of the ''detection_type' type from +// readDetectionTypeList reads list of values of the ”detection_type' type from // the given iterator. func readDetectionTypeList(iterator *jsoniter.Iterator) []DetectionType { list := []DetectionType{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_builder.go index c317fd5f5..830e9ec24 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_builder.go @@ -33,8 +33,6 @@ func NewDNS() *DNSBuilder { } // BaseDomain sets the value of the 'base_domain' attribute to the given value. -// -// func (b *DNSBuilder) BaseDomain(value string) *DNSBuilder { b.baseDomain = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_list_type_json.go index fcb7398fe..d3f8396c6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalDNSList(source interface{}) (items []*DNS, err error) { return } -// readDNSList reads list of values of the ''DNS' type from +// readDNSList reads list of values of the ”DNS' type from // the given iterator. func readDNSList(iterator *jsoniter.Iterator) []*DNS { list := []*DNS{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_type.go index 174c191e9..6a0d91182 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/dns_type.go @@ -66,15 +66,17 @@ func (o *DNS) Empty() bool { // // [source,json] // ---- -// { -// "kind": "Cluster", -// "id": "123", -// "href": "/api/clusters_mgmt/v1/clusters/123", -// "api": { -// "url": "https://mycluster-api.example.com:6443" -// }, -// ... -// } +// +// { +// "kind": "Cluster", +// "id": "123", +// "href": "/api/clusters_mgmt/v1/clusters/123", +// "api": { +// "url": "https://mycluster-api.example.com:6443" +// }, +// ... +// } +// // ---- // // When the cluster is created in Amazon Web Services it is necessary to create this base @@ -120,15 +122,17 @@ func (o *DNS) BaseDomain() string { // // [source,json] // ---- -// { -// "kind": "Cluster", -// "id": "123", -// "href": "/api/clusters_mgmt/v1/clusters/123", -// "api": { -// "url": "https://mycluster-api.example.com:6443" -// }, -// ... -// } +// +// { +// "kind": "Cluster", +// "id": "123", +// "href": "/api/clusters_mgmt/v1/clusters/123", +// "api": { +// "url": "https://mycluster-api.example.com:6443" +// }, +// ... +// } +// // ---- // // When the cluster is created in Amazon Web Services it is necessary to create this base diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_builder.go index 19f754499..ee8a0e184 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_builder.go @@ -55,8 +55,6 @@ func (b *EncryptionKeyBuilder) HREF(value string) *EncryptionKeyBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *EncryptionKeyBuilder) Name(value string) *EncryptionKeyBuilder { b.name = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_list_type_json.go index 3e5679ce8..8f1d914fb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/encryption_key_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalEncryptionKeyList(source interface{}) (items []*EncryptionKey, err return } -// readEncryptionKeyList reads list of values of the ''encryption_key' type from +// readEncryptionKeyList reads list of values of the ”encryption_key' type from // the given iterator. func readEncryptionKeyList(iterator *jsoniter.Iterator) []*EncryptionKey { list := []*EncryptionKey{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_builder.go index 550796b84..5bc30208c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_builder.go @@ -33,8 +33,6 @@ func NewEvent() *EventBuilder { } // Key sets the value of the 'key' attribute to the given value. -// -// func (b *EventBuilder) Key(value string) *EventBuilder { b.key = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_list_type_json.go index dc33db2c5..341af48cb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/event_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalEventList(source interface{}) (items []*Event, err error) { return } -// readEventList reads list of values of the ''event' type from +// readEventList reads list of values of the ”event' type from // the given iterator. func readEventList(iterator *jsoniter.Iterator) []*Event { list := []*Event{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_builder.go index 466e665af..bb8fd8d02 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_builder.go @@ -34,8 +34,6 @@ func NewExternalConfiguration() *ExternalConfigurationBuilder { } // Labels sets the value of the 'labels' attribute to the given values. -// -// func (b *ExternalConfigurationBuilder) Labels(value *LabelListBuilder) *ExternalConfigurationBuilder { b.labels = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *ExternalConfigurationBuilder) Labels(value *LabelListBuilder) *External } // Syncsets sets the value of the 'syncsets' attribute to the given values. -// -// func (b *ExternalConfigurationBuilder) Syncsets(value *SyncsetListBuilder) *ExternalConfigurationBuilder { b.syncsets = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_list_type_json.go index 83d2bf548..f116fc1f3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/external_configuration_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalExternalConfigurationList(source interface{}) (items []*ExternalCo return } -// readExternalConfigurationList reads list of values of the ''external_configuration' type from +// readExternalConfigurationList reads list of values of the ”external_configuration' type from // the given iterator. func readExternalConfigurationList(iterator *jsoniter.Iterator) []*ExternalConfiguration { list := []*ExternalConfiguration{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_builder.go index a2ee53aed..3fea92907 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_builder.go @@ -86,8 +86,6 @@ func (b *FlavourBuilder) GCP(value *GCPFlavourBuilder) *FlavourBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *FlavourBuilder) Name(value string) *FlavourBuilder { b.name = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_client.go index 8740e9b99..c4e3f4d39 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_client.go @@ -176,16 +176,12 @@ func (r *FlavourPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *FlavourPollResponse) Body() *Flavour { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FlavourPollResponse) GetBody() (value *Flavour, ok bool) { return r.response.GetBody() } @@ -298,8 +294,6 @@ func (r *FlavourGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *FlavourGetResponse) Body() *Flavour { if r == nil { return nil @@ -309,8 +303,6 @@ func (r *FlavourGetResponse) Body() *Flavour { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FlavourGetResponse) GetBody() (value *Flavour, ok bool) { ok = r != nil && r.body != nil if ok { @@ -341,8 +333,6 @@ func (r *FlavourUpdateRequest) Header(name string, value interface{}) *FlavourUp } // Body sets the value of the 'body' parameter. -// -// func (r *FlavourUpdateRequest) Body(value *Flavour) *FlavourUpdateRequest { r.body = value return r @@ -444,8 +434,6 @@ func (r *FlavourUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *FlavourUpdateResponse) Body() *Flavour { if r == nil { return nil @@ -455,8 +443,6 @@ func (r *FlavourUpdateResponse) Body() *Flavour { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FlavourUpdateResponse) GetBody() (value *Flavour, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_list_type_json.go index 311747d0c..118e1df12 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFlavourList(source interface{}) (items []*Flavour, err error) { return } -// readFlavourList reads list of values of the ''flavour' type from +// readFlavourList reads list of values of the ”flavour' type from // the given iterator. func readFlavourList(iterator *jsoniter.Iterator) []*Flavour { list := []*Flavour{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_builder.go index e6290b33e..abd2c6e83 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_builder.go @@ -33,8 +33,6 @@ func NewFlavourNodes() *FlavourNodesBuilder { } // Master sets the value of the 'master' attribute to the given value. -// -// func (b *FlavourNodesBuilder) Master(value int) *FlavourNodesBuilder { b.master = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_list_type_json.go index 140cb67c9..d25b40423 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_nodes_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFlavourNodesList(source interface{}) (items []*FlavourNodes, err e return } -// readFlavourNodesList reads list of values of the ''flavour_nodes' type from +// readFlavourNodesList reads list of values of the ”flavour_nodes' type from // the given iterator. func readFlavourNodesList(iterator *jsoniter.Iterator) []*FlavourNodes { list := []*FlavourNodes{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_server.go index 63d0fd9c9..22c849df0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavour_server.go @@ -59,8 +59,6 @@ type FlavourGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *FlavourGetServerResponse) Body(value *Flavour) *FlavourGetServerResponse { r.body = value return r @@ -78,8 +76,6 @@ type FlavourUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *FlavourUpdateServerRequest) Body() *Flavour { if r == nil { return nil @@ -89,8 +85,6 @@ func (r *FlavourUpdateServerRequest) Body() *Flavour { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *FlavourUpdateServerRequest) GetBody() (value *Flavour, ok bool) { ok = r != nil && r.body != nil if ok { @@ -107,8 +101,6 @@ type FlavourUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *FlavourUpdateServerResponse) Body(value *Flavour) *FlavourUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavours_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavours_client.go index 6651928b2..f47b85a73 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavours_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/flavours_client.go @@ -62,8 +62,6 @@ func (c *FlavoursClient) Add() *FlavoursAddRequest { } // List creates a request for the 'list' method. -// -// func (c *FlavoursClient) List() *FlavoursListRequest { return &FlavoursListRequest{ transport: c.transport, diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/float_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/float_list_type_json.go index 6917c04b4..007b45311 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/float_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/float_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFloatList(source interface{}) (items []float64, err error) { return } -// readFloatList reads list of values of the ''float' type from +// readFloatList reads list of values of the ”float' type from // the given iterator. func readFloatList(iterator *jsoniter.Iterator) []float64 { list := []float64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_builder.go index f4c5d4598..b958818f0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_builder.go @@ -42,8 +42,6 @@ func NewGCP() *GCPBuilder { } // AuthURI sets the value of the 'auth_URI' attribute to the given value. -// -// func (b *GCPBuilder) AuthURI(value string) *GCPBuilder { b.authURI = value b.bitmap_ |= 1 @@ -51,8 +49,6 @@ func (b *GCPBuilder) AuthURI(value string) *GCPBuilder { } // AuthProviderX509CertURL sets the value of the 'auth_provider_X509_cert_URL' attribute to the given value. -// -// func (b *GCPBuilder) AuthProviderX509CertURL(value string) *GCPBuilder { b.authProviderX509CertURL = value b.bitmap_ |= 2 @@ -60,8 +56,6 @@ func (b *GCPBuilder) AuthProviderX509CertURL(value string) *GCPBuilder { } // ClientID sets the value of the 'client_ID' attribute to the given value. -// -// func (b *GCPBuilder) ClientID(value string) *GCPBuilder { b.clientID = value b.bitmap_ |= 4 @@ -69,8 +63,6 @@ func (b *GCPBuilder) ClientID(value string) *GCPBuilder { } // ClientX509CertURL sets the value of the 'client_X509_cert_URL' attribute to the given value. -// -// func (b *GCPBuilder) ClientX509CertURL(value string) *GCPBuilder { b.clientX509CertURL = value b.bitmap_ |= 8 @@ -78,8 +70,6 @@ func (b *GCPBuilder) ClientX509CertURL(value string) *GCPBuilder { } // ClientEmail sets the value of the 'client_email' attribute to the given value. -// -// func (b *GCPBuilder) ClientEmail(value string) *GCPBuilder { b.clientEmail = value b.bitmap_ |= 16 @@ -87,8 +77,6 @@ func (b *GCPBuilder) ClientEmail(value string) *GCPBuilder { } // PrivateKey sets the value of the 'private_key' attribute to the given value. -// -// func (b *GCPBuilder) PrivateKey(value string) *GCPBuilder { b.privateKey = value b.bitmap_ |= 32 @@ -96,8 +84,6 @@ func (b *GCPBuilder) PrivateKey(value string) *GCPBuilder { } // PrivateKeyID sets the value of the 'private_key_ID' attribute to the given value. -// -// func (b *GCPBuilder) PrivateKeyID(value string) *GCPBuilder { b.privateKeyID = value b.bitmap_ |= 64 @@ -105,8 +91,6 @@ func (b *GCPBuilder) PrivateKeyID(value string) *GCPBuilder { } // ProjectID sets the value of the 'project_ID' attribute to the given value. -// -// func (b *GCPBuilder) ProjectID(value string) *GCPBuilder { b.projectID = value b.bitmap_ |= 128 @@ -114,8 +98,6 @@ func (b *GCPBuilder) ProjectID(value string) *GCPBuilder { } // TokenURI sets the value of the 'token_URI' attribute to the given value. -// -// func (b *GCPBuilder) TokenURI(value string) *GCPBuilder { b.tokenURI = value b.bitmap_ |= 256 @@ -123,8 +105,6 @@ func (b *GCPBuilder) TokenURI(value string) *GCPBuilder { } // Type sets the value of the 'type' attribute to the given value. -// -// func (b *GCPBuilder) Type(value string) *GCPBuilder { b.type_ = value b.bitmap_ |= 512 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_builder.go index bd594404d..945151f0b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_builder.go @@ -35,8 +35,6 @@ func NewGCPFlavour() *GCPFlavourBuilder { } // ComputeInstanceType sets the value of the 'compute_instance_type' attribute to the given value. -// -// func (b *GCPFlavourBuilder) ComputeInstanceType(value string) *GCPFlavourBuilder { b.computeInstanceType = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *GCPFlavourBuilder) ComputeInstanceType(value string) *GCPFlavourBuilder } // InfraInstanceType sets the value of the 'infra_instance_type' attribute to the given value. -// -// func (b *GCPFlavourBuilder) InfraInstanceType(value string) *GCPFlavourBuilder { b.infraInstanceType = value b.bitmap_ |= 2 @@ -53,8 +49,6 @@ func (b *GCPFlavourBuilder) InfraInstanceType(value string) *GCPFlavourBuilder { } // MasterInstanceType sets the value of the 'master_instance_type' attribute to the given value. -// -// func (b *GCPFlavourBuilder) MasterInstanceType(value string) *GCPFlavourBuilder { b.masterInstanceType = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_list_type_json.go index 6d10c15ed..38ca893ce 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_flavour_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalGCPFlavourList(source interface{}) (items []*GCPFlavour, err error return } -// readGCPFlavourList reads list of values of the ''GCP_flavour' type from +// readGCPFlavourList reads list of values of the ”GCP_flavour' type from // the given iterator. func readGCPFlavourList(iterator *jsoniter.Iterator) []*GCPFlavour { list := []*GCPFlavour{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_list_type_json.go index e746826c3..8aab8d9c8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gcp_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalGCPList(source interface{}) (items []*GCP, err error) { return } -// readGCPList reads list of values of the ''GCP' type from +// readGCPList reads list of values of the ”GCP' type from // the given iterator. func readGCPList(iterator *jsoniter.Iterator) []*GCP { list := []*GCP{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_builder.go index cd211c27e..92b42a58b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_builder.go @@ -38,8 +38,6 @@ func NewGithubIdentityProvider() *GithubIdentityProviderBuilder { } // CA sets the value of the 'CA' attribute to the given value. -// -// func (b *GithubIdentityProviderBuilder) CA(value string) *GithubIdentityProviderBuilder { b.ca = value b.bitmap_ |= 1 @@ -47,8 +45,6 @@ func (b *GithubIdentityProviderBuilder) CA(value string) *GithubIdentityProvider } // ClientID sets the value of the 'client_ID' attribute to the given value. -// -// func (b *GithubIdentityProviderBuilder) ClientID(value string) *GithubIdentityProviderBuilder { b.clientID = value b.bitmap_ |= 2 @@ -56,8 +52,6 @@ func (b *GithubIdentityProviderBuilder) ClientID(value string) *GithubIdentityPr } // ClientSecret sets the value of the 'client_secret' attribute to the given value. -// -// func (b *GithubIdentityProviderBuilder) ClientSecret(value string) *GithubIdentityProviderBuilder { b.clientSecret = value b.bitmap_ |= 4 @@ -65,8 +59,6 @@ func (b *GithubIdentityProviderBuilder) ClientSecret(value string) *GithubIdenti } // Hostname sets the value of the 'hostname' attribute to the given value. -// -// func (b *GithubIdentityProviderBuilder) Hostname(value string) *GithubIdentityProviderBuilder { b.hostname = value b.bitmap_ |= 8 @@ -74,8 +66,6 @@ func (b *GithubIdentityProviderBuilder) Hostname(value string) *GithubIdentityPr } // Organizations sets the value of the 'organizations' attribute to the given values. -// -// func (b *GithubIdentityProviderBuilder) Organizations(values ...string) *GithubIdentityProviderBuilder { b.organizations = make([]string, len(values)) copy(b.organizations, values) @@ -84,8 +74,6 @@ func (b *GithubIdentityProviderBuilder) Organizations(values ...string) *GithubI } // Teams sets the value of the 'teams' attribute to the given values. -// -// func (b *GithubIdentityProviderBuilder) Teams(values ...string) *GithubIdentityProviderBuilder { b.teams = make([]string, len(values)) copy(b.teams, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_list_type_json.go index 714e91c60..89ec0952f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/github_identity_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalGithubIdentityProviderList(source interface{}) (items []*GithubIde return } -// readGithubIdentityProviderList reads list of values of the ''github_identity_provider' type from +// readGithubIdentityProviderList reads list of values of the ”github_identity_provider' type from // the given iterator. func readGithubIdentityProviderList(iterator *jsoniter.Iterator) []*GithubIdentityProvider { list := []*GithubIdentityProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_builder.go index d0a70ab7f..1535fd7df 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_builder.go @@ -36,8 +36,6 @@ func NewGitlabIdentityProvider() *GitlabIdentityProviderBuilder { } // CA sets the value of the 'CA' attribute to the given value. -// -// func (b *GitlabIdentityProviderBuilder) CA(value string) *GitlabIdentityProviderBuilder { b.ca = value b.bitmap_ |= 1 @@ -45,8 +43,6 @@ func (b *GitlabIdentityProviderBuilder) CA(value string) *GitlabIdentityProvider } // URL sets the value of the 'URL' attribute to the given value. -// -// func (b *GitlabIdentityProviderBuilder) URL(value string) *GitlabIdentityProviderBuilder { b.url = value b.bitmap_ |= 2 @@ -54,8 +50,6 @@ func (b *GitlabIdentityProviderBuilder) URL(value string) *GitlabIdentityProvide } // ClientID sets the value of the 'client_ID' attribute to the given value. -// -// func (b *GitlabIdentityProviderBuilder) ClientID(value string) *GitlabIdentityProviderBuilder { b.clientID = value b.bitmap_ |= 4 @@ -63,8 +57,6 @@ func (b *GitlabIdentityProviderBuilder) ClientID(value string) *GitlabIdentityPr } // ClientSecret sets the value of the 'client_secret' attribute to the given value. -// -// func (b *GitlabIdentityProviderBuilder) ClientSecret(value string) *GitlabIdentityProviderBuilder { b.clientSecret = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_list_type_json.go index 064b1ba05..4967a0de0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/gitlab_identity_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalGitlabIdentityProviderList(source interface{}) (items []*GitlabIde return } -// readGitlabIdentityProviderList reads list of values of the ''gitlab_identity_provider' type from +// readGitlabIdentityProviderList reads list of values of the ”gitlab_identity_provider' type from // the given iterator. func readGitlabIdentityProviderList(iterator *jsoniter.Iterator) []*GitlabIdentityProvider { list := []*GitlabIdentityProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_builder.go index b3f10a10f..c67c5976b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_builder.go @@ -35,8 +35,6 @@ func NewGoogleIdentityProvider() *GoogleIdentityProviderBuilder { } // ClientID sets the value of the 'client_ID' attribute to the given value. -// -// func (b *GoogleIdentityProviderBuilder) ClientID(value string) *GoogleIdentityProviderBuilder { b.clientID = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *GoogleIdentityProviderBuilder) ClientID(value string) *GoogleIdentityPr } // ClientSecret sets the value of the 'client_secret' attribute to the given value. -// -// func (b *GoogleIdentityProviderBuilder) ClientSecret(value string) *GoogleIdentityProviderBuilder { b.clientSecret = value b.bitmap_ |= 2 @@ -53,8 +49,6 @@ func (b *GoogleIdentityProviderBuilder) ClientSecret(value string) *GoogleIdenti } // HostedDomain sets the value of the 'hosted_domain' attribute to the given value. -// -// func (b *GoogleIdentityProviderBuilder) HostedDomain(value string) *GoogleIdentityProviderBuilder { b.hostedDomain = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_list_type_json.go index 2f6ea57e3..67bcfa8ae 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/google_identity_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalGoogleIdentityProviderList(source interface{}) (items []*GoogleIde return } -// readGoogleIdentityProviderList reads list of values of the ''google_identity_provider' type from +// readGoogleIdentityProviderList reads list of values of the ”google_identity_provider' type from // the given iterator. func readGoogleIdentityProviderList(iterator *jsoniter.Iterator) []*GoogleIdentityProvider { list := []*GoogleIdentityProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_builder.go index 1c29e365a..f1da6d4a8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_builder.go @@ -55,8 +55,6 @@ func (b *GroupBuilder) HREF(value string) *GroupBuilder { } // Users sets the value of the 'users' attribute to the given values. -// -// func (b *GroupBuilder) Users(value *UserListBuilder) *GroupBuilder { b.users = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_client.go index fae2e09c2..4739848b2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_client.go @@ -167,16 +167,12 @@ func (r *GroupPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *GroupPollResponse) Body() *Group { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *GroupPollResponse) GetBody() (value *Group, ok bool) { return r.response.GetBody() } @@ -289,8 +285,6 @@ func (r *GroupGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *GroupGetResponse) Body() *Group { if r == nil { return nil @@ -300,8 +294,6 @@ func (r *GroupGetResponse) Body() *Group { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *GroupGetResponse) GetBody() (value *Group, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_list_type_json.go index 3ebde897b..b7b909a9e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalGroupList(source interface{}) (items []*Group, err error) { return } -// readGroupList reads list of values of the ''group' type from +// readGroupList reads list of values of the ”group' type from // the given iterator. func readGroupList(iterator *jsoniter.Iterator) []*Group { list := []*Group{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_server.go index bb6e7c7d2..5050bfa1d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/group_server.go @@ -53,8 +53,6 @@ type GroupGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *GroupGetServerResponse) Body(value *Group) *GroupGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_builder.go index b8cd25845..1fc66ae6f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_builder.go @@ -34,8 +34,6 @@ func NewHTPasswdIdentityProvider() *HTPasswdIdentityProviderBuilder { } // Password sets the value of the 'password' attribute to the given value. -// -// func (b *HTPasswdIdentityProviderBuilder) Password(value string) *HTPasswdIdentityProviderBuilder { b.password = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *HTPasswdIdentityProviderBuilder) Password(value string) *HTPasswdIdenti } // Username sets the value of the 'username' attribute to the given value. -// -// func (b *HTPasswdIdentityProviderBuilder) Username(value string) *HTPasswdIdentityProviderBuilder { b.username = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_list_type_json.go index 93b77bddd..5293a33a5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ht_passwd_identity_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalHTPasswdIdentityProviderList(source interface{}) (items []*HTPassw return } -// readHTPasswdIdentityProviderList reads list of values of the ''HT_passwd_identity_provider' type from +// readHTPasswdIdentityProviderList reads list of values of the ”HT_passwd_identity_provider' type from // the given iterator. func readHTPasswdIdentityProviderList(iterator *jsoniter.Iterator) []*HTPasswdIdentityProvider { list := []*HTPasswdIdentityProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_builder.go index a384d0ed3..e53ec46a6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_builder.go @@ -78,8 +78,6 @@ func (b *IdentityProviderBuilder) LDAP(value *LDAPIdentityProviderBuilder) *Iden } // Challenge sets the value of the 'challenge' attribute to the given value. -// -// func (b *IdentityProviderBuilder) Challenge(value bool) *IdentityProviderBuilder { b.challenge = value b.bitmap_ |= 16 @@ -139,8 +137,6 @@ func (b *IdentityProviderBuilder) Htpasswd(value *HTPasswdIdentityProviderBuilde } // Login sets the value of the 'login' attribute to the given value. -// -// func (b *IdentityProviderBuilder) Login(value bool) *IdentityProviderBuilder { b.login = value b.bitmap_ |= 512 @@ -157,8 +153,6 @@ func (b *IdentityProviderBuilder) MappingMethod(value IdentityProviderMappingMet } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *IdentityProviderBuilder) Name(value string) *IdentityProviderBuilder { b.name = value b.bitmap_ |= 2048 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_client.go index 6d5c614f3..0ea684952 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_client.go @@ -180,16 +180,12 @@ func (r *IdentityProviderPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *IdentityProviderPollResponse) Body() *IdentityProvider { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IdentityProviderPollResponse) GetBody() (value *IdentityProvider, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *IdentityProviderGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *IdentityProviderGetResponse) Body() *IdentityProvider { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *IdentityProviderGetResponse) Body() *IdentityProvider { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IdentityProviderGetResponse) GetBody() (value *IdentityProvider, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *IdentityProviderUpdateRequest) Header(name string, value interface{}) * } // Body sets the value of the 'body' parameter. -// -// func (r *IdentityProviderUpdateRequest) Body(value *IdentityProvider) *IdentityProviderUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *IdentityProviderUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *IdentityProviderUpdateResponse) Body() *IdentityProvider { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *IdentityProviderUpdateResponse) Body() *IdentityProvider { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IdentityProviderUpdateResponse) GetBody() (value *IdentityProvider, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_list_type_json.go index 00c67279a..f8e61bfad 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIdentityProviderList(source interface{}) (items []*IdentityProvide return } -// readIdentityProviderList reads list of values of the ''identity_provider' type from +// readIdentityProviderList reads list of values of the ”identity_provider' type from // the given iterator. func readIdentityProviderList(iterator *jsoniter.Iterator) []*IdentityProvider { list := []*IdentityProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_mapping_method_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_mapping_method_list_type_json.go index 3efdfcb61..93947d2f0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_mapping_method_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_mapping_method_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIdentityProviderMappingMethodList(source interface{}) (items []Ide return } -// readIdentityProviderMappingMethodList reads list of values of the ''identity_provider_mapping_method' type from +// readIdentityProviderMappingMethodList reads list of values of the ”identity_provider_mapping_method' type from // the given iterator. func readIdentityProviderMappingMethodList(iterator *jsoniter.Iterator) []IdentityProviderMappingMethod { list := []IdentityProviderMappingMethod{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_server.go index 0309085bc..25f41a6db 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_server.go @@ -74,8 +74,6 @@ type IdentityProviderGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *IdentityProviderGetServerResponse) Body(value *IdentityProvider) *IdentityProviderGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type IdentityProviderUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *IdentityProviderUpdateServerRequest) Body() *IdentityProvider { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *IdentityProviderUpdateServerRequest) Body() *IdentityProvider { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IdentityProviderUpdateServerRequest) GetBody() (value *IdentityProvider, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type IdentityProviderUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *IdentityProviderUpdateServerResponse) Body(value *IdentityProvider) *IdentityProviderUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_type_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_type_list_type_json.go index 5379284be..0be0f6552 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_type_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/identity_provider_type_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIdentityProviderTypeList(source interface{}) (items []IdentityProv return } -// readIdentityProviderTypeList reads list of values of the ''identity_provider_type' type from +// readIdentityProviderTypeList reads list of values of the ”identity_provider_type' type from // the given iterator. func readIdentityProviderTypeList(iterator *jsoniter.Iterator) []IdentityProviderType { list := []IdentityProviderType{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_builder.go index b9d5527d6..761d0e258 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_builder.go @@ -59,8 +59,6 @@ func (b *IngressBuilder) HREF(value string) *IngressBuilder { } // DNSName sets the value of the 'DNS_name' attribute to the given value. -// -// func (b *IngressBuilder) DNSName(value string) *IngressBuilder { b.dnsName = value b.bitmap_ |= 8 @@ -77,13 +75,15 @@ func (b *IngressBuilder) DNSName(value string) *IngressBuilder { // // [source,json] // ---- -// { -// "cloud_provider": { -// "kind": "CloudProviderLink", -// "id": "123", -// "href": "/api/clusters_mgmt/v1/cloud_providers/123" -// } -// } +// +// { +// "cloud_provider": { +// "kind": "CloudProviderLink", +// "id": "123", +// "href": "/api/clusters_mgmt/v1/cloud_providers/123" +// } +// } +// // ---- // // When a cluster is created this is optional, and if used it should contain the @@ -91,11 +91,13 @@ func (b *IngressBuilder) DNSName(value string) *IngressBuilder { // // [source,json] // ---- -// { -// "cloud_provider": { -// "id": "123", -// } -// } +// +// { +// "cloud_provider": { +// "id": "123", +// } +// } +// // ---- // // If not included, then the cluster will be created using the default cloud @@ -117,8 +119,6 @@ func (b *IngressBuilder) Cluster(value *ClusterBuilder) *IngressBuilder { } // Default sets the value of the 'default' attribute to the given value. -// -// func (b *IngressBuilder) Default(value bool) *IngressBuilder { b.default_ = value b.bitmap_ |= 32 @@ -135,8 +135,6 @@ func (b *IngressBuilder) Listening(value ListeningMethod) *IngressBuilder { } // RouteSelectors sets the value of the 'route_selectors' attribute to the given value. -// -// func (b *IngressBuilder) RouteSelectors(value map[string]string) *IngressBuilder { b.routeSelectors = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_client.go index 62988a9ab..ee7fa416c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_client.go @@ -180,16 +180,12 @@ func (r *IngressPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *IngressPollResponse) Body() *Ingress { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IngressPollResponse) GetBody() (value *Ingress, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *IngressGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *IngressGetResponse) Body() *Ingress { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *IngressGetResponse) Body() *Ingress { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IngressGetResponse) GetBody() (value *Ingress, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *IngressUpdateRequest) Header(name string, value interface{}) *IngressUp } // Body sets the value of the 'body' parameter. -// -// func (r *IngressUpdateRequest) Body(value *Ingress) *IngressUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *IngressUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *IngressUpdateResponse) Body() *Ingress { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *IngressUpdateResponse) Body() *Ingress { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IngressUpdateResponse) GetBody() (value *Ingress, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_list_type_json.go index 0108cd0b0..e862ae70d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIngressList(source interface{}) (items []*Ingress, err error) { return } -// readIngressList reads list of values of the ''ingress' type from +// readIngressList reads list of values of the ”ingress' type from // the given iterator. func readIngressList(iterator *jsoniter.Iterator) []*Ingress { list := []*Ingress{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_server.go index 745a1ca80..8f69cd6bf 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingress_server.go @@ -74,8 +74,6 @@ type IngressGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *IngressGetServerResponse) Body(value *Ingress) *IngressGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type IngressUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *IngressUpdateServerRequest) Body() *Ingress { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *IngressUpdateServerRequest) Body() *Ingress { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IngressUpdateServerRequest) GetBody() (value *Ingress, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type IngressUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *IngressUpdateServerResponse) Body(value *Ingress) *IngressUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_client.go index e6f2db544..77dcad557 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_client.go @@ -473,8 +473,6 @@ func (r *IngressesUpdateRequest) Header(name string, value interface{}) *Ingress } // Body sets the value of the 'body' parameter. -// -// func (r *IngressesUpdateRequest) Body(value []*Ingress) *IngressesUpdateRequest { r.body = value return r @@ -576,8 +574,6 @@ func (r *IngressesUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *IngressesUpdateResponse) Body() []*Ingress { if r == nil { return nil @@ -587,8 +583,6 @@ func (r *IngressesUpdateResponse) Body() []*Ingress { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IngressesUpdateResponse) GetBody() (value []*Ingress, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_server.go index 02438a2cb..f6c1e8c2c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ingresses_server.go @@ -203,8 +203,6 @@ type IngressesUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *IngressesUpdateServerRequest) Body() []*Ingress { if r == nil { return nil @@ -214,8 +212,6 @@ func (r *IngressesUpdateServerRequest) Body() []*Ingress { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *IngressesUpdateServerRequest) GetBody() (value []*Ingress, ok bool) { ok = r != nil && r.body != nil if ok { @@ -232,8 +228,6 @@ type IngressesUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *IngressesUpdateServerResponse) Body(value []*Ingress) *IngressesUpdateServerResponse { if value == nil { r.body = nil diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_builder.go index 83348cd71..5f11befa7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_builder.go @@ -34,8 +34,6 @@ func NewInstanceIAMRoles() *InstanceIAMRolesBuilder { } // MasterRoleARN sets the value of the 'master_role_ARN' attribute to the given value. -// -// func (b *InstanceIAMRolesBuilder) MasterRoleARN(value string) *InstanceIAMRolesBuilder { b.masterRoleARN = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *InstanceIAMRolesBuilder) MasterRoleARN(value string) *InstanceIAMRolesB } // WorkerRoleARN sets the value of the 'worker_role_ARN' attribute to the given value. -// -// func (b *InstanceIAMRolesBuilder) WorkerRoleARN(value string) *InstanceIAMRolesBuilder { b.workerRoleARN = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_list_type_json.go index f7577570b..897825dd8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/instance_iam_roles_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalInstanceIAMRolesList(source interface{}) (items []*InstanceIAMRole return } -// readInstanceIAMRolesList reads list of values of the ''instance_IAM_roles' type from +// readInstanceIAMRolesList reads list of values of the ”instance_IAM_roles' type from // the given iterator. func readInstanceIAMRolesList(iterator *jsoniter.Iterator) []*InstanceIAMRoles { list := []*InstanceIAMRoles{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/integer_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/integer_list_type_json.go index b06328cdd..15d49d917 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/integer_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/integer_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIntegerList(source interface{}) (items []int, err error) { return } -// readIntegerList reads list of values of the ''integer' type from +// readIntegerList reads list of values of the ”integer' type from // the given iterator. func readIntegerList(iterator *jsoniter.Iterator) []int { list := []int{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/interface_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/interface_list_type_json.go index 2cfe4e9be..b45ddfec6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/interface_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/interface_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error) return } -// readInterfaceList reads list of values of the ''interface' type from +// readInterfaceList reads list of values of the ”interface' type from // the given iterator. func readInterfaceList(iterator *jsoniter.Iterator) []interface{} { list := []interface{}{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_builder.go index 5b0df0340..b621267e4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_builder.go @@ -55,8 +55,6 @@ func (b *KeyRingBuilder) HREF(value string) *KeyRingBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *KeyRingBuilder) Name(value string) *KeyRingBuilder { b.name = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_list_type_json.go index 305aa36ab..2324cb0d1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/key_ring_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalKeyRingList(source interface{}) (items []*KeyRing, err error) { return } -// readKeyRingList reads list of values of the ''key_ring' type from +// readKeyRingList reads list of values of the ”key_ring' type from // the given iterator. func readKeyRingList(iterator *jsoniter.Iterator) []*KeyRing { list := []*KeyRing{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_builder.go index b6c7074e6..a81c070b2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_builder.go @@ -56,8 +56,6 @@ func (b *LabelBuilder) HREF(value string) *LabelBuilder { } // Key sets the value of the 'key' attribute to the given value. -// -// func (b *LabelBuilder) Key(value string) *LabelBuilder { b.key = value b.bitmap_ |= 8 @@ -65,8 +63,6 @@ func (b *LabelBuilder) Key(value string) *LabelBuilder { } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *LabelBuilder) Value(value string) *LabelBuilder { b.value = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_client.go index 9ce3d140a..1aabb88aa 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_client.go @@ -180,16 +180,12 @@ func (r *LabelPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LabelPollResponse) Body() *Label { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LabelPollResponse) GetBody() (value *Label, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *LabelGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LabelGetResponse) Body() *Label { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *LabelGetResponse) Body() *Label { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LabelGetResponse) GetBody() (value *Label, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *LabelUpdateRequest) Header(name string, value interface{}) *LabelUpdate } // Body sets the value of the 'body' parameter. -// -// func (r *LabelUpdateRequest) Body(value *Label) *LabelUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *LabelUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LabelUpdateResponse) Body() *Label { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *LabelUpdateResponse) Body() *Label { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LabelUpdateResponse) GetBody() (value *Label, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_list_type_json.go index cfb4ce63b..11f28ca85 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLabelList(source interface{}) (items []*Label, err error) { return } -// readLabelList reads list of values of the ''label' type from +// readLabelList reads list of values of the ”label' type from // the given iterator. func readLabelList(iterator *jsoniter.Iterator) []*Label { list := []*Label{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_server.go index 407a9e361..27c6fcefc 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/label_server.go @@ -74,8 +74,6 @@ type LabelGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *LabelGetServerResponse) Body(value *Label) *LabelGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type LabelUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *LabelUpdateServerRequest) Body() *Label { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *LabelUpdateServerRequest) Body() *Label { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LabelUpdateServerRequest) GetBody() (value *Label, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type LabelUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *LabelUpdateServerResponse) Body(value *Label) *LabelUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_builder.go index 34aae2e16..8a21f6e9b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_builder.go @@ -36,8 +36,6 @@ func NewLDAPAttributes() *LDAPAttributesBuilder { } // ID sets the value of the 'ID' attribute to the given values. -// -// func (b *LDAPAttributesBuilder) ID(values ...string) *LDAPAttributesBuilder { b.id = make([]string, len(values)) copy(b.id, values) @@ -46,8 +44,6 @@ func (b *LDAPAttributesBuilder) ID(values ...string) *LDAPAttributesBuilder { } // Email sets the value of the 'email' attribute to the given values. -// -// func (b *LDAPAttributesBuilder) Email(values ...string) *LDAPAttributesBuilder { b.email = make([]string, len(values)) copy(b.email, values) @@ -56,8 +52,6 @@ func (b *LDAPAttributesBuilder) Email(values ...string) *LDAPAttributesBuilder { } // Name sets the value of the 'name' attribute to the given values. -// -// func (b *LDAPAttributesBuilder) Name(values ...string) *LDAPAttributesBuilder { b.name = make([]string, len(values)) copy(b.name, values) @@ -66,8 +60,6 @@ func (b *LDAPAttributesBuilder) Name(values ...string) *LDAPAttributesBuilder { } // PreferredUsername sets the value of the 'preferred_username' attribute to the given values. -// -// func (b *LDAPAttributesBuilder) PreferredUsername(values ...string) *LDAPAttributesBuilder { b.preferredUsername = make([]string, len(values)) copy(b.preferredUsername, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_list_type_json.go index b12945a8d..c3ce6d265 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_attributes_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLDAPAttributesList(source interface{}) (items []*LDAPAttributes, e return } -// readLDAPAttributesList reads list of values of the ''LDAP_attributes' type from +// readLDAPAttributesList reads list of values of the ”LDAP_attributes' type from // the given iterator. func readLDAPAttributesList(iterator *jsoniter.Iterator) []*LDAPAttributes { list := []*LDAPAttributes{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_builder.go index 8abc9d006..1cc6aaccd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_builder.go @@ -38,8 +38,6 @@ func NewLDAPIdentityProvider() *LDAPIdentityProviderBuilder { } // CA sets the value of the 'CA' attribute to the given value. -// -// func (b *LDAPIdentityProviderBuilder) CA(value string) *LDAPIdentityProviderBuilder { b.ca = value b.bitmap_ |= 1 @@ -47,8 +45,6 @@ func (b *LDAPIdentityProviderBuilder) CA(value string) *LDAPIdentityProviderBuil } // URL sets the value of the 'URL' attribute to the given value. -// -// func (b *LDAPIdentityProviderBuilder) URL(value string) *LDAPIdentityProviderBuilder { b.url = value b.bitmap_ |= 2 @@ -69,8 +65,6 @@ func (b *LDAPIdentityProviderBuilder) Attributes(value *LDAPAttributesBuilder) * } // BindDN sets the value of the 'bind_DN' attribute to the given value. -// -// func (b *LDAPIdentityProviderBuilder) BindDN(value string) *LDAPIdentityProviderBuilder { b.bindDN = value b.bitmap_ |= 8 @@ -78,8 +72,6 @@ func (b *LDAPIdentityProviderBuilder) BindDN(value string) *LDAPIdentityProvider } // BindPassword sets the value of the 'bind_password' attribute to the given value. -// -// func (b *LDAPIdentityProviderBuilder) BindPassword(value string) *LDAPIdentityProviderBuilder { b.bindPassword = value b.bitmap_ |= 16 @@ -87,8 +79,6 @@ func (b *LDAPIdentityProviderBuilder) BindPassword(value string) *LDAPIdentityPr } // Insecure sets the value of the 'insecure' attribute to the given value. -// -// func (b *LDAPIdentityProviderBuilder) Insecure(value bool) *LDAPIdentityProviderBuilder { b.insecure = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_list_type_json.go index dff251033..3120f2371 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ldap_identity_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLDAPIdentityProviderList(source interface{}) (items []*LDAPIdentit return } -// readLDAPIdentityProviderList reads list of values of the ''LDAP_identity_provider' type from +// readLDAPIdentityProviderList reads list of values of the ”LDAP_identity_provider' type from // the given iterator. func readLDAPIdentityProviderList(iterator *jsoniter.Iterator) []*LDAPIdentityProvider { list := []*LDAPIdentityProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_builder.go index 1ea98600b..57611b442 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_builder.go @@ -63,8 +63,6 @@ func (b *LimitedSupportReasonBuilder) HREF(value string) *LimitedSupportReasonBu } // CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value. -// -// func (b *LimitedSupportReasonBuilder) CreationTimestamp(value time.Time) *LimitedSupportReasonBuilder { b.creationTimestamp = value b.bitmap_ |= 8 @@ -72,8 +70,6 @@ func (b *LimitedSupportReasonBuilder) CreationTimestamp(value time.Time) *Limite } // Details sets the value of the 'details' attribute to the given value. -// -// func (b *LimitedSupportReasonBuilder) Details(value string) *LimitedSupportReasonBuilder { b.details = value b.bitmap_ |= 16 @@ -81,8 +77,6 @@ func (b *LimitedSupportReasonBuilder) Details(value string) *LimitedSupportReaso } // DetectionType sets the value of the 'detection_type' attribute to the given value. -// -// func (b *LimitedSupportReasonBuilder) DetectionType(value DetectionType) *LimitedSupportReasonBuilder { b.detectionType = value b.bitmap_ |= 32 @@ -90,8 +84,6 @@ func (b *LimitedSupportReasonBuilder) DetectionType(value DetectionType) *Limite } // Summary sets the value of the 'summary' attribute to the given value. -// -// func (b *LimitedSupportReasonBuilder) Summary(value string) *LimitedSupportReasonBuilder { b.summary = value b.bitmap_ |= 64 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_client.go index 4e2a68a9c..94e2ceb39 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_client.go @@ -166,16 +166,12 @@ func (r *LimitedSupportReasonPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LimitedSupportReasonPollResponse) Body() *LimitedSupportReason { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LimitedSupportReasonPollResponse) GetBody() (value *LimitedSupportReason, ok bool) { return r.response.GetBody() } @@ -382,8 +378,6 @@ func (r *LimitedSupportReasonGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LimitedSupportReasonGetResponse) Body() *LimitedSupportReason { if r == nil { return nil @@ -393,8 +387,6 @@ func (r *LimitedSupportReasonGetResponse) Body() *LimitedSupportReason { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LimitedSupportReasonGetResponse) GetBody() (value *LimitedSupportReason, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_list_type_json.go index 3d7de8e47..6ca63781e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLimitedSupportReasonList(source interface{}) (items []*LimitedSupp return } -// readLimitedSupportReasonList reads list of values of the ''limited_support_reason' type from +// readLimitedSupportReasonList reads list of values of the ”limited_support_reason' type from // the given iterator. func readLimitedSupportReasonList(iterator *jsoniter.Iterator) []*LimitedSupportReason { list := []*LimitedSupportReason{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_server.go index 414eb46a5..752ab476b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_server.go @@ -69,8 +69,6 @@ type LimitedSupportReasonGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *LimitedSupportReasonGetServerResponse) Body(value *LimitedSupportReason) *LimitedSupportReasonGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_builder.go index ed98f8074..4daf2153f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_builder.go @@ -56,8 +56,6 @@ func (b *LimitedSupportReasonTemplateBuilder) HREF(value string) *LimitedSupport } // Details sets the value of the 'details' attribute to the given value. -// -// func (b *LimitedSupportReasonTemplateBuilder) Details(value string) *LimitedSupportReasonTemplateBuilder { b.details = value b.bitmap_ |= 8 @@ -65,8 +63,6 @@ func (b *LimitedSupportReasonTemplateBuilder) Details(value string) *LimitedSupp } // Summary sets the value of the 'summary' attribute to the given value. -// -// func (b *LimitedSupportReasonTemplateBuilder) Summary(value string) *LimitedSupportReasonTemplateBuilder { b.summary = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_client.go index 8966272a3..afee686da 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_client.go @@ -156,16 +156,12 @@ func (r *LimitedSupportReasonTemplatePollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LimitedSupportReasonTemplatePollResponse) Body() *LimitedSupportReasonTemplate { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LimitedSupportReasonTemplatePollResponse) GetBody() (value *LimitedSupportReasonTemplate, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *LimitedSupportReasonTemplateGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LimitedSupportReasonTemplateGetResponse) Body() *LimitedSupportReasonTemplate { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *LimitedSupportReasonTemplateGetResponse) Body() *LimitedSupportReasonTe // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LimitedSupportReasonTemplateGetResponse) GetBody() (value *LimitedSupportReasonTemplate, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_list_type_json.go index a250e19f1..a46d59fa3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLimitedSupportReasonTemplateList(source interface{}) (items []*Lim return } -// readLimitedSupportReasonTemplateList reads list of values of the ''limited_support_reason_template' type from +// readLimitedSupportReasonTemplateList reads list of values of the ”limited_support_reason_template' type from // the given iterator. func readLimitedSupportReasonTemplateList(iterator *jsoniter.Iterator) []*LimitedSupportReasonTemplate { list := []*LimitedSupportReasonTemplate{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_server.go index 64052640b..6fc098920 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/limited_support_reason_template_server.go @@ -48,8 +48,6 @@ type LimitedSupportReasonTemplateGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *LimitedSupportReasonTemplateGetServerResponse) Body(value *LimitedSupportReasonTemplate) *LimitedSupportReasonTemplateGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/listening_method_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/listening_method_list_type_json.go index 85cb66aee..6e87af7b3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/listening_method_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/listening_method_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalListeningMethodList(source interface{}) (items []ListeningMethod, return } -// readListeningMethodList reads list of values of the ''listening_method' type from +// readListeningMethodList reads list of values of the ”listening_method' type from // the given iterator. func readListeningMethodList(iterator *jsoniter.Iterator) []ListeningMethod { list := []ListeningMethod{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_builder.go index ca2769c32..e9ae80adf 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_builder.go @@ -55,8 +55,6 @@ func (b *LogBuilder) HREF(value string) *LogBuilder { } // Content sets the value of the 'content' attribute to the given value. -// -// func (b *LogBuilder) Content(value string) *LogBuilder { b.content = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_list_type_json.go index f1c03c235..52cf64173 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/log_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLogList(source interface{}) (items []*Log, err error) { return } -// readLogList reads list of values of the ''log' type from +// readLogList reads list of values of the ”log' type from // the given iterator. func readLogList(iterator *jsoniter.Iterator) []*Log { list := []*Log{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/logs_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/logs_client.go index 9235257e9..3472027b7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/logs_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/logs_client.go @@ -58,8 +58,6 @@ func (c *LogsClient) List() *LogsListRequest { } // Install returns the target 'log' resource. -// -// func (c *LogsClient) Install() *LogClient { return NewLogClient( c.transport, @@ -68,8 +66,6 @@ func (c *LogsClient) Install() *LogClient { } // Uninstall returns the target 'log' resource. -// -// func (c *LogsClient) Uninstall() *LogClient { return NewLogClient( c.transport, diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/long_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/long_list_type_json.go index a5a50bcaa..c95696da2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/long_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/long_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLongList(source interface{}) (items []int64, err error) { return } -// readLongList reads list of values of the ''long' type from +// readLongList reads list of values of the ”long' type from // the given iterator. func readLongList(iterator *jsoniter.Iterator) []int64 { list := []int64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_builder.go index cb02b626a..4ff795708 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_builder.go @@ -56,8 +56,6 @@ func (b *MachinePoolAutoscalingBuilder) HREF(value string) *MachinePoolAutoscali } // MaxReplicas sets the value of the 'max_replicas' attribute to the given value. -// -// func (b *MachinePoolAutoscalingBuilder) MaxReplicas(value int) *MachinePoolAutoscalingBuilder { b.maxReplicas = value b.bitmap_ |= 8 @@ -65,8 +63,6 @@ func (b *MachinePoolAutoscalingBuilder) MaxReplicas(value int) *MachinePoolAutos } // MinReplicas sets the value of the 'min_replicas' attribute to the given value. -// -// func (b *MachinePoolAutoscalingBuilder) MinReplicas(value int) *MachinePoolAutoscalingBuilder { b.minReplicas = value b.bitmap_ |= 16 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_list_type_json.go index 9a2f23e62..1a568fbbb 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_autoscaling_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalMachinePoolAutoscalingList(source interface{}) (items []*MachinePo return } -// readMachinePoolAutoscalingList reads list of values of the ''machine_pool_autoscaling' type from +// readMachinePoolAutoscalingList reads list of values of the ”machine_pool_autoscaling' type from // the given iterator. func readMachinePoolAutoscalingList(iterator *jsoniter.Iterator) []*MachinePoolAutoscaling { list := []*MachinePoolAutoscaling{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_builder.go index 09d3af0fb..f3ed9802b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_builder.go @@ -88,8 +88,6 @@ func (b *MachinePoolBuilder) Autoscaling(value *MachinePoolAutoscalingBuilder) * } // AvailabilityZones sets the value of the 'availability_zones' attribute to the given values. -// -// func (b *MachinePoolBuilder) AvailabilityZones(values ...string) *MachinePoolBuilder { b.availabilityZones = make([]string, len(values)) copy(b.availabilityZones, values) @@ -107,13 +105,15 @@ func (b *MachinePoolBuilder) AvailabilityZones(values ...string) *MachinePoolBui // // [source,json] // ---- -// { -// "cloud_provider": { -// "kind": "CloudProviderLink", -// "id": "123", -// "href": "/api/clusters_mgmt/v1/cloud_providers/123" -// } -// } +// +// { +// "cloud_provider": { +// "kind": "CloudProviderLink", +// "id": "123", +// "href": "/api/clusters_mgmt/v1/cloud_providers/123" +// } +// } +// // ---- // // When a cluster is created this is optional, and if used it should contain the @@ -121,11 +121,13 @@ func (b *MachinePoolBuilder) AvailabilityZones(values ...string) *MachinePoolBui // // [source,json] // ---- -// { -// "cloud_provider": { -// "id": "123", -// } -// } +// +// { +// "cloud_provider": { +// "id": "123", +// } +// } +// // ---- // // If not included, then the cluster will be created using the default cloud @@ -147,8 +149,6 @@ func (b *MachinePoolBuilder) Cluster(value *ClusterBuilder) *MachinePoolBuilder } // InstanceType sets the value of the 'instance_type' attribute to the given value. -// -// func (b *MachinePoolBuilder) InstanceType(value string) *MachinePoolBuilder { b.instanceType = value b.bitmap_ |= 128 @@ -156,8 +156,6 @@ func (b *MachinePoolBuilder) InstanceType(value string) *MachinePoolBuilder { } // Labels sets the value of the 'labels' attribute to the given value. -// -// func (b *MachinePoolBuilder) Labels(value map[string]string) *MachinePoolBuilder { b.labels = value if value != nil { @@ -169,8 +167,6 @@ func (b *MachinePoolBuilder) Labels(value map[string]string) *MachinePoolBuilder } // Replicas sets the value of the 'replicas' attribute to the given value. -// -// func (b *MachinePoolBuilder) Replicas(value int) *MachinePoolBuilder { b.replicas = value b.bitmap_ |= 512 @@ -178,8 +174,6 @@ func (b *MachinePoolBuilder) Replicas(value int) *MachinePoolBuilder { } // Taints sets the value of the 'taints' attribute to the given values. -// -// func (b *MachinePoolBuilder) Taints(values ...*TaintBuilder) *MachinePoolBuilder { b.taints = make([]*TaintBuilder, len(values)) copy(b.taints, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_client.go index bfe200064..bfebc3a7a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_client.go @@ -180,16 +180,12 @@ func (r *MachinePoolPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *MachinePoolPollResponse) Body() *MachinePool { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *MachinePoolPollResponse) GetBody() (value *MachinePool, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *MachinePoolGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *MachinePoolGetResponse) Body() *MachinePool { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *MachinePoolGetResponse) Body() *MachinePool { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *MachinePoolGetResponse) GetBody() (value *MachinePool, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *MachinePoolUpdateRequest) Header(name string, value interface{}) *Machi } // Body sets the value of the 'body' parameter. -// -// func (r *MachinePoolUpdateRequest) Body(value *MachinePool) *MachinePoolUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *MachinePoolUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *MachinePoolUpdateResponse) Body() *MachinePool { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *MachinePoolUpdateResponse) Body() *MachinePool { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *MachinePoolUpdateResponse) GetBody() (value *MachinePool, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_list_type_json.go index 102c0d988..68173393b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalMachinePoolList(source interface{}) (items []*MachinePool, err err return } -// readMachinePoolList reads list of values of the ''machine_pool' type from +// readMachinePoolList reads list of values of the ”machine_pool' type from // the given iterator. func readMachinePoolList(iterator *jsoniter.Iterator) []*MachinePool { list := []*MachinePool{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_server.go index b567d27fa..07d364d40 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_pool_server.go @@ -74,8 +74,6 @@ type MachinePoolGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *MachinePoolGetServerResponse) Body(value *MachinePool) *MachinePoolGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type MachinePoolUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *MachinePoolUpdateServerRequest) Body() *MachinePool { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *MachinePoolUpdateServerRequest) Body() *MachinePool { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *MachinePoolUpdateServerRequest) GetBody() (value *MachinePool, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type MachinePoolUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *MachinePoolUpdateServerResponse) Body(value *MachinePool) *MachinePoolUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_builder.go index 595078cdd..d29c944fd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_builder.go @@ -62,8 +62,6 @@ func (b *MachineTypeBuilder) HREF(value string) *MachineTypeBuilder { } // CCSOnly sets the value of the 'CCS_only' attribute to the given value. -// -// func (b *MachineTypeBuilder) CCSOnly(value bool) *MachineTypeBuilder { b.ccsOnly = value b.bitmap_ |= 8 @@ -123,8 +121,6 @@ func (b *MachineTypeBuilder) CloudProvider(value *CloudProviderBuilder) *Machine } // GenericName sets the value of the 'generic_name' attribute to the given value. -// -// func (b *MachineTypeBuilder) GenericName(value string) *MachineTypeBuilder { b.genericName = value b.bitmap_ |= 128 @@ -162,8 +158,6 @@ func (b *MachineTypeBuilder) Memory(value *ValueBuilder) *MachineTypeBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *MachineTypeBuilder) Name(value string) *MachineTypeBuilder { b.name = value b.bitmap_ |= 512 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_category_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_category_list_type_json.go index c1c5be633..06ef84bf3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_category_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_category_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalMachineTypeCategoryList(source interface{}) (items []MachineTypeCa return } -// readMachineTypeCategoryList reads list of values of the ''machine_type_category' type from +// readMachineTypeCategoryList reads list of values of the ”machine_type_category' type from // the given iterator. func readMachineTypeCategoryList(iterator *jsoniter.Iterator) []MachineTypeCategory { list := []MachineTypeCategory{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_client.go index 1e50a7a1a..1011495f8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_client.go @@ -156,16 +156,12 @@ func (r *MachineTypePollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *MachineTypePollResponse) Body() *MachineType { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *MachineTypePollResponse) GetBody() (value *MachineType, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *MachineTypeGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *MachineTypeGetResponse) Body() *MachineType { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *MachineTypeGetResponse) Body() *MachineType { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *MachineTypeGetResponse) GetBody() (value *MachineType, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_list_type_json.go index 72fd58c01..0cf76b414 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalMachineTypeList(source interface{}) (items []*MachineType, err err return } -// readMachineTypeList reads list of values of the ''machine_type' type from +// readMachineTypeList reads list of values of the ”machine_type' type from // the given iterator. func readMachineTypeList(iterator *jsoniter.Iterator) []*MachineType { list := []*MachineType{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_server.go index 6b94930a1..1a1ee5969 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_server.go @@ -48,8 +48,6 @@ type MachineTypeGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *MachineTypeGetServerResponse) Body(value *MachineType) *MachineTypeGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_size_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_size_list_type_json.go index bb7ee9376..9ee94bb08 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_size_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/machine_type_size_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalMachineTypeSizeList(source interface{}) (items []MachineTypeSize, return } -// readMachineTypeSizeList reads list of values of the ''machine_type_size' type from +// readMachineTypeSizeList reads list of values of the ”machine_type_size' type from // the given iterator. func readMachineTypeSizeList(iterator *jsoniter.Iterator) []MachineTypeSize { list := []MachineTypeSize{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_builder.go index 2ae44c992..ec9f90b11 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_builder.go @@ -36,8 +36,6 @@ func NewNetwork() *NetworkBuilder { } // HostPrefix sets the value of the 'host_prefix' attribute to the given value. -// -// func (b *NetworkBuilder) HostPrefix(value int) *NetworkBuilder { b.hostPrefix = value b.bitmap_ |= 1 @@ -45,8 +43,6 @@ func (b *NetworkBuilder) HostPrefix(value int) *NetworkBuilder { } // MachineCIDR sets the value of the 'machine_CIDR' attribute to the given value. -// -// func (b *NetworkBuilder) MachineCIDR(value string) *NetworkBuilder { b.machineCIDR = value b.bitmap_ |= 2 @@ -54,8 +50,6 @@ func (b *NetworkBuilder) MachineCIDR(value string) *NetworkBuilder { } // PodCIDR sets the value of the 'pod_CIDR' attribute to the given value. -// -// func (b *NetworkBuilder) PodCIDR(value string) *NetworkBuilder { b.podCIDR = value b.bitmap_ |= 4 @@ -63,8 +57,6 @@ func (b *NetworkBuilder) PodCIDR(value string) *NetworkBuilder { } // ServiceCIDR sets the value of the 'service_CIDR' attribute to the given value. -// -// func (b *NetworkBuilder) ServiceCIDR(value string) *NetworkBuilder { b.serviceCIDR = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_list_type_json.go index e2c78ea61..c849d10b5 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/network_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalNetworkList(source interface{}) (items []*Network, err error) { return } -// readNetworkList reads list of values of the ''network' type from +// readNetworkList reads list of values of the ”network' type from // the given iterator. func readNetworkList(iterator *jsoniter.Iterator) []*Network { list := []*Network{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_builder.go index 7f298b77f..ddcdd5f0f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_builder.go @@ -34,8 +34,6 @@ func NewNodeInfo() *NodeInfoBuilder { } // Amount sets the value of the 'amount' attribute to the given value. -// -// func (b *NodeInfoBuilder) Amount(value int) *NodeInfoBuilder { b.amount = value b.bitmap_ |= 1 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_list_type_json.go index bbf110af8..871e59598 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_info_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalNodeInfoList(source interface{}) (items []*NodeInfo, err error) { return } -// readNodeInfoList reads list of values of the ''node_info' type from +// readNodeInfoList reads list of values of the ”node_info' type from // the given iterator. func readNodeInfoList(iterator *jsoniter.Iterator) []*NodeInfo { list := []*NodeInfo{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_type_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_type_list_type_json.go index 896f744ca..4f2c7b42a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_type_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/node_type_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalNodeTypeList(source interface{}) (items []NodeType, err error) { return } -// readNodeTypeList reads list of values of the ''node_type' type from +// readNodeTypeList reads list of values of the ”node_type' type from // the given iterator. func readNodeTypeList(iterator *jsoniter.Iterator) []NodeType { list := []NodeType{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_builder.go index 25c99f89e..00d1eb67d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_builder.go @@ -33,8 +33,6 @@ func NewNodesInfo() *NodesInfoBuilder { } // Nodes sets the value of the 'nodes' attribute to the given values. -// -// func (b *NodesInfoBuilder) Nodes(values ...*NodeInfoBuilder) *NodesInfoBuilder { b.nodes = make([]*NodeInfoBuilder, len(values)) copy(b.nodes, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_list_type_json.go index 988e3d591..f30d28755 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalNodesInfoList(source interface{}) (items []*NodesInfo, err error) return } -// readNodesInfoList reads list of values of the ''nodes_info' type from +// readNodesInfoList reads list of values of the ”nodes_info' type from // the given iterator. func readNodesInfoList(iterator *jsoniter.Iterator) []*NodesInfo { list := []*NodesInfo{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_type.go index 0e9efb81f..cb9574654 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_info_type.go @@ -34,8 +34,6 @@ func (o *NodesInfo) Empty() bool { // Nodes returns the value of the 'nodes' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *NodesInfo) Nodes() []*NodeInfo { if o != nil && o.bitmap_&1 != 0 { return o.nodes @@ -45,8 +43,6 @@ func (o *NodesInfo) Nodes() []*NodeInfo { // GetNodes returns the value of the 'nodes' attribute and // a flag indicating if the attribute has a value. -// -// func (o *NodesInfo) GetNodes() (value []*NodeInfo, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_client.go index 41ebf5df5..41a65a70e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_client.go @@ -48,8 +48,6 @@ func NewNodesMetricQueryClient(transport http.RoundTripper, path string) *NodesM } // Get creates a request for the 'get' method. -// -// func (c *NodesMetricQueryClient) Get() *NodesMetricQueryGetRequest { return &NodesMetricQueryGetRequest{ transport: c.transport, @@ -156,16 +154,12 @@ func (r *NodesMetricQueryPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *NodesMetricQueryPollResponse) Body() *NodesInfo { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *NodesMetricQueryPollResponse) GetBody() (value *NodesInfo, ok bool) { return r.response.GetBody() } @@ -278,8 +272,6 @@ func (r *NodesMetricQueryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *NodesMetricQueryGetResponse) Body() *NodesInfo { if r == nil { return nil @@ -289,8 +281,6 @@ func (r *NodesMetricQueryGetResponse) Body() *NodesInfo { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *NodesMetricQueryGetResponse) GetBody() (value *NodesInfo, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_server.go index 362f94f0c..998fe1896 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/nodes_metric_query_server.go @@ -48,8 +48,6 @@ type NodesMetricQueryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *NodesMetricQueryGetServerResponse) Body(value *NodesInfo) *NodesMetricQueryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_builder.go index 26270a4c9..553547269 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_builder.go @@ -35,8 +35,6 @@ func NewOpenIDClaims() *OpenIDClaimsBuilder { } // Email sets the value of the 'email' attribute to the given values. -// -// func (b *OpenIDClaimsBuilder) Email(values ...string) *OpenIDClaimsBuilder { b.email = make([]string, len(values)) copy(b.email, values) @@ -45,8 +43,6 @@ func (b *OpenIDClaimsBuilder) Email(values ...string) *OpenIDClaimsBuilder { } // Name sets the value of the 'name' attribute to the given values. -// -// func (b *OpenIDClaimsBuilder) Name(values ...string) *OpenIDClaimsBuilder { b.name = make([]string, len(values)) copy(b.name, values) @@ -55,8 +51,6 @@ func (b *OpenIDClaimsBuilder) Name(values ...string) *OpenIDClaimsBuilder { } // PreferredUsername sets the value of the 'preferred_username' attribute to the given values. -// -// func (b *OpenIDClaimsBuilder) PreferredUsername(values ...string) *OpenIDClaimsBuilder { b.preferredUsername = make([]string, len(values)) copy(b.preferredUsername, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_list_type_json.go index b87d4b8d3..597875775 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_claims_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalOpenIDClaimsList(source interface{}) (items []*OpenIDClaims, err e return } -// readOpenIDClaimsList reads list of values of the ''open_ID_claims' type from +// readOpenIDClaimsList reads list of values of the ”open_ID_claims' type from // the given iterator. func readOpenIDClaimsList(iterator *jsoniter.Iterator) []*OpenIDClaims { list := []*OpenIDClaims{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_builder.go index 137631475..02d568d7a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_builder.go @@ -39,8 +39,6 @@ func NewOpenIDIdentityProvider() *OpenIDIdentityProviderBuilder { } // CA sets the value of the 'CA' attribute to the given value. -// -// func (b *OpenIDIdentityProviderBuilder) CA(value string) *OpenIDIdentityProviderBuilder { b.ca = value b.bitmap_ |= 1 @@ -61,8 +59,6 @@ func (b *OpenIDIdentityProviderBuilder) Claims(value *OpenIDClaimsBuilder) *Open } // ClientID sets the value of the 'client_ID' attribute to the given value. -// -// func (b *OpenIDIdentityProviderBuilder) ClientID(value string) *OpenIDIdentityProviderBuilder { b.clientID = value b.bitmap_ |= 4 @@ -70,8 +66,6 @@ func (b *OpenIDIdentityProviderBuilder) ClientID(value string) *OpenIDIdentityPr } // ClientSecret sets the value of the 'client_secret' attribute to the given value. -// -// func (b *OpenIDIdentityProviderBuilder) ClientSecret(value string) *OpenIDIdentityProviderBuilder { b.clientSecret = value b.bitmap_ |= 8 @@ -79,8 +73,6 @@ func (b *OpenIDIdentityProviderBuilder) ClientSecret(value string) *OpenIDIdenti } // ExtraAuthorizeParameters sets the value of the 'extra_authorize_parameters' attribute to the given value. -// -// func (b *OpenIDIdentityProviderBuilder) ExtraAuthorizeParameters(value map[string]string) *OpenIDIdentityProviderBuilder { b.extraAuthorizeParameters = value if value != nil { @@ -92,8 +84,6 @@ func (b *OpenIDIdentityProviderBuilder) ExtraAuthorizeParameters(value map[strin } // ExtraScopes sets the value of the 'extra_scopes' attribute to the given values. -// -// func (b *OpenIDIdentityProviderBuilder) ExtraScopes(values ...string) *OpenIDIdentityProviderBuilder { b.extraScopes = make([]string, len(values)) copy(b.extraScopes, values) @@ -102,8 +92,6 @@ func (b *OpenIDIdentityProviderBuilder) ExtraScopes(values ...string) *OpenIDIde } // Issuer sets the value of the 'issuer' attribute to the given value. -// -// func (b *OpenIDIdentityProviderBuilder) Issuer(value string) *OpenIDIdentityProviderBuilder { b.issuer = value b.bitmap_ |= 64 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_list_type_json.go index ed8fe5645..ab97535b1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/open_id_identity_provider_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalOpenIDIdentityProviderList(source interface{}) (items []*OpenIDIde return } -// readOpenIDIdentityProviderList reads list of values of the ''open_ID_identity_provider' type from +// readOpenIDIdentityProviderList reads list of values of the ”open_ID_identity_provider' type from // the given iterator. func readOpenIDIdentityProviderList(iterator *jsoniter.Iterator) []*OpenIDIdentityProvider { list := []*OpenIDIdentityProvider{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_builder.go index 42f2bf8a9..9825a6224 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_builder.go @@ -35,8 +35,6 @@ func NewOperatorIAMRole() *OperatorIAMRoleBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *OperatorIAMRoleBuilder) Name(value string) *OperatorIAMRoleBuilder { b.name = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *OperatorIAMRoleBuilder) Name(value string) *OperatorIAMRoleBuilder { } // Namespace sets the value of the 'namespace' attribute to the given value. -// -// func (b *OperatorIAMRoleBuilder) Namespace(value string) *OperatorIAMRoleBuilder { b.namespace = value b.bitmap_ |= 2 @@ -53,8 +49,6 @@ func (b *OperatorIAMRoleBuilder) Namespace(value string) *OperatorIAMRoleBuilder } // RoleARN sets the value of the 'role_ARN' attribute to the given value. -// -// func (b *OperatorIAMRoleBuilder) RoleARN(value string) *OperatorIAMRoleBuilder { b.roleARN = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_list_type_json.go index 3ef76a5e8..d323fca3a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/operator_iam_role_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalOperatorIAMRoleList(source interface{}) (items []*OperatorIAMRole, return } -// readOperatorIAMRoleList reads list of values of the ''operator_IAM_role' type from +// readOperatorIAMRoleList reads list of values of the ”operator_IAM_role' type from // the given iterator. func readOperatorIAMRoleList(iterator *jsoniter.Iterator) []*OperatorIAMRole { list := []*OperatorIAMRole{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_builder.go index d73cc9c00..1ef6ee30d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_builder.go @@ -55,8 +55,6 @@ func (b *ProductBuilder) HREF(value string) *ProductBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *ProductBuilder) Name(value string) *ProductBuilder { b.name = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_client.go index a2e90254d..b57fc06e8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_client.go @@ -156,16 +156,12 @@ func (r *ProductPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ProductPollResponse) Body() *Product { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ProductPollResponse) GetBody() (value *Product, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *ProductGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ProductGetResponse) Body() *Product { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *ProductGetResponse) Body() *Product { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ProductGetResponse) GetBody() (value *Product, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_list_type_json.go index 7ae0d0afa..cff8b5da7 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalProductList(source interface{}) (items []*Product, err error) { return } -// readProductList reads list of values of the ''product' type from +// readProductList reads list of values of the ”product' type from // the given iterator. func readProductList(iterator *jsoniter.Iterator) []*Product { list := []*Product{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_server.go index f8a26160a..e33d74596 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/product_server.go @@ -48,8 +48,6 @@ type ProductGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ProductGetServerResponse) Body(value *Product) *ProductGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_builder.go index 1d0e7258b..a404c6a79 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_builder.go @@ -72,8 +72,6 @@ func (b *ProvisionShardBuilder) AWSAccountOperatorConfig(value *ServerConfigBuil } // AWSBaseDomain sets the value of the 'AWS_base_domain' attribute to the given value. -// -// func (b *ProvisionShardBuilder) AWSBaseDomain(value string) *ProvisionShardBuilder { b.awsBaseDomain = value b.bitmap_ |= 16 @@ -81,8 +79,6 @@ func (b *ProvisionShardBuilder) AWSBaseDomain(value string) *ProvisionShardBuild } // GCPBaseDomain sets the value of the 'GCP_base_domain' attribute to the given value. -// -// func (b *ProvisionShardBuilder) GCPBaseDomain(value string) *ProvisionShardBuilder { b.gcpBaseDomain = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_client.go index d1a227c15..caa1317f9 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_client.go @@ -156,16 +156,12 @@ func (r *ProvisionShardPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ProvisionShardPollResponse) Body() *ProvisionShard { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ProvisionShardPollResponse) GetBody() (value *ProvisionShard, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *ProvisionShardGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *ProvisionShardGetResponse) Body() *ProvisionShard { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *ProvisionShardGetResponse) Body() *ProvisionShard { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *ProvisionShardGetResponse) GetBody() (value *ProvisionShard, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_list_type_json.go index 984ef4cd3..a11e329bf 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalProvisionShardList(source interface{}) (items []*ProvisionShard, e return } -// readProvisionShardList reads list of values of the ''provision_shard' type from +// readProvisionShardList reads list of values of the ”provision_shard' type from // the given iterator. func readProvisionShardList(iterator *jsoniter.Iterator) []*ProvisionShard { list := []*ProvisionShard{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_server.go index bc1dc3264..1b7eaf9af 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shard_server.go @@ -48,8 +48,6 @@ type ProvisionShardGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *ProvisionShardGetServerResponse) Body(value *ProvisionShard) *ProvisionShardGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shards_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shards_client.go index 429c938d1..61c57d48b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shards_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/provision_shards_client.go @@ -48,8 +48,6 @@ func NewProvisionShardsClient(transport http.RoundTripper, path string) *Provisi } // List creates a request for the 'list' method. -// -// func (c *ProvisionShardsClient) List() *ProvisionShardsListRequest { return &ProvisionShardsListRequest{ transport: c.transport, diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_builder.go index 9266efe5a..4c5d8a52e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_builder.go @@ -61,8 +61,6 @@ func (b *ResourceBuilder) HREF(value string) *ResourceBuilder { } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *ResourceBuilder) ClusterID(value string) *ResourceBuilder { b.clusterID = value b.bitmap_ |= 8 @@ -70,8 +68,6 @@ func (b *ResourceBuilder) ClusterID(value string) *ResourceBuilder { } // CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value. -// -// func (b *ResourceBuilder) CreationTimestamp(value time.Time) *ResourceBuilder { b.creationTimestamp = value b.bitmap_ |= 16 @@ -79,8 +75,6 @@ func (b *ResourceBuilder) CreationTimestamp(value time.Time) *ResourceBuilder { } // Resources sets the value of the 'resources' attribute to the given value. -// -// func (b *ResourceBuilder) Resources(value map[string]string) *ResourceBuilder { b.resources = value if value != nil { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_list_type_json.go index dc6ebf74c..e14eb4726 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/resource_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalResourceList(source interface{}) (items []*Resource, err error) { return } -// readResourceList reads list of values of the ''resource' type from +// readResourceList reads list of values of the ”resource' type from // the given iterator. func readResourceList(iterator *jsoniter.Iterator) []*Resource { list := []*Resource{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_builder.go index c0e8f2a70..46e523b95 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_builder.go @@ -55,8 +55,6 @@ func (b *ServerConfigBuilder) HREF(value string) *ServerConfigBuilder { } // Server sets the value of the 'server' attribute to the given value. -// -// func (b *ServerConfigBuilder) Server(value string) *ServerConfigBuilder { b.server = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_list_type_json.go index 78192b884..7da47bcfc 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/server_config_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalServerConfigList(source interface{}) (items []*ServerConfig, err e return } -// readServerConfigList reads list of values of the ''server_config' type from +// readServerConfigList reads list of values of the ”server_config' type from // the given iterator. func readServerConfigList(iterator *jsoniter.Iterator) []*ServerConfig { list := []*ServerConfig{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_client.go index 04f6883f5..c6c29d4dd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_client.go @@ -156,16 +156,12 @@ func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Error() *errors.Error } // Body returns the value of the 'body' parameter. -// -// func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) Body() *SocketTotalsNodeRoleOSMetricNode { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SocketTotalByNodeRolesOSMetricQueryPollResponse) GetBody() (value *SocketTotalsNodeRoleOSMetricNode, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Body() *SocketTotalsNodeRoleOSMetricNode { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) Body() *SocketTotalsNod // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SocketTotalByNodeRolesOSMetricQueryGetResponse) GetBody() (value *SocketTotalsNodeRoleOSMetricNode, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_server.go index 4fd7fc126..95ac96740 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_by_node_roles_os_metric_query_server.go @@ -48,8 +48,6 @@ type SocketTotalByNodeRolesOSMetricQueryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SocketTotalByNodeRolesOSMetricQueryGetServerResponse) Body(value *SocketTotalsNodeRoleOSMetricNode) *SocketTotalByNodeRolesOSMetricQueryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_builder.go index 1723c0d60..91638c436 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_builder.go @@ -41,8 +41,6 @@ func NewSocketTotalNodeRoleOSMetricNode() *SocketTotalNodeRoleOSMetricNodeBuilde } // NodeRoles sets the value of the 'node_roles' attribute to the given values. -// -// func (b *SocketTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *SocketTotalNodeRoleOSMetricNodeBuilder { b.nodeRoles = make([]string, len(values)) copy(b.nodeRoles, values) @@ -51,8 +49,6 @@ func (b *SocketTotalNodeRoleOSMetricNodeBuilder) NodeRoles(values ...string) *So } // OperatingSystem sets the value of the 'operating_system' attribute to the given value. -// -// func (b *SocketTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) *SocketTotalNodeRoleOSMetricNodeBuilder { b.operatingSystem = value b.bitmap_ |= 2 @@ -60,8 +56,6 @@ func (b *SocketTotalNodeRoleOSMetricNodeBuilder) OperatingSystem(value string) * } // SocketTotal sets the value of the 'socket_total' attribute to the given value. -// -// func (b *SocketTotalNodeRoleOSMetricNodeBuilder) SocketTotal(value float64) *SocketTotalNodeRoleOSMetricNodeBuilder { b.socketTotal = value b.bitmap_ |= 4 @@ -69,8 +63,6 @@ func (b *SocketTotalNodeRoleOSMetricNodeBuilder) SocketTotal(value float64) *Soc } // Time sets the value of the 'time' attribute to the given value. -// -// func (b *SocketTotalNodeRoleOSMetricNodeBuilder) Time(value time.Time) *SocketTotalNodeRoleOSMetricNodeBuilder { b.time = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_list_type_json.go index 488037be5..f470fa5fd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSocketTotalNodeRoleOSMetricNodeList(source interface{}) (items []* return } -// readSocketTotalNodeRoleOSMetricNodeList reads list of values of the ''socket_total_node_role_OS_metric_node' type from +// readSocketTotalNodeRoleOSMetricNodeList reads list of values of the ”socket_total_node_role_OS_metric_node' type from // the given iterator. func readSocketTotalNodeRoleOSMetricNodeList(iterator *jsoniter.Iterator) []*SocketTotalNodeRoleOSMetricNode { list := []*SocketTotalNodeRoleOSMetricNode{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_type.go index cd59c5fbe..0d868aa74 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_total_node_role_os_metric_node_type.go @@ -111,8 +111,6 @@ func (o *SocketTotalNodeRoleOSMetricNode) GetSocketTotal() (value float64, ok bo // Time returns the value of the 'time' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SocketTotalNodeRoleOSMetricNode) Time() time.Time { if o != nil && o.bitmap_&8 != 0 { return o.time @@ -122,8 +120,6 @@ func (o *SocketTotalNodeRoleOSMetricNode) Time() time.Time { // GetTime returns the value of the 'time' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SocketTotalNodeRoleOSMetricNode) GetTime() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_builder.go index 6a78a9d7b..4fb398dc1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_builder.go @@ -34,8 +34,6 @@ func NewSocketTotalsNodeRoleOSMetricNode() *SocketTotalsNodeRoleOSMetricNodeBuil } // SocketTotals sets the value of the 'socket_totals' attribute to the given values. -// -// func (b *SocketTotalsNodeRoleOSMetricNodeBuilder) SocketTotals(values ...*SocketTotalNodeRoleOSMetricNodeBuilder) *SocketTotalsNodeRoleOSMetricNodeBuilder { b.socketTotals = make([]*SocketTotalNodeRoleOSMetricNodeBuilder, len(values)) copy(b.socketTotals, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_list_type_json.go index 621f90b91..871418d4e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSocketTotalsNodeRoleOSMetricNodeList(source interface{}) (items [] return } -// readSocketTotalsNodeRoleOSMetricNodeList reads list of values of the ''socket_totals_node_role_OS_metric_node' type from +// readSocketTotalsNodeRoleOSMetricNodeList reads list of values of the ”socket_totals_node_role_OS_metric_node' type from // the given iterator. func readSocketTotalsNodeRoleOSMetricNodeList(iterator *jsoniter.Iterator) []*SocketTotalsNodeRoleOSMetricNode { list := []*SocketTotalsNodeRoleOSMetricNode{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_type.go index 874f137bf..96b83207d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/socket_totals_node_role_os_metric_node_type.go @@ -35,8 +35,6 @@ func (o *SocketTotalsNodeRoleOSMetricNode) Empty() bool { // SocketTotals returns the value of the 'socket_totals' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *SocketTotalsNodeRoleOSMetricNode) SocketTotals() []*SocketTotalNodeRoleOSMetricNode { if o != nil && o.bitmap_&1 != 0 { return o.socketTotals @@ -46,8 +44,6 @@ func (o *SocketTotalsNodeRoleOSMetricNode) SocketTotals() []*SocketTotalNodeRole // GetSocketTotals returns the value of the 'socket_totals' attribute and // a flag indicating if the attribute has a value. -// -// func (o *SocketTotalsNodeRoleOSMetricNode) GetSocketTotals() (value []*SocketTotalNodeRoleOSMetricNode, ok bool) { ok = o != nil && o.bitmap_&1 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_builder.go index 0a9576343..b4ad988d6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_builder.go @@ -34,8 +34,6 @@ func NewSSHCredentials() *SSHCredentialsBuilder { } // PrivateKey sets the value of the 'private_key' attribute to the given value. -// -// func (b *SSHCredentialsBuilder) PrivateKey(value string) *SSHCredentialsBuilder { b.privateKey = value b.bitmap_ |= 1 @@ -43,8 +41,6 @@ func (b *SSHCredentialsBuilder) PrivateKey(value string) *SSHCredentialsBuilder } // PublicKey sets the value of the 'public_key' attribute to the given value. -// -// func (b *SSHCredentialsBuilder) PublicKey(value string) *SSHCredentialsBuilder { b.publicKey = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_list_type_json.go index eb06712e6..85c9d9d0f 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/ssh_credentials_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSSHCredentialsList(source interface{}) (items []*SSHCredentials, e return } -// readSSHCredentialsList reads list of values of the ''SSH_credentials' type from +// readSSHCredentialsList reads list of values of the ”SSH_credentials' type from // the given iterator. func readSSHCredentialsList(iterator *jsoniter.Iterator) []*SSHCredentials { list := []*SSHCredentials{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/string_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/string_list_type_json.go index 7c4703b8e..74290a45a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/string_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/string_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalStringList(source interface{}) (items []string, err error) { return } -// readStringList reads list of values of the ''string' type from +// readStringList reads list of values of the ”string' type from // the given iterator. func readStringList(iterator *jsoniter.Iterator) []string { list := []string{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_builder.go index 8598ce612..7a2f6231d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_builder.go @@ -38,8 +38,6 @@ func NewSTS() *STSBuilder { } // OIDCEndpointURL sets the value of the 'OIDC_endpoint_URL' attribute to the given value. -// -// func (b *STSBuilder) OIDCEndpointURL(value string) *STSBuilder { b.oidcEndpointURL = value b.bitmap_ |= 1 @@ -47,8 +45,6 @@ func (b *STSBuilder) OIDCEndpointURL(value string) *STSBuilder { } // ExternalID sets the value of the 'external_ID' attribute to the given value. -// -// func (b *STSBuilder) ExternalID(value string) *STSBuilder { b.externalID = value b.bitmap_ |= 2 @@ -69,8 +65,6 @@ func (b *STSBuilder) InstanceIAMRoles(value *InstanceIAMRolesBuilder) *STSBuilde } // OperatorIAMRoles sets the value of the 'operator_IAM_roles' attribute to the given values. -// -// func (b *STSBuilder) OperatorIAMRoles(values ...*OperatorIAMRoleBuilder) *STSBuilder { b.operatorIAMRoles = make([]*OperatorIAMRoleBuilder, len(values)) copy(b.operatorIAMRoles, values) @@ -79,8 +73,6 @@ func (b *STSBuilder) OperatorIAMRoles(values ...*OperatorIAMRoleBuilder) *STSBui } // RoleARN sets the value of the 'role_ARN' attribute to the given value. -// -// func (b *STSBuilder) RoleARN(value string) *STSBuilder { b.roleARN = value b.bitmap_ |= 16 @@ -88,8 +80,6 @@ func (b *STSBuilder) RoleARN(value string) *STSBuilder { } // SupportRoleARN sets the value of the 'support_role_ARN' attribute to the given value. -// -// func (b *STSBuilder) SupportRoleARN(value string) *STSBuilder { b.supportRoleARN = value b.bitmap_ |= 32 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_list_type_json.go index 2759397ec..b671a7dc6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/sts_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSTSList(source interface{}) (items []*STS, err error) { return } -// readSTSList reads list of values of the ''STS' type from +// readSTSList reads list of values of the ”STS' type from // the given iterator. func readSTSList(iterator *jsoniter.Iterator) []*STS { list := []*STS{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/subscription_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/subscription_list_type_json.go index d8bf340e9..f206f6d03 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/subscription_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/subscription_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSubscriptionList(source interface{}) (items []*Subscription, err e return } -// readSubscriptionList reads list of values of the ''subscription' type from +// readSubscriptionList reads list of values of the ”subscription' type from // the given iterator. func readSubscriptionList(iterator *jsoniter.Iterator) []*Subscription { list := []*Subscription{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_builder.go index e867c7586..18ccee306 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_builder.go @@ -55,8 +55,6 @@ func (b *SyncsetBuilder) HREF(value string) *SyncsetBuilder { } // Resources sets the value of the 'resources' attribute to the given values. -// -// func (b *SyncsetBuilder) Resources(values ...interface{}) *SyncsetBuilder { b.resources = make([]interface{}, len(values)) copy(b.resources, values) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_client.go index cf25f16d5..244d86542 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_client.go @@ -180,16 +180,12 @@ func (r *SyncsetPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SyncsetPollResponse) Body() *Syncset { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SyncsetPollResponse) GetBody() (value *Syncset, ok bool) { return r.response.GetBody() } @@ -396,8 +392,6 @@ func (r *SyncsetGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SyncsetGetResponse) Body() *Syncset { if r == nil { return nil @@ -407,8 +401,6 @@ func (r *SyncsetGetResponse) Body() *Syncset { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SyncsetGetResponse) GetBody() (value *Syncset, ok bool) { ok = r != nil && r.body != nil if ok { @@ -439,8 +431,6 @@ func (r *SyncsetUpdateRequest) Header(name string, value interface{}) *SyncsetUp } // Body sets the value of the 'body' parameter. -// -// func (r *SyncsetUpdateRequest) Body(value *Syncset) *SyncsetUpdateRequest { r.body = value return r @@ -542,8 +532,6 @@ func (r *SyncsetUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *SyncsetUpdateResponse) Body() *Syncset { if r == nil { return nil @@ -553,8 +541,6 @@ func (r *SyncsetUpdateResponse) Body() *Syncset { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SyncsetUpdateResponse) GetBody() (value *Syncset, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_list_type_json.go index 31893695a..82b3d7a31 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSyncsetList(source interface{}) (items []*Syncset, err error) { return } -// readSyncsetList reads list of values of the ''syncset' type from +// readSyncsetList reads list of values of the ”syncset' type from // the given iterator. func readSyncsetList(iterator *jsoniter.Iterator) []*Syncset { list := []*Syncset{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_server.go index 2a99c1ba0..1d2dd8230 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/syncset_server.go @@ -74,8 +74,6 @@ type SyncsetGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SyncsetGetServerResponse) Body(value *Syncset) *SyncsetGetServerResponse { r.body = value return r @@ -93,8 +91,6 @@ type SyncsetUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *SyncsetUpdateServerRequest) Body() *Syncset { if r == nil { return nil @@ -104,8 +100,6 @@ func (r *SyncsetUpdateServerRequest) Body() *Syncset { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *SyncsetUpdateServerRequest) GetBody() (value *Syncset, ok bool) { ok = r != nil && r.body != nil if ok { @@ -122,8 +116,6 @@ type SyncsetUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *SyncsetUpdateServerResponse) Body(value *Syncset) *SyncsetUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_builder.go index 83e346f39..30d4b2536 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_builder.go @@ -35,8 +35,6 @@ func NewTaint() *TaintBuilder { } // Effect sets the value of the 'effect' attribute to the given value. -// -// func (b *TaintBuilder) Effect(value string) *TaintBuilder { b.effect = value b.bitmap_ |= 1 @@ -44,8 +42,6 @@ func (b *TaintBuilder) Effect(value string) *TaintBuilder { } // Key sets the value of the 'key' attribute to the given value. -// -// func (b *TaintBuilder) Key(value string) *TaintBuilder { b.key = value b.bitmap_ |= 2 @@ -53,8 +49,6 @@ func (b *TaintBuilder) Key(value string) *TaintBuilder { } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *TaintBuilder) Value(value string) *TaintBuilder { b.value = value b.bitmap_ |= 4 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_list_type_json.go index b5f8c74aa..231bd763b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/taint_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalTaintList(source interface{}) (items []*Taint, err error) { return } -// readTaintList reads list of values of the ''taint' type from +// readTaintList reads list of values of the ”taint' type from // the given iterator. func readTaintList(iterator *jsoniter.Iterator) []*Taint { list := []*Taint{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_builder.go index 341b635df..49ce432c8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_builder.go @@ -64,8 +64,6 @@ func (b *UpgradePolicyBuilder) HREF(value string) *UpgradePolicyBuilder { } // ClusterID sets the value of the 'cluster_ID' attribute to the given value. -// -// func (b *UpgradePolicyBuilder) ClusterID(value string) *UpgradePolicyBuilder { b.clusterID = value b.bitmap_ |= 8 @@ -73,8 +71,6 @@ func (b *UpgradePolicyBuilder) ClusterID(value string) *UpgradePolicyBuilder { } // NextRun sets the value of the 'next_run' attribute to the given value. -// -// func (b *UpgradePolicyBuilder) NextRun(value time.Time) *UpgradePolicyBuilder { b.nextRun = value b.bitmap_ |= 16 @@ -82,8 +78,6 @@ func (b *UpgradePolicyBuilder) NextRun(value time.Time) *UpgradePolicyBuilder { } // Schedule sets the value of the 'schedule' attribute to the given value. -// -// func (b *UpgradePolicyBuilder) Schedule(value string) *UpgradePolicyBuilder { b.schedule = value b.bitmap_ |= 32 @@ -91,8 +85,6 @@ func (b *UpgradePolicyBuilder) Schedule(value string) *UpgradePolicyBuilder { } // ScheduleType sets the value of the 'schedule_type' attribute to the given value. -// -// func (b *UpgradePolicyBuilder) ScheduleType(value string) *UpgradePolicyBuilder { b.scheduleType = value b.bitmap_ |= 64 @@ -100,8 +92,6 @@ func (b *UpgradePolicyBuilder) ScheduleType(value string) *UpgradePolicyBuilder } // UpgradeType sets the value of the 'upgrade_type' attribute to the given value. -// -// func (b *UpgradePolicyBuilder) UpgradeType(value string) *UpgradePolicyBuilder { b.upgradeType = value b.bitmap_ |= 128 @@ -109,8 +99,6 @@ func (b *UpgradePolicyBuilder) UpgradeType(value string) *UpgradePolicyBuilder { } // Version sets the value of the 'version' attribute to the given value. -// -// func (b *UpgradePolicyBuilder) Version(value string) *UpgradePolicyBuilder { b.version = value b.bitmap_ |= 256 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_client.go index 12e8484c7..ac4f0f70c 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_client.go @@ -191,16 +191,12 @@ func (r *UpgradePolicyPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyPollResponse) Body() *UpgradePolicy { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyPollResponse) GetBody() (value *UpgradePolicy, ok bool) { return r.response.GetBody() } @@ -407,8 +403,6 @@ func (r *UpgradePolicyGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyGetResponse) Body() *UpgradePolicy { if r == nil { return nil @@ -418,8 +412,6 @@ func (r *UpgradePolicyGetResponse) Body() *UpgradePolicy { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyGetResponse) GetBody() (value *UpgradePolicy, ok bool) { ok = r != nil && r.body != nil if ok { @@ -450,8 +442,6 @@ func (r *UpgradePolicyUpdateRequest) Header(name string, value interface{}) *Upg } // Body sets the value of the 'body' parameter. -// -// func (r *UpgradePolicyUpdateRequest) Body(value *UpgradePolicy) *UpgradePolicyUpdateRequest { r.body = value return r @@ -553,8 +543,6 @@ func (r *UpgradePolicyUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyUpdateResponse) Body() *UpgradePolicy { if r == nil { return nil @@ -564,8 +552,6 @@ func (r *UpgradePolicyUpdateResponse) Body() *UpgradePolicy { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyUpdateResponse) GetBody() (value *UpgradePolicy, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_list_type_json.go index ff90ae229..edc31c512 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalUpgradePolicyList(source interface{}) (items []*UpgradePolicy, err return } -// readUpgradePolicyList reads list of values of the ''upgrade_policy' type from +// readUpgradePolicyList reads list of values of the ”upgrade_policy' type from // the given iterator. func readUpgradePolicyList(iterator *jsoniter.Iterator) []*UpgradePolicy { list := []*UpgradePolicy{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_server.go index bef85167c..4c815cb1a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_server.go @@ -79,8 +79,6 @@ type UpgradePolicyGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *UpgradePolicyGetServerResponse) Body(value *UpgradePolicy) *UpgradePolicyGetServerResponse { r.body = value return r @@ -98,8 +96,6 @@ type UpgradePolicyUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyUpdateServerRequest) Body() *UpgradePolicy { if r == nil { return nil @@ -109,8 +105,6 @@ func (r *UpgradePolicyUpdateServerRequest) Body() *UpgradePolicy { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyUpdateServerRequest) GetBody() (value *UpgradePolicy, ok bool) { ok = r != nil && r.body != nil if ok { @@ -127,8 +121,6 @@ type UpgradePolicyUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *UpgradePolicyUpdateServerResponse) Body(value *UpgradePolicy) *UpgradePolicyUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_builder.go index 4d3a76b5d..a245f8e75 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_builder.go @@ -56,8 +56,6 @@ func (b *UpgradePolicyStateBuilder) HREF(value string) *UpgradePolicyStateBuilde } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *UpgradePolicyStateBuilder) Description(value string) *UpgradePolicyStateBuilder { b.description = value b.bitmap_ |= 8 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_client.go index 7dc9f3e06..2f6e8ae5d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_client.go @@ -170,16 +170,12 @@ func (r *UpgradePolicyStatePollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyStatePollResponse) Body() *UpgradePolicyState { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyStatePollResponse) GetBody() (value *UpgradePolicyState, ok bool) { return r.response.GetBody() } @@ -292,8 +288,6 @@ func (r *UpgradePolicyStateGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyStateGetResponse) Body() *UpgradePolicyState { if r == nil { return nil @@ -303,8 +297,6 @@ func (r *UpgradePolicyStateGetResponse) Body() *UpgradePolicyState { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyStateGetResponse) GetBody() (value *UpgradePolicyState, ok bool) { ok = r != nil && r.body != nil if ok { @@ -335,8 +327,6 @@ func (r *UpgradePolicyStateUpdateRequest) Header(name string, value interface{}) } // Body sets the value of the 'body' parameter. -// -// func (r *UpgradePolicyStateUpdateRequest) Body(value *UpgradePolicyState) *UpgradePolicyStateUpdateRequest { r.body = value return r @@ -438,8 +428,6 @@ func (r *UpgradePolicyStateUpdateResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyStateUpdateResponse) Body() *UpgradePolicyState { if r == nil { return nil @@ -449,8 +437,6 @@ func (r *UpgradePolicyStateUpdateResponse) Body() *UpgradePolicyState { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyStateUpdateResponse) GetBody() (value *UpgradePolicyState, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_list_type_json.go index bb755d768..ed3872b8d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalUpgradePolicyStateList(source interface{}) (items []*UpgradePolicy return } -// readUpgradePolicyStateList reads list of values of the ''upgrade_policy_state' type from +// readUpgradePolicyStateList reads list of values of the ”upgrade_policy_state' type from // the given iterator. func readUpgradePolicyStateList(iterator *jsoniter.Iterator) []*UpgradePolicyState { list := []*UpgradePolicyState{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_server.go index d3c0fb02f..50378802d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_server.go @@ -53,8 +53,6 @@ type UpgradePolicyStateGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *UpgradePolicyStateGetServerResponse) Body(value *UpgradePolicyState) *UpgradePolicyStateGetServerResponse { r.body = value return r @@ -72,8 +70,6 @@ type UpgradePolicyStateUpdateServerRequest struct { } // Body returns the value of the 'body' parameter. -// -// func (r *UpgradePolicyStateUpdateServerRequest) Body() *UpgradePolicyState { if r == nil { return nil @@ -83,8 +79,6 @@ func (r *UpgradePolicyStateUpdateServerRequest) Body() *UpgradePolicyState { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UpgradePolicyStateUpdateServerRequest) GetBody() (value *UpgradePolicyState, ok bool) { ok = r != nil && r.body != nil if ok { @@ -101,8 +95,6 @@ type UpgradePolicyStateUpdateServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *UpgradePolicyStateUpdateServerResponse) Body(value *UpgradePolicyState) *UpgradePolicyStateUpdateServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_value_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_value_list_type_json.go index a9107220a..2ea691d0d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_value_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/upgrade_policy_state_value_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalUpgradePolicyStateValueList(source interface{}) (items []UpgradePo return } -// readUpgradePolicyStateValueList reads list of values of the ''upgrade_policy_state_value' type from +// readUpgradePolicyStateValueList reads list of values of the ”upgrade_policy_state_value' type from // the given iterator. func readUpgradePolicyStateValueList(iterator *jsoniter.Iterator) []UpgradePolicyStateValue { list := []UpgradePolicyStateValue{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_client.go index a385fd3ed..b4034fb17 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_client.go @@ -166,16 +166,12 @@ func (r *UserPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UserPollResponse) Body() *User { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UserPollResponse) GetBody() (value *User, ok bool) { return r.response.GetBody() } @@ -382,8 +378,6 @@ func (r *UserGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *UserGetResponse) Body() *User { if r == nil { return nil @@ -393,8 +387,6 @@ func (r *UserGetResponse) Body() *User { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *UserGetResponse) GetBody() (value *User, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_list_type_json.go index 9f39cc967..c543f6ea8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalUserList(source interface{}) (items []*User, err error) { return } -// readUserList reads list of values of the ''user' type from +// readUserList reads list of values of the ”user' type from // the given iterator. func readUserList(iterator *jsoniter.Iterator) []*User { list := []*User{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_server.go index 74a8ccc73..95a942a9e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/user_server.go @@ -69,8 +69,6 @@ type UserGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *UserGetServerResponse) Body(value *User) *UserGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_builder.go index 2e315bc3a..55cb13fe0 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_builder.go @@ -51,8 +51,6 @@ func NewValue() *ValueBuilder { } // Unit sets the value of the 'unit' attribute to the given value. -// -// func (b *ValueBuilder) Unit(value string) *ValueBuilder { b.unit = value b.bitmap_ |= 1 @@ -60,8 +58,6 @@ func (b *ValueBuilder) Unit(value string) *ValueBuilder { } // Value sets the value of the 'value' attribute to the given value. -// -// func (b *ValueBuilder) Value(value float64) *ValueBuilder { b.value = value b.bitmap_ |= 2 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_list_type_json.go index b01ec25e0..e8e641e07 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/value_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalValueList(source interface{}) (items []*Value, err error) { return } -// readValueList reads list of values of the ''value' type from +// readValueList reads list of values of the ”value' type from // the given iterator. func readValueList(iterator *jsoniter.Iterator) []*Value { list := []*Value{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_builder.go index 3d6ea4044..d56a732b8 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_builder.go @@ -65,8 +65,6 @@ func (b *VersionBuilder) HREF(value string) *VersionBuilder { } // ROSAEnabled sets the value of the 'ROSA_enabled' attribute to the given value. -// -// func (b *VersionBuilder) ROSAEnabled(value bool) *VersionBuilder { b.rosaEnabled = value b.bitmap_ |= 8 @@ -74,8 +72,6 @@ func (b *VersionBuilder) ROSAEnabled(value bool) *VersionBuilder { } // AvailableUpgrades sets the value of the 'available_upgrades' attribute to the given values. -// -// func (b *VersionBuilder) AvailableUpgrades(values ...string) *VersionBuilder { b.availableUpgrades = make([]string, len(values)) copy(b.availableUpgrades, values) @@ -84,8 +80,6 @@ func (b *VersionBuilder) AvailableUpgrades(values ...string) *VersionBuilder { } // ChannelGroup sets the value of the 'channel_group' attribute to the given value. -// -// func (b *VersionBuilder) ChannelGroup(value string) *VersionBuilder { b.channelGroup = value b.bitmap_ |= 32 @@ -93,8 +87,6 @@ func (b *VersionBuilder) ChannelGroup(value string) *VersionBuilder { } // Default sets the value of the 'default' attribute to the given value. -// -// func (b *VersionBuilder) Default(value bool) *VersionBuilder { b.default_ = value b.bitmap_ |= 64 @@ -102,8 +94,6 @@ func (b *VersionBuilder) Default(value bool) *VersionBuilder { } // Enabled sets the value of the 'enabled' attribute to the given value. -// -// func (b *VersionBuilder) Enabled(value bool) *VersionBuilder { b.enabled = value b.bitmap_ |= 128 @@ -111,8 +101,6 @@ func (b *VersionBuilder) Enabled(value bool) *VersionBuilder { } // EndOfLifeTimestamp sets the value of the 'end_of_life_timestamp' attribute to the given value. -// -// func (b *VersionBuilder) EndOfLifeTimestamp(value time.Time) *VersionBuilder { b.endOfLifeTimestamp = value b.bitmap_ |= 256 @@ -120,8 +108,6 @@ func (b *VersionBuilder) EndOfLifeTimestamp(value time.Time) *VersionBuilder { } // RawID sets the value of the 'raw_ID' attribute to the given value. -// -// func (b *VersionBuilder) RawID(value string) *VersionBuilder { b.rawID = value b.bitmap_ |= 512 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_client.go index d71437508..1ea07a86a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_client.go @@ -156,16 +156,12 @@ func (r *VersionPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *VersionPollResponse) Body() *Version { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *VersionPollResponse) GetBody() (value *Version, ok bool) { return r.response.GetBody() } @@ -278,8 +274,6 @@ func (r *VersionGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *VersionGetResponse) Body() *Version { if r == nil { return nil @@ -289,8 +283,6 @@ func (r *VersionGetResponse) Body() *Version { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *VersionGetResponse) GetBody() (value *Version, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_list_type_json.go index 76d1a2a86..ea17d7d54 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalVersionList(source interface{}) (items []*Version, err error) { return } -// readVersionList reads list of values of the ''version' type from +// readVersionList reads list of values of the ”version' type from // the given iterator. func readVersionList(iterator *jsoniter.Iterator) []*Version { list := []*Version{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_server.go index 3c5d6a93a..80a3623d1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1/version_server.go @@ -48,8 +48,6 @@ type VersionGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *VersionGetServerResponse) Body(value *Version) *VersionGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/configuration/doc.go b/vendor/github.com/openshift-online/ocm-sdk-go/configuration/doc.go index d3f4a218f..5237d69c4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/configuration/doc.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/configuration/doc.go @@ -72,7 +72,7 @@ limitations under the License. // This can be used with the following Go code: // // type MyConfig struct { -// MyId int `yaml:"myid"` +// MyId int `yaml:"myid"` // MyEnabled bool `yaml:"myenabled"` // } // var myCfg MyConfig diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/connection.go b/vendor/github.com/openshift-online/ocm-sdk-go/connection.go index ebe9155f7..c853c03c4 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/connection.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/connection.go @@ -462,21 +462,21 @@ func (b *ConnectionBuilder) TransportWrapper(value TransportWrapper) *Connection // To calculate the average request duration during the last 10 minutes, for example, use a // Prometheus expression like this: // -// rate(api_outbound_request_duration_sum[10m]) / rate(api_outbound_request_duration_count[10m]) +// rate(api_outbound_request_duration_sum[10m]) / rate(api_outbound_request_duration_count[10m]) // // In order to reduce the cardinality of the metrics the path label is modified to remove the // identifiers of the objects. For example, if the original path is .../clusters/123 then it will // be replaced by .../clusters/-, and the values will be accumulated. The line returned by the // metrics server will be like this: // -// api_outbound_request_count{code="200",method="GET",path="/api/clusters_mgmt/v1/clusters/-"} 56 +// api_outbound_request_count{code="200",method="GET",path="/api/clusters_mgmt/v1/clusters/-"} 56 // // The meaning of that is that there were a total of 56 requests to get specific clusters, // independently of the specific identifier of the cluster. // // The token request metrics will contain the following labels: // -// code - HTTP response code, for example 200 or 500. +// code - HTTP response code, for example 200 or 500. // // The value of the `code` label will be zero when sending the request failed without a response // code, for example if it wasn't possible to open the connection, or if there was a timeout waiting diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/internal/server_address.go b/vendor/github.com/openshift-online/ocm-sdk-go/internal/server_address.go index 5c8068aaa..bfab47919 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/internal/server_address.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/internal/server_address.go @@ -90,11 +90,11 @@ type ServerAddress struct { // // Some examples of valid server addresses: // -// - http://my.server.com - HTTP on top of TCP. -// - https://my.server.com - HTTPS on top of TCP. -// - unix://my.server.com/sockets/my.socket - HTTP on top Unix socket. -// - unix+https://my.server.com/sockets/my.socket - HTTPS on top of Unix socket. -// - h2c+unix://my.server.com?socket=/sockets/my.socket - H2C on top of Unix. +// - http://my.server.com - HTTP on top of TCP. +// - https://my.server.com - HTTPS on top of TCP. +// - unix://my.server.com/sockets/my.socket - HTTP on top Unix socket. +// - unix+https://my.server.com/sockets/my.socket - HTTPS on top of Unix socket. +// - h2c+unix://my.server.com?socket=/sockets/my.socket - H2C on top of Unix. func ParseServerAddress(ctx context.Context, text string) (result *ServerAddress, err error) { // Parse the URL: parsed, err := neturl.Parse(text) diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_other.go b/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_other.go index 17dbb683c..1800182e1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_other.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_other.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows /* diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_windows.go b/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_windows.go index 7bede4ac8..b8ce26c38 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_windows.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/internal/system_cas_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows /* diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/boolean_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/boolean_list_type_json.go index a64657a3c..d1eedcf9d 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/boolean_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/boolean_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalBooleanList(source interface{}) (items []bool, err error) { return } -// readBooleanList reads list of values of the ''boolean' type from +// readBooleanList reads list of values of the ”boolean' type from // the given iterator. func readBooleanList(iterator *jsoniter.Iterator) []bool { list := []bool{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/date_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/date_list_type_json.go index 9cb2fdde9..7617797b2 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/date_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/date_list_type_json.go @@ -61,7 +61,7 @@ func UnmarshalDateList(source interface{}) (items []time.Time, err error) { return } -// readDateList reads list of values of the ''date' type from +// readDateList reads list of values of the ”date' type from // the given iterator. func readDateList(iterator *jsoniter.Iterator) []time.Time { list := []time.Time{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/float_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/float_list_type_json.go index 9f1dcf348..51b7c0f42 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/float_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/float_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFloatList(source interface{}) (items []float64, err error) { return } -// readFloatList reads list of values of the ''float' type from +// readFloatList reads list of values of the ”float' type from // the given iterator. func readFloatList(iterator *jsoniter.Iterator) []float64 { list := []float64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/integer_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/integer_list_type_json.go index 4aa842f25..24df1d95b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/integer_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/integer_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIntegerList(source interface{}) (items []int, err error) { return } -// readIntegerList reads list of values of the ''integer' type from +// readIntegerList reads list of values of the ”integer' type from // the given iterator. func readIntegerList(iterator *jsoniter.Iterator) []int { list := []int{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/interface_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/interface_list_type_json.go index 4d24aee24..b413a4bfa 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/interface_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/interface_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error) return } -// readInterfaceList reads list of values of the ''interface' type from +// readInterfaceList reads list of values of the ”interface' type from // the given iterator. func readInterfaceList(iterator *jsoniter.Iterator) []interface{} { list := []interface{}{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_builder.go index c91728a3e..69d84b344 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_builder.go @@ -64,8 +64,6 @@ func (b *JobBuilder) HREF(value string) *JobBuilder { } // AbandonedAt sets the value of the 'abandoned_at' attribute to the given value. -// -// func (b *JobBuilder) AbandonedAt(value time.Time) *JobBuilder { b.abandonedAt = value b.bitmap_ |= 8 @@ -73,8 +71,6 @@ func (b *JobBuilder) AbandonedAt(value time.Time) *JobBuilder { } // Arguments sets the value of the 'arguments' attribute to the given value. -// -// func (b *JobBuilder) Arguments(value string) *JobBuilder { b.arguments = value b.bitmap_ |= 16 @@ -82,8 +78,6 @@ func (b *JobBuilder) Arguments(value string) *JobBuilder { } // Attempts sets the value of the 'attempts' attribute to the given value. -// -// func (b *JobBuilder) Attempts(value int) *JobBuilder { b.attempts = value b.bitmap_ |= 32 @@ -91,8 +85,6 @@ func (b *JobBuilder) Attempts(value int) *JobBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *JobBuilder) CreatedAt(value time.Time) *JobBuilder { b.createdAt = value b.bitmap_ |= 64 @@ -100,8 +92,6 @@ func (b *JobBuilder) CreatedAt(value time.Time) *JobBuilder { } // ReceiptId sets the value of the 'receipt_id' attribute to the given value. -// -// func (b *JobBuilder) ReceiptId(value string) *JobBuilder { b.receiptId = value b.bitmap_ |= 128 @@ -109,8 +99,6 @@ func (b *JobBuilder) ReceiptId(value string) *JobBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *JobBuilder) UpdatedAt(value time.Time) *JobBuilder { b.updatedAt = value b.bitmap_ |= 256 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_client.go index 02ff6c2e8..6d5f2baf6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_client.go @@ -94,8 +94,6 @@ func (r *JobFailureRequest) Header(name string, value interface{}) *JobFailureRe } // FailureReason sets the value of the 'failure_reason' parameter. -// -// func (r *JobFailureRequest) FailureReason(value string) *JobFailureRequest { r.failureReason = &value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_list_type_json.go index b99c3c72a..dc43b6609 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalJobList(source interface{}) (items []*Job, err error) { return } -// readJobList reads list of values of the ''job' type from +// readJobList reads list of values of the ”job' type from // the given iterator. func readJobList(iterator *jsoniter.Iterator) []*Job { list := []*Job{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_server.go index 7c5f0c041..823f38a09 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_server.go @@ -48,8 +48,6 @@ type JobFailureServerRequest struct { } // FailureReason returns the value of the 'failure_reason' parameter. -// -// func (r *JobFailureServerRequest) FailureReason() string { if r != nil && r.failureReason != nil { return *r.failureReason @@ -59,8 +57,6 @@ func (r *JobFailureServerRequest) FailureReason() string { // GetFailureReason returns the value of the 'failure_reason' parameter and // a flag indicating if the parameter has a value. -// -// func (r *JobFailureServerRequest) GetFailureReason() (value string, ok bool) { ok = r != nil && r.failureReason != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_type.go index 90ec0c6f6..9b3e20a2a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/job_type.go @@ -178,8 +178,6 @@ func (o *Job) GetAttempts() (value int, ok bool) { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Job) CreatedAt() time.Time { if o != nil && o.bitmap_&64 != 0 { return o.createdAt @@ -189,8 +187,6 @@ func (o *Job) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Job) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -224,8 +220,6 @@ func (o *Job) GetReceiptId() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Job) UpdatedAt() time.Time { if o != nil && o.bitmap_&256 != 0 { return o.updatedAt @@ -235,8 +229,6 @@ func (o *Job) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Job) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&256 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/long_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/long_list_type_json.go index d30b87f11..2b664a0fd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/long_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/long_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLongList(source interface{}) (items []int64, err error) { return } -// readLongList reads list of values of the ''long' type from +// readLongList reads list of values of the ”long' type from // the given iterator. func readLongList(iterator *jsoniter.Iterator) []int64 { list := []int64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_builder.go index eebbce33d..de5506d56 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_builder.go @@ -24,8 +24,6 @@ import ( ) // QueueBuilder contains the data and logic needed to build 'queue' objects. -// -// type QueueBuilder struct { bitmap_ uint32 id string @@ -63,8 +61,6 @@ func (b *QueueBuilder) HREF(value string) *QueueBuilder { } // CreatedAt sets the value of the 'created_at' attribute to the given value. -// -// func (b *QueueBuilder) CreatedAt(value time.Time) *QueueBuilder { b.createdAt = value b.bitmap_ |= 8 @@ -72,8 +68,6 @@ func (b *QueueBuilder) CreatedAt(value time.Time) *QueueBuilder { } // MaxAttempts sets the value of the 'max_attempts' attribute to the given value. -// -// func (b *QueueBuilder) MaxAttempts(value int) *QueueBuilder { b.maxAttempts = value b.bitmap_ |= 16 @@ -81,8 +75,6 @@ func (b *QueueBuilder) MaxAttempts(value int) *QueueBuilder { } // MaxRunTime sets the value of the 'max_run_time' attribute to the given value. -// -// func (b *QueueBuilder) MaxRunTime(value int) *QueueBuilder { b.maxRunTime = value b.bitmap_ |= 32 @@ -90,8 +82,6 @@ func (b *QueueBuilder) MaxRunTime(value int) *QueueBuilder { } // Name sets the value of the 'name' attribute to the given value. -// -// func (b *QueueBuilder) Name(value string) *QueueBuilder { b.name = value b.bitmap_ |= 64 @@ -99,8 +89,6 @@ func (b *QueueBuilder) Name(value string) *QueueBuilder { } // UpdatedAt sets the value of the 'updated_at' attribute to the given value. -// -// func (b *QueueBuilder) UpdatedAt(value time.Time) *QueueBuilder { b.updatedAt = value b.bitmap_ |= 128 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_client.go index 2ad567efb..714d07be1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_client.go @@ -191,16 +191,12 @@ func (r *QueuePollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *QueuePollResponse) Body() *Queue { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePollResponse) GetBody() (value *Queue, ok bool) { return r.response.GetBody() } @@ -313,8 +309,6 @@ func (r *QueueGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *QueueGetResponse) Body() *Queue { if r == nil { return nil @@ -324,8 +318,6 @@ func (r *QueueGetResponse) Body() *Queue { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueueGetResponse) GetBody() (value *Queue, ok bool) { ok = r != nil && r.body != nil if ok { @@ -442,8 +434,6 @@ func (r *QueuePopResponse) Error() *errors.Error { } // HREF returns the value of the 'HREF' parameter. -// -// func (r *QueuePopResponse) HREF() string { if r != nil && r.href != nil { return *r.href @@ -453,8 +443,6 @@ func (r *QueuePopResponse) HREF() string { // GetHREF returns the value of the 'HREF' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetHREF() (value string, ok bool) { ok = r != nil && r.href != nil if ok { @@ -464,8 +452,6 @@ func (r *QueuePopResponse) GetHREF() (value string, ok bool) { } // ID returns the value of the 'ID' parameter. -// -// func (r *QueuePopResponse) ID() string { if r != nil && r.id != nil { return *r.id @@ -475,8 +461,6 @@ func (r *QueuePopResponse) ID() string { // GetID returns the value of the 'ID' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetID() (value string, ok bool) { ok = r != nil && r.id != nil if ok { @@ -486,8 +470,6 @@ func (r *QueuePopResponse) GetID() (value string, ok bool) { } // AbandonedAt returns the value of the 'abandoned_at' parameter. -// -// func (r *QueuePopResponse) AbandonedAt() time.Time { if r != nil && r.abandonedAt != nil { return *r.abandonedAt @@ -497,8 +479,6 @@ func (r *QueuePopResponse) AbandonedAt() time.Time { // GetAbandonedAt returns the value of the 'abandoned_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetAbandonedAt() (value time.Time, ok bool) { ok = r != nil && r.abandonedAt != nil if ok { @@ -508,8 +488,6 @@ func (r *QueuePopResponse) GetAbandonedAt() (value time.Time, ok bool) { } // Arguments returns the value of the 'arguments' parameter. -// -// func (r *QueuePopResponse) Arguments() string { if r != nil && r.arguments != nil { return *r.arguments @@ -519,8 +497,6 @@ func (r *QueuePopResponse) Arguments() string { // GetArguments returns the value of the 'arguments' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetArguments() (value string, ok bool) { ok = r != nil && r.arguments != nil if ok { @@ -530,8 +506,6 @@ func (r *QueuePopResponse) GetArguments() (value string, ok bool) { } // Attempts returns the value of the 'attempts' parameter. -// -// func (r *QueuePopResponse) Attempts() int { if r != nil && r.attempts != nil { return *r.attempts @@ -541,8 +515,6 @@ func (r *QueuePopResponse) Attempts() int { // GetAttempts returns the value of the 'attempts' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetAttempts() (value int, ok bool) { ok = r != nil && r.attempts != nil if ok { @@ -552,8 +524,6 @@ func (r *QueuePopResponse) GetAttempts() (value int, ok bool) { } // CreatedAt returns the value of the 'created_at' parameter. -// -// func (r *QueuePopResponse) CreatedAt() time.Time { if r != nil && r.createdAt != nil { return *r.createdAt @@ -563,8 +533,6 @@ func (r *QueuePopResponse) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetCreatedAt() (value time.Time, ok bool) { ok = r != nil && r.createdAt != nil if ok { @@ -574,8 +542,6 @@ func (r *QueuePopResponse) GetCreatedAt() (value time.Time, ok bool) { } // Kind returns the value of the 'kind' parameter. -// -// func (r *QueuePopResponse) Kind() string { if r != nil && r.kind != nil { return *r.kind @@ -585,8 +551,6 @@ func (r *QueuePopResponse) Kind() string { // GetKind returns the value of the 'kind' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetKind() (value string, ok bool) { ok = r != nil && r.kind != nil if ok { @@ -596,8 +560,6 @@ func (r *QueuePopResponse) GetKind() (value string, ok bool) { } // ReceiptId returns the value of the 'receipt_id' parameter. -// -// func (r *QueuePopResponse) ReceiptId() string { if r != nil && r.receiptId != nil { return *r.receiptId @@ -607,8 +569,6 @@ func (r *QueuePopResponse) ReceiptId() string { // GetReceiptId returns the value of the 'receipt_id' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetReceiptId() (value string, ok bool) { ok = r != nil && r.receiptId != nil if ok { @@ -618,8 +578,6 @@ func (r *QueuePopResponse) GetReceiptId() (value string, ok bool) { } // UpdatedAt returns the value of the 'updated_at' parameter. -// -// func (r *QueuePopResponse) UpdatedAt() time.Time { if r != nil && r.updatedAt != nil { return *r.updatedAt @@ -629,8 +587,6 @@ func (r *QueuePopResponse) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePopResponse) GetUpdatedAt() (value time.Time, ok bool) { ok = r != nil && r.updatedAt != nil if ok { @@ -664,32 +620,24 @@ func (r *QueuePushRequest) Header(name string, value interface{}) *QueuePushRequ } // AbandonedAt sets the value of the 'abandoned_at' parameter. -// -// func (r *QueuePushRequest) AbandonedAt(value time.Time) *QueuePushRequest { r.abandonedAt = &value return r } // Arguments sets the value of the 'arguments' parameter. -// -// func (r *QueuePushRequest) Arguments(value string) *QueuePushRequest { r.arguments = &value return r } // Attempts sets the value of the 'attempts' parameter. -// -// func (r *QueuePushRequest) Attempts(value int) *QueuePushRequest { r.attempts = &value return r } // CreatedAt sets the value of the 'created_at' parameter. -// -// func (r *QueuePushRequest) CreatedAt(value time.Time) *QueuePushRequest { r.createdAt = &value return r @@ -799,8 +747,6 @@ func (r *QueuePushResponse) Error() *errors.Error { } // HREF returns the value of the 'HREF' parameter. -// -// func (r *QueuePushResponse) HREF() string { if r != nil && r.href != nil { return *r.href @@ -810,8 +756,6 @@ func (r *QueuePushResponse) HREF() string { // GetHREF returns the value of the 'HREF' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetHREF() (value string, ok bool) { ok = r != nil && r.href != nil if ok { @@ -821,8 +765,6 @@ func (r *QueuePushResponse) GetHREF() (value string, ok bool) { } // ID returns the value of the 'ID' parameter. -// -// func (r *QueuePushResponse) ID() string { if r != nil && r.id != nil { return *r.id @@ -832,8 +774,6 @@ func (r *QueuePushResponse) ID() string { // GetID returns the value of the 'ID' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetID() (value string, ok bool) { ok = r != nil && r.id != nil if ok { @@ -843,8 +783,6 @@ func (r *QueuePushResponse) GetID() (value string, ok bool) { } // AbandonedAt returns the value of the 'abandoned_at' parameter. -// -// func (r *QueuePushResponse) AbandonedAt() time.Time { if r != nil && r.abandonedAt != nil { return *r.abandonedAt @@ -854,8 +792,6 @@ func (r *QueuePushResponse) AbandonedAt() time.Time { // GetAbandonedAt returns the value of the 'abandoned_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetAbandonedAt() (value time.Time, ok bool) { ok = r != nil && r.abandonedAt != nil if ok { @@ -865,8 +801,6 @@ func (r *QueuePushResponse) GetAbandonedAt() (value time.Time, ok bool) { } // Arguments returns the value of the 'arguments' parameter. -// -// func (r *QueuePushResponse) Arguments() string { if r != nil && r.arguments != nil { return *r.arguments @@ -876,8 +810,6 @@ func (r *QueuePushResponse) Arguments() string { // GetArguments returns the value of the 'arguments' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetArguments() (value string, ok bool) { ok = r != nil && r.arguments != nil if ok { @@ -887,8 +819,6 @@ func (r *QueuePushResponse) GetArguments() (value string, ok bool) { } // Attempts returns the value of the 'attempts' parameter. -// -// func (r *QueuePushResponse) Attempts() int { if r != nil && r.attempts != nil { return *r.attempts @@ -898,8 +828,6 @@ func (r *QueuePushResponse) Attempts() int { // GetAttempts returns the value of the 'attempts' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetAttempts() (value int, ok bool) { ok = r != nil && r.attempts != nil if ok { @@ -909,8 +837,6 @@ func (r *QueuePushResponse) GetAttempts() (value int, ok bool) { } // CreatedAt returns the value of the 'created_at' parameter. -// -// func (r *QueuePushResponse) CreatedAt() time.Time { if r != nil && r.createdAt != nil { return *r.createdAt @@ -920,8 +846,6 @@ func (r *QueuePushResponse) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetCreatedAt() (value time.Time, ok bool) { ok = r != nil && r.createdAt != nil if ok { @@ -931,8 +855,6 @@ func (r *QueuePushResponse) GetCreatedAt() (value time.Time, ok bool) { } // Kind returns the value of the 'kind' parameter. -// -// func (r *QueuePushResponse) Kind() string { if r != nil && r.kind != nil { return *r.kind @@ -942,8 +864,6 @@ func (r *QueuePushResponse) Kind() string { // GetKind returns the value of the 'kind' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetKind() (value string, ok bool) { ok = r != nil && r.kind != nil if ok { @@ -953,8 +873,6 @@ func (r *QueuePushResponse) GetKind() (value string, ok bool) { } // ReceiptId returns the value of the 'receipt_id' parameter. -// -// func (r *QueuePushResponse) ReceiptId() string { if r != nil && r.receiptId != nil { return *r.receiptId @@ -964,8 +882,6 @@ func (r *QueuePushResponse) ReceiptId() string { // GetReceiptId returns the value of the 'receipt_id' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetReceiptId() (value string, ok bool) { ok = r != nil && r.receiptId != nil if ok { @@ -975,8 +891,6 @@ func (r *QueuePushResponse) GetReceiptId() (value string, ok bool) { } // UpdatedAt returns the value of the 'updated_at' parameter. -// -// func (r *QueuePushResponse) UpdatedAt() time.Time { if r != nil && r.updatedAt != nil { return *r.updatedAt @@ -986,8 +900,6 @@ func (r *QueuePushResponse) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushResponse) GetUpdatedAt() (value time.Time, ok bool) { ok = r != nil && r.updatedAt != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_list_type_json.go index 953ac5202..c3f85a8e6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalQueueList(source interface{}) (items []*Queue, err error) { return } -// readQueueList reads list of values of the ''queue' type from +// readQueueList reads list of values of the ”queue' type from // the given iterator. func readQueueList(iterator *jsoniter.Iterator) []*Queue { list := []*Queue{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_server.go index d79180e9f..abbd6d8b1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_server.go @@ -64,8 +64,6 @@ type QueueGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *QueueGetServerResponse) Body(value *Queue) *QueueGetServerResponse { r.body = value return r @@ -97,72 +95,54 @@ type QueuePopServerResponse struct { } // HREF sets the value of the 'HREF' parameter. -// -// func (r *QueuePopServerResponse) HREF(value string) *QueuePopServerResponse { r.href = &value return r } // ID sets the value of the 'ID' parameter. -// -// func (r *QueuePopServerResponse) ID(value string) *QueuePopServerResponse { r.id = &value return r } // AbandonedAt sets the value of the 'abandoned_at' parameter. -// -// func (r *QueuePopServerResponse) AbandonedAt(value time.Time) *QueuePopServerResponse { r.abandonedAt = &value return r } // Arguments sets the value of the 'arguments' parameter. -// -// func (r *QueuePopServerResponse) Arguments(value string) *QueuePopServerResponse { r.arguments = &value return r } // Attempts sets the value of the 'attempts' parameter. -// -// func (r *QueuePopServerResponse) Attempts(value int) *QueuePopServerResponse { r.attempts = &value return r } // CreatedAt sets the value of the 'created_at' parameter. -// -// func (r *QueuePopServerResponse) CreatedAt(value time.Time) *QueuePopServerResponse { r.createdAt = &value return r } // Kind sets the value of the 'kind' parameter. -// -// func (r *QueuePopServerResponse) Kind(value string) *QueuePopServerResponse { r.kind = &value return r } // ReceiptId sets the value of the 'receipt_id' parameter. -// -// func (r *QueuePopServerResponse) ReceiptId(value string) *QueuePopServerResponse { r.receiptId = &value return r } // UpdatedAt sets the value of the 'updated_at' parameter. -// -// func (r *QueuePopServerResponse) UpdatedAt(value time.Time) *QueuePopServerResponse { r.updatedAt = &value return r @@ -183,8 +163,6 @@ type QueuePushServerRequest struct { } // AbandonedAt returns the value of the 'abandoned_at' parameter. -// -// func (r *QueuePushServerRequest) AbandonedAt() time.Time { if r != nil && r.abandonedAt != nil { return *r.abandonedAt @@ -194,8 +172,6 @@ func (r *QueuePushServerRequest) AbandonedAt() time.Time { // GetAbandonedAt returns the value of the 'abandoned_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushServerRequest) GetAbandonedAt() (value time.Time, ok bool) { ok = r != nil && r.abandonedAt != nil if ok { @@ -205,8 +181,6 @@ func (r *QueuePushServerRequest) GetAbandonedAt() (value time.Time, ok bool) { } // Arguments returns the value of the 'arguments' parameter. -// -// func (r *QueuePushServerRequest) Arguments() string { if r != nil && r.arguments != nil { return *r.arguments @@ -216,8 +190,6 @@ func (r *QueuePushServerRequest) Arguments() string { // GetArguments returns the value of the 'arguments' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushServerRequest) GetArguments() (value string, ok bool) { ok = r != nil && r.arguments != nil if ok { @@ -227,8 +199,6 @@ func (r *QueuePushServerRequest) GetArguments() (value string, ok bool) { } // Attempts returns the value of the 'attempts' parameter. -// -// func (r *QueuePushServerRequest) Attempts() int { if r != nil && r.attempts != nil { return *r.attempts @@ -238,8 +208,6 @@ func (r *QueuePushServerRequest) Attempts() int { // GetAttempts returns the value of the 'attempts' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushServerRequest) GetAttempts() (value int, ok bool) { ok = r != nil && r.attempts != nil if ok { @@ -249,8 +217,6 @@ func (r *QueuePushServerRequest) GetAttempts() (value int, ok bool) { } // CreatedAt returns the value of the 'created_at' parameter. -// -// func (r *QueuePushServerRequest) CreatedAt() time.Time { if r != nil && r.createdAt != nil { return *r.createdAt @@ -260,8 +226,6 @@ func (r *QueuePushServerRequest) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' parameter and // a flag indicating if the parameter has a value. -// -// func (r *QueuePushServerRequest) GetCreatedAt() (value time.Time, ok bool) { ok = r != nil && r.createdAt != nil if ok { @@ -286,72 +250,54 @@ type QueuePushServerResponse struct { } // HREF sets the value of the 'HREF' parameter. -// -// func (r *QueuePushServerResponse) HREF(value string) *QueuePushServerResponse { r.href = &value return r } // ID sets the value of the 'ID' parameter. -// -// func (r *QueuePushServerResponse) ID(value string) *QueuePushServerResponse { r.id = &value return r } // AbandonedAt sets the value of the 'abandoned_at' parameter. -// -// func (r *QueuePushServerResponse) AbandonedAt(value time.Time) *QueuePushServerResponse { r.abandonedAt = &value return r } // Arguments sets the value of the 'arguments' parameter. -// -// func (r *QueuePushServerResponse) Arguments(value string) *QueuePushServerResponse { r.arguments = &value return r } // Attempts sets the value of the 'attempts' parameter. -// -// func (r *QueuePushServerResponse) Attempts(value int) *QueuePushServerResponse { r.attempts = &value return r } // CreatedAt sets the value of the 'created_at' parameter. -// -// func (r *QueuePushServerResponse) CreatedAt(value time.Time) *QueuePushServerResponse { r.createdAt = &value return r } // Kind sets the value of the 'kind' parameter. -// -// func (r *QueuePushServerResponse) Kind(value string) *QueuePushServerResponse { r.kind = &value return r } // ReceiptId sets the value of the 'receipt_id' parameter. -// -// func (r *QueuePushServerResponse) ReceiptId(value string) *QueuePushServerResponse { r.receiptId = &value return r } // UpdatedAt sets the value of the 'updated_at' parameter. -// -// func (r *QueuePushServerResponse) UpdatedAt(value time.Time) *QueuePushServerResponse { r.updatedAt = &value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_type.go index 16ab2e11b..3c85bc598 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/queue_type.go @@ -36,8 +36,6 @@ const QueueLinkKind = "QueueLink" const QueueNilKind = "QueueNil" // Queue represents the values of the 'queue' type. -// -// type Queue struct { bitmap_ uint32 id string @@ -108,8 +106,6 @@ func (o *Queue) Empty() bool { // CreatedAt returns the value of the 'created_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Queue) CreatedAt() time.Time { if o != nil && o.bitmap_&8 != 0 { return o.createdAt @@ -119,8 +115,6 @@ func (o *Queue) CreatedAt() time.Time { // GetCreatedAt returns the value of the 'created_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Queue) GetCreatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&8 != 0 if ok { @@ -154,8 +148,6 @@ func (o *Queue) GetMaxAttempts() (value int, ok bool) { // MaxRunTime returns the value of the 'max_run_time' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Queue) MaxRunTime() int { if o != nil && o.bitmap_&32 != 0 { return o.maxRunTime @@ -165,8 +157,6 @@ func (o *Queue) MaxRunTime() int { // GetMaxRunTime returns the value of the 'max_run_time' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Queue) GetMaxRunTime() (value int, ok bool) { ok = o != nil && o.bitmap_&32 != 0 if ok { @@ -177,8 +167,6 @@ func (o *Queue) GetMaxRunTime() (value int, ok bool) { // Name returns the value of the 'name' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Queue) Name() string { if o != nil && o.bitmap_&64 != 0 { return o.name @@ -188,8 +176,6 @@ func (o *Queue) Name() string { // GetName returns the value of the 'name' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Queue) GetName() (value string, ok bool) { ok = o != nil && o.bitmap_&64 != 0 if ok { @@ -200,8 +186,6 @@ func (o *Queue) GetName() (value string, ok bool) { // UpdatedAt returns the value of the 'updated_at' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *Queue) UpdatedAt() time.Time { if o != nil && o.bitmap_&128 != 0 { return o.updatedAt @@ -211,8 +195,6 @@ func (o *Queue) UpdatedAt() time.Time { // GetUpdatedAt returns the value of the 'updated_at' attribute and // a flag indicating if the attribute has a value. -// -// func (o *Queue) GetUpdatedAt() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&128 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/string_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/string_list_type_json.go index fefea9520..209f43928 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/string_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/jobqueue/v1/string_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalStringList(source interface{}) (items []string, err error) { return } -// readStringList reads list of values of the ''string' type from +// readStringList reads list of values of the ”string' type from // the given iterator. func readStringList(iterator *jsoniter.Iterator) []string { list := []string{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/metrics/handler_wrapper.go b/vendor/github.com/openshift-online/ocm-sdk-go/metrics/handler_wrapper.go index 4a7a3ab92..8d1b214e1 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/metrics/handler_wrapper.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/metrics/handler_wrapper.go @@ -50,15 +50,15 @@ import ( // To calculate the average request duration during the last 10 minutes, for example, use a // Prometheus expression like this: // -// rate(api_outbound_request_duration_sum[10m]) / rate(api_outbound_request_duration_count[10m]) +// rate(api_outbound_request_duration_sum[10m]) / rate(api_outbound_request_duration_count[10m]) // // In order to reduce the cardinality of the metrics the path label is modified to remove the // identifiers of the objects. For example, if the original path is .../clusters/123 then it will // be replaced by .../clusters/-, and the values will be accumulated. The line returned by the // metrics server will be like this: // -// _request_count{code="200",method="GET",path="/api/clusters_mgmt/v1/clusters/-", -// apiservice="ocm-clusters-service"} 56 +// _request_count{code="200",method="GET",path="/api/clusters_mgmt/v1/clusters/-", +// apiservice="ocm-clusters-service"} 56 // // The meaning of that is that there were a total of 56 requests to get specific clusters, // independently of the specific identifier of the cluster. diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/metrics/transport_wrapper.go b/vendor/github.com/openshift-online/ocm-sdk-go/metrics/transport_wrapper.go index a44161b5a..892cd9b5e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/metrics/transport_wrapper.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/metrics/transport_wrapper.go @@ -50,15 +50,15 @@ import ( // To calculate the average request duration during the last 10 minutes, for example, use a // Prometheus expression like this: // -// rate(api_outbound_request_duration_sum[10m]) / rate(api_outbound_request_duration_count[10m]) +// rate(api_outbound_request_duration_sum[10m]) / rate(api_outbound_request_duration_count[10m]) // // In order to reduce the cardinality of the metrics the path label is modified to remove the // identifiers of the objects. For example, if the original path is .../clusters/123 then it will // be replaced by .../clusters/-, and the values will be accumulated. The line returned by the // metrics server will be like this: // -// _request_count{code="200",method="GET",path="/api/clusters_mgmt/v1/clusters/-", -// apiservice="ocm-clusters-service"} 56 +// _request_count{code="200",method="GET",path="/api/clusters_mgmt/v1/clusters/-", +// apiservice="ocm-clusters-service"} 56 // // The meaning of that is that there were a total of 56 requests to get specific clusters, // independently of the specific identifier of the cluster. diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/boolean_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/boolean_list_type_json.go index 2d7096878..a3099c05b 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/boolean_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/boolean_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalBooleanList(source interface{}) (items []bool, err error) { return } -// readBooleanList reads list of values of the ''boolean' type from +// readBooleanList reads list of values of the ”boolean' type from // the given iterator. func readBooleanList(iterator *jsoniter.Iterator) []bool { list := []bool{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/date_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/date_list_type_json.go index e81987913..650fafb9e 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/date_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/date_list_type_json.go @@ -61,7 +61,7 @@ func UnmarshalDateList(source interface{}) (items []time.Time, err error) { return } -// readDateList reads list of values of the ''date' type from +// readDateList reads list of values of the ”date' type from // the given iterator. func readDateList(iterator *jsoniter.Iterator) []time.Time { list := []time.Time{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/float_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/float_list_type_json.go index e8ab95864..3971be213 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/float_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/float_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalFloatList(source interface{}) (items []float64, err error) { return } -// readFloatList reads list of values of the ''float' type from +// readFloatList reads list of values of the ”float' type from // the given iterator. func readFloatList(iterator *jsoniter.Iterator) []float64 { list := []float64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/integer_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/integer_list_type_json.go index acdae2fd0..63ca069a6 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/integer_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/integer_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalIntegerList(source interface{}) (items []int, err error) { return } -// readIntegerList reads list of values of the ''integer' type from +// readIntegerList reads list of values of the ”integer' type from // the given iterator. func readIntegerList(iterator *jsoniter.Iterator) []int { list := []int{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/interface_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/interface_list_type_json.go index add2f7634..4b4584123 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/interface_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/interface_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error) return } -// readInterfaceList reads list of values of the ''interface' type from +// readInterfaceList reads list of values of the ”interface' type from // the given iterator. func readInterfaceList(iterator *jsoniter.Iterator) []interface{} { list := []interface{}{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_builder.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_builder.go index 475ef8651..a4cfee817 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_builder.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_builder.go @@ -24,8 +24,6 @@ import ( ) // LogEntryBuilder contains the data and logic needed to build 'log_entry' objects. -// -// type LogEntryBuilder struct { bitmap_ uint32 id string @@ -66,8 +64,6 @@ func (b *LogEntryBuilder) HREF(value string) *LogEntryBuilder { } // ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value. -// -// func (b *LogEntryBuilder) ClusterUUID(value string) *LogEntryBuilder { b.clusterUUID = value b.bitmap_ |= 8 @@ -75,8 +71,6 @@ func (b *LogEntryBuilder) ClusterUUID(value string) *LogEntryBuilder { } // Description sets the value of the 'description' attribute to the given value. -// -// func (b *LogEntryBuilder) Description(value string) *LogEntryBuilder { b.description = value b.bitmap_ |= 16 @@ -84,8 +78,6 @@ func (b *LogEntryBuilder) Description(value string) *LogEntryBuilder { } // InternalOnly sets the value of the 'internal_only' attribute to the given value. -// -// func (b *LogEntryBuilder) InternalOnly(value bool) *LogEntryBuilder { b.internalOnly = value b.bitmap_ |= 32 @@ -93,8 +85,6 @@ func (b *LogEntryBuilder) InternalOnly(value bool) *LogEntryBuilder { } // ServiceName sets the value of the 'service_name' attribute to the given value. -// -// func (b *LogEntryBuilder) ServiceName(value string) *LogEntryBuilder { b.serviceName = value b.bitmap_ |= 64 @@ -102,8 +92,6 @@ func (b *LogEntryBuilder) ServiceName(value string) *LogEntryBuilder { } // Severity sets the value of the 'severity' attribute to the given value. -// -// func (b *LogEntryBuilder) Severity(value Severity) *LogEntryBuilder { b.severity = value b.bitmap_ |= 128 @@ -111,8 +99,6 @@ func (b *LogEntryBuilder) Severity(value Severity) *LogEntryBuilder { } // Summary sets the value of the 'summary' attribute to the given value. -// -// func (b *LogEntryBuilder) Summary(value string) *LogEntryBuilder { b.summary = value b.bitmap_ |= 256 @@ -120,8 +106,6 @@ func (b *LogEntryBuilder) Summary(value string) *LogEntryBuilder { } // Timestamp sets the value of the 'timestamp' attribute to the given value. -// -// func (b *LogEntryBuilder) Timestamp(value time.Time) *LogEntryBuilder { b.timestamp = value b.bitmap_ |= 512 @@ -129,8 +113,6 @@ func (b *LogEntryBuilder) Timestamp(value time.Time) *LogEntryBuilder { } // Username sets the value of the 'username' attribute to the given value. -// -// func (b *LogEntryBuilder) Username(value string) *LogEntryBuilder { b.username = value b.bitmap_ |= 1024 diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_client.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_client.go index 910705f7e..0ea19a82a 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_client.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_client.go @@ -166,16 +166,12 @@ func (r *LogEntryPollResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LogEntryPollResponse) Body() *LogEntry { return r.response.Body() } // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LogEntryPollResponse) GetBody() (value *LogEntry, ok bool) { return r.response.GetBody() } @@ -382,8 +378,6 @@ func (r *LogEntryGetResponse) Error() *errors.Error { } // Body returns the value of the 'body' parameter. -// -// func (r *LogEntryGetResponse) Body() *LogEntry { if r == nil { return nil @@ -393,8 +387,6 @@ func (r *LogEntryGetResponse) Body() *LogEntry { // GetBody returns the value of the 'body' parameter and // a flag indicating if the parameter has a value. -// -// func (r *LogEntryGetResponse) GetBody() (value *LogEntry, ok bool) { ok = r != nil && r.body != nil if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_list_type_json.go index ebae87037..def6204dd 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLogEntryList(source interface{}) (items []*LogEntry, err error) { return } -// readLogEntryList reads list of values of the ''log_entry' type from +// readLogEntryList reads list of values of the ”log_entry' type from // the given iterator. func readLogEntryList(iterator *jsoniter.Iterator) []*LogEntry { list := []*LogEntry{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_server.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_server.go index 699785b85..8b3708756 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_server.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_server.go @@ -69,8 +69,6 @@ type LogEntryGetServerResponse struct { } // Body sets the value of the 'body' parameter. -// -// func (r *LogEntryGetServerResponse) Body(value *LogEntry) *LogEntryGetServerResponse { r.body = value return r diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_type.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_type.go index 327e4bfc5..6eac3adad 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_type.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/log_entry_type.go @@ -36,8 +36,6 @@ const LogEntryLinkKind = "LogEntryLink" const LogEntryNilKind = "LogEntryNil" // LogEntry represents the values of the 'log_entry' type. -// -// type LogEntry struct { bitmap_ uint32 id string @@ -249,8 +247,6 @@ func (o *LogEntry) GetSummary() (value string, ok bool) { // Timestamp returns the value of the 'timestamp' attribute, or // the zero value of the type if the attribute doesn't have a value. -// -// func (o *LogEntry) Timestamp() time.Time { if o != nil && o.bitmap_&512 != 0 { return o.timestamp @@ -260,8 +256,6 @@ func (o *LogEntry) Timestamp() time.Time { // GetTimestamp returns the value of the 'timestamp' attribute and // a flag indicating if the attribute has a value. -// -// func (o *LogEntry) GetTimestamp() (value time.Time, ok bool) { ok = o != nil && o.bitmap_&512 != 0 if ok { diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/long_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/long_list_type_json.go index 1bbd95e34..8a7d37f25 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/long_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/long_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalLongList(source interface{}) (items []int64, err error) { return } -// readLongList reads list of values of the ''long' type from +// readLongList reads list of values of the ”long' type from // the given iterator. func readLongList(iterator *jsoniter.Iterator) []int64 { list := []int64{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/severity_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/severity_list_type_json.go index 67d78e798..2b4d00238 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/severity_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/severity_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalSeverityList(source interface{}) (items []Severity, err error) { return } -// readSeverityList reads list of values of the ''severity' type from +// readSeverityList reads list of values of the ”severity' type from // the given iterator. func readSeverityList(iterator *jsoniter.Iterator) []Severity { list := []Severity{} diff --git a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/string_list_type_json.go b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/string_list_type_json.go index 7099f0661..e19259cd3 100644 --- a/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/string_list_type_json.go +++ b/vendor/github.com/openshift-online/ocm-sdk-go/servicelogs/v1/string_list_type_json.go @@ -60,7 +60,7 @@ func UnmarshalStringList(source interface{}) (items []string, err error) { return } -// readStringList reads list of values of the ''string' type from +// readStringList reads list of values of the ”string' type from // the given iterator. func readStringList(iterator *jsoniter.Iterator) []string { list := []string{} diff --git a/vendor/github.com/openshift/api/config/v1/types_cluster_version.go b/vendor/github.com/openshift/api/config/v1/types_cluster_version.go index 2b8c30213..a4490358b 100644 --- a/vendor/github.com/openshift/api/config/v1/types_cluster_version.go +++ b/vendor/github.com/openshift/api/config/v1/types_cluster_version.go @@ -647,8 +647,8 @@ type ComponentOverride struct { type URL string // Update represents an administrator update request. -// +kubebuilder:validation:XValidation:rule="has(self.architecture) && has(self.image) ? (self.architecture == '' || self.image == '') : true",message="cannot set both Architecture and Image" -// +kubebuilder:validation:XValidation:rule="has(self.architecture) && self.architecture != '' ? self.version != '' : true",message="Version must be set if Architecture is set" +// +kubebuilder:validation:XValidation:rule="has(self.architecture) && has(self.image) ? (self.architecture == ” || self.image == ”) : true",message="cannot set both Architecture and Image" +// +kubebuilder:validation:XValidation:rule="has(self.architecture) && self.architecture != ” ? self.version != ” : true",message="Version must be set if Architecture is set" // +k8s:deepcopy-gen=true type Update struct { // architecture is an optional field that indicates the desired diff --git a/vendor/github.com/openshift/assisted-service/api/common/zz_generated.deepcopy.go b/vendor/github.com/openshift/assisted-service/api/common/zz_generated.deepcopy.go index 5eb27ce23..fa787e08e 100644 --- a/vendor/github.com/openshift/assisted-service/api/common/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/assisted-service/api/common/zz_generated.deepcopy.go @@ -20,8 +20,6 @@ limitations under the License. package common -import () - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ValidationResult) DeepCopyInto(out *ValidationResult) { *out = *in diff --git a/vendor/github.com/openshift/assisted-service/api/hiveextension/v1beta1/zz_generated.deepcopy.go b/vendor/github.com/openshift/assisted-service/api/hiveextension/v1beta1/zz_generated.deepcopy.go index cb7798170..0441c9c3a 100644 --- a/vendor/github.com/openshift/assisted-service/api/hiveextension/v1beta1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/assisted-service/api/hiveextension/v1beta1/zz_generated.deepcopy.go @@ -22,7 +22,7 @@ package v1beta1 import ( "github.com/openshift/assisted-service/api/common" - "github.com/openshift/hive/apis/hive/v1" + v1 "github.com/openshift/hive/apis/hive/v1" corev1 "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) diff --git a/vendor/github.com/openshift/custom-resource-status/conditions/v1/zz_generated.deepcopy.go b/vendor/github.com/openshift/custom-resource-status/conditions/v1/zz_generated.deepcopy.go index bbbbf863d..b9b6e6d65 100644 --- a/vendor/github.com/openshift/custom-resource-status/conditions/v1/zz_generated.deepcopy.go +++ b/vendor/github.com/openshift/custom-resource-status/conditions/v1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated // Code generated by deepcopy-gen. DO NOT EDIT. diff --git a/vendor/github.com/openshift/installer/pkg/types/installconfig_libvirt.go b/vendor/github.com/openshift/installer/pkg/types/installconfig_libvirt.go index b1288b208..afa62ed2d 100644 --- a/vendor/github.com/openshift/installer/pkg/types/installconfig_libvirt.go +++ b/vendor/github.com/openshift/installer/pkg/types/installconfig_libvirt.go @@ -1,3 +1,4 @@ +//go:build libvirt // +build libvirt package types diff --git a/vendor/github.com/opentracing/opentracing-go/ext/tags.go b/vendor/github.com/opentracing/opentracing-go/ext/tags.go index a414b5951..3bbdceabd 100644 --- a/vendor/github.com/opentracing/opentracing-go/ext/tags.go +++ b/vendor/github.com/opentracing/opentracing-go/ext/tags.go @@ -7,12 +7,11 @@ import "github.com/opentracing/opentracing-go" // // The tag names are defined as typed strings, so that in addition to the usual use // -// span.setTag(TagName, value) +// span.setTag(TagName, value) // // they also support value type validation via this additional syntax: // -// TagName.Set(span, value) -// +// TagName.Set(span, value) var ( ////////////////////////////////////////////////////////////////////// // SpanKind (client/server or producer/consumer) diff --git a/vendor/github.com/opentracing/opentracing-go/gocontext.go b/vendor/github.com/opentracing/opentracing-go/gocontext.go index 1831bc9b2..15a818832 100644 --- a/vendor/github.com/opentracing/opentracing-go/gocontext.go +++ b/vendor/github.com/opentracing/opentracing-go/gocontext.go @@ -40,11 +40,11 @@ func SpanFromContext(ctx context.Context) Span { // // Example usage: // -// SomeFunction(ctx context.Context, ...) { -// sp, ctx := opentracing.StartSpanFromContext(ctx, "SomeFunction") -// defer sp.Finish() -// ... -// } +// SomeFunction(ctx context.Context, ...) { +// sp, ctx := opentracing.StartSpanFromContext(ctx, "SomeFunction") +// defer sp.Finish() +// ... +// } func StartSpanFromContext(ctx context.Context, operationName string, opts ...StartSpanOption) (Span, context.Context) { return StartSpanFromContextWithTracer(ctx, GlobalTracer(), operationName, opts...) } diff --git a/vendor/github.com/opentracing/opentracing-go/log/field.go b/vendor/github.com/opentracing/opentracing-go/log/field.go index f222ded79..eb47de795 100644 --- a/vendor/github.com/opentracing/opentracing-go/log/field.go +++ b/vendor/github.com/opentracing/opentracing-go/log/field.go @@ -170,15 +170,14 @@ func Lazy(ll LazyLogger) Field { // It can be used to capture optional fields, for example those that should // only be logged in non-production environment: // -// func customerField(order *Order) log.Field { -// if os.Getenv("ENVIRONMENT") == "dev" { -// return log.String("customer", order.Customer.ID) -// } -// return log.Noop() -// } -// -// span.LogFields(log.String("event", "purchase"), customerField(order)) +// func customerField(order *Order) log.Field { +// if os.Getenv("ENVIRONMENT") == "dev" { +// return log.String("customer", order.Customer.ID) +// } +// return log.Noop() +// } // +// span.LogFields(log.String("event", "purchase"), customerField(order)) func Noop() Field { return Field{ fieldType: noopType, diff --git a/vendor/github.com/opentracing/opentracing-go/propagation.go b/vendor/github.com/opentracing/opentracing-go/propagation.go index b0c275eb0..9067d380e 100644 --- a/vendor/github.com/opentracing/opentracing-go/propagation.go +++ b/vendor/github.com/opentracing/opentracing-go/propagation.go @@ -144,17 +144,16 @@ func (c TextMapCarrier) Set(key, val string) { // // Example usage for server side: // -// carrier := opentracing.HTTPHeadersCarrier(httpReq.Header) -// clientContext, err := tracer.Extract(opentracing.HTTPHeaders, carrier) +// carrier := opentracing.HTTPHeadersCarrier(httpReq.Header) +// clientContext, err := tracer.Extract(opentracing.HTTPHeaders, carrier) // // Example usage for client side: // -// carrier := opentracing.HTTPHeadersCarrier(httpReq.Header) -// err := tracer.Inject( -// span.Context(), -// opentracing.HTTPHeaders, -// carrier) -// +// carrier := opentracing.HTTPHeadersCarrier(httpReq.Header) +// err := tracer.Inject( +// span.Context(), +// opentracing.HTTPHeaders, +// carrier) type HTTPHeadersCarrier http.Header // Set conforms to the TextMapWriter interface. diff --git a/vendor/github.com/opentracing/opentracing-go/tracer.go b/vendor/github.com/opentracing/opentracing-go/tracer.go index 715f0cedf..3aaddee0d 100644 --- a/vendor/github.com/opentracing/opentracing-go/tracer.go +++ b/vendor/github.com/opentracing/opentracing-go/tracer.go @@ -121,14 +121,13 @@ type Tracer interface { // Tracer implementations can convert a slice of `StartSpanOption` instances // into a `StartSpanOptions` struct like so: // -// func StartSpan(opName string, opts ...opentracing.StartSpanOption) { -// sso := opentracing.StartSpanOptions{} -// for _, o := range opts { -// o.Apply(&sso) -// } -// ... -// } -// +// func StartSpan(opName string, opts ...opentracing.StartSpanOption) { +// sso := opentracing.StartSpanOptions{} +// for _, o := range opts { +// o.Apply(&sso) +// } +// ... +// } type StartSpanOptions struct { // Zero or more causal references to other Spans (via their SpanContext). // If empty, start a "root" Span (i.e., start a new trace). @@ -212,8 +211,8 @@ const ( // ReferencedContext==nil, it has no effect. Thus it allows for a more concise // syntax for starting spans: // -// sc, _ := tracer.Extract(someFormat, someCarrier) -// span := tracer.StartSpan("operation", opentracing.ChildOf(sc)) +// sc, _ := tracer.Extract(someFormat, someCarrier) +// span := tracer.StartSpan("operation", opentracing.ChildOf(sc)) // // The `ChildOf(sc)` option above will not panic if sc == nil, it will just // not add the parent span reference to the options. @@ -282,7 +281,7 @@ func (t Tags) Apply(o *StartSpanOptions) { // // tracer.StartSpan("opName", Tag{"Key", value}) // -// or +// or // // Tag{"key", value}.Set(span) type Tag struct { diff --git a/vendor/github.com/pkg/errors/errors.go b/vendor/github.com/pkg/errors/errors.go index 161aea258..5d90dd4cc 100644 --- a/vendor/github.com/pkg/errors/errors.go +++ b/vendor/github.com/pkg/errors/errors.go @@ -2,89 +2,89 @@ // // The traditional error handling idiom in Go is roughly akin to // -// if err != nil { -// return err -// } +// if err != nil { +// return err +// } // // which when applied recursively up the call stack results in error reports // without context or debugging information. The errors package allows // programmers to add context to the failure path in their code in a way // that does not destroy the original value of the error. // -// Adding context to an error +// # Adding context to an error // // The errors.Wrap function returns a new error that adds context to the // original error by recording a stack trace at the point Wrap is called, // together with the supplied message. For example // -// _, err := ioutil.ReadAll(r) -// if err != nil { -// return errors.Wrap(err, "read failed") -// } +// _, err := ioutil.ReadAll(r) +// if err != nil { +// return errors.Wrap(err, "read failed") +// } // // If additional control is required, the errors.WithStack and // errors.WithMessage functions destructure errors.Wrap into its component // operations: annotating an error with a stack trace and with a message, // respectively. // -// Retrieving the cause of an error +// # Retrieving the cause of an error // // Using errors.Wrap constructs a stack of errors, adding context to the // preceding error. Depending on the nature of the error it may be necessary // to reverse the operation of errors.Wrap to retrieve the original error // for inspection. Any error value which implements this interface // -// type causer interface { -// Cause() error -// } +// type causer interface { +// Cause() error +// } // // can be inspected by errors.Cause. errors.Cause will recursively retrieve // the topmost error that does not implement causer, which is assumed to be // the original cause. For example: // -// switch err := errors.Cause(err).(type) { -// case *MyError: -// // handle specifically -// default: -// // unknown error -// } +// switch err := errors.Cause(err).(type) { +// case *MyError: +// // handle specifically +// default: +// // unknown error +// } // // Although the causer interface is not exported by this package, it is // considered a part of its stable public interface. // -// Formatted printing of errors +// # Formatted printing of errors // // All error values returned from this package implement fmt.Formatter and can // be formatted by the fmt package. The following verbs are supported: // -// %s print the error. If the error has a Cause it will be -// printed recursively. -// %v see %s -// %+v extended format. Each Frame of the error's StackTrace will -// be printed in detail. +// %s print the error. If the error has a Cause it will be +// printed recursively. +// %v see %s +// %+v extended format. Each Frame of the error's StackTrace will +// be printed in detail. // -// Retrieving the stack trace of an error or wrapper +// # Retrieving the stack trace of an error or wrapper // // New, Errorf, Wrap, and Wrapf record a stack trace at the point they are // invoked. This information can be retrieved with the following interface: // -// type stackTracer interface { -// StackTrace() errors.StackTrace -// } +// type stackTracer interface { +// StackTrace() errors.StackTrace +// } // // The returned errors.StackTrace type is defined as // -// type StackTrace []Frame +// type StackTrace []Frame // // The Frame type represents a call site in the stack trace. Frame supports // the fmt.Formatter interface that can be used for printing information about // the stack trace of this error. For example: // -// if err, ok := err.(stackTracer); ok { -// for _, f := range err.StackTrace() { -// fmt.Printf("%+s:%d\n", f, f) -// } -// } +// if err, ok := err.(stackTracer); ok { +// for _, f := range err.StackTrace() { +// fmt.Printf("%+s:%d\n", f, f) +// } +// } // // Although the stackTracer interface is not exported by this package, it is // considered a part of its stable public interface. @@ -265,9 +265,9 @@ func (w *withMessage) Format(s fmt.State, verb rune) { // An error value has a cause if it implements the following // interface: // -// type causer interface { -// Cause() error -// } +// type causer interface { +// Cause() error +// } // // If the error does not implement Cause, the original error will // be returned. If the error is nil, nil will be returned without further diff --git a/vendor/github.com/pkg/errors/go113.go b/vendor/github.com/pkg/errors/go113.go index be0d10d0c..2c83c7245 100644 --- a/vendor/github.com/pkg/errors/go113.go +++ b/vendor/github.com/pkg/errors/go113.go @@ -1,3 +1,4 @@ +//go:build go1.13 // +build go1.13 package errors diff --git a/vendor/github.com/pkg/errors/stack.go b/vendor/github.com/pkg/errors/stack.go index 779a8348f..82784d700 100644 --- a/vendor/github.com/pkg/errors/stack.go +++ b/vendor/github.com/pkg/errors/stack.go @@ -51,16 +51,16 @@ func (f Frame) name() string { // Format formats the frame according to the fmt.Formatter interface. // -// %s source file -// %d source line -// %n function name -// %v equivalent to %s:%d +// %s source file +// %d source line +// %n function name +// %v equivalent to %s:%d // // Format accepts flags that alter the printing of some verbs, as follows: // -// %+s function name and path of source file relative to the compile time -// GOPATH separated by \n\t (\n\t) -// %+v equivalent to %+s:%d +// %+s function name and path of source file relative to the compile time +// GOPATH separated by \n\t (\n\t) +// %+v equivalent to %+s:%d func (f Frame) Format(s fmt.State, verb rune) { switch verb { case 's': @@ -98,12 +98,12 @@ type StackTrace []Frame // Format formats the stack of Frames according to the fmt.Formatter interface. // -// %s lists source files for each Frame in the stack -// %v lists the source file and line number for each Frame in the stack +// %s lists source files for each Frame in the stack +// %v lists the source file and line number for each Frame in the stack // // Format accepts flags that alter the printing of some verbs, as follows: // -// %+v Prints filename, function, and line number for each Frame in the stack. +// %+v Prints filename, function, and line number for each Frame in the stack. func (st StackTrace) Format(s fmt.State, verb rune) { switch verb { case 'v': diff --git a/vendor/github.com/pmezard/go-difflib/difflib/difflib.go b/vendor/github.com/pmezard/go-difflib/difflib/difflib.go index 003e99fad..2a73737af 100644 --- a/vendor/github.com/pmezard/go-difflib/difflib/difflib.go +++ b/vendor/github.com/pmezard/go-difflib/difflib/difflib.go @@ -199,12 +199,15 @@ func (m *SequenceMatcher) isBJunk(s string) bool { // If IsJunk is not defined: // // Return (i,j,k) such that a[i:i+k] is equal to b[j:j+k], where -// alo <= i <= i+k <= ahi -// blo <= j <= j+k <= bhi +// +// alo <= i <= i+k <= ahi +// blo <= j <= j+k <= bhi +// // and for all (i',j',k') meeting those conditions, -// k >= k' -// i <= i' -// and if i == i', j <= j' +// +// k >= k' +// i <= i' +// and if i == i', j <= j' // // In other words, of all maximal matching blocks, return one that // starts earliest in a, and of all those maximal matching blocks that diff --git a/vendor/github.com/power-devops/perfstat/config.go b/vendor/github.com/power-devops/perfstat/config.go index de7230d28..a6df39c67 100644 --- a/vendor/github.com/power-devops/perfstat/config.go +++ b/vendor/github.com/power-devops/perfstat/config.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/cpustat.go b/vendor/github.com/power-devops/perfstat/cpustat.go index 902727fb8..61937af80 100644 --- a/vendor/github.com/power-devops/perfstat/cpustat.go +++ b/vendor/github.com/power-devops/perfstat/cpustat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/diskstat.go b/vendor/github.com/power-devops/perfstat/diskstat.go index fc70dfaa4..06763b4bc 100644 --- a/vendor/github.com/power-devops/perfstat/diskstat.go +++ b/vendor/github.com/power-devops/perfstat/diskstat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/doc.go b/vendor/github.com/power-devops/perfstat/doc.go index 85eaf3e7e..9730a61c2 100644 --- a/vendor/github.com/power-devops/perfstat/doc.go +++ b/vendor/github.com/power-devops/perfstat/doc.go @@ -1,3 +1,4 @@ +//go:build !aix // +build !aix // Copyright 2020 Power-Devops.com. All rights reserved. @@ -36,24 +37,24 @@ func DisableLVMStat() {} // CpuStat() returns array of CPU structures with information about // logical CPUs on the system. // IBM documentation: -// * https://www.ibm.com/support/knowledgecenter/ssw_aix_72/performancetools/idprftools_perfstat_int_cpu.html -// * https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/p_bostechref/perfstat_cpu.html +// - https://www.ibm.com/support/knowledgecenter/ssw_aix_72/performancetools/idprftools_perfstat_int_cpu.html +// - https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/p_bostechref/perfstat_cpu.html func CpuStat() ([]CPU, error) { return nil, fmt.Errorf("not implemented") } // CpuTotalStat() returns general information about CPUs on the system. // IBM documentation: -// * https://www.ibm.com/support/knowledgecenter/ssw_aix_72/performancetools/idprftools_perfstat_glob_cpu.html -// * https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/p_bostechref/perfstat_cputot.html +// - https://www.ibm.com/support/knowledgecenter/ssw_aix_72/performancetools/idprftools_perfstat_glob_cpu.html +// - https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/p_bostechref/perfstat_cputot.html func CpuTotalStat() (*CPUTotal, error) { return nil, fmt.Errorf("not implemented") } // CpuUtilStat() calculates CPU utilization. // IBM documentation: -// * https://www.ibm.com/support/knowledgecenter/ssw_aix_72/performancetools/idprftools_perfstat_cpu_util.html -// * https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/p_bostechref/perfstat_cpu_util.html +// - https://www.ibm.com/support/knowledgecenter/ssw_aix_72/performancetools/idprftools_perfstat_cpu_util.html +// - https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/p_bostechref/perfstat_cpu_util.html func CpuUtilStat(intvl time.Duration) (*CPUUtil, error) { return nil, fmt.Errorf("not implemented") } diff --git a/vendor/github.com/power-devops/perfstat/fsstat.go b/vendor/github.com/power-devops/perfstat/fsstat.go index 27f4c06c1..d3913197a 100644 --- a/vendor/github.com/power-devops/perfstat/fsstat.go +++ b/vendor/github.com/power-devops/perfstat/fsstat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/helpers.go b/vendor/github.com/power-devops/perfstat/helpers.go index e8d699766..3e3c12084 100644 --- a/vendor/github.com/power-devops/perfstat/helpers.go +++ b/vendor/github.com/power-devops/perfstat/helpers.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/lparstat.go b/vendor/github.com/power-devops/perfstat/lparstat.go index 0ce35e3c5..06f79fd5b 100644 --- a/vendor/github.com/power-devops/perfstat/lparstat.go +++ b/vendor/github.com/power-devops/perfstat/lparstat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/lvmstat.go b/vendor/github.com/power-devops/perfstat/lvmstat.go index eb2064c80..2ce99086a 100644 --- a/vendor/github.com/power-devops/perfstat/lvmstat.go +++ b/vendor/github.com/power-devops/perfstat/lvmstat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/memstat.go b/vendor/github.com/power-devops/perfstat/memstat.go index d211a73aa..52133f0a8 100644 --- a/vendor/github.com/power-devops/perfstat/memstat.go +++ b/vendor/github.com/power-devops/perfstat/memstat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/netstat.go b/vendor/github.com/power-devops/perfstat/netstat.go index 4070da211..847d2946e 100644 --- a/vendor/github.com/power-devops/perfstat/netstat.go +++ b/vendor/github.com/power-devops/perfstat/netstat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/procstat.go b/vendor/github.com/power-devops/perfstat/procstat.go index ecafebd8d..957ec2b33 100644 --- a/vendor/github.com/power-devops/perfstat/procstat.go +++ b/vendor/github.com/power-devops/perfstat/procstat.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/sysconf.go b/vendor/github.com/power-devops/perfstat/sysconf.go index c7454d03d..b557da0de 100644 --- a/vendor/github.com/power-devops/perfstat/sysconf.go +++ b/vendor/github.com/power-devops/perfstat/sysconf.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/systemcfg.go b/vendor/github.com/power-devops/perfstat/systemcfg.go index 6287eb46a..7f9277bc5 100644 --- a/vendor/github.com/power-devops/perfstat/systemcfg.go +++ b/vendor/github.com/power-devops/perfstat/systemcfg.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/power-devops/perfstat/uptime.go b/vendor/github.com/power-devops/perfstat/uptime.go index 2bd3e568d..860878747 100644 --- a/vendor/github.com/power-devops/perfstat/uptime.go +++ b/vendor/github.com/power-devops/perfstat/uptime.go @@ -1,3 +1,4 @@ +//go:build aix // +build aix package perfstat diff --git a/vendor/github.com/prometheus/client_model/go/metrics.pb.go b/vendor/github.com/prometheus/client_model/go/metrics.pb.go index cee360db7..17668b5b0 100644 --- a/vendor/github.com/prometheus/client_model/go/metrics.pb.go +++ b/vendor/github.com/prometheus/client_model/go/metrics.pb.go @@ -20,11 +20,12 @@ package io_prometheus_client import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" ) const ( diff --git a/vendor/github.com/sirupsen/logrus/doc.go b/vendor/github.com/sirupsen/logrus/doc.go index da67aba06..51392be8f 100644 --- a/vendor/github.com/sirupsen/logrus/doc.go +++ b/vendor/github.com/sirupsen/logrus/doc.go @@ -1,25 +1,25 @@ /* Package logrus is a structured logger for Go, completely API compatible with the standard library logger. - The simplest way to use Logrus is simply the package-level exported logger: - package main + package main - import ( - log "github.com/sirupsen/logrus" - ) + import ( + log "github.com/sirupsen/logrus" + ) - func main() { - log.WithFields(log.Fields{ - "animal": "walrus", - "number": 1, - "size": 10, - }).Info("A walrus appears") - } + func main() { + log.WithFields(log.Fields{ + "animal": "walrus", + "number": 1, + "size": 10, + }).Info("A walrus appears") + } Output: - time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10 + + time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10 For a full guide visit https://github.com/sirupsen/logrus */ diff --git a/vendor/github.com/sirupsen/logrus/formatter.go b/vendor/github.com/sirupsen/logrus/formatter.go index 408883773..8c7615515 100644 --- a/vendor/github.com/sirupsen/logrus/formatter.go +++ b/vendor/github.com/sirupsen/logrus/formatter.go @@ -30,12 +30,12 @@ type Formatter interface { // This is to not silently overwrite `time`, `msg`, `func` and `level` fields when // dumping it. If this code wasn't there doing: // -// logrus.WithField("level", 1).Info("hello") +// logrus.WithField("level", 1).Info("hello") // // Would just silently drop the user provided level. Instead with this code // it'll logged as: // -// {"level": "info", "fields.level": 1, "msg": "hello", "time": "..."} +// {"level": "info", "fields.level": 1, "msg": "hello", "time": "..."} // // It's not exported because it's still using Data in an opinionated way. It's to // avoid code duplication between the two default formatters. diff --git a/vendor/github.com/sirupsen/logrus/logger.go b/vendor/github.com/sirupsen/logrus/logger.go index 5ff0aef6d..df059412e 100644 --- a/vendor/github.com/sirupsen/logrus/logger.go +++ b/vendor/github.com/sirupsen/logrus/logger.go @@ -76,12 +76,12 @@ func (mw *MutexWrap) Disable() { // `Out` and `Hooks` directly on the default logger instance. You can also just // instantiate your own: // -// var log = &logrus.Logger{ -// Out: os.Stderr, -// Formatter: new(logrus.TextFormatter), -// Hooks: make(logrus.LevelHooks), -// Level: logrus.DebugLevel, -// } +// var log = &logrus.Logger{ +// Out: os.Stderr, +// Formatter: new(logrus.TextFormatter), +// Hooks: make(logrus.LevelHooks), +// Level: logrus.DebugLevel, +// } // // It's recommended to make this a global instance called `log`. func New() *Logger { @@ -347,9 +347,9 @@ func (logger *Logger) Exit(code int) { logger.ExitFunc(code) } -//When file is opened with appending mode, it's safe to -//write concurrently to a file (within 4k message on Linux). -//In these cases user can choose to disable the lock. +// When file is opened with appending mode, it's safe to +// write concurrently to a file (within 4k message on Linux). +// In these cases user can choose to disable the lock. func (logger *Logger) SetNoLock() { logger.mu.Disable() } diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_appengine.go b/vendor/github.com/sirupsen/logrus/terminal_check_appengine.go index 2403de981..45de3e2b6 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_appengine.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_appengine.go @@ -1,3 +1,4 @@ +//go:build appengine // +build appengine package logrus diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go b/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go index 499789984..e3fa38b71 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go @@ -1,3 +1,4 @@ +//go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && !js // +build darwin dragonfly freebsd netbsd openbsd // +build !js diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_js.go b/vendor/github.com/sirupsen/logrus/terminal_check_js.go index ebdae3ec6..9e951f1b4 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_js.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_js.go @@ -1,3 +1,4 @@ +//go:build js // +build js package logrus diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go b/vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go index 97af92c68..04232da19 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go @@ -1,3 +1,4 @@ +//go:build js || nacl || plan9 // +build js nacl plan9 package logrus diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go b/vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go index 3293fb3ca..1b4a99e32 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go @@ -1,3 +1,4 @@ +//go:build !appengine && !js && !windows && !nacl && !plan9 // +build !appengine,!js,!windows,!nacl,!plan9 package logrus diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go b/vendor/github.com/sirupsen/logrus/terminal_check_unix.go index 04748b851..f3154b17f 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_unix.go @@ -1,3 +1,4 @@ +//go:build (linux || aix || zos) && !js // +build linux aix zos // +build !js diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_windows.go b/vendor/github.com/sirupsen/logrus/terminal_check_windows.go index 2879eb50e..893c62410 100644 --- a/vendor/github.com/sirupsen/logrus/terminal_check_windows.go +++ b/vendor/github.com/sirupsen/logrus/terminal_check_windows.go @@ -1,3 +1,4 @@ +//go:build !appengine && !js && windows // +build !appengine,!js,windows package logrus diff --git a/vendor/github.com/spf13/pflag/flag.go b/vendor/github.com/spf13/pflag/flag.go index 7c058de37..02de50a0b 100644 --- a/vendor/github.com/spf13/pflag/flag.go +++ b/vendor/github.com/spf13/pflag/flag.go @@ -27,23 +27,32 @@ unaffected. Define flags using flag.String(), Bool(), Int(), etc. This declares an integer flag, -flagname, stored in the pointer ip, with type *int. + var ip = flag.Int("flagname", 1234, "help message for flagname") + If you like, you can bind the flag to a variable using the Var() functions. + var flagvar int func init() { flag.IntVar(&flagvar, "flagname", 1234, "help message for flagname") } + Or you can create custom flags that satisfy the Value interface (with pointer receivers) and couple them to flag parsing by + flag.Var(&flagVal, "name", "help message for flagname") + For such flags, the default value is just the initial value of the variable. After all flags are defined, call + flag.Parse() + to parse the command line into the defined flags. Flags may then be used directly. If you're using the flags themselves, they are all pointers; if you bind to variables, they're values. + fmt.Println("ip has value ", *ip) fmt.Println("flagvar has value ", flagvar) @@ -54,22 +63,26 @@ The arguments are indexed from 0 through flag.NArg()-1. The pflag package also defines some new functions that are not in flag, that give one-letter shorthands for flags. You can use these by appending 'P' to the name of any function that defines a flag. + var ip = flag.IntP("flagname", "f", 1234, "help message") var flagvar bool func init() { flag.BoolVarP(&flagvar, "boolname", "b", true, "help message") } flag.VarP(&flagval, "varname", "v", "help message") + Shorthand letters can be used with single dashes on the command line. Boolean shorthand flags can be combined with other shorthand flags. Command line flag syntax: + --flag // boolean flags only --flag=x Unlike the flag package, a single dash before an option means something different than a double dash. Single dashes signify a series of shorthand letters for flags. All but the last shorthand letter must be boolean flags. + // boolean flags -f -abc @@ -934,9 +947,9 @@ func (f *FlagSet) usage() { } } -//--unknown (args will be empty) -//--unknown --next-flag ... (args will be --next-flag ...) -//--unknown arg ... (args will be arg ...) +// --unknown (args will be empty) +// --unknown --next-flag ... (args will be --next-flag ...) +// --unknown arg ... (args will be arg ...) func stripUnknownFlagValue(args []string) []string { if len(args) == 0 { //--unknown diff --git a/vendor/github.com/spf13/pflag/string_slice.go b/vendor/github.com/spf13/pflag/string_slice.go index 3cb2e69db..d421887e8 100644 --- a/vendor/github.com/spf13/pflag/string_slice.go +++ b/vendor/github.com/spf13/pflag/string_slice.go @@ -98,9 +98,12 @@ func (f *FlagSet) GetStringSlice(name string) ([]string, error) { // The argument p points to a []string variable in which to store the value of the flag. // Compared to StringArray flags, StringSlice flags take comma-separated value as arguments and split them accordingly. // For example: -// --ss="v1,v2" --ss="v3" +// +// --ss="v1,v2" --ss="v3" +// // will result in -// []string{"v1", "v2", "v3"} +// +// []string{"v1", "v2", "v3"} func (f *FlagSet) StringSliceVar(p *[]string, name string, value []string, usage string) { f.VarP(newStringSliceValue(value, p), name, "", usage) } @@ -114,9 +117,12 @@ func (f *FlagSet) StringSliceVarP(p *[]string, name, shorthand string, value []s // The argument p points to a []string variable in which to store the value of the flag. // Compared to StringArray flags, StringSlice flags take comma-separated value as arguments and split them accordingly. // For example: -// --ss="v1,v2" --ss="v3" +// +// --ss="v1,v2" --ss="v3" +// // will result in -// []string{"v1", "v2", "v3"} +// +// []string{"v1", "v2", "v3"} func StringSliceVar(p *[]string, name string, value []string, usage string) { CommandLine.VarP(newStringSliceValue(value, p), name, "", usage) } @@ -130,9 +136,12 @@ func StringSliceVarP(p *[]string, name, shorthand string, value []string, usage // The return value is the address of a []string variable that stores the value of the flag. // Compared to StringArray flags, StringSlice flags take comma-separated value as arguments and split them accordingly. // For example: -// --ss="v1,v2" --ss="v3" +// +// --ss="v1,v2" --ss="v3" +// // will result in -// []string{"v1", "v2", "v3"} +// +// []string{"v1", "v2", "v3"} func (f *FlagSet) StringSlice(name string, value []string, usage string) *[]string { p := []string{} f.StringSliceVarP(&p, name, "", value, usage) @@ -150,9 +159,12 @@ func (f *FlagSet) StringSliceP(name, shorthand string, value []string, usage str // The return value is the address of a []string variable that stores the value of the flag. // Compared to StringArray flags, StringSlice flags take comma-separated value as arguments and split them accordingly. // For example: -// --ss="v1,v2" --ss="v3" +// +// --ss="v1,v2" --ss="v3" +// // will result in -// []string{"v1", "v2", "v3"} +// +// []string{"v1", "v2", "v3"} func StringSlice(name string, value []string, usage string) *[]string { return CommandLine.StringSliceP(name, "", value, usage) } diff --git a/vendor/github.com/ssgreg/journald/doc.go b/vendor/github.com/ssgreg/journald/doc.go index c67836e9a..30f4555f2 100644 --- a/vendor/github.com/ssgreg/journald/doc.go +++ b/vendor/github.com/ssgreg/journald/doc.go @@ -1,9 +1,9 @@ /* Package journald offers Go implementation of systemd Journal's native API for logging. Key features are: - - based on connection-less socket - - work with messages of any size and type - - client can use any number of separation sockets + - based on connection-less socket + - work with messages of any size and type + - client can use any number of separation sockets Let's look at what the journald provides as Go APIs for logging: diff --git a/vendor/github.com/ssgreg/journald/send.go b/vendor/github.com/ssgreg/journald/send.go index 19948cf9c..58b4f8204 100644 --- a/vendor/github.com/ssgreg/journald/send.go +++ b/vendor/github.com/ssgreg/journald/send.go @@ -124,7 +124,6 @@ func (j *Journal) WriteMsg(data []byte) error { // // A number of well known fields are defined, see: // http://0pointer.de/public/systemd-man/systemd.journal-fields.html -// func (j *Journal) Send(msg string, p Priority, fields map[string]interface{}) error { return j.WriteMsg(j.marshal(msg, p, fields)) } diff --git a/vendor/github.com/ssgreg/journald/write_msg.go b/vendor/github.com/ssgreg/journald/write_msg.go index fe9e15e9a..1b2310fdf 100644 --- a/vendor/github.com/ssgreg/journald/write_msg.go +++ b/vendor/github.com/ssgreg/journald/write_msg.go @@ -1,3 +1,4 @@ +//go:build !go1.9 // +build !go1.9 package journald @@ -17,15 +18,19 @@ import ( // n = recvmsg(fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); // ... // if (n > 0 && n_fds == 0) -// server_process_native_message(...); +// +// server_process_native_message(...); +// // else if (n == 0 && n_fds == 1) -// server_process_native_file(...); +// +// server_process_native_file(...); +// // else if (n_fds > 0) -// log_warning("Got too many file descriptors via native socket. Ignoring."); +// +// log_warning("Got too many file descriptors via native socket. Ignoring."); // // So we get a warning message (the last line) instead of the new log // entry. -// func writeMsgUnix(c *net.UnixConn, oob []byte, addr *net.UnixAddr) (oobn int, err error) { ptr, salen := sockaddr(addr) diff --git a/vendor/github.com/ssgreg/journald/write_msg_go1.9.go b/vendor/github.com/ssgreg/journald/write_msg_go1.9.go index 5e5e368ad..5c8abb1c1 100644 --- a/vendor/github.com/ssgreg/journald/write_msg_go1.9.go +++ b/vendor/github.com/ssgreg/journald/write_msg_go1.9.go @@ -1,3 +1,4 @@ +//go:build go1.9 // +build go1.9 package journald diff --git a/vendor/github.com/thoas/go-funk/builder.go b/vendor/github.com/thoas/go-funk/builder.go index 6dfc814d7..c66ac9427 100644 --- a/vendor/github.com/thoas/go-funk/builder.go +++ b/vendor/github.com/thoas/go-funk/builder.go @@ -46,7 +46,7 @@ type Builder interface { Values() interface{} } -// Chain creates a simple new go-funk.Builder from a collection. Each method +// Chain creates a simple new go-funk.Builder from a collection. Each method // call generate a new builder containing the previous result. func Chain(v interface{}) Builder { isNotNil(v, "Chain") @@ -76,10 +76,10 @@ func LazyChain(v interface{}) Builder { } -// LazyChainWith creates a lazy go-funk.Builder from a generator. Like LazyChain, each +// LazyChainWith creates a lazy go-funk.Builder from a generator. Like LazyChain, each // method call generate a new builder containing a method generating the previous value. // But, instead of using a collection, it takes a generator which can generate values. -// With LazyChainWith, to can create a generic pipeline of collection transformation and, +// With LazyChainWith, to can create a generic pipeline of collection transformation and, // throw the generator, sending different collection. func LazyChainWith(generator func() interface{}) Builder { isNotNil(generator, "LazyChainWith") diff --git a/vendor/github.com/thoas/go-funk/subset.go b/vendor/github.com/thoas/go-funk/subset.go index de47be151..c88d00884 100644 --- a/vendor/github.com/thoas/go-funk/subset.go +++ b/vendor/github.com/thoas/go-funk/subset.go @@ -37,5 +37,5 @@ func Subset(x interface{}, y interface{}) bool { } } - return true + return true } diff --git a/vendor/github.com/thoas/go-funk/utils.go b/vendor/github.com/thoas/go-funk/utils.go index 43d9a2be7..449231763 100644 --- a/vendor/github.com/thoas/go-funk/utils.go +++ b/vendor/github.com/thoas/go-funk/utils.go @@ -9,7 +9,8 @@ func equal(expectedOrPredicate interface{}, optionalIsMap ...bool) func(keyValue isMap := append(optionalIsMap, false)[0] if IsFunction(expectedOrPredicate) { - inTypes := []reflect.Type{nil}; if isMap { + inTypes := []reflect.Type{nil} + if isMap { inTypes = append(inTypes, nil) } diff --git a/vendor/github.com/vincent-petithory/dataurl/dataurl.go b/vendor/github.com/vincent-petithory/dataurl/dataurl.go index 7a9fe67e4..7d073322e 100644 --- a/vendor/github.com/vincent-petithory/dataurl/dataurl.go +++ b/vendor/github.com/vincent-petithory/dataurl/dataurl.go @@ -107,8 +107,8 @@ func New(data []byte, mediatype string, paramPairs ...string) *DataURL { // Note: it doesn't guarantee the returned string is equal to // the initial source string that was used to create this DataURL. // The reasons for that are: -// * Insertion of default values for MediaType that were maybe not in the initial string, -// * Various ways to encode the MediaType parameters (quoted string or url encoded string, the latter is used), +// - Insertion of default values for MediaType that were maybe not in the initial string, +// - Various ways to encode the MediaType parameters (quoted string or url encoded string, the latter is used), func (du *DataURL) String() string { var buf bytes.Buffer du.WriteTo(&buf) diff --git a/vendor/github.com/vincent-petithory/dataurl/doc.go b/vendor/github.com/vincent-petithory/dataurl/doc.go index 56461d043..55fee764d 100644 --- a/vendor/github.com/vincent-petithory/dataurl/doc.go +++ b/vendor/github.com/vincent-petithory/dataurl/doc.go @@ -23,6 +23,5 @@ Or, with base64 encoding: Common functions are Decode and DecodeString to obtain a DataURL, and DataURL.String() and DataURL.WriteTo to generate a Data URL string. - */ package dataurl diff --git a/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go b/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go index af7af799e..c0d49be00 100644 --- a/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netlink diff --git a/vendor/github.com/vishvananda/netlink/fou_linux.go b/vendor/github.com/vishvananda/netlink/fou_linux.go index ed55b2b79..94bc04c8b 100644 --- a/vendor/github.com/vishvananda/netlink/fou_linux.go +++ b/vendor/github.com/vishvananda/netlink/fou_linux.go @@ -1,3 +1,4 @@ +//go:build linux // +build linux package netlink diff --git a/vendor/github.com/vishvananda/netlink/fou_unspecified.go b/vendor/github.com/vishvananda/netlink/fou_unspecified.go index 3a8365bfe..7e550151a 100644 --- a/vendor/github.com/vishvananda/netlink/fou_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/fou_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netlink diff --git a/vendor/github.com/vishvananda/netlink/genetlink_unspecified.go b/vendor/github.com/vishvananda/netlink/genetlink_unspecified.go index 0192b991e..18f8e6299 100644 --- a/vendor/github.com/vishvananda/netlink/genetlink_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/genetlink_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netlink diff --git a/vendor/github.com/vishvananda/netlink/handle_unspecified.go b/vendor/github.com/vishvananda/netlink/handle_unspecified.go index cc94a4e00..e6493e93e 100644 --- a/vendor/github.com/vishvananda/netlink/handle_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/handle_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netlink diff --git a/vendor/github.com/vishvananda/netlink/link.go b/vendor/github.com/vishvananda/netlink/link.go index 33c872336..14235db6c 100644 --- a/vendor/github.com/vishvananda/netlink/link.go +++ b/vendor/github.com/vishvananda/netlink/link.go @@ -1208,6 +1208,7 @@ func (gtp *GTP) Type() string { } // Virtual XFRM Interfaces +// // Named "xfrmi" to prevent confusion with XFRM objects type Xfrmi struct { LinkAttrs diff --git a/vendor/github.com/vishvananda/netlink/netlink_unspecified.go b/vendor/github.com/vishvananda/netlink/netlink_unspecified.go index 98d2c0dbf..d2f620700 100644 --- a/vendor/github.com/vishvananda/netlink/netlink_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/netlink_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netlink diff --git a/vendor/github.com/vishvananda/netlink/netns_unspecified.go b/vendor/github.com/vishvananda/netlink/netns_unspecified.go index 5c5899e36..a187cf8ca 100644 --- a/vendor/github.com/vishvananda/netlink/netns_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/netns_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netlink diff --git a/vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go b/vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go index 183601803..5dbb955b9 100644 --- a/vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go +++ b/vendor/github.com/vishvananda/netlink/nl/conntrack_linux.go @@ -18,18 +18,18 @@ var L4ProtoMap = map[uint8]string{ // All the following constants are coming from: // https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter/nfnetlink_conntrack.h -// enum cntl_msg_types { -// IPCTNL_MSG_CT_NEW, -// IPCTNL_MSG_CT_GET, -// IPCTNL_MSG_CT_DELETE, -// IPCTNL_MSG_CT_GET_CTRZERO, -// IPCTNL_MSG_CT_GET_STATS_CPU, -// IPCTNL_MSG_CT_GET_STATS, -// IPCTNL_MSG_CT_GET_DYING, -// IPCTNL_MSG_CT_GET_UNCONFIRMED, +// enum cntl_msg_types { +// IPCTNL_MSG_CT_NEW, +// IPCTNL_MSG_CT_GET, +// IPCTNL_MSG_CT_DELETE, +// IPCTNL_MSG_CT_GET_CTRZERO, +// IPCTNL_MSG_CT_GET_STATS_CPU, +// IPCTNL_MSG_CT_GET_STATS, +// IPCTNL_MSG_CT_GET_DYING, +// IPCTNL_MSG_CT_GET_UNCONFIRMED, // -// IPCTNL_MSG_MAX -// }; +// IPCTNL_MSG_MAX +// }; const ( IPCTNL_MSG_CT_GET = 1 IPCTNL_MSG_CT_DELETE = 2 @@ -47,36 +47,38 @@ const ( NLA_ALIGNTO uint16 = 4 // #define NLA_ALIGNTO 4 ) -// enum ctattr_type { -// CTA_UNSPEC, -// CTA_TUPLE_ORIG, -// CTA_TUPLE_REPLY, -// CTA_STATUS, -// CTA_PROTOINFO, -// CTA_HELP, -// CTA_NAT_SRC, +// enum ctattr_type { +// CTA_UNSPEC, +// CTA_TUPLE_ORIG, +// CTA_TUPLE_REPLY, +// CTA_STATUS, +// CTA_PROTOINFO, +// CTA_HELP, +// CTA_NAT_SRC, +// // #define CTA_NAT CTA_NAT_SRC /* backwards compatibility */ -// CTA_TIMEOUT, -// CTA_MARK, -// CTA_COUNTERS_ORIG, -// CTA_COUNTERS_REPLY, -// CTA_USE, -// CTA_ID, -// CTA_NAT_DST, -// CTA_TUPLE_MASTER, -// CTA_SEQ_ADJ_ORIG, -// CTA_NAT_SEQ_ADJ_ORIG = CTA_SEQ_ADJ_ORIG, -// CTA_SEQ_ADJ_REPLY, -// CTA_NAT_SEQ_ADJ_REPLY = CTA_SEQ_ADJ_REPLY, -// CTA_SECMARK, /* obsolete */ -// CTA_ZONE, -// CTA_SECCTX, -// CTA_TIMESTAMP, -// CTA_MARK_MASK, -// CTA_LABELS, -// CTA_LABELS_MASK, -// __CTA_MAX -// }; +// +// CTA_TIMEOUT, +// CTA_MARK, +// CTA_COUNTERS_ORIG, +// CTA_COUNTERS_REPLY, +// CTA_USE, +// CTA_ID, +// CTA_NAT_DST, +// CTA_TUPLE_MASTER, +// CTA_SEQ_ADJ_ORIG, +// CTA_NAT_SEQ_ADJ_ORIG = CTA_SEQ_ADJ_ORIG, +// CTA_SEQ_ADJ_REPLY, +// CTA_NAT_SEQ_ADJ_REPLY = CTA_SEQ_ADJ_REPLY, +// CTA_SECMARK, /* obsolete */ +// CTA_ZONE, +// CTA_SECCTX, +// CTA_TIMESTAMP, +// CTA_MARK_MASK, +// CTA_LABELS, +// CTA_LABELS_MASK, +// __CTA_MAX +// }; const ( CTA_TUPLE_ORIG = 1 CTA_TUPLE_REPLY = 2 @@ -91,27 +93,29 @@ const ( CTA_TIMESTAMP = 20 ) -// enum ctattr_tuple { -// CTA_TUPLE_UNSPEC, -// CTA_TUPLE_IP, -// CTA_TUPLE_PROTO, -// CTA_TUPLE_ZONE, -// __CTA_TUPLE_MAX -// }; +// enum ctattr_tuple { +// CTA_TUPLE_UNSPEC, +// CTA_TUPLE_IP, +// CTA_TUPLE_PROTO, +// CTA_TUPLE_ZONE, +// __CTA_TUPLE_MAX +// }; +// // #define CTA_TUPLE_MAX (__CTA_TUPLE_MAX - 1) const ( CTA_TUPLE_IP = 1 CTA_TUPLE_PROTO = 2 ) -// enum ctattr_ip { -// CTA_IP_UNSPEC, -// CTA_IP_V4_SRC, -// CTA_IP_V4_DST, -// CTA_IP_V6_SRC, -// CTA_IP_V6_DST, -// __CTA_IP_MAX -// }; +// enum ctattr_ip { +// CTA_IP_UNSPEC, +// CTA_IP_V4_SRC, +// CTA_IP_V4_DST, +// CTA_IP_V6_SRC, +// CTA_IP_V6_DST, +// __CTA_IP_MAX +// }; +// // #define CTA_IP_MAX (__CTA_IP_MAX - 1) const ( CTA_IP_V4_SRC = 1 @@ -120,19 +124,20 @@ const ( CTA_IP_V6_DST = 4 ) -// enum ctattr_l4proto { -// CTA_PROTO_UNSPEC, -// CTA_PROTO_NUM, -// CTA_PROTO_SRC_PORT, -// CTA_PROTO_DST_PORT, -// CTA_PROTO_ICMP_ID, -// CTA_PROTO_ICMP_TYPE, -// CTA_PROTO_ICMP_CODE, -// CTA_PROTO_ICMPV6_ID, -// CTA_PROTO_ICMPV6_TYPE, -// CTA_PROTO_ICMPV6_CODE, -// __CTA_PROTO_MAX -// }; +// enum ctattr_l4proto { +// CTA_PROTO_UNSPEC, +// CTA_PROTO_NUM, +// CTA_PROTO_SRC_PORT, +// CTA_PROTO_DST_PORT, +// CTA_PROTO_ICMP_ID, +// CTA_PROTO_ICMP_TYPE, +// CTA_PROTO_ICMP_CODE, +// CTA_PROTO_ICMPV6_ID, +// CTA_PROTO_ICMPV6_TYPE, +// CTA_PROTO_ICMPV6_CODE, +// __CTA_PROTO_MAX +// }; +// // #define CTA_PROTO_MAX (__CTA_PROTO_MAX - 1) const ( CTA_PROTO_NUM = 1 @@ -140,27 +145,29 @@ const ( CTA_PROTO_DST_PORT = 3 ) -// enum ctattr_protoinfo { -// CTA_PROTOINFO_UNSPEC, -// CTA_PROTOINFO_TCP, -// CTA_PROTOINFO_DCCP, -// CTA_PROTOINFO_SCTP, -// __CTA_PROTOINFO_MAX -// }; +// enum ctattr_protoinfo { +// CTA_PROTOINFO_UNSPEC, +// CTA_PROTOINFO_TCP, +// CTA_PROTOINFO_DCCP, +// CTA_PROTOINFO_SCTP, +// __CTA_PROTOINFO_MAX +// }; +// // #define CTA_PROTOINFO_MAX (__CTA_PROTOINFO_MAX - 1) const ( CTA_PROTOINFO_TCP = 1 ) -// enum ctattr_protoinfo_tcp { -// CTA_PROTOINFO_TCP_UNSPEC, -// CTA_PROTOINFO_TCP_STATE, -// CTA_PROTOINFO_TCP_WSCALE_ORIGINAL, -// CTA_PROTOINFO_TCP_WSCALE_REPLY, -// CTA_PROTOINFO_TCP_FLAGS_ORIGINAL, -// CTA_PROTOINFO_TCP_FLAGS_REPLY, -// __CTA_PROTOINFO_TCP_MAX -// }; +// enum ctattr_protoinfo_tcp { +// CTA_PROTOINFO_TCP_UNSPEC, +// CTA_PROTOINFO_TCP_STATE, +// CTA_PROTOINFO_TCP_WSCALE_ORIGINAL, +// CTA_PROTOINFO_TCP_WSCALE_REPLY, +// CTA_PROTOINFO_TCP_FLAGS_ORIGINAL, +// CTA_PROTOINFO_TCP_FLAGS_REPLY, +// __CTA_PROTOINFO_TCP_MAX +// }; +// // #define CTA_PROTOINFO_TCP_MAX (__CTA_PROTOINFO_TCP_MAX - 1) const ( CTA_PROTOINFO_TCP_STATE = 1 @@ -170,15 +177,16 @@ const ( CTA_PROTOINFO_TCP_FLAGS_REPLY = 5 ) -// enum ctattr_counters { -// CTA_COUNTERS_UNSPEC, -// CTA_COUNTERS_PACKETS, /* 64bit counters */ -// CTA_COUNTERS_BYTES, /* 64bit counters */ -// CTA_COUNTERS32_PACKETS, /* old 32bit counters, unused */ -// CTA_COUNTERS32_BYTES, /* old 32bit counters, unused */ -// CTA_COUNTERS_PAD, -// __CTA_COUNTERS_M -// }; +// enum ctattr_counters { +// CTA_COUNTERS_UNSPEC, +// CTA_COUNTERS_PACKETS, /* 64bit counters */ +// CTA_COUNTERS_BYTES, /* 64bit counters */ +// CTA_COUNTERS32_PACKETS, /* old 32bit counters, unused */ +// CTA_COUNTERS32_BYTES, /* old 32bit counters, unused */ +// CTA_COUNTERS_PAD, +// __CTA_COUNTERS_M +// }; +// // #define CTA_COUNTERS_MAX (__CTA_COUNTERS_MAX - 1) const ( CTA_COUNTERS_PACKETS = 1 @@ -194,12 +202,14 @@ const ( ) // /* General form of address family dependent message. -// */ -// struct nfgenmsg { -// __u8 nfgen_family; /* AF_xxx */ -// __u8 version; /* nfnetlink version */ -// __be16 res_id; /* resource id */ -// }; +// +// */ +// +// struct nfgenmsg { +// __u8 nfgen_family; /* AF_xxx */ +// __u8 version; /* nfnetlink version */ +// __be16 res_id; /* resource id */ +// }; type Nfgenmsg struct { NfgenFamily uint8 Version uint8 diff --git a/vendor/github.com/vishvananda/netlink/nl/nl_linux.go b/vendor/github.com/vishvananda/netlink/nl/nl_linux.go index 600b942b1..7a9d53bbe 100644 --- a/vendor/github.com/vishvananda/netlink/nl/nl_linux.go +++ b/vendor/github.com/vishvananda/netlink/nl/nl_linux.go @@ -649,12 +649,14 @@ func GetNetlinkSocketAt(newNs, curNs netns.NsHandle, protocol int) (*NetlinkSock // In case of success, the caller is expected to execute the returned function // at the end of the code that needs to be executed in the network namespace. // Example: -// func jobAt(...) error { -// d, err := executeInNetns(...) -// if err != nil { return err} -// defer d() -// < code which needs to be executed in specific netns> -// } +// +// func jobAt(...) error { +// d, err := executeInNetns(...) +// if err != nil { return err} +// defer d() +// < code which needs to be executed in specific netns> +// } +// // TODO: his function probably belongs to netns pkg. func executeInNetns(newNs, curNs netns.NsHandle) (func(), error) { var ( diff --git a/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go b/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go index dfc0be660..818b93c41 100644 --- a/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/nl/nl_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package nl diff --git a/vendor/github.com/vishvananda/netlink/nl/seg6local_linux.go b/vendor/github.com/vishvananda/netlink/nl/seg6local_linux.go index 150017726..3ec06976b 100644 --- a/vendor/github.com/vishvananda/netlink/nl/seg6local_linux.go +++ b/vendor/github.com/vishvananda/netlink/nl/seg6local_linux.go @@ -1,7 +1,5 @@ package nl -import () - // seg6local parameters const ( SEG6_LOCAL_UNSPEC = iota diff --git a/vendor/github.com/vishvananda/netlink/nl/tc_linux.go b/vendor/github.com/vishvananda/netlink/nl/tc_linux.go index eb05ff1cd..bc6aa6358 100644 --- a/vendor/github.com/vishvananda/netlink/nl/tc_linux.go +++ b/vendor/github.com/vishvananda/netlink/nl/tc_linux.go @@ -1046,14 +1046,14 @@ func (x *TcSfqQopt) Serialize() []byte { return (*(*[SizeofTcSfqQopt]byte)(unsafe.Pointer(x)))[:] } -// struct tc_sfqred_stats { -// __u32 prob_drop; /* Early drops, below max threshold */ -// __u32 forced_drop; /* Early drops, after max threshold */ -// __u32 prob_mark; /* Marked packets, below max threshold */ -// __u32 forced_mark; /* Marked packets, after max threshold */ -// __u32 prob_mark_head; /* Marked packets, below max threshold */ -// __u32 forced_mark_head;/* Marked packets, after max threshold */ -// }; +// struct tc_sfqred_stats { +// __u32 prob_drop; /* Early drops, below max threshold */ +// __u32 forced_drop; /* Early drops, after max threshold */ +// __u32 prob_mark; /* Marked packets, below max threshold */ +// __u32 forced_mark; /* Marked packets, after max threshold */ +// __u32 prob_mark_head; /* Marked packets, below max threshold */ +// __u32 forced_mark_head;/* Marked packets, after max threshold */ +// }; type TcSfqRedStats struct { ProbDrop uint32 ForcedDrop uint32 @@ -1075,22 +1075,26 @@ func (x *TcSfqRedStats) Serialize() []byte { return (*(*[SizeofTcSfqRedStats]byte)(unsafe.Pointer(x)))[:] } -// struct tc_sfq_qopt_v1 { -// struct tc_sfq_qopt v0; -// unsigned int depth; /* max number of packets per flow */ -// unsigned int headdrop; +// struct tc_sfq_qopt_v1 { +// struct tc_sfq_qopt v0; +// unsigned int depth; /* max number of packets per flow */ +// unsigned int headdrop; +// // /* SFQRED parameters */ -// __u32 limit; /* HARD maximal flow queue length (bytes) */ -// __u32 qth_min; /* Min average length threshold (bytes) */ -// __u32 qth_max; /* Max average length threshold (bytes) */ -// unsigned char Wlog; /* log(W) */ -// unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ -// unsigned char Scell_log; /* cell size for idle damping */ -// unsigned char flags; -// __u32 max_P; /* probability, high resolution */ +// +// __u32 limit; /* HARD maximal flow queue length (bytes) */ +// __u32 qth_min; /* Min average length threshold (bytes) */ +// __u32 qth_max; /* Max average length threshold (bytes) */ +// unsigned char Wlog; /* log(W) */ +// unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ +// unsigned char Scell_log; /* cell size for idle damping */ +// unsigned char flags; +// __u32 max_P; /* probability, high resolution */ +// // /* SFQRED stats */ -// struct tc_sfqred_stats stats; -// }; +// +// struct tc_sfqred_stats stats; +// }; type TcSfqQoptV1 struct { TcSfqQopt Depth uint32 diff --git a/vendor/github.com/vishvananda/netlink/rdma_link_linux.go b/vendor/github.com/vishvananda/netlink/rdma_link_linux.go index 036399db6..dcec02e20 100644 --- a/vendor/github.com/vishvananda/netlink/rdma_link_linux.go +++ b/vendor/github.com/vishvananda/netlink/rdma_link_linux.go @@ -307,6 +307,7 @@ func (h *Handle) RdmaLinkDel(name string) error { // RdmaLinkAdd adds an rdma link for the specified type to the network device. // Similar to: rdma link add NAME type TYPE netdev NETDEV +// // NAME - specifies the new name of the rdma link to add // TYPE - specifies which rdma type to use. Link types: // rxe - Soft RoCE driver diff --git a/vendor/github.com/vishvananda/netlink/route.go b/vendor/github.com/vishvananda/netlink/route.go index 79cc218ec..e2f509a52 100644 --- a/vendor/github.com/vishvananda/netlink/route.go +++ b/vendor/github.com/vishvananda/netlink/route.go @@ -45,7 +45,7 @@ type Encap interface { Equal(Encap) bool } -//Protocol describe what was the originator of the route +// Protocol describe what was the originator of the route type RouteProtocol int // Route represents a netlink route. diff --git a/vendor/github.com/vishvananda/netlink/route_linux.go b/vendor/github.com/vishvananda/netlink/route_linux.go index 8da886657..c73405569 100644 --- a/vendor/github.com/vishvananda/netlink/route_linux.go +++ b/vendor/github.com/vishvananda/netlink/route_linux.go @@ -41,7 +41,6 @@ func (s Scope) String() string { } } - const ( FLAG_ONLINK NextHopFlag = unix.RTNH_F_ONLINK FLAG_PERVASIVE NextHopFlag = unix.RTNH_F_PERVASIVE diff --git a/vendor/github.com/vishvananda/netlink/route_unspecified.go b/vendor/github.com/vishvananda/netlink/route_unspecified.go index db7372689..380d50b20 100644 --- a/vendor/github.com/vishvananda/netlink/route_unspecified.go +++ b/vendor/github.com/vishvananda/netlink/route_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netlink diff --git a/vendor/github.com/vishvananda/netns/netns_unspecified.go b/vendor/github.com/vishvananda/netns/netns_unspecified.go index d06af62b6..2dac51df8 100644 --- a/vendor/github.com/vishvananda/netns/netns_unspecified.go +++ b/vendor/github.com/vishvananda/netns/netns_unspecified.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package netns diff --git a/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go b/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go index 8816c274d..819826883 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go +++ b/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go @@ -6,8 +6,6 @@ package impl -import () - func mergeBool(dst, src pointer, _ *coderFieldInfo, _ mergeOptions) { *dst.Bool() = *src.Bool() } diff --git a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go index 10c9030eb..78eb636e0 100644 --- a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go +++ b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go @@ -42,10 +42,11 @@ package descriptorpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) // The full set of known editions. diff --git a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go b/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go index b0df3fb33..6cee033cc 100644 --- a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go +++ b/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go @@ -11,11 +11,12 @@ package gofeaturespb import ( + reflect "reflect" + sync "sync" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" - sync "sync" ) type GoFeatures struct { diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go index 9de51be54..a8c539b78 100644 --- a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go @@ -115,13 +115,14 @@ package anypb import ( + reflect "reflect" + strings "strings" + sync "sync" + proto "google.golang.org/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoregistry "google.golang.org/protobuf/reflect/protoregistry" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - strings "strings" - sync "sync" ) // `Any` contains an arbitrary serialized protocol buffer message along with a diff --git a/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go b/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go index df709a8dd..f20f743af 100644 --- a/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go @@ -74,12 +74,13 @@ package durationpb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" math "math" reflect "reflect" sync "sync" time "time" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) // A Duration represents a signed, fixed-length span of time represented diff --git a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go index 81511a336..085f123c0 100644 --- a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go @@ -73,11 +73,12 @@ package timestamppb import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" time "time" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) // A Timestamp represents a point in time independent of any time zone or local diff --git a/vendor/gopkg.in/fsnotify.v1/fen.go b/vendor/gopkg.in/fsnotify.v1/fen.go index ced39cb88..b3ac3d8f5 100644 --- a/vendor/gopkg.in/fsnotify.v1/fen.go +++ b/vendor/gopkg.in/fsnotify.v1/fen.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build solaris // +build solaris package fsnotify diff --git a/vendor/gopkg.in/fsnotify.v1/fsnotify.go b/vendor/gopkg.in/fsnotify.v1/fsnotify.go index 190bf0de5..bf36b1ab3 100644 --- a/vendor/gopkg.in/fsnotify.v1/fsnotify.go +++ b/vendor/gopkg.in/fsnotify.v1/fsnotify.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !plan9 // +build !plan9 // Package fsnotify provides a platform-independent interface for file system notifications. diff --git a/vendor/gopkg.in/fsnotify.v1/inotify.go b/vendor/gopkg.in/fsnotify.v1/inotify.go index d9fd1b88a..edfd48293 100644 --- a/vendor/gopkg.in/fsnotify.v1/inotify.go +++ b/vendor/gopkg.in/fsnotify.v1/inotify.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux // +build linux package fsnotify diff --git a/vendor/gopkg.in/fsnotify.v1/inotify_poller.go b/vendor/gopkg.in/fsnotify.v1/inotify_poller.go index cc7db4b22..45318fc92 100644 --- a/vendor/gopkg.in/fsnotify.v1/inotify_poller.go +++ b/vendor/gopkg.in/fsnotify.v1/inotify_poller.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build linux // +build linux package fsnotify diff --git a/vendor/gopkg.in/fsnotify.v1/kqueue.go b/vendor/gopkg.in/fsnotify.v1/kqueue.go index 86e76a3d6..368f5b790 100644 --- a/vendor/gopkg.in/fsnotify.v1/kqueue.go +++ b/vendor/gopkg.in/fsnotify.v1/kqueue.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build freebsd || openbsd || netbsd || dragonfly || darwin // +build freebsd openbsd netbsd dragonfly darwin package fsnotify diff --git a/vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go b/vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go index 7d8de1451..3ae0d3e29 100644 --- a/vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go +++ b/vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build freebsd || openbsd || netbsd || dragonfly // +build freebsd openbsd netbsd dragonfly package fsnotify diff --git a/vendor/gopkg.in/fsnotify.v1/open_mode_darwin.go b/vendor/gopkg.in/fsnotify.v1/open_mode_darwin.go index 9139e1716..3126d918f 100644 --- a/vendor/gopkg.in/fsnotify.v1/open_mode_darwin.go +++ b/vendor/gopkg.in/fsnotify.v1/open_mode_darwin.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin // +build darwin package fsnotify diff --git a/vendor/gopkg.in/fsnotify.v1/windows.go b/vendor/gopkg.in/fsnotify.v1/windows.go index 09436f31d..c02b75f7c 100644 --- a/vendor/gopkg.in/fsnotify.v1/windows.go +++ b/vendor/gopkg.in/fsnotify.v1/windows.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build windows // +build windows package fsnotify diff --git a/vendor/gopkg.in/go-jose/go-jose.v2/json/decode.go b/vendor/gopkg.in/go-jose/go-jose.v2/json/decode.go index 4dbc4146c..50634dd84 100644 --- a/vendor/gopkg.in/go-jose/go-jose.v2/json/decode.go +++ b/vendor/gopkg.in/go-jose/go-jose.v2/json/decode.go @@ -75,14 +75,13 @@ import ( // // The JSON null value unmarshals into an interface, map, pointer, or slice // by setting that Go value to nil. Because null is often used in JSON to mean -// ``not present,'' unmarshaling a JSON null into any other Go type has no effect +// “not present,” unmarshaling a JSON null into any other Go type has no effect // on the value and produces no error. // // When unmarshaling quoted strings, invalid UTF-8 or // invalid UTF-16 surrogate pairs are not treated as an error. // Instead, they are replaced by the Unicode replacement // character U+FFFD. -// func Unmarshal(data []byte, v interface{}) error { // Check for well-formedness. // Avoids filling out half a data structure diff --git a/vendor/gopkg.in/go-jose/go-jose.v2/json/encode.go b/vendor/gopkg.in/go-jose/go-jose.v2/json/encode.go index 1dae8bb7c..d98a4fbf3 100644 --- a/vendor/gopkg.in/go-jose/go-jose.v2/json/encode.go +++ b/vendor/gopkg.in/go-jose/go-jose.v2/json/encode.go @@ -58,6 +58,7 @@ import ( // becomes a member of the object unless // - the field's tag is "-", or // - the field is empty and its tag specifies the "omitempty" option. +// // The empty values are false, 0, any // nil pointer or interface value, and any array, slice, map, or string of // length zero. The object's default key string is the struct field name @@ -65,28 +66,28 @@ import ( // the struct field's tag value is the key name, followed by an optional comma // and options. Examples: // -// // Field is ignored by this package. -// Field int `json:"-"` +// // Field is ignored by this package. +// Field int `json:"-"` // -// // Field appears in JSON as key "myName". -// Field int `json:"myName"` +// // Field appears in JSON as key "myName". +// Field int `json:"myName"` // -// // Field appears in JSON as key "myName" and -// // the field is omitted from the object if its value is empty, -// // as defined above. -// Field int `json:"myName,omitempty"` +// // Field appears in JSON as key "myName" and +// // the field is omitted from the object if its value is empty, +// // as defined above. +// Field int `json:"myName,omitempty"` // -// // Field appears in JSON as key "Field" (the default), but -// // the field is skipped if empty. -// // Note the leading comma. -// Field int `json:",omitempty"` +// // Field appears in JSON as key "Field" (the default), but +// // the field is skipped if empty. +// // Note the leading comma. +// Field int `json:",omitempty"` // // The "string" option signals that a field is stored as JSON inside a // JSON-encoded string. It applies only to fields of string, floating point, // integer, or boolean types. This extra level of encoding is sometimes used // when communicating with JavaScript programs: // -// Int64String int64 `json:",string"` +// Int64String int64 `json:",string"` // // The key name will be used if it's a non-empty string consisting of // only Unicode letters, digits, dollar signs, percent signs, hyphens, @@ -133,7 +134,6 @@ import ( // JSON cannot represent cyclic data structures and Marshal does not // handle them. Passing cyclic structures to Marshal will result in // an infinite recursion. -// func Marshal(v interface{}) ([]byte, error) { e := &encodeState{} err := e.marshal(v) diff --git a/vendor/gopkg.in/go-jose/go-jose.v2/json/stream.go b/vendor/gopkg.in/go-jose/go-jose.v2/json/stream.go index 9b2b926b0..f03b171e6 100644 --- a/vendor/gopkg.in/go-jose/go-jose.v2/json/stream.go +++ b/vendor/gopkg.in/go-jose/go-jose.v2/json/stream.go @@ -240,7 +240,6 @@ var _ Unmarshaler = (*RawMessage)(nil) // Number, for JSON numbers // string, for JSON string literals // nil, for JSON null -// type Token interface{} const ( diff --git a/vendor/gopkg.in/inf.v0/dec.go b/vendor/gopkg.in/inf.v0/dec.go index 26548b63c..124cce144 100644 --- a/vendor/gopkg.in/inf.v0/dec.go +++ b/vendor/gopkg.in/inf.v0/dec.go @@ -9,17 +9,16 @@ // This package is currently in experimental stage and the API may change. // // This package does NOT support: -// - rounding to specific precisions (as opposed to specific decimal positions) -// - the notion of context (each rounding must be explicit) -// - NaN and Inf values, and distinguishing between positive and negative zero -// - conversions to and from float32/64 types +// - rounding to specific precisions (as opposed to specific decimal positions) +// - the notion of context (each rounding must be explicit) +// - NaN and Inf values, and distinguishing between positive and negative zero +// - conversions to and from float32/64 types // // Features considered for possible addition: -// + formatting options -// + Exp method -// + combined operations such as AddRound/MulAdd etc -// + exchanging data in decimal32/64/128 formats -// +// - formatting options +// - Exp method +// - combined operations such as AddRound/MulAdd etc +// - exchanging data in decimal32/64/128 formats package inf // import "gopkg.in/inf.v0" // TODO: @@ -43,19 +42,19 @@ import ( // // The mathematical value of a Dec equals: // -// unscaled * 10**(-scale) +// unscaled * 10**(-scale) // // Note that different Dec representations may have equal mathematical values. // -// unscaled scale String() -// ------------------------- -// 0 0 "0" -// 0 2 "0.00" -// 0 -2 "0" -// 1 0 "1" -// 100 2 "1.00" -// 10 0 "10" -// 1 -1 "10" +// unscaled scale String() +// ------------------------- +// 0 0 "0" +// 0 2 "0.00" +// 0 -2 "0" +// 1 0 "1" +// 100 2 "1.00" +// 10 0 "10" +// 1 -1 "10" // // The zero value for a Dec represents the value 0 with scale 0. // @@ -79,7 +78,6 @@ import ( // QuoRound should be used with a Scale and a Rounder. // QuoExact or QuoRound with RoundExact can be used in the special cases when it // is known that the result is always a finite decimal. -// type Dec struct { unscaled big.Int scale Scale @@ -182,7 +180,6 @@ func (z *Dec) Set(x *Dec) *Dec { // -1 if x < 0 // 0 if x == 0 // +1 if x > 0 -// func (x *Dec) Sign() int { return x.UnscaledBig().Sign() } @@ -196,10 +193,9 @@ func (z *Dec) Neg(x *Dec) *Dec { // Cmp compares x and y and returns: // -// -1 if x < y -// 0 if x == y -// +1 if x > y -// +// -1 if x < y +// 0 if x == y +// +1 if x > y func (x *Dec) Cmp(y *Dec) int { xx, yy := upscale(x, y) return xx.UnscaledBig().Cmp(yy.UnscaledBig()) @@ -252,7 +248,6 @@ func (z *Dec) Round(x *Dec, s Scale, r Rounder) *Dec { // // There is no corresponding Div method; the equivalent can be achieved through // the choice of Rounder used. -// func (z *Dec) QuoRound(x, y *Dec, s Scale, r Rounder) *Dec { return z.quo(x, y, sclr{s}, r) } @@ -290,10 +285,9 @@ func (z *Dec) QuoExact(x, y *Dec) *Dec { // The remainder is normalized to the range -1 < r < 1 to simplify rounding; // that is, the results satisfy the following equation: // -// x / y = z + (remNum/remDen) * 10**(-z.Scale()) +// x / y = z + (remNum/remDen) * 10**(-z.Scale()) // // See Rounder for more details about rounding. -// func (z *Dec) quoRem(x, y *Dec, s Scale, useRem bool, remNum, remDen *big.Int) (*Dec, *big.Int, *big.Int) { // difference (required adjustment) compared to "canonical" result scale diff --git a/vendor/gopkg.in/inf.v0/rounder.go b/vendor/gopkg.in/inf.v0/rounder.go index 3a97ef529..866180bf4 100644 --- a/vendor/gopkg.in/inf.v0/rounder.go +++ b/vendor/gopkg.in/inf.v0/rounder.go @@ -9,7 +9,6 @@ import ( // Dec.Quo(). // // See the Example for results of using each Rounder with some sample values. -// type Rounder rounder // See http://speleotrove.com/decimal/damodel.html#refround for more detailed diff --git a/vendor/gopkg.in/tomb.v1/tomb.go b/vendor/gopkg.in/tomb.v1/tomb.go index 9aec56d82..35080f86d 100644 --- a/vendor/gopkg.in/tomb.v1/tomb.go +++ b/vendor/gopkg.in/tomb.v1/tomb.go @@ -1,10 +1,10 @@ // Copyright (c) 2011 - Gustavo Niemeyer -// +// // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: -// +// // * Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright notice, @@ -13,7 +13,7 @@ // * Neither the name of the copyright holder nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -51,13 +51,12 @@ // // For background and a detailed example, see the following blog post: // -// http://blog.labix.org/2011/10/09/death-of-goroutines-under-control +// http://blog.labix.org/2011/10/09/death-of-goroutines-under-control // // For a more complex code snippet demonstrating the use of multiple // goroutines with a single Tomb, see: // -// http://play.golang.org/p/Xh7qWsDPZP -// +// http://play.golang.org/p/Xh7qWsDPZP package tomb import ( @@ -79,7 +78,7 @@ type Tomb struct { var ( ErrStillAlive = errors.New("tomb: still alive") - ErrDying = errors.New("tomb: dying") + ErrDying = errors.New("tomb: dying") ) func (t *Tomb) init() { diff --git a/vendor/gopkg.in/yaml.v2/apic.go b/vendor/gopkg.in/yaml.v2/apic.go index acf71402c..fb2821e1e 100644 --- a/vendor/gopkg.in/yaml.v2/apic.go +++ b/vendor/gopkg.in/yaml.v2/apic.go @@ -143,7 +143,7 @@ func yaml_emitter_set_canonical(emitter *yaml_emitter_t, canonical bool) { emitter.canonical = canonical } -//// Set the indentation increment. +// // Set the indentation increment. func yaml_emitter_set_indent(emitter *yaml_emitter_t, indent int) { if indent < 2 || indent > 9 { indent = 2 diff --git a/vendor/gopkg.in/yaml.v2/emitterc.go b/vendor/gopkg.in/yaml.v2/emitterc.go index a1c2cc526..638a268c7 100644 --- a/vendor/gopkg.in/yaml.v2/emitterc.go +++ b/vendor/gopkg.in/yaml.v2/emitterc.go @@ -130,10 +130,9 @@ func yaml_emitter_emit(emitter *yaml_emitter_t, event *yaml_event_t) bool { // Check if we need to accumulate more events before emitting. // // We accumulate extra -// - 1 event for DOCUMENT-START -// - 2 events for SEQUENCE-START -// - 3 events for MAPPING-START -// +// - 1 event for DOCUMENT-START +// - 2 events for SEQUENCE-START +// - 3 events for MAPPING-START func yaml_emitter_need_more_events(emitter *yaml_emitter_t) bool { if emitter.events_head == len(emitter.events) { return true diff --git a/vendor/gopkg.in/yaml.v2/parserc.go b/vendor/gopkg.in/yaml.v2/parserc.go index 81d05dfe5..2883e5c58 100644 --- a/vendor/gopkg.in/yaml.v2/parserc.go +++ b/vendor/gopkg.in/yaml.v2/parserc.go @@ -170,7 +170,8 @@ func yaml_parser_state_machine(parser *yaml_parser_t, event *yaml_event_t) bool // Parse the production: // stream ::= STREAM-START implicit_document? explicit_document* STREAM-END -// ************ +// +// ************ func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -192,9 +193,12 @@ func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) // Parse the productions: // implicit_document ::= block_node DOCUMENT-END* -// * +// +// * +// // explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// ************************* +// +// ************************* func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t, implicit bool) bool { token := peek_token(parser) @@ -277,8 +281,8 @@ func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t // Parse the productions: // explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// *********** // +// *********** func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -299,9 +303,10 @@ func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event // Parse the productions: // implicit_document ::= block_node DOCUMENT-END* -// ************* -// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* // +// ************* +// +// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* func yaml_parser_parse_document_end(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -332,30 +337,41 @@ func yaml_parser_parse_document_end(parser *yaml_parser_t, event *yaml_event_t) // Parse the productions: // block_node_or_indentless_sequence ::= -// ALIAS -// ***** -// | properties (block_content | indentless_block_sequence)? -// ********** * -// | block_content | indentless_block_sequence -// * +// +// ALIAS +// ***** +// | properties (block_content | indentless_block_sequence)? +// ********** * +// | block_content | indentless_block_sequence +// * +// // block_node ::= ALIAS -// ***** -// | properties block_content? -// ********** * -// | block_content -// * +// +// ***** +// | properties block_content? +// ********** * +// | block_content +// * +// // flow_node ::= ALIAS -// ***** -// | properties flow_content? -// ********** * -// | flow_content -// * +// +// ***** +// | properties flow_content? +// ********** * +// | flow_content +// * +// // properties ::= TAG ANCHOR? | ANCHOR TAG? -// ************************* +// +// ************************* +// // block_content ::= block_collection | flow_collection | SCALAR -// ****** +// +// ****** +// // flow_content ::= flow_collection | SCALAR -// ****** +// +// ****** func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, indentless_sequence bool) bool { //defer trace("yaml_parser_parse_node", "block:", block, "indentless_sequence:", indentless_sequence)() @@ -574,8 +590,8 @@ func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, i // Parse the productions: // block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END -// ******************** *********** * ********* // +// ******************** *********** * ********* func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -627,7 +643,8 @@ func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_e // Parse the productions: // indentless_sequence ::= (BLOCK-ENTRY block_node?)+ -// *********** * +// +// *********** * func yaml_parser_parse_indentless_sequence_entry(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -664,14 +681,14 @@ func yaml_parser_parse_indentless_sequence_entry(parser *yaml_parser_t, event *y // Parse the productions: // block_mapping ::= BLOCK-MAPPING_START -// ******************* -// ((KEY block_node_or_indentless_sequence?)? -// *** * -// (VALUE block_node_or_indentless_sequence?)?)* // -// BLOCK-END -// ********* +// ******************* +// ((KEY block_node_or_indentless_sequence?)? +// *** * +// (VALUE block_node_or_indentless_sequence?)?)* // +// BLOCK-END +// ********* func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -723,13 +740,11 @@ func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_even // Parse the productions: // block_mapping ::= BLOCK-MAPPING_START // -// ((KEY block_node_or_indentless_sequence?)? -// -// (VALUE block_node_or_indentless_sequence?)?)* -// ***** * -// BLOCK-END -// +// ((KEY block_node_or_indentless_sequence?)? // +// (VALUE block_node_or_indentless_sequence?)?)* +// ***** * +// BLOCK-END func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -757,16 +772,18 @@ func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_ev // Parse the productions: // flow_sequence ::= FLOW-SEQUENCE-START -// ******************* -// (flow_sequence_entry FLOW-ENTRY)* -// * ********** -// flow_sequence_entry? -// * -// FLOW-SEQUENCE-END -// ***************** +// +// ******************* +// (flow_sequence_entry FLOW-ENTRY)* +// * ********** +// flow_sequence_entry? +// * +// FLOW-SEQUENCE-END +// ***************** +// // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * // +// * func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -825,11 +842,10 @@ func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_ev return true } -// // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// *** * // +// *** * func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -849,8 +865,8 @@ func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, ev // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// ***** * // +// ***** * func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -873,8 +889,8 @@ func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * // +// * func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -891,16 +907,17 @@ func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, ev // Parse the productions: // flow_mapping ::= FLOW-MAPPING-START -// ****************** -// (flow_mapping_entry FLOW-ENTRY)* -// * ********** -// flow_mapping_entry? -// ****************** -// FLOW-MAPPING-END -// **************** -// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * *** * // +// ****************** +// (flow_mapping_entry FLOW-ENTRY)* +// * ********** +// flow_mapping_entry? +// ****************** +// FLOW-MAPPING-END +// **************** +// +// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? +// - *** * func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -965,8 +982,7 @@ func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event // Parse the productions: // flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * ***** * -// +// - ***** * func yaml_parser_parse_flow_mapping_value(parser *yaml_parser_t, event *yaml_event_t, empty bool) bool { token := peek_token(parser) if token == nil { diff --git a/vendor/gopkg.in/yaml.v2/readerc.go b/vendor/gopkg.in/yaml.v2/readerc.go index 7c1f5fac3..b0c436c4a 100644 --- a/vendor/gopkg.in/yaml.v2/readerc.go +++ b/vendor/gopkg.in/yaml.v2/readerc.go @@ -95,7 +95,7 @@ func yaml_parser_update_buffer(parser *yaml_parser_t, length int) bool { // [Go] This function was changed to guarantee the requested length size at EOF. // The fact we need to do this is pretty awful, but the description above implies - // for that to be the case, and there are tests + // for that to be the case, and there are tests // If the EOF flag is set and the raw buffer is empty, do nothing. if parser.eof && parser.raw_buffer_pos == len(parser.raw_buffer) { diff --git a/vendor/gopkg.in/yaml.v2/resolve.go b/vendor/gopkg.in/yaml.v2/resolve.go index 4120e0c91..e29c364b3 100644 --- a/vendor/gopkg.in/yaml.v2/resolve.go +++ b/vendor/gopkg.in/yaml.v2/resolve.go @@ -180,7 +180,7 @@ func resolve(tag string, in string) (rtag string, out interface{}) { return yaml_INT_TAG, uintv } } else if strings.HasPrefix(plain, "-0b") { - intv, err := strconv.ParseInt("-" + plain[3:], 2, 64) + intv, err := strconv.ParseInt("-"+plain[3:], 2, 64) if err == nil { if true || intv == int64(int(intv)) { return yaml_INT_TAG, int(intv) diff --git a/vendor/gopkg.in/yaml.v2/scannerc.go b/vendor/gopkg.in/yaml.v2/scannerc.go index 0b9bb6030..d634dca4b 100644 --- a/vendor/gopkg.in/yaml.v2/scannerc.go +++ b/vendor/gopkg.in/yaml.v2/scannerc.go @@ -1500,11 +1500,11 @@ func yaml_parser_scan_to_next_token(parser *yaml_parser_t) bool { // Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // +// %YAML 1.1 # a comment \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool { // Eat '%'. start_mark := parser.mark @@ -1601,11 +1601,11 @@ func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool // Scan the directive name. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^ // +// %YAML 1.1 # a comment \n +// ^^^^ +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^ func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark_t, name *[]byte) bool { // Consume the directive name. if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { @@ -1640,8 +1640,9 @@ func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark // Scan the value of VERSION-DIRECTIVE. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^ +// +// %YAML 1.1 # a comment \n +// ^^^^^^ func yaml_parser_scan_version_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, major, minor *int8) bool { // Eat whitespaces. if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { @@ -1679,10 +1680,11 @@ const max_number_length = 2 // Scan the version number of VERSION-DIRECTIVE. // // Scope: -// %YAML 1.1 # a comment \n -// ^ -// %YAML 1.1 # a comment \n -// ^ +// +// %YAML 1.1 # a comment \n +// ^ +// %YAML 1.1 # a comment \n +// ^ func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark yaml_mark_t, number *int8) bool { // Repeat while the next character is digit. @@ -1716,9 +1718,9 @@ func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark // Scan the value of a TAG-DIRECTIVE token. // // Scope: -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func yaml_parser_scan_tag_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, handle, prefix *[]byte) bool { var handle_value, prefix_value []byte diff --git a/vendor/gopkg.in/yaml.v2/sorter.go b/vendor/gopkg.in/yaml.v2/sorter.go index 4c45e660a..2edd73405 100644 --- a/vendor/gopkg.in/yaml.v2/sorter.go +++ b/vendor/gopkg.in/yaml.v2/sorter.go @@ -52,7 +52,7 @@ func (l keyList) Less(i, j int) bool { var ai, bi int var an, bn int64 if ar[i] == '0' || br[i] == '0' { - for j := i-1; j >= 0 && unicode.IsDigit(ar[j]); j-- { + for j := i - 1; j >= 0 && unicode.IsDigit(ar[j]); j-- { if ar[j] != '0' { an = 1 bn = 1 diff --git a/vendor/gopkg.in/yaml.v2/yaml.go b/vendor/gopkg.in/yaml.v2/yaml.go index 30813884c..03756f6bb 100644 --- a/vendor/gopkg.in/yaml.v2/yaml.go +++ b/vendor/gopkg.in/yaml.v2/yaml.go @@ -2,8 +2,7 @@ // // Source code and other details for the project are available at GitHub: // -// https://github.com/go-yaml/yaml -// +// https://github.com/go-yaml/yaml package yaml import ( @@ -67,16 +66,15 @@ type Marshaler interface { // // For example: // -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// var t T -// yaml.Unmarshal([]byte("a: 1\nb: 2"), &t) +// type T struct { +// F int `yaml:"a,omitempty"` +// B int +// } +// var t T +// yaml.Unmarshal([]byte("a: 1\nb: 2"), &t) // // See the documentation of Marshal for the format of tags and a list of // supported tag options. -// func Unmarshal(in []byte, out interface{}) (err error) { return unmarshal(in, out, false) } @@ -166,36 +164,35 @@ func unmarshal(in []byte, out interface{}, strict bool) (err error) { // // The field tag format accepted is: // -// `(...) yaml:"[][,[,]]" (...)` +// `(...) yaml:"[][,[,]]" (...)` // // The following flags are currently supported: // -// omitempty Only include the field if it's not set to the zero -// value for the type or to empty slices or maps. -// Zero valued structs will be omitted if all their public -// fields are zero, unless they implement an IsZero -// method (see the IsZeroer interface type), in which -// case the field will be excluded if IsZero returns true. +// omitempty Only include the field if it's not set to the zero +// value for the type or to empty slices or maps. +// Zero valued structs will be omitted if all their public +// fields are zero, unless they implement an IsZero +// method (see the IsZeroer interface type), in which +// case the field will be excluded if IsZero returns true. // -// flow Marshal using a flow style (useful for structs, -// sequences and maps). +// flow Marshal using a flow style (useful for structs, +// sequences and maps). // -// inline Inline the field, which must be a struct or a map, -// causing all of its fields or keys to be processed as if -// they were part of the outer struct. For maps, keys must -// not conflict with the yaml keys of other struct fields. +// inline Inline the field, which must be a struct or a map, +// causing all of its fields or keys to be processed as if +// they were part of the outer struct. For maps, keys must +// not conflict with the yaml keys of other struct fields. // // In addition, if the key is "-", the field is ignored. // // For example: // -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// yaml.Marshal(&T{B: 2}) // Returns "b: 2\n" -// yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n" -// +// type T struct { +// F int `yaml:"a,omitempty"` +// B int +// } +// yaml.Marshal(&T{B: 2}) // Returns "b: 2\n" +// yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n" func Marshal(in interface{}) (out []byte, err error) { defer handleErr(&err) e := newEncoder() diff --git a/vendor/gopkg.in/yaml.v2/yamlh.go b/vendor/gopkg.in/yaml.v2/yamlh.go index f6a9c8e34..640f9d95d 100644 --- a/vendor/gopkg.in/yaml.v2/yamlh.go +++ b/vendor/gopkg.in/yaml.v2/yamlh.go @@ -408,7 +408,9 @@ type yaml_document_t struct { // The number of written bytes should be set to the size_read variable. // // [in,out] data A pointer to an application data specified by -// yaml_parser_set_input(). +// +// yaml_parser_set_input(). +// // [out] buffer The buffer to write the data from the source. // [in] size The size of the buffer. // [out] size_read The actual number of bytes read from the source. @@ -604,13 +606,14 @@ type yaml_parser_t struct { // @a buffer to the output. // // @param[in,out] data A pointer to an application data specified by -// yaml_emitter_set_output(). +// +// yaml_emitter_set_output(). +// // @param[in] buffer The buffer with bytes to be written. // @param[in] size The size of the buffer. // // @returns On success, the handler should return @c 1. If the handler failed, // the returned value should be @c 0. -// type yaml_write_handler_t func(emitter *yaml_emitter_t, buffer []byte) error type yaml_emitter_state_t int diff --git a/vendor/gopkg.in/yaml.v3/apic.go b/vendor/gopkg.in/yaml.v3/apic.go index ae7d049f1..05fd305da 100644 --- a/vendor/gopkg.in/yaml.v3/apic.go +++ b/vendor/gopkg.in/yaml.v3/apic.go @@ -1,17 +1,17 @@ -// +// // Copyright (c) 2011-2019 Canonical Ltd // Copyright (c) 2006-2010 Kirill Simonov -// +// // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies // of the Software, and to permit persons to whom the Software is furnished to do // so, subject to the following conditions: -// +// // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/vendor/gopkg.in/yaml.v3/emitterc.go b/vendor/gopkg.in/yaml.v3/emitterc.go index 0f47c9ca8..dde20e507 100644 --- a/vendor/gopkg.in/yaml.v3/emitterc.go +++ b/vendor/gopkg.in/yaml.v3/emitterc.go @@ -162,10 +162,9 @@ func yaml_emitter_emit(emitter *yaml_emitter_t, event *yaml_event_t) bool { // Check if we need to accumulate more events before emitting. // // We accumulate extra -// - 1 event for DOCUMENT-START -// - 2 events for SEQUENCE-START -// - 3 events for MAPPING-START -// +// - 1 event for DOCUMENT-START +// - 2 events for SEQUENCE-START +// - 3 events for MAPPING-START func yaml_emitter_need_more_events(emitter *yaml_emitter_t) bool { if emitter.events_head == len(emitter.events) { return true @@ -241,7 +240,7 @@ func yaml_emitter_increase_indent(emitter *yaml_emitter_t, flow, indentless bool emitter.indent += 2 } else { // Everything else aligns to the chosen indentation. - emitter.indent = emitter.best_indent*((emitter.indent+emitter.best_indent)/emitter.best_indent) + emitter.indent = emitter.best_indent * ((emitter.indent + emitter.best_indent) / emitter.best_indent) } } return true diff --git a/vendor/gopkg.in/yaml.v3/parserc.go b/vendor/gopkg.in/yaml.v3/parserc.go index 268558a0d..25fe82363 100644 --- a/vendor/gopkg.in/yaml.v3/parserc.go +++ b/vendor/gopkg.in/yaml.v3/parserc.go @@ -227,7 +227,8 @@ func yaml_parser_state_machine(parser *yaml_parser_t, event *yaml_event_t) bool // Parse the production: // stream ::= STREAM-START implicit_document? explicit_document* STREAM-END -// ************ +// +// ************ func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -249,9 +250,12 @@ func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) // Parse the productions: // implicit_document ::= block_node DOCUMENT-END* -// * +// +// * +// // explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// ************************* +// +// ************************* func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t, implicit bool) bool { token := peek_token(parser) @@ -356,8 +360,8 @@ func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t // Parse the productions: // explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// *********** // +// *********** func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -379,9 +383,10 @@ func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event // Parse the productions: // implicit_document ::= block_node DOCUMENT-END* -// ************* -// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* // +// ************* +// +// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* func yaml_parser_parse_document_end(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -428,30 +433,41 @@ func yaml_parser_set_event_comments(parser *yaml_parser_t, event *yaml_event_t) // Parse the productions: // block_node_or_indentless_sequence ::= -// ALIAS -// ***** -// | properties (block_content | indentless_block_sequence)? -// ********** * -// | block_content | indentless_block_sequence -// * +// +// ALIAS +// ***** +// | properties (block_content | indentless_block_sequence)? +// ********** * +// | block_content | indentless_block_sequence +// * +// // block_node ::= ALIAS -// ***** -// | properties block_content? -// ********** * -// | block_content -// * +// +// ***** +// | properties block_content? +// ********** * +// | block_content +// * +// // flow_node ::= ALIAS -// ***** -// | properties flow_content? -// ********** * -// | flow_content -// * +// +// ***** +// | properties flow_content? +// ********** * +// | flow_content +// * +// // properties ::= TAG ANCHOR? | ANCHOR TAG? -// ************************* +// +// ************************* +// // block_content ::= block_collection | flow_collection | SCALAR -// ****** +// +// ****** +// // flow_content ::= flow_collection | SCALAR -// ****** +// +// ****** func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, indentless_sequence bool) bool { //defer trace("yaml_parser_parse_node", "block:", block, "indentless_sequence:", indentless_sequence)() @@ -682,8 +698,8 @@ func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, i // Parse the productions: // block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END -// ******************** *********** * ********* // +// ******************** *********** * ********* func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -740,7 +756,8 @@ func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_e // Parse the productions: // indentless_sequence ::= (BLOCK-ENTRY block_node?)+ -// *********** * +// +// *********** * func yaml_parser_parse_indentless_sequence_entry(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -805,14 +822,14 @@ func yaml_parser_split_stem_comment(parser *yaml_parser_t, stem_len int) { // Parse the productions: // block_mapping ::= BLOCK-MAPPING_START -// ******************* -// ((KEY block_node_or_indentless_sequence?)? -// *** * -// (VALUE block_node_or_indentless_sequence?)?)* // -// BLOCK-END -// ********* +// ******************* +// ((KEY block_node_or_indentless_sequence?)? +// *** * +// (VALUE block_node_or_indentless_sequence?)?)* // +// BLOCK-END +// ********* func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -881,13 +898,11 @@ func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_even // Parse the productions: // block_mapping ::= BLOCK-MAPPING_START // -// ((KEY block_node_or_indentless_sequence?)? -// -// (VALUE block_node_or_indentless_sequence?)?)* -// ***** * -// BLOCK-END -// +// ((KEY block_node_or_indentless_sequence?)? // +// (VALUE block_node_or_indentless_sequence?)?)* +// ***** * +// BLOCK-END func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -915,16 +930,18 @@ func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_ev // Parse the productions: // flow_sequence ::= FLOW-SEQUENCE-START -// ******************* -// (flow_sequence_entry FLOW-ENTRY)* -// * ********** -// flow_sequence_entry? -// * -// FLOW-SEQUENCE-END -// ***************** +// +// ******************* +// (flow_sequence_entry FLOW-ENTRY)* +// * ********** +// flow_sequence_entry? +// * +// FLOW-SEQUENCE-END +// ***************** +// // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * // +// * func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -987,11 +1004,10 @@ func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_ev return true } -// // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// *** * // +// *** * func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -1011,8 +1027,8 @@ func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, ev // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// ***** * // +// ***** * func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -1035,8 +1051,8 @@ func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * // +// * func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -1053,16 +1069,17 @@ func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, ev // Parse the productions: // flow_mapping ::= FLOW-MAPPING-START -// ****************** -// (flow_mapping_entry FLOW-ENTRY)* -// * ********** -// flow_mapping_entry? -// ****************** -// FLOW-MAPPING-END -// **************** -// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * *** * // +// ****************** +// (flow_mapping_entry FLOW-ENTRY)* +// * ********** +// flow_mapping_entry? +// ****************** +// FLOW-MAPPING-END +// **************** +// +// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? +// - *** * func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -1128,8 +1145,7 @@ func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event // Parse the productions: // flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * ***** * -// +// - ***** * func yaml_parser_parse_flow_mapping_value(parser *yaml_parser_t, event *yaml_event_t, empty bool) bool { token := peek_token(parser) if token == nil { diff --git a/vendor/gopkg.in/yaml.v3/readerc.go b/vendor/gopkg.in/yaml.v3/readerc.go index b7de0a89c..56af24536 100644 --- a/vendor/gopkg.in/yaml.v3/readerc.go +++ b/vendor/gopkg.in/yaml.v3/readerc.go @@ -1,17 +1,17 @@ -// +// // Copyright (c) 2011-2019 Canonical Ltd // Copyright (c) 2006-2010 Kirill Simonov -// +// // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies // of the Software, and to permit persons to whom the Software is furnished to do // so, subject to the following conditions: -// +// // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/vendor/gopkg.in/yaml.v3/scannerc.go b/vendor/gopkg.in/yaml.v3/scannerc.go index ca0070108..30b1f0892 100644 --- a/vendor/gopkg.in/yaml.v3/scannerc.go +++ b/vendor/gopkg.in/yaml.v3/scannerc.go @@ -1614,11 +1614,11 @@ func yaml_parser_scan_to_next_token(parser *yaml_parser_t) bool { // Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // +// %YAML 1.1 # a comment \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool { // Eat '%'. start_mark := parser.mark @@ -1719,11 +1719,11 @@ func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool // Scan the directive name. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^ // +// %YAML 1.1 # a comment \n +// ^^^^ +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^ func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark_t, name *[]byte) bool { // Consume the directive name. if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { @@ -1758,8 +1758,9 @@ func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark // Scan the value of VERSION-DIRECTIVE. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^ +// +// %YAML 1.1 # a comment \n +// ^^^^^^ func yaml_parser_scan_version_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, major, minor *int8) bool { // Eat whitespaces. if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { @@ -1797,10 +1798,11 @@ const max_number_length = 2 // Scan the version number of VERSION-DIRECTIVE. // // Scope: -// %YAML 1.1 # a comment \n -// ^ -// %YAML 1.1 # a comment \n -// ^ +// +// %YAML 1.1 # a comment \n +// ^ +// %YAML 1.1 # a comment \n +// ^ func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark yaml_mark_t, number *int8) bool { // Repeat while the next character is digit. @@ -1834,9 +1836,9 @@ func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark // Scan the value of a TAG-DIRECTIVE token. // // Scope: -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func yaml_parser_scan_tag_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, handle, prefix *[]byte) bool { var handle_value, prefix_value []byte @@ -2847,7 +2849,7 @@ func yaml_parser_scan_line_comment(parser *yaml_parser_t, token_mark yaml_mark_t continue } if parser.buffer[parser.buffer_pos+peek] == '#' { - seen := parser.mark.index+peek + seen := parser.mark.index + peek for { if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { return false @@ -2876,7 +2878,7 @@ func yaml_parser_scan_line_comment(parser *yaml_parser_t, token_mark yaml_mark_t parser.comments = append(parser.comments, yaml_comment_t{ token_mark: token_mark, start_mark: start_mark, - line: text, + line: text, }) } return true @@ -2910,7 +2912,7 @@ func yaml_parser_scan_comments(parser *yaml_parser_t, scan_mark yaml_mark_t) boo // the foot is the line below it. var foot_line = -1 if scan_mark.line > 0 { - foot_line = parser.mark.line-parser.newlines+1 + foot_line = parser.mark.line - parser.newlines + 1 if parser.newlines == 0 && parser.mark.column > 1 { foot_line++ } @@ -2996,7 +2998,7 @@ func yaml_parser_scan_comments(parser *yaml_parser_t, scan_mark yaml_mark_t) boo recent_empty = false // Consume until after the consumed comment line. - seen := parser.mark.index+peek + seen := parser.mark.index + peek for { if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { return false diff --git a/vendor/gopkg.in/yaml.v3/writerc.go b/vendor/gopkg.in/yaml.v3/writerc.go index b8a116bf9..266d0b092 100644 --- a/vendor/gopkg.in/yaml.v3/writerc.go +++ b/vendor/gopkg.in/yaml.v3/writerc.go @@ -1,17 +1,17 @@ -// +// // Copyright (c) 2011-2019 Canonical Ltd // Copyright (c) 2006-2010 Kirill Simonov -// +// // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies // of the Software, and to permit persons to whom the Software is furnished to do // so, subject to the following conditions: -// +// // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/vendor/gopkg.in/yaml.v3/yaml.go b/vendor/gopkg.in/yaml.v3/yaml.go index 8cec6da48..f0bedf3d6 100644 --- a/vendor/gopkg.in/yaml.v3/yaml.go +++ b/vendor/gopkg.in/yaml.v3/yaml.go @@ -17,8 +17,7 @@ // // Source code and other details for the project are available at GitHub: // -// https://github.com/go-yaml/yaml -// +// https://github.com/go-yaml/yaml package yaml import ( @@ -75,16 +74,15 @@ type Marshaler interface { // // For example: // -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// var t T -// yaml.Unmarshal([]byte("a: 1\nb: 2"), &t) +// type T struct { +// F int `yaml:"a,omitempty"` +// B int +// } +// var t T +// yaml.Unmarshal([]byte("a: 1\nb: 2"), &t) // // See the documentation of Marshal for the format of tags and a list of // supported tag options. -// func Unmarshal(in []byte, out interface{}) (err error) { return unmarshal(in, out, false) } @@ -185,36 +183,35 @@ func unmarshal(in []byte, out interface{}, strict bool) (err error) { // // The field tag format accepted is: // -// `(...) yaml:"[][,[,]]" (...)` +// `(...) yaml:"[][,[,]]" (...)` // // The following flags are currently supported: // -// omitempty Only include the field if it's not set to the zero -// value for the type or to empty slices or maps. -// Zero valued structs will be omitted if all their public -// fields are zero, unless they implement an IsZero -// method (see the IsZeroer interface type), in which -// case the field will be excluded if IsZero returns true. +// omitempty Only include the field if it's not set to the zero +// value for the type or to empty slices or maps. +// Zero valued structs will be omitted if all their public +// fields are zero, unless they implement an IsZero +// method (see the IsZeroer interface type), in which +// case the field will be excluded if IsZero returns true. // -// flow Marshal using a flow style (useful for structs, -// sequences and maps). +// flow Marshal using a flow style (useful for structs, +// sequences and maps). // -// inline Inline the field, which must be a struct or a map, -// causing all of its fields or keys to be processed as if -// they were part of the outer struct. For maps, keys must -// not conflict with the yaml keys of other struct fields. +// inline Inline the field, which must be a struct or a map, +// causing all of its fields or keys to be processed as if +// they were part of the outer struct. For maps, keys must +// not conflict with the yaml keys of other struct fields. // // In addition, if the key is "-", the field is ignored. // // For example: // -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// yaml.Marshal(&T{B: 2}) // Returns "b: 2\n" -// yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n" -// +// type T struct { +// F int `yaml:"a,omitempty"` +// B int +// } +// yaml.Marshal(&T{B: 2}) // Returns "b: 2\n" +// yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n" func Marshal(in interface{}) (out []byte, err error) { defer handleErr(&err) e := newEncoder() @@ -358,22 +355,21 @@ const ( // // For example: // -// var person struct { -// Name string -// Address yaml.Node -// } -// err := yaml.Unmarshal(data, &person) -// -// Or by itself: +// var person struct { +// Name string +// Address yaml.Node +// } +// err := yaml.Unmarshal(data, &person) // -// var person Node -// err := yaml.Unmarshal(data, &person) +// Or by itself: // +// var person Node +// err := yaml.Unmarshal(data, &person) type Node struct { // Kind defines whether the node is a document, a mapping, a sequence, // a scalar value, or an alias to another node. The specific data type of // scalar nodes may be obtained via the ShortTag and LongTag methods. - Kind Kind + Kind Kind // Style allows customizing the apperance of the node in the tree. Style Style @@ -421,7 +417,6 @@ func (n *Node) IsZero() bool { n.HeadComment == "" && n.LineComment == "" && n.FootComment == "" && n.Line == 0 && n.Column == 0 } - // LongTag returns the long form of the tag that indicates the data type for // the node. If the Tag field isn't explicitly defined, one will be computed // based on the node properties. diff --git a/vendor/gopkg.in/yaml.v3/yamlh.go b/vendor/gopkg.in/yaml.v3/yamlh.go index 7c6d00770..ddcd5513b 100644 --- a/vendor/gopkg.in/yaml.v3/yamlh.go +++ b/vendor/gopkg.in/yaml.v3/yamlh.go @@ -438,7 +438,9 @@ type yaml_document_t struct { // The number of written bytes should be set to the size_read variable. // // [in,out] data A pointer to an application data specified by -// yaml_parser_set_input(). +// +// yaml_parser_set_input(). +// // [out] buffer The buffer to write the data from the source. // [in] size The size of the buffer. // [out] size_read The actual number of bytes read from the source. @@ -639,7 +641,6 @@ type yaml_parser_t struct { } type yaml_comment_t struct { - scan_mark yaml_mark_t // Position where scanning for comments started token_mark yaml_mark_t // Position after which tokens will be associated with this comment start_mark yaml_mark_t // Position of '#' comment mark @@ -659,13 +660,14 @@ type yaml_comment_t struct { // @a buffer to the output. // // @param[in,out] data A pointer to an application data specified by -// yaml_emitter_set_output(). +// +// yaml_emitter_set_output(). +// // @param[in] buffer The buffer with bytes to be written. // @param[in] size The size of the buffer. // // @returns On success, the handler should return @c 1. If the handler failed, // the returned value should be @c 0. -// type yaml_write_handler_t func(emitter *yaml_emitter_t, buffer []byte) error type yaml_emitter_state_t int diff --git a/vendor/gopkg.in/yaml.v3/yamlprivateh.go b/vendor/gopkg.in/yaml.v3/yamlprivateh.go index e88f9c54a..dea1ba961 100644 --- a/vendor/gopkg.in/yaml.v3/yamlprivateh.go +++ b/vendor/gopkg.in/yaml.v3/yamlprivateh.go @@ -1,17 +1,17 @@ -// +// // Copyright (c) 2011-2019 Canonical Ltd // Copyright (c) 2006-2010 Kirill Simonov -// +// // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies // of the Software, and to permit persons to whom the Software is furnished to do // so, subject to the following conditions: -// +// // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -137,8 +137,8 @@ func is_crlf(b []byte, i int) bool { func is_breakz(b []byte, i int) bool { //return is_break(b, i) || is_z(b, i) return ( - // is_break: - b[i] == '\r' || // CR (#xD) + // is_break: + b[i] == '\r' || // CR (#xD) b[i] == '\n' || // LF (#xA) b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85) b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028) @@ -151,8 +151,8 @@ func is_breakz(b []byte, i int) bool { func is_spacez(b []byte, i int) bool { //return is_space(b, i) || is_breakz(b, i) return ( - // is_space: - b[i] == ' ' || + // is_space: + b[i] == ' ' || // is_breakz: b[i] == '\r' || // CR (#xD) b[i] == '\n' || // LF (#xA) @@ -166,8 +166,8 @@ func is_spacez(b []byte, i int) bool { func is_blankz(b []byte, i int) bool { //return is_blank(b, i) || is_breakz(b, i) return ( - // is_blank: - b[i] == ' ' || b[i] == '\t' || + // is_blank: + b[i] == ' ' || b[i] == '\t' || // is_breakz: b[i] == '\r' || // CR (#xD) b[i] == '\n' || // LF (#xA) diff --git a/vendor/howett.net/plist/decode.go b/vendor/howett.net/plist/decode.go index 4c6466771..6db6d8621 100644 --- a/vendor/howett.net/plist/decode.go +++ b/vendor/howett.net/plist/decode.go @@ -92,11 +92,11 @@ func NewDecoder(r io.ReadSeeker) *Decoder { // To decode property list values into an interface value, Unmarshal decodes the property list into the concrete value contained // in the interface value. If the interface value is nil, Unmarshal stores one of the following in the interface value: // -// string, bool, uint64, float64 -// plist.UID for "CoreFoundation Keyed Archiver UIDs" (convertible to uint64) -// []byte, for plist data -// []interface{}, for plist arrays -// map[string]interface{}, for plist dictionaries +// string, bool, uint64, float64 +// plist.UID for "CoreFoundation Keyed Archiver UIDs" (convertible to uint64) +// []byte, for plist data +// []interface{}, for plist arrays +// map[string]interface{}, for plist dictionaries // // If a property list value is not appropriate for a given value type, Unmarshal aborts immediately and returns an error. // diff --git a/vendor/howett.net/plist/encode.go b/vendor/howett.net/plist/encode.go index f81309b58..442d2d268 100644 --- a/vendor/howett.net/plist/encode.go +++ b/vendor/howett.net/plist/encode.go @@ -96,11 +96,11 @@ func NewBinaryEncoder(w io.Writer) *Encoder { // Struct values are encoded as dictionaries, with only exported fields being serialized. Struct field encoding may be influenced with the use of tags. // The tag format is: // -// `plist:"[,flags...]"` +// `plist:"[,flags...]"` // // The following flags are supported: // -// omitempty Only include the field if it is not set to the zero value for its type. +// omitempty Only include the field if it is not set to the zero value for its type. // // If the key is "-", the field is ignored. // diff --git a/vendor/howett.net/plist/fuzz.go b/vendor/howett.net/plist/fuzz.go index 18a3b4b9e..4d8f13556 100644 --- a/vendor/howett.net/plist/fuzz.go +++ b/vendor/howett.net/plist/fuzz.go @@ -1,3 +1,4 @@ +//go:build gofuzz // +build gofuzz package plist diff --git a/vendor/howett.net/plist/plist_types.go b/vendor/howett.net/plist/plist_types.go index 983636447..2581edc53 100644 --- a/vendor/howett.net/plist/plist_types.go +++ b/vendor/howett.net/plist/plist_types.go @@ -3,8 +3,8 @@ package plist import ( "hash/crc32" "sort" - "time" "strconv" + "time" ) // magic value used in the non-binary encoding of UIDs diff --git a/vendor/howett.net/plist/zerocopy.go b/vendor/howett.net/plist/zerocopy.go index 999f401b7..932eec644 100644 --- a/vendor/howett.net/plist/zerocopy.go +++ b/vendor/howett.net/plist/zerocopy.go @@ -1,3 +1,4 @@ +//go:build !appengine // +build !appengine package plist diff --git a/vendor/howett.net/plist/zerocopy_appengine.go b/vendor/howett.net/plist/zerocopy_appengine.go index dbd9a1acf..131ee1cb0 100644 --- a/vendor/howett.net/plist/zerocopy_appengine.go +++ b/vendor/howett.net/plist/zerocopy_appengine.go @@ -1,3 +1,4 @@ +//go:build appengine // +build appengine package plist diff --git a/vendor/k8s.io/client-go/pkg/apis/clientauthentication/install/install.go b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/install/install.go index ee5c338e3..79884fd6a 100644 --- a/vendor/k8s.io/client-go/pkg/apis/clientauthentication/install/install.go +++ b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/install/install.go @@ -22,7 +22,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/pkg/apis/clientauthentication" - "k8s.io/client-go/pkg/apis/clientauthentication/v1" + v1 "k8s.io/client-go/pkg/apis/clientauthentication/v1" "k8s.io/client-go/pkg/apis/clientauthentication/v1beta1" ) diff --git a/vendor/k8s.io/client-go/tools/clientcmd/api/latest/latest.go b/vendor/k8s.io/client-go/tools/clientcmd/api/latest/latest.go index 35bb5dde1..c98de02d1 100644 --- a/vendor/k8s.io/client-go/tools/clientcmd/api/latest/latest.go +++ b/vendor/k8s.io/client-go/tools/clientcmd/api/latest/latest.go @@ -23,7 +23,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/serializer/versioning" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/tools/clientcmd/api" - "k8s.io/client-go/tools/clientcmd/api/v1" + v1 "k8s.io/client-go/tools/clientcmd/api/v1" ) // Version is the string that represents the current external default version. diff --git a/vendor/k8s.io/client-go/tools/reference/ref.go b/vendor/k8s.io/client-go/tools/reference/ref.go index 5d4ec3743..65146170e 100644 --- a/vendor/k8s.io/client-go/tools/reference/ref.go +++ b/vendor/k8s.io/client-go/tools/reference/ref.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/apic.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/apic.go index acf71402c..fb2821e1e 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/apic.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/apic.go @@ -143,7 +143,7 @@ func yaml_emitter_set_canonical(emitter *yaml_emitter_t, canonical bool) { emitter.canonical = canonical } -//// Set the indentation increment. +// // Set the indentation increment. func yaml_emitter_set_indent(emitter *yaml_emitter_t, indent int) { if indent < 2 || indent > 9 { indent = 2 diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/emitterc.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/emitterc.go index a1c2cc526..638a268c7 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/emitterc.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/emitterc.go @@ -130,10 +130,9 @@ func yaml_emitter_emit(emitter *yaml_emitter_t, event *yaml_event_t) bool { // Check if we need to accumulate more events before emitting. // // We accumulate extra -// - 1 event for DOCUMENT-START -// - 2 events for SEQUENCE-START -// - 3 events for MAPPING-START -// +// - 1 event for DOCUMENT-START +// - 2 events for SEQUENCE-START +// - 3 events for MAPPING-START func yaml_emitter_need_more_events(emitter *yaml_emitter_t) bool { if emitter.events_head == len(emitter.events) { return true diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/parserc.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/parserc.go index 81d05dfe5..2883e5c58 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/parserc.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/parserc.go @@ -170,7 +170,8 @@ func yaml_parser_state_machine(parser *yaml_parser_t, event *yaml_event_t) bool // Parse the production: // stream ::= STREAM-START implicit_document? explicit_document* STREAM-END -// ************ +// +// ************ func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -192,9 +193,12 @@ func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) // Parse the productions: // implicit_document ::= block_node DOCUMENT-END* -// * +// +// * +// // explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// ************************* +// +// ************************* func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t, implicit bool) bool { token := peek_token(parser) @@ -277,8 +281,8 @@ func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t // Parse the productions: // explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// *********** // +// *********** func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -299,9 +303,10 @@ func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event // Parse the productions: // implicit_document ::= block_node DOCUMENT-END* -// ************* -// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* // +// ************* +// +// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* func yaml_parser_parse_document_end(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -332,30 +337,41 @@ func yaml_parser_parse_document_end(parser *yaml_parser_t, event *yaml_event_t) // Parse the productions: // block_node_or_indentless_sequence ::= -// ALIAS -// ***** -// | properties (block_content | indentless_block_sequence)? -// ********** * -// | block_content | indentless_block_sequence -// * +// +// ALIAS +// ***** +// | properties (block_content | indentless_block_sequence)? +// ********** * +// | block_content | indentless_block_sequence +// * +// // block_node ::= ALIAS -// ***** -// | properties block_content? -// ********** * -// | block_content -// * +// +// ***** +// | properties block_content? +// ********** * +// | block_content +// * +// // flow_node ::= ALIAS -// ***** -// | properties flow_content? -// ********** * -// | flow_content -// * +// +// ***** +// | properties flow_content? +// ********** * +// | flow_content +// * +// // properties ::= TAG ANCHOR? | ANCHOR TAG? -// ************************* +// +// ************************* +// // block_content ::= block_collection | flow_collection | SCALAR -// ****** +// +// ****** +// // flow_content ::= flow_collection | SCALAR -// ****** +// +// ****** func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, indentless_sequence bool) bool { //defer trace("yaml_parser_parse_node", "block:", block, "indentless_sequence:", indentless_sequence)() @@ -574,8 +590,8 @@ func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, i // Parse the productions: // block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END -// ******************** *********** * ********* // +// ******************** *********** * ********* func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -627,7 +643,8 @@ func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_e // Parse the productions: // indentless_sequence ::= (BLOCK-ENTRY block_node?)+ -// *********** * +// +// *********** * func yaml_parser_parse_indentless_sequence_entry(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -664,14 +681,14 @@ func yaml_parser_parse_indentless_sequence_entry(parser *yaml_parser_t, event *y // Parse the productions: // block_mapping ::= BLOCK-MAPPING_START -// ******************* -// ((KEY block_node_or_indentless_sequence?)? -// *** * -// (VALUE block_node_or_indentless_sequence?)?)* // -// BLOCK-END -// ********* +// ******************* +// ((KEY block_node_or_indentless_sequence?)? +// *** * +// (VALUE block_node_or_indentless_sequence?)?)* // +// BLOCK-END +// ********* func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -723,13 +740,11 @@ func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_even // Parse the productions: // block_mapping ::= BLOCK-MAPPING_START // -// ((KEY block_node_or_indentless_sequence?)? -// -// (VALUE block_node_or_indentless_sequence?)?)* -// ***** * -// BLOCK-END -// +// ((KEY block_node_or_indentless_sequence?)? // +// (VALUE block_node_or_indentless_sequence?)?)* +// ***** * +// BLOCK-END func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -757,16 +772,18 @@ func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_ev // Parse the productions: // flow_sequence ::= FLOW-SEQUENCE-START -// ******************* -// (flow_sequence_entry FLOW-ENTRY)* -// * ********** -// flow_sequence_entry? -// * -// FLOW-SEQUENCE-END -// ***************** +// +// ******************* +// (flow_sequence_entry FLOW-ENTRY)* +// * ********** +// flow_sequence_entry? +// * +// FLOW-SEQUENCE-END +// ***************** +// // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * // +// * func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -825,11 +842,10 @@ func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_ev return true } -// // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// *** * // +// *** * func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -849,8 +865,8 @@ func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, ev // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// ***** * // +// ***** * func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -873,8 +889,8 @@ func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, // Parse the productions: // flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * // +// * func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, event *yaml_event_t) bool { token := peek_token(parser) if token == nil { @@ -891,16 +907,17 @@ func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, ev // Parse the productions: // flow_mapping ::= FLOW-MAPPING-START -// ****************** -// (flow_mapping_entry FLOW-ENTRY)* -// * ********** -// flow_mapping_entry? -// ****************** -// FLOW-MAPPING-END -// **************** -// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * *** * // +// ****************** +// (flow_mapping_entry FLOW-ENTRY)* +// * ********** +// flow_mapping_entry? +// ****************** +// FLOW-MAPPING-END +// **************** +// +// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? +// - *** * func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { if first { token := peek_token(parser) @@ -965,8 +982,7 @@ func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event // Parse the productions: // flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * ***** * -// +// - ***** * func yaml_parser_parse_flow_mapping_value(parser *yaml_parser_t, event *yaml_event_t, empty bool) bool { token := peek_token(parser) if token == nil { diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/readerc.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/readerc.go index 7c1f5fac3..b0c436c4a 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/readerc.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/readerc.go @@ -95,7 +95,7 @@ func yaml_parser_update_buffer(parser *yaml_parser_t, length int) bool { // [Go] This function was changed to guarantee the requested length size at EOF. // The fact we need to do this is pretty awful, but the description above implies - // for that to be the case, and there are tests + // for that to be the case, and there are tests // If the EOF flag is set and the raw buffer is empty, do nothing. if parser.eof && parser.raw_buffer_pos == len(parser.raw_buffer) { diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/resolve.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/resolve.go index 4120e0c91..e29c364b3 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/resolve.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/resolve.go @@ -180,7 +180,7 @@ func resolve(tag string, in string) (rtag string, out interface{}) { return yaml_INT_TAG, uintv } } else if strings.HasPrefix(plain, "-0b") { - intv, err := strconv.ParseInt("-" + plain[3:], 2, 64) + intv, err := strconv.ParseInt("-"+plain[3:], 2, 64) if err == nil { if true || intv == int64(int(intv)) { return yaml_INT_TAG, int(intv) diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/scannerc.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/scannerc.go index 0b9bb6030..d634dca4b 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/scannerc.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/scannerc.go @@ -1500,11 +1500,11 @@ func yaml_parser_scan_to_next_token(parser *yaml_parser_t) bool { // Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // +// %YAML 1.1 # a comment \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool { // Eat '%'. start_mark := parser.mark @@ -1601,11 +1601,11 @@ func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool // Scan the directive name. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^ // +// %YAML 1.1 # a comment \n +// ^^^^ +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^ func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark_t, name *[]byte) bool { // Consume the directive name. if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { @@ -1640,8 +1640,9 @@ func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark // Scan the value of VERSION-DIRECTIVE. // // Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^ +// +// %YAML 1.1 # a comment \n +// ^^^^^^ func yaml_parser_scan_version_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, major, minor *int8) bool { // Eat whitespaces. if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { @@ -1679,10 +1680,11 @@ const max_number_length = 2 // Scan the version number of VERSION-DIRECTIVE. // // Scope: -// %YAML 1.1 # a comment \n -// ^ -// %YAML 1.1 # a comment \n -// ^ +// +// %YAML 1.1 # a comment \n +// ^ +// %YAML 1.1 # a comment \n +// ^ func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark yaml_mark_t, number *int8) bool { // Repeat while the next character is digit. @@ -1716,9 +1718,9 @@ func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark // Scan the value of a TAG-DIRECTIVE token. // // Scope: -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // +// %TAG !yaml! tag:yaml.org,2002: \n +// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func yaml_parser_scan_tag_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, handle, prefix *[]byte) bool { var handle_value, prefix_value []byte diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/sorter.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/sorter.go index 4c45e660a..2edd73405 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/sorter.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/sorter.go @@ -52,7 +52,7 @@ func (l keyList) Less(i, j int) bool { var ai, bi int var an, bn int64 if ar[i] == '0' || br[i] == '0' { - for j := i-1; j >= 0 && unicode.IsDigit(ar[j]); j-- { + for j := i - 1; j >= 0 && unicode.IsDigit(ar[j]); j-- { if ar[j] != '0' { an = 1 bn = 1 diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/yaml.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/yaml.go index 30813884c..03756f6bb 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/yaml.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/yaml.go @@ -2,8 +2,7 @@ // // Source code and other details for the project are available at GitHub: // -// https://github.com/go-yaml/yaml -// +// https://github.com/go-yaml/yaml package yaml import ( @@ -67,16 +66,15 @@ type Marshaler interface { // // For example: // -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// var t T -// yaml.Unmarshal([]byte("a: 1\nb: 2"), &t) +// type T struct { +// F int `yaml:"a,omitempty"` +// B int +// } +// var t T +// yaml.Unmarshal([]byte("a: 1\nb: 2"), &t) // // See the documentation of Marshal for the format of tags and a list of // supported tag options. -// func Unmarshal(in []byte, out interface{}) (err error) { return unmarshal(in, out, false) } @@ -166,36 +164,35 @@ func unmarshal(in []byte, out interface{}, strict bool) (err error) { // // The field tag format accepted is: // -// `(...) yaml:"[][,[,]]" (...)` +// `(...) yaml:"[][,[,]]" (...)` // // The following flags are currently supported: // -// omitempty Only include the field if it's not set to the zero -// value for the type or to empty slices or maps. -// Zero valued structs will be omitted if all their public -// fields are zero, unless they implement an IsZero -// method (see the IsZeroer interface type), in which -// case the field will be excluded if IsZero returns true. +// omitempty Only include the field if it's not set to the zero +// value for the type or to empty slices or maps. +// Zero valued structs will be omitted if all their public +// fields are zero, unless they implement an IsZero +// method (see the IsZeroer interface type), in which +// case the field will be excluded if IsZero returns true. // -// flow Marshal using a flow style (useful for structs, -// sequences and maps). +// flow Marshal using a flow style (useful for structs, +// sequences and maps). // -// inline Inline the field, which must be a struct or a map, -// causing all of its fields or keys to be processed as if -// they were part of the outer struct. For maps, keys must -// not conflict with the yaml keys of other struct fields. +// inline Inline the field, which must be a struct or a map, +// causing all of its fields or keys to be processed as if +// they were part of the outer struct. For maps, keys must +// not conflict with the yaml keys of other struct fields. // // In addition, if the key is "-", the field is ignored. // // For example: // -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// yaml.Marshal(&T{B: 2}) // Returns "b: 2\n" -// yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n" -// +// type T struct { +// F int `yaml:"a,omitempty"` +// B int +// } +// yaml.Marshal(&T{B: 2}) // Returns "b: 2\n" +// yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n" func Marshal(in interface{}) (out []byte, err error) { defer handleErr(&err) e := newEncoder() diff --git a/vendor/sigs.k8s.io/yaml/goyaml.v2/yamlh.go b/vendor/sigs.k8s.io/yaml/goyaml.v2/yamlh.go index f6a9c8e34..640f9d95d 100644 --- a/vendor/sigs.k8s.io/yaml/goyaml.v2/yamlh.go +++ b/vendor/sigs.k8s.io/yaml/goyaml.v2/yamlh.go @@ -408,7 +408,9 @@ type yaml_document_t struct { // The number of written bytes should be set to the size_read variable. // // [in,out] data A pointer to an application data specified by -// yaml_parser_set_input(). +// +// yaml_parser_set_input(). +// // [out] buffer The buffer to write the data from the source. // [in] size The size of the buffer. // [out] size_read The actual number of bytes read from the source. @@ -604,13 +606,14 @@ type yaml_parser_t struct { // @a buffer to the output. // // @param[in,out] data A pointer to an application data specified by -// yaml_emitter_set_output(). +// +// yaml_emitter_set_output(). +// // @param[in] buffer The buffer with bytes to be written. // @param[in] size The size of the buffer. // // @returns On success, the handler should return @c 1. If the handler failed, // the returned value should be @c 0. -// type yaml_write_handler_t func(emitter *yaml_emitter_t, buffer []byte) error type yaml_emitter_state_t int diff --git a/vendor/sigs.k8s.io/yaml/yaml.go b/vendor/sigs.k8s.io/yaml/yaml.go index fc10246bd..06dd8f8c5 100644 --- a/vendor/sigs.k8s.io/yaml/yaml.go +++ b/vendor/sigs.k8s.io/yaml/yaml.go @@ -24,7 +24,7 @@ import ( "reflect" "strconv" - "sigs.k8s.io/yaml/goyaml.v2" + yaml "sigs.k8s.io/yaml/goyaml.v2" ) // Marshal marshals obj into JSON using stdlib json.Marshal, and then converts JSON to YAML using JSONToYAML (see that method for more reference)