From c10f5104b47050fc57c0156317f6062bedb3e940 Mon Sep 17 00:00:00 2001 From: Adam Janikowski Date: Wed, 4 Mar 2020 11:25:14 +0100 Subject: [PATCH] FATURE/fix docs and headers (#528) --- Makefile | 9 +- chart/kube-arangodb-crd/LICENSE | 2 +- chart/kube-arangodb/LICENSE | 2 +- examples/cluster1-with-sync.yaml | 2 +- examples/cluster2-with-sync.yaml | 2 +- examples/production-cluster.yaml | 2 +- examples/reboot-pod.yaml | 4 +- examples/simple-cluster.yaml | 2 +- examples/single-server.yaml | 2 +- go.mod | 76 ++--- go.sum | 268 ++---------------- lifecycle.go | 2 +- main.go | 2 +- pkg/apis/backup/definitions.go | 2 +- pkg/apis/backup/v1/backup.go | 2 +- pkg/apis/backup/v1/backup_policy.go | 2 +- pkg/apis/backup/v1/backup_policy_spec.go | 2 +- pkg/apis/backup/v1/backup_policy_status.go | 2 +- pkg/apis/backup/v1/backup_policy_validate.go | 2 +- pkg/apis/backup/v1/backup_spec.go | 2 +- pkg/apis/backup/v1/backup_state.go | 2 +- pkg/apis/backup/v1/backup_status.go | 2 +- pkg/apis/backup/v1/backup_validate.go | 2 +- pkg/apis/backup/v1/doc.go | 2 +- pkg/apis/backup/v1/register.go | 2 +- pkg/apis/backup/v1/zz_generated.deepcopy.go | 6 +- pkg/apis/deployment/definitions.go | 2 +- pkg/apis/deployment/v1/authentication_spec.go | 2 +- .../deployment/v1/authentication_spec_test.go | 2 +- pkg/apis/deployment/v1/bootstrap.go | 2 +- pkg/apis/deployment/v1/chaos_spec.go | 2 +- pkg/apis/deployment/v1/conditions.go | 2 +- pkg/apis/deployment/v1/conditions_test.go | 2 +- pkg/apis/deployment/v1/deployment.go | 2 +- .../deployment/v1/deployment_backup_status.go | 2 +- pkg/apis/deployment/v1/deployment_mode.go | 2 +- .../deployment/v1/deployment_mode_test.go | 2 +- pkg/apis/deployment/v1/deployment_phase.go | 2 +- .../deployment/v1/deployment_phase_test.go | 2 +- pkg/apis/deployment/v1/deployment_spec.go | 2 +- .../deployment/v1/deployment_spec_test.go | 2 +- pkg/apis/deployment/v1/deployment_status.go | 2 +- .../v1/deployment_status_members.go | 2 +- pkg/apis/deployment/v1/doc.go | 2 +- pkg/apis/deployment/v1/duration.go | 2 +- pkg/apis/deployment/v1/environment.go | 2 +- pkg/apis/deployment/v1/environment_test.go | 2 +- pkg/apis/deployment/v1/errors.go | 2 +- .../deployment/v1/external_access_spec.go | 2 +- .../deployment/v1/external_access_type.go | 2 +- pkg/apis/deployment/v1/image_info.go | 2 +- pkg/apis/deployment/v1/image_info_test.go | 2 +- pkg/apis/deployment/v1/license_spec.go | 2 +- pkg/apis/deployment/v1/lifecycle_spec.go | 2 +- pkg/apis/deployment/v1/member_phase.go | 2 +- pkg/apis/deployment/v1/member_status.go | 2 +- pkg/apis/deployment/v1/member_status_list.go | 2 +- .../deployment/v1/member_status_list_test.go | 2 +- pkg/apis/deployment/v1/member_status_test.go | 2 +- pkg/apis/deployment/v1/metrics_spec.go | 2 +- pkg/apis/deployment/v1/monitoring_spec.go | 2 +- .../deployment/v1/monitoring_spec_test.go | 2 +- pkg/apis/deployment/v1/percent.go | 2 +- pkg/apis/deployment/v1/plan.go | 2 +- pkg/apis/deployment/v1/register.go | 2 +- pkg/apis/deployment/v1/rocksdb_spec.go | 2 +- pkg/apis/deployment/v1/rocksdb_spec_test.go | 2 +- pkg/apis/deployment/v1/secret_hashes.go | 2 +- pkg/apis/deployment/v1/secret_hashes_test.go | 2 +- pkg/apis/deployment/v1/server_group.go | 2 +- pkg/apis/deployment/v1/server_group_spec.go | 2 +- .../deployment/v1/server_group_spec_test.go | 2 +- pkg/apis/deployment/v1/server_group_test.go | 2 +- pkg/apis/deployment/v1/storage_engine.go | 2 +- pkg/apis/deployment/v1/storage_engine_test.go | 2 +- .../deployment/v1/sync_authentication_spec.go | 2 +- .../v1/sync_external_access_spec.go | 2 +- pkg/apis/deployment/v1/sync_spec.go | 2 +- pkg/apis/deployment/v1/sync_spec_test.go | 2 +- pkg/apis/deployment/v1/tls_spec.go | 2 +- pkg/apis/deployment/v1/tls_spec_test.go | 2 +- .../deployment/v1/zz_generated.deepcopy.go | 4 +- pkg/apis/replication/definitions.go | 2 +- pkg/apis/replication/v1/collection_status.go | 2 +- pkg/apis/replication/v1/conditions.go | 2 +- pkg/apis/replication/v1/conditions_test.go | 2 +- pkg/apis/replication/v1/database_status.go | 2 +- pkg/apis/replication/v1/doc.go | 2 +- .../v1/endpoint_authentication_spec.go | 2 +- pkg/apis/replication/v1/endpoint_spec.go | 2 +- pkg/apis/replication/v1/endpoint_status.go | 2 +- pkg/apis/replication/v1/endpoint_tls_spec.go | 2 +- pkg/apis/replication/v1/errors.go | 2 +- pkg/apis/replication/v1/register.go | 2 +- pkg/apis/replication/v1/replication.go | 2 +- pkg/apis/replication/v1/replication_phase.go | 2 +- pkg/apis/replication/v1/replication_spec.go | 2 +- pkg/apis/replication/v1/replication_status.go | 2 +- pkg/apis/replication/v1/shard_status.go | 2 +- .../replication/v1/zz_generated.deepcopy.go | 4 +- pkg/apis/storage/v1alpha/doc.go | 2 +- pkg/apis/storage/v1alpha/errors.go | 2 +- pkg/apis/storage/v1alpha/local_storage.go | 2 +- .../storage/v1alpha/local_storage_spec.go | 2 +- .../v1alpha/local_storage_spec_test.go | 2 +- .../storage/v1alpha/local_storage_state.go | 2 +- .../storage/v1alpha/local_storage_status.go | 2 +- pkg/apis/storage/v1alpha/register.go | 2 +- .../storage/v1alpha/storage_class_spec.go | 2 +- .../v1alpha/storage_class_spec_test.go | 2 +- .../storage/v1alpha/zz_generated.deepcopy.go | 4 +- .../handlers/arango/backup/arango_client.go | 2 +- .../arango/backup/arango_client_impl.go | 2 +- .../arango/backup/arango_client_mock_test.go | 2 +- .../arango/backup/arango_client_test.go | 2 +- .../arango/backup/backup_suite_test.go | 2 +- pkg/backup/handlers/arango/backup/errors.go | 2 +- .../handlers/arango/backup/finalizer.go | 2 +- .../handlers/arango/backup/finalizer_test.go | 2 +- .../handlers/arango/backup/flow_test.go | 2 +- pkg/backup/handlers/arango/backup/handler.go | 2 +- .../handlers/arango/backup/handler_test.go | 2 +- .../handlers/arango/backup/lifecycle.go | 2 +- pkg/backup/handlers/arango/backup/register.go | 2 +- pkg/backup/handlers/arango/backup/state.go | 2 +- .../handlers/arango/backup/state_create.go | 2 +- .../arango/backup/state_create_test.go | 2 +- .../handlers/arango/backup/state_deleted.go | 2 +- .../arango/backup/state_deleted_test.go | 2 +- .../handlers/arango/backup/state_download.go | 2 +- .../arango/backup/state_download_test.go | 2 +- .../arango/backup/state_downloaderror.go | 2 +- .../arango/backup/state_downloaderror_test.go | 2 +- .../arango/backup/state_downloading.go | 2 +- .../arango/backup/state_downloading_test.go | 2 +- .../handlers/arango/backup/state_failed.go | 2 +- .../arango/backup/state_failed_test.go | 2 +- .../handlers/arango/backup/state_none.go | 2 +- .../handlers/arango/backup/state_none_test.go | 2 +- .../handlers/arango/backup/state_pending.go | 2 +- .../arango/backup/state_pending_test.go | 2 +- .../handlers/arango/backup/state_ready.go | 2 +- .../arango/backup/state_ready_test.go | 2 +- .../handlers/arango/backup/state_scheduled.go | 2 +- .../arango/backup/state_scheduled_test.go | 2 +- .../arango/backup/state_unavailable.go | 2 +- .../arango/backup/state_unavailable_test.go | 2 +- .../handlers/arango/backup/state_upload.go | 2 +- .../arango/backup/state_upload_test.go | 2 +- .../arango/backup/state_uploaderror.go | 2 +- .../arango/backup/state_uploaderror_test.go | 2 +- .../handlers/arango/backup/state_uploading.go | 2 +- .../arango/backup/state_uploading_test.go | 2 +- pkg/backup/handlers/arango/backup/status.go | 2 +- pkg/backup/handlers/arango/backup/util.go | 2 +- pkg/backup/handlers/arango/policy/handler.go | 2 +- .../arango/policy/handler_scheduler_test.go | 2 +- .../arango/policy/handler_suite_test.go | 2 +- .../handlers/arango/policy/handler_test.go | 2 +- .../handlers/arango/policy/lifecycle.go | 2 +- pkg/backup/handlers/arango/policy/register.go | 2 +- pkg/backup/operator/event/event.go | 2 +- pkg/backup/operator/event/event_test.go | 2 +- pkg/backup/operator/handler.go | 2 +- pkg/backup/operator/informer.go | 2 +- pkg/backup/operator/lifecycle.go | 2 +- pkg/backup/operator/operation/item.go | 2 +- pkg/backup/operator/operation/item_test.go | 2 +- pkg/backup/operator/operator.go | 2 +- pkg/backup/operator/operator_suite_test.go | 2 +- pkg/backup/operator/operator_test.go | 2 +- pkg/backup/operator/operator_worker.go | 2 +- pkg/backup/operator/operator_worker_test.go | 2 +- pkg/backup/state/errors.go | 2 +- pkg/backup/state/map.go | 2 +- pkg/backup/state/map_test.go | 2 +- pkg/backup/state/state.go | 2 +- pkg/backup/state/state_test.go | 2 +- pkg/backup/utils/errors.go | 2 +- pkg/backup/utils/ints.go | 2 +- pkg/backup/utils/json.go | 2 +- pkg/backup/utils/retry.go | 2 +- pkg/backup/utils/strings.go | 2 +- pkg/client/client.go | 2 +- pkg/deployment/access_package.go | 2 +- pkg/deployment/backup/handler.go | 2 +- pkg/deployment/bootstrap.go | 2 +- pkg/deployment/chaos/context.go | 2 +- pkg/deployment/chaos/errors.go | 2 +- pkg/deployment/chaos/monkey.go | 2 +- pkg/deployment/cleanup.go | 2 +- pkg/deployment/client_cache.go | 2 +- pkg/deployment/cluster_scaling_integration.go | 2 +- pkg/deployment/context_impl.go | 2 +- pkg/deployment/deployment.go | 2 +- pkg/deployment/deployment_finalizers.go | 2 +- pkg/deployment/deployment_inspector.go | 2 +- pkg/deployment/deployment_test.go | 114 +++----- pkg/deployment/errors.go | 2 +- pkg/deployment/images.go | 12 +- pkg/deployment/images_test.go | 12 +- pkg/deployment/informers.go | 2 +- pkg/deployment/members.go | 2 +- pkg/deployment/metrics.go | 2 +- pkg/deployment/reconcile/action.go | 2 +- pkg/deployment/reconcile/action_add_member.go | 2 +- .../reconcile/action_cleanout_member.go | 2 +- pkg/deployment/reconcile/action_context.go | 2 +- pkg/deployment/reconcile/action_pvc_resize.go | 2 +- .../reconcile/action_pvc_resized.go | 2 +- .../reconcile/action_remove_member.go | 2 +- .../action_renew_tls_ca_certificate.go | 2 +- .../reconcile/action_renew_tls_certificate.go | 2 +- .../reconcile/action_rotate_member.go | 2 +- .../reconcile/action_shutdown_member.go | 2 +- .../reconcile/action_upgrade_current_image.go | 2 +- .../reconcile/action_upgrade_member.go | 2 +- .../reconcile/action_wait_for_member_up.go | 2 +- pkg/deployment/reconcile/context.go | 2 +- pkg/deployment/reconcile/errors.go | 2 +- pkg/deployment/reconcile/plan_builder.go | 2 +- .../reconcile/plan_builder_context.go | 2 +- .../reconcile/plan_builder_rotate_upgrade.go | 2 +- .../reconcile/plan_builder_scale.go | 2 +- .../reconcile/plan_builder_storage.go | 2 +- pkg/deployment/reconcile/plan_builder_test.go | 2 +- pkg/deployment/reconcile/plan_builder_tls.go | 2 +- pkg/deployment/reconcile/plan_executor.go | 2 +- pkg/deployment/reconcile/reconciler.go | 2 +- pkg/deployment/reconcile/timeouts.go | 2 +- pkg/deployment/resilience/context.go | 2 +- pkg/deployment/resilience/errors.go | 2 +- pkg/deployment/resilience/member_failure.go | 2 +- pkg/deployment/resilience/resilience.go | 2 +- pkg/deployment/resources/annotations.go | 2 +- .../resources/certificates_client_auth.go | 2 +- pkg/deployment/resources/certificates_tls.go | 2 +- pkg/deployment/resources/context.go | 2 +- pkg/deployment/resources/deployment_health.go | 2 +- pkg/deployment/resources/errors.go | 2 +- pkg/deployment/resources/exporter.go | 2 +- pkg/deployment/resources/license.go | 2 +- pkg/deployment/resources/member_cleanup.go | 2 +- pkg/deployment/resources/metrics.go | 2 +- pkg/deployment/resources/pod_cleanup.go | 2 +- pkg/deployment/resources/pod_creator.go | 2 +- .../resources/pod_creator_agent_args_test.go | 2 +- .../resources/pod_creator_arangod.go | 2 +- .../pod_creator_coordinator_args_test.go | 2 +- .../pod_creator_dbserver_args_test.go | 2 +- .../resources/pod_creator_single_args_test.go | 2 +- pkg/deployment/resources/pod_creator_sync.go | 2 +- pkg/deployment/resources/pod_finalizers.go | 2 +- pkg/deployment/resources/pod_inspector.go | 2 +- pkg/deployment/resources/pod_termination.go | 2 +- pkg/deployment/resources/pvc_finalizers.go | 2 +- pkg/deployment/resources/pvc_inspector.go | 2 +- pkg/deployment/resources/pvcs.go | 2 +- pkg/deployment/resources/resources.go | 2 +- pkg/deployment/resources/secret_hashes.go | 2 +- pkg/deployment/resources/secrets.go | 2 +- pkg/deployment/resources/services.go | 2 +- pkg/deployment/server_api.go | 2 +- pkg/deployment/server_member_api.go | 2 +- .../clientset/versioned/clientset.go | 2 +- pkg/generated/clientset/versioned/doc.go | 2 +- .../versioned/fake/clientset_generated.go | 2 +- pkg/generated/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 2 +- .../clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../versioned/typed/backup/v1/arangobackup.go | 2 +- .../typed/backup/v1/arangobackuppolicy.go | 2 +- .../typed/backup/v1/backup_client.go | 2 +- .../versioned/typed/backup/v1/doc.go | 2 +- .../versioned/typed/backup/v1/fake/doc.go | 2 +- .../typed/backup/v1/fake/fake_arangobackup.go | 2 +- .../backup/v1/fake/fake_arangobackuppolicy.go | 2 +- .../backup/v1/fake/fake_backup_client.go | 2 +- .../typed/backup/v1/generated_expansion.go | 2 +- .../typed/backup/v1alpha/arangobackup.go | 195 ------------- .../backup/v1alpha/arangobackuppolicy.go | 195 ------------- .../typed/backup/v1alpha/backup_client.go | 99 ------- .../versioned/typed/backup/v1alpha/doc.go | 24 -- .../typed/backup/v1alpha/fake/doc.go | 24 -- .../backup/v1alpha/fake/fake_arangobackup.go | 144 ---------- .../v1alpha/fake/fake_arangobackuppolicy.go | 144 ---------- .../backup/v1alpha/fake/fake_backup_client.go | 48 ---- .../backup/v1alpha/generated_expansion.go | 27 -- .../typed/deployment/v1/arangodeployment.go | 2 +- .../typed/deployment/v1/deployment_client.go | 2 +- .../versioned/typed/deployment/v1/doc.go | 2 +- .../versioned/typed/deployment/v1/fake/doc.go | 2 +- .../v1/fake/fake_arangodeployment.go | 2 +- .../v1/fake/fake_deployment_client.go | 2 +- .../deployment/v1/generated_expansion.go | 2 +- .../deployment/v1alpha/arangodeployment.go | 195 ------------- .../deployment/v1alpha/deployment_client.go | 94 ------ .../versioned/typed/deployment/v1alpha/doc.go | 24 -- .../typed/deployment/v1alpha/fake/doc.go | 24 -- .../v1alpha/fake/fake_arangodeployment.go | 144 ---------- .../v1alpha/fake/fake_deployment_client.go | 44 --- .../deployment/v1alpha/generated_expansion.go | 25 -- .../v1/arangodeploymentreplication.go | 2 +- .../versioned/typed/replication/v1/doc.go | 2 +- .../typed/replication/v1/fake/doc.go | 2 +- .../fake/fake_arangodeploymentreplication.go | 2 +- .../v1/fake/fake_replication_client.go | 2 +- .../replication/v1/generated_expansion.go | 2 +- .../replication/v1/replication_client.go | 2 +- .../v1alpha/arangodeploymentreplication.go | 195 ------------- .../typed/replication/v1alpha/doc.go | 24 -- .../typed/replication/v1alpha/fake/doc.go | 24 -- .../fake/fake_arangodeploymentreplication.go | 144 ---------- .../v1alpha/fake/fake_replication_client.go | 44 --- .../v1alpha/generated_expansion.go | 25 -- .../replication/v1alpha/replication_client.go | 94 ------ .../storage/v1alpha/arangolocalstorage.go | 2 +- .../versioned/typed/storage/v1alpha/doc.go | 2 +- .../typed/storage/v1alpha/fake/doc.go | 2 +- .../v1alpha/fake/fake_arangolocalstorage.go | 2 +- .../v1alpha/fake/fake_storage_client.go | 2 +- .../storage/v1alpha/generated_expansion.go | 2 +- .../typed/storage/v1alpha/storage_client.go | 2 +- .../externalversions/backup/interface.go | 2 +- .../backup/v1/arangobackup.go | 2 +- .../backup/v1/arangobackuppolicy.go | 2 +- .../externalversions/backup/v1/interface.go | 2 +- .../backup/v1alpha/arangobackup.go | 93 ------ .../backup/v1alpha/arangobackuppolicy.go | 93 ------ .../backup/v1alpha/interface.go | 56 ---- .../externalversions/deployment/interface.go | 2 +- .../deployment/v1/arangodeployment.go | 2 +- .../deployment/v1/interface.go | 2 +- .../deployment/v1alpha/arangodeployment.go | 93 ------ .../deployment/v1alpha/interface.go | 49 ---- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../externalversions/replication/interface.go | 2 +- .../v1/arangodeploymentreplication.go | 2 +- .../replication/v1/interface.go | 2 +- .../v1alpha/arangodeploymentreplication.go | 93 ------ .../replication/v1alpha/interface.go | 49 ---- .../externalversions/storage/interface.go | 2 +- .../storage/v1alpha/arangolocalstorage.go | 2 +- .../storage/v1alpha/interface.go | 2 +- .../listers/backup/v1/arangobackup.go | 2 +- .../listers/backup/v1/arangobackuppolicy.go | 2 +- .../listers/backup/v1/expansion_generated.go | 2 +- .../listers/backup/v1alpha/arangobackup.go | 98 ------- .../backup/v1alpha/arangobackuppolicy.go | 98 ------- .../backup/v1alpha/expansion_generated.go | 39 --- .../listers/deployment/v1/arangodeployment.go | 2 +- .../deployment/v1/expansion_generated.go | 2 +- .../deployment/v1alpha/arangodeployment.go | 98 ------- .../deployment/v1alpha/expansion_generated.go | 31 -- .../v1/arangodeploymentreplication.go | 2 +- .../replication/v1/expansion_generated.go | 2 +- .../v1alpha/arangodeploymentreplication.go | 98 ------- .../v1alpha/expansion_generated.go | 31 -- .../storage/v1alpha/arangolocalstorage.go | 2 +- .../storage/v1alpha/expansion_generated.go | 2 +- pkg/logging/error.go | 2 +- pkg/logging/logger.go | 2 +- pkg/metrics/metrics.go | 2 +- pkg/operator/crd.go | 2 +- pkg/operator/errors.go | 2 +- pkg/operator/operator.go | 2 +- pkg/operator/operator_deployment.go | 2 +- .../operator_deployment_relication.go | 2 +- pkg/operator/operator_leader.go | 2 +- pkg/operator/operator_local_storage.go | 2 +- pkg/operator/server_api.go | 2 +- pkg/operator/server_discovery_api.go | 2 +- pkg/replication/deployment_replication.go | 2 +- pkg/replication/errors.go | 2 +- pkg/replication/finalizers.go | 2 +- pkg/replication/server_api.go | 2 +- pkg/replication/server_endpoint_api.go | 2 +- pkg/replication/sync_client.go | 2 +- pkg/replication/sync_inspector.go | 2 +- pkg/server/auth.go | 2 +- pkg/server/errors.go | 2 +- pkg/server/handlers.go | 2 +- pkg/server/handlers_deployment.go | 2 +- pkg/server/handlers_replication.go | 2 +- pkg/server/handlers_storage.go | 2 +- pkg/server/server.go | 2 +- pkg/storage/clients.go | 2 +- pkg/storage/daemon_set.go | 2 +- pkg/storage/errors.go | 2 +- pkg/storage/image.go | 2 +- pkg/storage/local_storage.go | 2 +- pkg/storage/provisioner/api.go | 2 +- pkg/storage/provisioner/client/client.go | 2 +- pkg/storage/provisioner/client/errors.go | 2 +- pkg/storage/provisioner/errors.go | 2 +- pkg/storage/provisioner/mocks/mocks.go | 2 +- pkg/storage/provisioner/mocks/provisioner.go | 2 +- pkg/storage/provisioner/service/errors.go | 2 +- .../provisioner/service/provisioner.go | 2 +- pkg/storage/provisioner/service/server.go | 2 +- pkg/storage/pv_cleanup.go | 2 +- pkg/storage/pv_creator.go | 2 +- pkg/storage/pv_creator_test.go | 2 +- pkg/storage/pv_informer.go | 2 +- pkg/storage/pv_inspector.go | 2 +- pkg/storage/pvc_informer.go | 2 +- pkg/storage/pvc_inspector.go | 2 +- pkg/storage/server_api.go | 2 +- pkg/storage/server_volume_api.go | 2 +- pkg/storage/service.go | 2 +- pkg/storage/storage_class.go | 2 +- pkg/util/arangod/cleanout_server.go | 2 +- pkg/util/arangod/client.go | 2 +- pkg/util/arangod/cluster.go | 2 +- pkg/util/arangod/dbserver.go | 2 +- pkg/util/arangod/driver_init.go | 2 +- pkg/util/arangod/endpoint.go | 2 +- pkg/util/arangod/error.go | 2 +- pkg/util/arangod/options/options.go | 2 +- pkg/util/arangosync/options/options.go | 2 +- pkg/util/constants/constants.go | 2 +- pkg/util/crd/crd.go | 2 +- pkg/util/crd/errors.go | 2 +- pkg/util/errors/errors.go | 2 +- pkg/util/interval.go | 2 +- pkg/util/k8sutil/affinity.go | 2 +- pkg/util/k8sutil/affinity_test.go | 2 +- pkg/util/k8sutil/annotations.go | 2 +- pkg/util/k8sutil/client.go | 2 +- pkg/util/k8sutil/constants.go | 2 +- pkg/util/k8sutil/container.go | 2 +- pkg/util/k8sutil/dns.go | 2 +- pkg/util/k8sutil/dns_test.go | 2 +- pkg/util/k8sutil/errors.go | 2 +- pkg/util/k8sutil/errors_test.go | 2 +- pkg/util/k8sutil/events.go | 2 +- pkg/util/k8sutil/finalizers.go | 2 +- pkg/util/k8sutil/images.go | 2 +- pkg/util/k8sutil/informer.go | 2 +- pkg/util/k8sutil/lifecycle.go | 2 +- pkg/util/k8sutil/map.go | 2 +- pkg/util/k8sutil/names.go | 2 +- pkg/util/k8sutil/names_test.go | 2 +- pkg/util/k8sutil/owner.go | 2 +- pkg/util/k8sutil/pods.go | 2 +- pkg/util/k8sutil/pods_test.go | 2 +- pkg/util/k8sutil/probes.go | 2 +- pkg/util/k8sutil/probes_test.go | 2 +- pkg/util/k8sutil/pvc.go | 2 +- pkg/util/k8sutil/pvc_cache.go | 2 +- pkg/util/k8sutil/secrets.go | 2 +- pkg/util/k8sutil/secrets_cache.go | 2 +- pkg/util/k8sutil/secrets_test.go | 2 +- pkg/util/k8sutil/services.go | 2 +- pkg/util/k8sutil/services_cache.go | 2 +- pkg/util/k8sutil/storageclass.go | 2 +- pkg/util/k8sutil/storageclass_test.go | 2 +- pkg/util/k8sutil/test/doc.go | 2 +- pkg/util/k8sutil/test/events_test.go | 2 +- pkg/util/k8sutil/tolerations.go | 2 +- pkg/util/k8sutil/util.go | 2 +- pkg/util/k8sutil/util_test.go | 2 +- pkg/util/probe/liveness.go | 2 +- pkg/util/probe/liveness_test.go | 2 +- pkg/util/probe/ready.go | 2 +- pkg/util/profiler/profiler.go | 2 +- pkg/util/refs.go | 2 +- pkg/util/retry/retry.go | 2 +- pkg/util/times.go | 2 +- pkg/util/trigger/trigger.go | 2 +- pkg/util/validation/dns_name.go | 2 +- pkg/util/validation/dns_name_test.go | 2 +- pkg/util/validation/email_address.go | 2 +- pkg/util/validation/email_address_test.go | 2 +- reboot.go | 2 +- scripts/patch_examples.sh | 33 +++ storage.go | 2 +- tests/annotations_test.go | 2 +- tests/auth_test.go | 2 +- tests/backup_test.go | 2 +- tests/change_args_test.go | 2 +- tests/cursor_test.go | 2 +- tests/db_util.go | 2 +- tests/deployments_test.go | 2 +- tests/duration/main.go | 2 +- tests/duration/simple/check.go | 2 +- tests/duration/simple/error.go | 2 +- tests/duration/simple/simple.go | 2 +- tests/duration/simple/simple_collection.go | 2 +- tests/duration/simple/simple_create.go | 2 +- tests/duration/simple/simple_import.go | 2 +- tests/duration/simple/simple_query.go | 2 +- tests/duration/simple/simple_query_update.go | 2 +- tests/duration/simple/simple_read.go | 2 +- tests/duration/simple/simple_rebalance.go | 2 +- tests/duration/simple/simple_remove.go | 2 +- tests/duration/simple/simple_replace.go | 2 +- tests/duration/simple/simple_update.go | 2 +- tests/duration/test/shuffle.go | 2 +- tests/duration/test/test.go | 2 +- tests/duration/test_listener.go | 2 +- tests/duration/test_loop.go | 2 +- tests/environments_test.go | 2 +- tests/immutable_test.go | 2 +- tests/load_balancer_source_ranges_test.go | 2 +- tests/load_balancer_test.go | 2 +- tests/member_resilience_test.go | 2 +- tests/metrics_test.go | 2 +- tests/persistent_volumes_test.go | 2 +- tests/predicates.go | 2 +- tests/prepull_image_util.go | 2 +- tests/resilience_test.go | 2 +- tests/resources_test.go | 2 +- tests/rocksdb_encryption_test.go | 2 +- tests/scale_test.go | 2 +- tests/secret_hashes_test.go | 2 +- tests/service_account_test.go | 2 +- tests/sidecar_test.go | 2 +- tests/simple_test.go | 2 +- tests/sync_test.go | 2 +- tests/test_util.go | 2 +- tests/upgrade_test.go | 2 +- tools/codegen/boilerplate.go.txt | 2 +- tools/manifests/manifest_builder.go | 2 +- tools/release/release.go | 4 +- 528 files changed, 619 insertions(+), 3906 deletions(-) delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackup.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackuppolicy.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/backup_client.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/doc.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/doc.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackup.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackuppolicy.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_backup_client.go delete mode 100644 pkg/generated/clientset/versioned/typed/backup/v1alpha/generated_expansion.go delete mode 100644 pkg/generated/clientset/versioned/typed/deployment/v1alpha/arangodeployment.go delete mode 100644 pkg/generated/clientset/versioned/typed/deployment/v1alpha/deployment_client.go delete mode 100644 pkg/generated/clientset/versioned/typed/deployment/v1alpha/doc.go delete mode 100644 pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/doc.go delete mode 100644 pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_arangodeployment.go delete mode 100644 pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_deployment_client.go delete mode 100644 pkg/generated/clientset/versioned/typed/deployment/v1alpha/generated_expansion.go delete mode 100644 pkg/generated/clientset/versioned/typed/replication/v1alpha/arangodeploymentreplication.go delete mode 100644 pkg/generated/clientset/versioned/typed/replication/v1alpha/doc.go delete mode 100644 pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/doc.go delete mode 100644 pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_arangodeploymentreplication.go delete mode 100644 pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_replication_client.go delete mode 100644 pkg/generated/clientset/versioned/typed/replication/v1alpha/generated_expansion.go delete mode 100644 pkg/generated/clientset/versioned/typed/replication/v1alpha/replication_client.go delete mode 100644 pkg/generated/informers/externalversions/backup/v1alpha/arangobackup.go delete mode 100644 pkg/generated/informers/externalversions/backup/v1alpha/arangobackuppolicy.go delete mode 100644 pkg/generated/informers/externalversions/backup/v1alpha/interface.go delete mode 100644 pkg/generated/informers/externalversions/deployment/v1alpha/arangodeployment.go delete mode 100644 pkg/generated/informers/externalversions/deployment/v1alpha/interface.go delete mode 100644 pkg/generated/informers/externalversions/replication/v1alpha/arangodeploymentreplication.go delete mode 100644 pkg/generated/informers/externalversions/replication/v1alpha/interface.go delete mode 100644 pkg/generated/listers/backup/v1alpha/arangobackup.go delete mode 100644 pkg/generated/listers/backup/v1alpha/arangobackuppolicy.go delete mode 100644 pkg/generated/listers/backup/v1alpha/expansion_generated.go delete mode 100644 pkg/generated/listers/deployment/v1alpha/arangodeployment.go delete mode 100644 pkg/generated/listers/deployment/v1alpha/expansion_generated.go delete mode 100644 pkg/generated/listers/replication/v1alpha/arangodeploymentreplication.go delete mode 100644 pkg/generated/listers/replication/v1alpha/expansion_generated.go create mode 100755 scripts/patch_examples.sh diff --git a/Makefile b/Makefile index 3f6fae194..4814383fc 100644 --- a/Makefile +++ b/Makefile @@ -316,7 +316,7 @@ manifests: helm manifests-crd manifests-operator manifests-test chart-crd chart- .PHONY: run-unit-tests run-unit-tests: $(SOURCES) - go test $(TESTVERBOSEOPTIONS) \ + go test --count=1 $(TESTVERBOSEOPTIONS) \ $(REPOPATH)/pkg/apis/backup/... \ $(REPOPATH)/pkg/apis/deployment/... \ $(REPOPATH)/pkg/apis/replication/... \ @@ -407,6 +407,13 @@ endif patch-readme: $(ROOTDIR)/scripts/patch_readme.sh $(VERSION_MAJOR_MINOR_PATCH) +.PHONY: patch-examples +patch-examples: + $(ROOTDIR)/scripts/patch_examples.sh $(VERSION_MAJOR_MINOR_PATCH) + +.PHONY: patch-release +patch-release: patch-readme patch-examples + .PHONY: patch-chart patch-chart: $(ROOTDIR)/scripts/patch_chart.sh "$(VERSION_MAJOR_MINOR_PATCH)" "$(OPERATORIMAGE)" diff --git a/chart/kube-arangodb-crd/LICENSE b/chart/kube-arangodb-crd/LICENSE index 4645474fe..d23d57adb 100644 --- a/chart/kube-arangodb-crd/LICENSE +++ b/chart/kube-arangodb-crd/LICENSE @@ -1,4 +1,4 @@ -Copyright 2018 ArangoDB GmbH, Cologne, Germany +Copyright 2020 ArangoDB GmbH, Cologne, Germany Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/chart/kube-arangodb/LICENSE b/chart/kube-arangodb/LICENSE index 4645474fe..d23d57adb 100644 --- a/chart/kube-arangodb/LICENSE +++ b/chart/kube-arangodb/LICENSE @@ -1,4 +1,4 @@ -Copyright 2018 ArangoDB GmbH, Cologne, Germany +Copyright 2020 ArangoDB GmbH, Cologne, Germany Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/examples/cluster1-with-sync.yaml b/examples/cluster1-with-sync.yaml index 04c177d42..0386e309c 100644 --- a/examples/cluster1-with-sync.yaml +++ b/examples/cluster1-with-sync.yaml @@ -4,7 +4,7 @@ metadata: name: "cluster1-with-sync" spec: mode: Cluster - image: arangodb/arangodb:3.3.17 + image: arangodb/arangodb:3.6.1 tls: altNames: ["kube-01", "kube-02", "kube-03"] sync: diff --git a/examples/cluster2-with-sync.yaml b/examples/cluster2-with-sync.yaml index a12a9e7a5..8deb8e721 100644 --- a/examples/cluster2-with-sync.yaml +++ b/examples/cluster2-with-sync.yaml @@ -4,7 +4,7 @@ metadata: name: "cluster2-with-sync" spec: mode: Cluster - image: arangodb/arangodb:3.3.17 + image: arangodb/arangodb:3.6.1 tls: altNames: ["kube-01", "kube-02", "kube-03"] sync: diff --git a/examples/production-cluster.yaml b/examples/production-cluster.yaml index a2326ec00..9abacf37b 100644 --- a/examples/production-cluster.yaml +++ b/examples/production-cluster.yaml @@ -4,5 +4,5 @@ metadata: name: "production-cluster" spec: mode: Cluster - image: arangodb/arangodb:3.3.17 + image: arangodb/arangodb:3.6.1 environment: Production diff --git a/examples/reboot-pod.yaml b/examples/reboot-pod.yaml index ab0313de7..631ca0b51 100644 --- a/examples/reboot-pod.yaml +++ b/examples/reboot-pod.yaml @@ -6,12 +6,12 @@ spec: restartPolicy: Never serviceAccountName: arango-deployment-operator-reboot containers: - - image: arangodb/kube-arangodb:0.3.16 + - image: arangodb/kube-arangodb:0.4.5 name: reboot command: ["arangodb_operator", "reboot"] args: - --deployment-name=my-arangodb-cluster - - --image-name=arangodb/enterprise:3.4.8 + - --image-name=arangodb/enterprise:3.6.1 - --license-secret-name=arangodb-license-key - --coordinators=3 - pvc-9aa241f7-df94-11e9-b74c-42010aac0044 diff --git a/examples/simple-cluster.yaml b/examples/simple-cluster.yaml index 4e39fc4ba..4494f94a8 100644 --- a/examples/simple-cluster.yaml +++ b/examples/simple-cluster.yaml @@ -4,4 +4,4 @@ metadata: name: "example-simple-cluster" spec: mode: Cluster - image: arangodb/arangodb:3.3.17 + image: arangodb/arangodb:3.6.1 diff --git a/examples/single-server.yaml b/examples/single-server.yaml index 645382c86..d1d8acbf3 100644 --- a/examples/single-server.yaml +++ b/examples/single-server.yaml @@ -4,4 +4,4 @@ metadata: name: "example-simple-single" spec: mode: Single - image: arangodb/arangodb:3.3.17 + image: arangodb/arangodb:3.6.1 diff --git a/go.mod b/go.mod index 721c64084..4408742d3 100644 --- a/go.mod +++ b/go.mod @@ -1,106 +1,62 @@ module github.com/arangodb/kube-arangodb -go 1.12 +go 1.13 replace ( github.com/ugorji/go => github.com/ugorji/go v0.0.0-20181209151446-772ced7fd4c2 - k8s.io/api => k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b - k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8 - k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d - k8s.io/client-go => k8s.io/client-go v11.0.0+incompatible + k8s.io/api => k8s.io/api v0.15.9 + k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.15.9 + k8s.io/apimachinery => k8s.io/apimachinery v0.15.9 + k8s.io/client-go => k8s.io/client-go v0.15.9 k8s.io/code-generator => ./deps/k8s.io/code-generator ) require ( - github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect - github.com/Azure/go-autorest/autorest v0.1.0 // indirect - github.com/aktau/github-release v0.7.2 // indirect + github.com/PuerkitoBio/purell v1.1.1 // indirect github.com/arangodb-helper/go-certificates v0.0.0-20180821055445-9fca24fc2680 github.com/arangodb/arangosync-client v0.6.3 github.com/arangodb/go-driver v0.0.0-20191002124627-11b6bfc64f67 github.com/arangodb/go-upgrade-rules v0.0.0-20180809110947-031b4774ff21 - github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect - github.com/bugagazavr/go-gitlab-client v0.0.0-20150830002541-e5999f934dc4 // indirect github.com/cenkalti/backoff v2.1.1+incompatible - github.com/coreos/bbolt v1.3.2 // indirect - github.com/coreos/etcd v3.3.13+incompatible // indirect github.com/coreos/go-semver v0.3.0 - github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect github.com/coreos/prometheus-operator v0.31.1 - github.com/cpuguy83/go-md2man v1.0.10 // indirect github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9 github.com/dgrijalva/jwt-go v3.2.0+incompatible - github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c // indirect - github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 // indirect - github.com/dustin/go-broadcast v0.0.0-20171205050544-f664265f5a66 // indirect github.com/evanphx/json-patch v4.2.0+incompatible - github.com/ewoutp/go-gitlab-client v0.0.0-20150214183219-6e4464cd3221 // indirect github.com/ghodss/yaml v1.0.0 github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3 // indirect - github.com/gin-gonic/autotls v0.0.0-20190406003154-fb31fc47f521 // indirect github.com/gin-gonic/gin v1.3.0 - github.com/go-openapi/analysis v0.19.0 // indirect - github.com/go-openapi/errors v0.19.0 // indirect - github.com/go-openapi/loads v0.19.0 // indirect - github.com/go-openapi/runtime v0.19.0 // indirect - github.com/go-openapi/strfmt v0.19.0 // indirect + github.com/go-openapi/spec v0.18.0 // indirect + github.com/go-openapi/swag v0.18.0 // indirect github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect - github.com/google/btree v1.0.0 // indirect github.com/google/gofuzz v1.0.0 // indirect + github.com/google/uuid v1.1.1 // indirect github.com/googleapis/gnostic v0.2.0 // indirect - github.com/gophercloud/gophercloud v0.0.0-20190504011306-6f9faf57fddc // indirect - github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75 // indirect - github.com/gorilla/websocket v1.4.0 // indirect - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect - github.com/helm/helm v2.14.3+incompatible // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/jessevdk/go-assets v0.0.0-20160921144138-4f4301a06e15 github.com/jessevdk/go-assets-builder v0.0.0-20130903091706-b8483521738f github.com/jessevdk/go-flags v1.4.0 // indirect - github.com/jonboulle/clockwork v0.1.0 // indirect - github.com/juju/errgo v0.0.0-20140925100237-08cceb5d0b53 // indirect github.com/julienschmidt/httprouter v1.2.0 github.com/magiconair/properties v1.8.0 - github.com/manucorporat/stats v0.0.0-20180402194714-3ba42d56d227 // indirect - github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a // indirect - github.com/mattn/go-colorable v0.1.1 // indirect + github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe // indirect github.com/mattn/go-isatty v0.0.7 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect - github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect - github.com/peterbourgon/diskv v2.0.1+incompatible // indirect github.com/pkg/errors v0.8.1 github.com/prometheus/client_golang v1.0.0 - github.com/pulcy/pulsar v0.0.0-20180915062927-71ea24b0ec2f // indirect github.com/robfig/cron v1.2.0 github.com/rs/zerolog v1.14.3 - github.com/russross/blackfriday v2.0.0+incompatible // indirect - github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect - github.com/sourcegraph/go-vcsurl v0.0.0-20161114165620-2305ecca26ab // indirect github.com/spf13/cobra v0.0.3 github.com/spf13/pflag v1.0.3 - github.com/spf13/viper v1.3.2 // indirect github.com/stretchr/testify v1.3.0 - github.com/thinkerou/favicon v0.1.0 // indirect - github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect - github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect - github.com/ugorji/go v1.1.4 // indirect - github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2 // indirect - github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect - go.uber.org/atomic v1.4.0 // indirect - go.uber.org/multierr v1.1.0 // indirect - go.uber.org/zap v1.10.0 // indirect + github.com/ugorji/go/codec v0.0.0-20181209151446-772ced7fd4c2 // indirect golang.org/x/sys v0.0.0-20190506115046-ca7f33d4116e golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect - google.golang.org/api v0.4.0 // indirect - google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873 // indirect - google.golang.org/grpc v1.20.1 // indirect - gopkg.in/sourcegraph/go-vcsurl.v1 v1.0.0-20131114132947-6b12603ea6fd // indirect - k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b + gopkg.in/go-playground/assert.v1 v1.2.1 // indirect + gopkg.in/go-playground/validator.v8 v8.18.2 // indirect + k8s.io/api v0.15.9 k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8 - k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d + k8s.io/apimachinery v0.15.9 k8s.io/client-go v11.0.0+incompatible - k8s.io/klog v0.3.0 + k8s.io/klog v0.3.1 k8s.io/kube-openapi v0.0.0-20190502190224-411b2483e503 // indirect k8s.io/utils v0.0.0-20190506122338-8fab8cb257d5 // indirect ) diff --git a/go.sum b/go.sum index 58d67905a..1911c8a3f 100644 --- a/go.sum +++ b/go.sum @@ -6,22 +6,9 @@ contrib.go.opencensus.io/exporter/ocagent v0.4.12/go.mod h1:450APlNTSR6FrvC3CTRq github.com/Azure/azure-pipeline-go v0.1.8/go.mod h1:XA1kFWRVhSK+KNFiOhfv83Fv8L9achrP7OxIzeTn1Yg= github.com/Azure/azure-sdk-for-go v23.2.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-storage-blob-go v0.0.0-20181022225951-5152f14ace1c/go.mod h1:oGfmITT1V6x//CswqY2gtAHND+xIP64/qL7a5QJix0Y= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-autorest v11.1.2+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest v11.2.8+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v12.0.0+incompatible h1:N+VqClcomLGD/sHb3smbSYYtNMgKpVV3Cd5r5i8z6bQ= -github.com/Azure/go-autorest/autorest v0.1.0 h1:z68s0uL7bVfplrwwCUsYoMezUVQdym6EPOllAT02BtU= -github.com/Azure/go-autorest/autorest v0.1.0/go.mod h1:AKyIcETwSUFxIcs/Wnq/C+kwCtlEYGUVd7FPNb2slmg= -github.com/Azure/go-autorest/autorest/adal v0.1.0 h1:RSw/7EAullliqwkZvgIGDYZWQm1PGKXI8c4aY/87yuU= -github.com/Azure/go-autorest/autorest/adal v0.1.0/go.mod h1:MeS4XhScH55IST095THyTxElntu7WqB7pNbZo8Q5G3E= -github.com/Azure/go-autorest/autorest/date v0.1.0 h1:YGrhWfrgtFs84+h0o46rJrlmsZtyZRg470CqAXTZaGM= -github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= -github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/logger v0.1.0 h1:ruG4BSDXONFRrZZJ2GUXDiUyVpayPmb1GnWeHDdaNKY= -github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/tracing v0.1.0 h1:TRBxC5Pj/fIuh4Qob0ZpkggbfT8RC0SubHbpV3p4/Vc= -github.com/Azure/go-autorest/tracing v0.1.0/go.mod h1:ROEEAFwXycQw7Sn3DXNtEedEvdeRAgDr0izn4z5Ij88= github.com/BurntSushi/toml v0.3.0/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= @@ -43,8 +30,6 @@ github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMx github.com/StackExchange/wmi v0.0.0-20180725035823-b12b22c5341f/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= github.com/VividCortex/ewma v1.1.1/go.mod h1:2Tkkvm3sRDVXaiyucHiACn4cqf7DpdyLvmxzcbUokwA= github.com/a8m/mark v0.1.1-0.20170507133748-44f2db618845/go.mod h1:c8Mh99Cw82nrsAnPgxQSZHkswVOJF7/MqZb1ZdvriLM= -github.com/aktau/github-release v0.7.2 h1:la7AnShr2MQPIlBEcRA9MPbI8av0YFmpFP9WM5EoqJs= -github.com/aktau/github-release v0.7.2/go.mod h1:cPkP83iRnV8pAJyQlQ4vjLJoC+JE+aT5sOrYz3sTsX0= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc h1:cAKDfWh5VpdgMhJosfJnn5/FoN2SRZ4p7fJNX58YPaU= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf h1:qet1QNfXsQxTZqLG4oE62mJzwPIB8+Tee4RNCL9ulrY= @@ -53,42 +38,20 @@ github.com/ant31/crd-validation v0.0.0-20180702145049-30f8a35d0ac2/go.mod h1:X0n github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/arangodb-helper/go-certificates v0.0.0-20180821055445-9fca24fc2680 h1:5YCGq0gkf/sCEkDFIsMBPj59GOm5cMibGqDBH2OWWfQ= github.com/arangodb-helper/go-certificates v0.0.0-20180821055445-9fca24fc2680/go.mod h1:xDyzBwyYzcEhsaDXtmxCNM4p5BrtuoVYYsRTuJqmCeg= -github.com/arangodb/arangosync-client v0.0.0-20190625093824-7e0a13d4e5ee h1:eIeDuUKOgxPaxHuz7omKHFmokD+itTX+UJvHNT7WGe4= -github.com/arangodb/arangosync-client v0.0.0-20190625093824-7e0a13d4e5ee/go.mod h1:nJ76oYSGsIvyhExvAGZcYj5M4I7ab97H3OOCAjI7qKU= -github.com/arangodb/arangosync-client v0.0.0-20190625094541-f976ef443156 h1:VIxhX8tYAwUG/2aSGZaVuTnuQt2Czr9O0p30Lqo6xo4= -github.com/arangodb/arangosync-client v0.0.0-20190625094541-f976ef443156/go.mod h1:C0DmhtoPKJGm2PO18FrfZf4mVWcG7qW2YPBTFMR2P1g= github.com/arangodb/arangosync-client v0.6.3 h1:CJL9IxjCNVci2HNuWncZdVzHBeYTz0CeqqTf5Kpj2Ac= github.com/arangodb/arangosync-client v0.6.3/go.mod h1:C0DmhtoPKJGm2PO18FrfZf4mVWcG7qW2YPBTFMR2P1g= -github.com/arangodb/go-driver v0.0.0-20190430103524-b14f41496c3d h1:9w1hB1yqZ8B1pWBI0vPVaAl1UhUhOrJrgQhzSlfmMRM= -github.com/arangodb/go-driver v0.0.0-20190430103524-b14f41496c3d/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= github.com/arangodb/go-driver v0.0.0-20190514134119-4cd2eb482d16 h1:D0+YgwcHnePwiKuV1lOzJLPZb6Tw8hHK2qKSQGqN28s= github.com/arangodb/go-driver v0.0.0-20190514134119-4cd2eb482d16/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= -github.com/arangodb/go-driver v0.0.0-20190802090312-412e0d96515d h1:i3nY/zdQsS5z2TfEAtiON7gGTolxwHu/DsJWx6c3zaM= -github.com/arangodb/go-driver v0.0.0-20190802090312-412e0d96515d/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= -github.com/arangodb/go-driver v0.0.0-20190802095550-7a2c11a3ff12 h1:SZZFNsy/6c3CAv9HmhPukMtkbpdt5u1kZ1AaZElDGqE= -github.com/arangodb/go-driver v0.0.0-20190802095550-7a2c11a3ff12/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= -github.com/arangodb/go-driver v0.0.0-20190806145426-48dd51aa0940 h1:CWLm7jOfT3v3kdOzOA5vY/CpeREE3Q3DbNLHMJuGEHc= -github.com/arangodb/go-driver v0.0.0-20190806145426-48dd51aa0940/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= -github.com/arangodb/go-driver v0.0.0-20190917135832-4ec315b17bf0 h1:OZAHgwP/X6eJlm33G94lo32j82acWZZvB2d/hbSAbTs= -github.com/arangodb/go-driver v0.0.0-20190917135832-4ec315b17bf0/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= -github.com/arangodb/go-driver v0.0.0-20191001090752-e07a8fe34b53 h1:gKOy8ZeLmAMWoCfZtXAwTpl9S3UxHjv8l4T96BvuXoQ= -github.com/arangodb/go-driver v0.0.0-20191001090752-e07a8fe34b53/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= -github.com/arangodb/go-driver v0.0.0-20191002081852-02f5e9c3a694 h1:Cn68e0b50vTJqku80erSNWddXixyyvzVOy7cgb4MKYw= -github.com/arangodb/go-driver v0.0.0-20191002081852-02f5e9c3a694/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= github.com/arangodb/go-driver v0.0.0-20191002124627-11b6bfc64f67 h1:Nmcpj1EUYYOs3x/4F/4GH2nA8ooxkInWjOmbyOlw4bQ= github.com/arangodb/go-driver v0.0.0-20191002124627-11b6bfc64f67/go.mod h1:5nMxlcbN6PHA05uGUw2EH6PIQHvdRVTrg/S/GM8jG4w= github.com/arangodb/go-upgrade-rules v0.0.0-20180809110947-031b4774ff21 h1:+W7D5ttxi/Ygh/39vialtypE23p9KI7P0J2qtoqUV4w= github.com/arangodb/go-upgrade-rules v0.0.0-20180809110947-031b4774ff21/go.mod h1:RkPIG6JJ2pcJUoymc18NxAJGraZd+iAEVnOTDjZey/w= github.com/arangodb/go-velocypack v0.0.0-20190129082528-7896a965b4ad h1:Ah+VRYUWLuqgbfnDyuC8IrIe8XFzpt9tBVVnPGFNTJ8= github.com/arangodb/go-velocypack v0.0.0-20190129082528-7896a965b4ad/go.mod h1:7QCjpWXdB49P6fql1CxmsBWd8z/T4L4pqFLTnc10xNM= -github.com/arangodb/kube-arangodb/deps/github.com/arangodb/arangosync v0.0.0-20190624204038-45a2ef2d5846 h1:o+jOctV1MNi/814hRJ4IYqak8FKeqF2tsBaVWaMWX44= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4B6AGu/h5Sxe66HYVdqdGu2l9Iebqhi/AEoA= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/aws/aws-sdk-go v0.0.0-20180507225419-00862f899353/go.mod h1:ZRmQr0FajVIyZ4ZzBYKG5P3ZqPz9IHG41ZoMu1ADI3k= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -96,10 +59,9 @@ github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/biogo/store v0.0.0-20160505134755-913427a1d5e8/go.mod h1:Iev9Q3MErcn+w3UOJD/DkEzllvugfdx7bGcMOFhvr/4= +github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/brancz/gojsontoyaml v0.0.0-20190425155809-e8bd32d46b3d/go.mod h1:IyUJYN1gvWjtLF5ZuygmxbnsAyP3aJS6cHzIuZY50B0= -github.com/bugagazavr/go-gitlab-client v0.0.0-20150830002541-e5999f934dc4 h1:khrxuHeHUqaH4DFwhr68pf3VuTpuAex15stAhVhoQI4= -github.com/bugagazavr/go-gitlab-client v0.0.0-20150830002541-e5999f934dc4/go.mod h1:1Zuosrhy9+Yk4gBednaZSIzlgYH0V6vDxcQwhwV7ys0= github.com/campoy/embedmd v1.0.0/go.mod h1:oxyr9RCiSXg0M3VJ3ks0UGfp98BpSSGr0kpiX3MzVl8= github.com/cenk/backoff v2.0.0+incompatible/go.mod h1:7FtoeaSnHoZnmZzz47cM35Y9nSW7tNyaidugnHTaFDE= github.com/cenkalti/backoff v2.1.1+incompatible h1:tKJnvO2kl0zmb/jA5UKAt4VoEVw1qxKWjE/Bpp46npY= @@ -116,30 +78,18 @@ github.com/cockroachdb/cockroach v0.0.0-20170608034007-84bc9597164f/go.mod h1:xe github.com/cockroachdb/cockroach-go v0.0.0-20181001143604-e0a95dfd547c/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/coreos/bbolt v1.3.1-coreos.6/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/bbolt v1.3.2 h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.12+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.13+incompatible h1:8F3hqu9fGYLBifCmRCJsicFqDx/D68Rt3q1JMazcgBQ= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-oidc v0.0.0-20180117170138-065b426bd416/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.0.0-20180108230905-e214231b295a/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/prometheus-operator v0.30.0 h1:nL8WuyoXXuamSMXF5PU9o86/ro7+uiWNZvK6FkMEuvQ= -github.com/coreos/prometheus-operator v0.30.0/go.mod h1:nG9QpZ0yNU8gihsEC70fKmaOq1ezDBrvoGooAwzZdBQ= github.com/coreos/prometheus-operator v0.31.1 h1:+pS6+Ha01vuoGBh5glhfngk2sB1ELwe6tbXhMkMmp/U= github.com/coreos/prometheus-operator v0.31.1/go.mod h1:vHwtP2e+VmEeS6m6lgp87aH+npGVRQsCi5jhcuQA1sA= -github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk= -github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -154,12 +104,6 @@ github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8 github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= -github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c h1:ZfSZ3P3BedhKGUhzj7BQlPSU4OvT6tfOKe3DVHzOA7s= -github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh6AyO7hdCn/PkvCZXii8TGj7sbtEbQ= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-broadcast v0.0.0-20171205050544-f664265f5a66 h1:QnnoVdChKs+GeTvN4rPYTW6b5U6M3HMEvQ/+x4IGtfY= -github.com/dustin/go-broadcast v0.0.0-20171205050544-f664265f5a66/go.mod h1:kTEh6M2J/mh7nsskr28alwLCXm/DSG5OSA/o31yy2XU= github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= @@ -176,12 +120,9 @@ github.com/evanphx/json-patch v0.0.0-20190203023257-5858425f7550/go.mod h1:50XU6 github.com/evanphx/json-patch v4.1.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.2.0+incompatible h1:fUDGZCv/7iAN7u0puUVhvKCcsR6vRfwrJatElLBEf0I= github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/ewoutp/go-gitlab-client v0.0.0-20150214183219-6e4464cd3221 h1:buDu9bgh45rr9QLBPgqUP4vrEmicLebHjxiotDNpKic= -github.com/ewoutp/go-gitlab-client v0.0.0-20150214183219-6e4464cd3221/go.mod h1:WUzoBqR60IiOmO1pYtxKPkOkv+kMkofAJfnI3q7LQkQ= github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a/go.mod h1:7Ga40egUymuWXxAe151lTNnCv97MddSOVsjpPPkityA= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/structtag v1.0.0/go.mod h1:IKitwq45uXL/yqi5mYghiD3w9H6eTOvI9vnk8tXMphA= -github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= @@ -191,15 +132,11 @@ github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2H github.com/ghodss/yaml v0.0.0-20180820084758-c7ce16629ff4/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/gin-contrib/sse v0.0.0-20170109093832-22d885f9ecc7/go.mod h1:VJ0WA2NBN22VlZ2dKZQPAPnyWw5XTlK1KymzLKsr59s= github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3 h1:t8FVkw33L+wilf2QiWkw0UV77qRpcH/JHPKGpKa2E8g= github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3/go.mod h1:VJ0WA2NBN22VlZ2dKZQPAPnyWw5XTlK1KymzLKsr59s= -github.com/gin-gonic/autotls v0.0.0-20190406003154-fb31fc47f521 h1:20t20rNA3TVXIzROwVVmuVGzF7igl0vZLZVoSFURvZI= -github.com/gin-gonic/autotls v0.0.0-20190406003154-fb31fc47f521/go.mod h1:tEDoOs55+VudM/14kaK6CTZXkI8+wH/0ymxhgk6HJlQ= github.com/gin-gonic/gin v1.3.0 h1:kCmZyPklC0gVdL728E6Aj20uYBJV93nj/TkwBTKhFbs= github.com/gin-gonic/gin v1.3.0/go.mod h1:7cKuhb5qV2ggCFctp2fJQ+ErvciLZrIeoOSOm6mUr7Y= github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= -github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 h1:DujepqpGd1hyOd7aW59XpK7Qymp8iy83xq74fLr21is= github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= github.com/go-ini/ini v1.21.1/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0 h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0= @@ -211,37 +148,22 @@ github.com/go-ole/go-ole v1.2.4/go.mod h1:XCwSNxSkXRo4vlyPy93sltvi/qJq0jqQhjqQNI github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI= github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= github.com/go-openapi/analysis v0.17.2/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.19.0 h1:sYEyyO7OKQvJX0z4OyHWoGt0uLuALxB/ZJ4Jb3I6KNU= -github.com/go-openapi/analysis v0.19.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= github.com/go-openapi/errors v0.17.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= github.com/go-openapi/errors v0.17.2/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.18.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.19.0 h1:guf3T2lnCBKlODmERt4T9GtMWRpJOikgKGyIvi0xcb8= -github.com/go-openapi/errors v0.19.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1 h1:wSt/4CYxs70xbATrGXhokKF1i0tZjENLOo1ioIO13zk= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= -github.com/go-openapi/jsonpointer v0.18.0 h1:KVRzjXpMzgdM4GEMDmDTnGcY5yBwGWreJwmmk4k35yU= -github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= github.com/go-openapi/jsonpointer v0.19.0 h1:FTUMcX77w5rQkClIzDtTxvn6Bsa894CcrzNj2MMfeg8= github.com/go-openapi/jsonpointer v0.19.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9 h1:tF+augKRWlWx0J0B7ZyyKSiTyV6E1zZe+7b3qQlcEf8= github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= -github.com/go-openapi/jsonreference v0.18.0 h1:oP2OUNdG1l2r5kYhrfVMXO54gWmzcfAwP/GFuHpNTkE= -github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= github.com/go-openapi/jsonreference v0.19.0 h1:BqWKpV1dFd+AuiKlgtddwVIFQsuMpxfBDBHGfM2yNpk= github.com/go-openapi/jsonreference v0.19.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= github.com/go-openapi/loads v0.17.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= github.com/go-openapi/loads v0.17.2/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.18.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.19.0 h1:wCOBNscACI8L93tt5tvB2zOMkJ098XCw3fP0BY2ybDA= -github.com/go-openapi/loads v0.19.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod h1:6v9a6LTXWQCdL8k1AO3cvqx5OtZY/Y9wKTgaoP6YRfA= github.com/go-openapi/runtime v0.17.2/go.mod h1:QO936ZXeisByFmZEO1IS1Dqhtf4QV1sYYFtIq6Ld86Q= -github.com/go-openapi/runtime v0.19.0 h1:sU6pp4dSV2sGlNKKyHxZzi1m1kG4WnYtWcJ+HYbygjE= -github.com/go-openapi/runtime v0.19.0/go.mod h1:OwNfisksmmaZse4+gpV3Ne9AyMOlP1lt4sK4FXt0O64= github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501 h1:C1JKChikHGpXwT5UQDFaryIpDtyyGL/CR6C2kB7F1oc= github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= @@ -249,9 +171,6 @@ github.com/go-openapi/spec v0.17.2/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsd github.com/go-openapi/spec v0.18.0 h1:aIjeyG5mo5/FrvDkpKKEGZPmF9MPHahS72mzfVqeQXQ= github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= github.com/go-openapi/strfmt v0.17.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.18.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.19.0 h1:0Dn9qy1G9+UJfRU7TR8bmdGxb4uifB7HNrJjOnV0yPk= -github.com/go-openapi/strfmt v0.19.0/go.mod h1:+uW+93UVvGGq2qGaZxdDeJqSAqBqBdl+ZPMF/cC8nDY= github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87 h1:zP3nY8Tk2E6RTkqGYrarZXuzh+ffyLDljLxCy1iJw80= github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= @@ -270,7 +189,6 @@ github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903 h1:LbsanbbD6LieFkXbj9YNNBupiGHJgFeLpO0j0Fza1h8= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20180924190550-6f2cf27854a4/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef h1:veQD95Isof8w9/WXiA+pa3tz3fJXkt5B7QaRBrM62gk= @@ -285,13 +203,12 @@ github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8l github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20160524151835-7d79101e329e/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/gofuzz v0.0.0-20150304233714-bbcb9da2d746/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= -github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf h1:+RRA9JqSOZFfKrOeqr2z77+8R2RKyh8PG66dcu1V0ck= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -303,7 +220,6 @@ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/googleapis/gax-go v2.0.2+incompatible h1:silFMLAnr330+NRuag/VjIGF7TLp/LBrV2CJKFLWEww= github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= github.com/googleapis/gnostic v0.0.0-20170426233943-68f4ded48ba9/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d h1:7XGaL1e6bYS1yIonGp9761ExpPPV1ui0SAC59Yube9k= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.0.0-20180520015035-48a0ecefe2e4/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= @@ -311,29 +227,19 @@ github.com/googleapis/gnostic v0.2.0 h1:l6N3VoaVzTncYYW+9yOz2LJJammFZGBO13sqgEhp github.com/googleapis/gnostic v0.2.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/gophercloud/gophercloud v0.0.0-20190126172459-c818fa66e4c8/go.mod h1:3WdhXV3rUYy9p6AUW8d94kr+HS62Y4VL9mBnFxsD8q4= github.com/gophercloud/gophercloud v0.0.0-20190301152420-fca40860790e/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= -github.com/gophercloud/gophercloud v0.0.0-20190504011306-6f9faf57fddc h1:uSlJNJjuqu+HrNGtCqIVjtMjrC0lzUjXZqfiUHxSzZc= -github.com/gophercloud/gophercloud v0.0.0-20190504011306-6f9faf57fddc/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75 h1:f0n1xnMSmBLzVfsMMvriDyA75NB/oBgILX2GcHXIQzY= -github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75/go.mod h1:g2644b03hfBX9Ov0ZBDgXXens4rxSxmqFBbhvKv2yVA= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gregjones/httpcache v0.0.0-20170728041850-787624de3eb7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 h1:pdN6V1QBWetyv/0+wjACpqVH+eVULgEjkurDLq3goeM= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc h1:f8eY6cV/x1x+HLjOp4r72s/31/V2aTUtg5oKRRPf8/Q= -github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v0.0.0-20190222133341-cfaf5686ec79/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 h1:Iju5GlWwrvL6UBg4zJJt3btmonfrMlCDdsejg4CZE7c= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v0.0.0-20170330212424-2500245aa611/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/go-grpc-prometheus v0.0.0-20181025070259-68e3a13e4117/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.3.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= github.com/grpc-ecosystem/grpc-gateway v1.8.5 h1:2+KSC78XiO6Qy0hIjfc1OD9H+hsaJdJlb8Kqsd41CTE= github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= @@ -350,24 +256,20 @@ github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjG github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-version v0.0.0-20171129150820-4fe82ae3040f/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0 h1:CL2msUPvZTLb5O648aiLNJw3hnBxN2+1Jq8rCOH9wdo= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/helm/helm v2.14.3+incompatible/go.mod h1:ahXhuvluW4YnSL6W6hDVetZsVK8Pv4BP8OwKli7aMqo= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/imdario/mergo v0.3.5 h1:JboBksRwiiAJWvIYJVo46AfV+IAIKZpfrSzVKj42R4Q= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/improbable-eng/thanos v0.3.2/go.mod h1:GZewVGILKuJVPNRn7L4Zw+7X96qzFOwj63b22xYGXBE= github.com/improbable-eng/thanos v0.5.0/go.mod h1:RXlsWB7YlTbhIod//QDyd5cBZsnEN0jROXZJY/ol4nk= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= @@ -382,19 +284,13 @@ github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGAR github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jonboulle/clockwork v0.0.0-20141017032234-72f9bd7c4e0c/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPUhEF5KNCkrUyqTSA5zWUl8sQ2bfGBE= github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.5/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.6 h1:MrUvLMLTMxbqFJ9kzlvat/rYZqZnW3u4wkLzWTaFwKs= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/jsonnet-bundler/jsonnet-bundler v0.1.0/go.mod h1:YKsSFc9VFhhLITkJS3X2PrRqWG9u2Jq99udTdDjQLfM= github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/juju/errgo v0.0.0-20140925100237-08cceb5d0b53 h1:tGpfbOOO0SV3qtMUx8O9RbJeei6VDBwnpQQ0JYIFaVg= -github.com/juju/errgo v0.0.0-20140925100237-08cceb5d0b53/go.mod h1:ZtgUe3RyZisw/AlQjgU9DeO3hqUH9E/bkreI2FLg/QY= github.com/julienschmidt/httprouter v1.2.0 h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -419,24 +315,14 @@ github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe h1:W/GaMY0y69G4cFlmsC6B9sbuo2fP8OFP1ABjt4kPz+w= github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/manucorporat/stats v0.0.0-20180402194714-3ba42d56d227 h1:KIaAZ/V+/0/6BOULrmBQ9T1ed8BkKqGIjIKW923nJuo= -github.com/manucorporat/stats v0.0.0-20180402194714-3ba42d56d227/go.mod h1:ruMr5t05gVho4tuDv0PbI0Bb8nOxc/5Y6JzRHe/yfA0= -github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a h1:+J2gw7Bw77w/fbK7wnNJJDKmw1IbWft2Ul5BzrG1Qm8= -github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a/go.mod h1:M1qoD/MqPgTZIk0EWKB38wE28ACRfVcn+cU08jyArI0= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.1 h1:G1f5SKeVxmagw/IyvzvtZE4Gybcc4Tr1tf7I8z0XgOg= -github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.6/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.7 h1:UvyT9uN+3r7yLEYSlJsbQGdsaB/a0DlgWP3pql6iwOc= github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.8/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/minio/cli v1.20.0/go.mod h1:bYxnK0uS629N3Bq+AOZZ+6lwF77Sodk4+UL9vNuXhOY= @@ -474,13 +360,12 @@ github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20190113212917-5533ce8a0da3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opentracing-contrib/go-stdlib v0.0.0-20170113013457-1de4cc2120e7/go.mod h1:PLldrQSroqzH70Xl+1DQcGnefIbqsKR7UDaiux3zV+w= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= @@ -490,10 +375,7 @@ github.com/pavel-v-chernykh/keystore-go v2.1.0+incompatible h1:Jd6xfriVlJ6hWPvYO github.com/pavel-v-chernykh/keystore-go v2.1.0+incompatible/go.mod h1:xlUlxe/2ItGlQyMTstqeDv9r3U4obH7xYd26TbDQutY= github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/peterbourgon/diskv v0.0.0-20180312054125-0646ccaebea1/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= -github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterbourgon/g2s v0.0.0-20170223122336-d4e7ad98afea/go.mod h1:1VcHEd3ro4QMoHfiNl/j7Jkln9+KQuorp0PItHMJYNg= github.com/petermattis/goid v0.0.0-20170504144140-0ded85884ba5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= @@ -507,7 +389,6 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.2 h1:awm861/B8OKDd2I/6o1dy3ra4BamzKhYOiGItCeZ740= github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829 h1:D+CiwcpGTW6pL6bv6KI3KbyEyCKyS+1JWS2h8PNDnGA= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= @@ -520,9 +401,7 @@ github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1: github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.0.0-20181126121408-4724e9255275 h1:PnBWHBf+6L0jOqq0gIVUe6Yk0/QMZ640k6NvkxcBf+8= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.0.0-20181218105931-67670fe90761/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.2.0 h1:kUZDBDTdBVBYBj5Tmh2NZLlF60mfjA27rM34b+cVwNU= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.3.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= @@ -530,18 +409,14 @@ github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8 github.com/prometheus/common v0.4.1 h1:K0MGApIoQvMw27RTdJkPbr3JZ7DNbtxQNyi5STVM6Kw= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a h1:9a8MnZMP0X2nLJdBg+pBmGgkJlSaKC2KaQmTCk1XDtE= github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1 h1:/K3IL0Z1quvmJ7X0A1AwNEK7CRkVK3YwfOU/QAL4WGg= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2 h1:6LJUbpNm42llc4HRCuvApCSWB/WfhuNo9K98Q9sNGfs= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/prometheus v2.9.2+incompatible/go.mod h1:vdLuLLM0uqhLSofrQ7Nev2b/rQUyZ+pkT3zF7LB/i1g= -github.com/prometheus/tsdb v0.2.0/go.mod h1:lFf/o1J2a31WmWQbxYXfY1azJK5Xp5D8hwKMnVMBTGU= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/prometheus/tsdb v0.8.0/go.mod h1:fSI0j+IUQrDd7+ZtR9WKIGtoYAYAJUKcKhYLG25tN4g= -github.com/pulcy/pulsar v0.0.0-20180915062927-71ea24b0ec2f h1:+dJQtfHvWgnTNoGsakK8pDu6kwC878j5lVxf2ASSDF8= -github.com/pulcy/pulsar v0.0.0-20180915062927-71ea24b0ec2f/go.mod h1:dHXm2PpZz13Ieu/Sk+Qw5mJ07qPEUHJy08HxKW57z78= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= github.com/rlmcpherson/s3gof3r v0.5.0/go.mod h1:s7vv7SMDPInkitQMuZzH615G7yWHdrU2r/Go7Bo71Rs= @@ -552,9 +427,6 @@ github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.14.3 h1:4EGfSkR2hJDB0s3oFfrlPqjU1e4WLncergLil3nEKW0= github.com/rs/zerolog v1.14.3/go.mod h1:3WXPzbXEEliJ+a6UFE4vhIxV8qR1EML6ngzP9ug4eYg= github.com/rubyist/circuitbreaker v2.2.1+incompatible/go.mod h1:Ycs3JgJADPuzJDwffe12k6BZT8hxVi6lFK+gWYJLN4A= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/russross/blackfriday v2.0.0+incompatible h1:cBXrhZNUf9C+La9/YpS+UHpUT8YD6Td9ZMSU9APFcsk= -github.com/russross/blackfriday v2.0.0+incompatible/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/samuel/go-zookeeper v0.0.0-20161028232340-1d7be4effb13/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= @@ -563,12 +435,8 @@ github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdh github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= -github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/vfsgen v0.0.0-20180711163814-62bca832be04/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= @@ -576,25 +444,16 @@ github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:s github.com/soheilhy/cmux v0.1.3/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/sourcegraph/go-vcsurl v0.0.0-20161114165620-2305ecca26ab h1:Fow2FGdj7yriDAK2yZeHJsm/5SZqL2AD1iEybfWJytQ= -github.com/sourcegraph/go-vcsurl v0.0.0-20161114165620-2305ecca26ab/go.mod h1:Dl+4tLnKopzymgEhEZCi6/KSIZPFBe1rvoKMxCGh0Ms= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.0-20180319062004-c439c4fa0937/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M= -github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A= @@ -603,52 +462,23 @@ github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRci github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/thinkerou/favicon v0.1.0 h1:eWMISKTpHq2G8HOuKn7ydD55j5DDehx94b0C2y8ABMs= -github.com/thinkerou/favicon v0.1.0/go.mod h1:HL7Pap5kOluZv1ku34pZo/AJ44GaxMEPFZ3pmuexV2s= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 h1:nrZ3ySNYwJbSpD6ce9duiP+QkD3JuLCcWkdaehUS/3Y= -github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80/go.mod h1:iFyPdL66DjUD96XmzVL3ZntbzcflLnznH0fr99w5VqE= -github.com/ugorji/go v0.0.0-20181209151446-772ced7fd4c2 h1:c3hsfAKt9dRzwckD9YqrACtMWPmjXSf+eocCfhoYdU8= -github.com/ugorji/go v0.0.0-20181209151446-772ced7fd4c2/go.mod h1:hnLbHMwcvSihnDhEfx2/BzKp2xb0Y+ErdfYcrs9tkJQ= -github.com/ugorji/go v1.1.4 h1:j4s+tAvLfL3bZyefP2SEWmhBzmuIlH/eqNuPdFPgngw= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v0.0.0-20181209151446-772ced7fd4c2 h1:EICbibRW4JNKMcY+LsWmuwob+CRS1BmdRdjphAm9mH4= github.com/ugorji/go/codec v0.0.0-20181209151446-772ced7fd4c2/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= -github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2 h1:txplJASvd6b/hrE0s/Ixfpp2cuwH9IO9oZBAN9iYa4A= -github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2/go.mod h1:DGCIhurYgnLz8J9ga1fMV/fbLDyUvTyrWXVWUIyJon4= github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= -go.opencensus.io v0.21.0 h1:mU6zScU4U1YAFPHEHYk+3JC4SY7JxgkqS10ZOSyksNg= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.uber.org/atomic v0.0.0-20181018215023-8dc6146f7569/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.4.0 h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/multierr v0.0.0-20180122172545-ddea229ff1df/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.1.0 h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/zap v0.0.0-20180814183419-67bc79d13d15/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.10.0 h1:ORx85nbTijNz8ljznvCMR1ZBIPKFn3jQrag10X2AsuM= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181025213731-e84da0312774/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190424203555-c05e17bb3b2d/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734 h1:p/H982KKEjUnLJkM3tt/LemDnOc1GiZL5FCVlORJ5zo= -golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f h1:R423Cnkcp5JABoeemiGEPlt9tHXFfw5kvc0yqlxRPWo= golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -658,7 +488,6 @@ golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMx golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -670,19 +499,15 @@ golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190110200230-915654e7eabc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190206173232-65e2d4e15006/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190424112056-4829fb13d2c6/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c h1:uOCk1iQW6Vc18bnC13MfzScl+wdKBmM9Y9kU7Z83/lw= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092 h1:4QSRKanuywn15aTZvI/mIDEgPQpswuFndXpOj3rKEco= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc h1:gkKoSkUmnU6bpS/VhkuO27bzQeSA51uaEfbOW5dNb68= +golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a h1:tImsplftrFpALCYumobsd0K86vlAs/eXGFms2txfJfA= @@ -702,14 +527,12 @@ golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190116161447-11f53e031339/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190310054646-10058d7d4faa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190425145619-16072639606e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -719,7 +542,6 @@ golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fq golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db h1:6/JqlYfC1CCaLnGceQTI+sDGhC9UBSPAsBqI0Gun6kU= golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.1 h1:nsUiJHvm6yOoRozW9Tz0siNk9sHieLzR+w814Ihse3A= golang.org/x/text v0.3.1/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= @@ -735,7 +557,6 @@ golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -747,23 +568,18 @@ gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6d gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.3.2/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= -google.golang.org/api v0.4.0 h1:KKgc1aqhV8wDPbDzlDtpvyjZFY3vjz85FP7p4wcQUyI= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0 h1:KxkO13IPW4Lslp2bz+KHP2E3gtFlrIGNThxkZQ3g+4c= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20170731182057-09f6ed296fc6/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873 h1:nfPFGzJkUDX6uBmpN/pSw7MbOAWegH5QDQuoXFHedLg= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/grpc v1.13.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1 h1:Hz2g2wirWK7H0qIIhGIqRGTuMwTE8HEKFnDZZ7lm9NU= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= @@ -771,6 +587,7 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/fsnotify/fsnotify.v1 v1.3.1/go.mod h1:Fyux9zXlo4rWoMSIzpn9fDAYjalPqJ/K1qJ27s+7ltE= gopkg.in/fsnotify/fsnotify.v1 v1.4.7/go.mod h1:Fyux9zXlo4rWoMSIzpn9fDAYjalPqJ/K1qJ27s+7ltE= @@ -778,16 +595,14 @@ gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXa gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= gopkg.in/go-playground/validator.v8 v8.18.2 h1:lFB4DoMU6B626w8ny76MV7VX6W2VHct2GVOI3xgiMrQ= gopkg.in/go-playground/validator.v8 v8.18.2/go.mod h1:RX2a/7Ha8BgOhfk7j780h4/u/RRjR0eouCJSH80/M2Y= -gopkg.in/inf.v0 v0.9.0 h1:3zYtXIO92bvsdS3ggAdA8Gb4Azj0YU+TVY1uGYNFA8o= gopkg.in/inf.v0 v0.9.0/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.42.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0-20150622162204-20b71e5b60d7/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/sourcegraph/go-vcsurl.v1 v1.0.0-20131114132947-6b12603ea6fd h1:a56MOyBGFDZgRmIEk18vPwDZJmfALaEKOBltXvvv6as= -gopkg.in/sourcegraph/go-vcsurl.v1 v1.0.0-20131114132947-6b12603ea6fd/go.mod h1:f8MCpmc6PPMHP70UPTVz2pTFvLHB5WHX6bf1aGVDwBA= gopkg.in/square/go-jose.v2 v2.0.0-20180411045311-89060dee6a84/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0= gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod h1:WDnlLJ4WF5VGsH/HVa3CI79GS0ol3YnhVnKP89i0kNg= @@ -797,69 +612,36 @@ gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -k8s.io/api v0.0.0-20180904230853-4e7be11eab3f/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= -k8s.io/api v0.0.0-20190222213804-5cb15d344471 h1:MzQGt8qWQCR+39kbYRd0uQqsvSidpYqJLFeWiJ9l4OE= -k8s.io/api v0.0.0-20190222213804-5cb15d344471/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= -k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b h1:aBGgKJUM9Hk/3AE8WaZIApnTxG35kbuQba2w+SXqezo= -k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= -k8s.io/api v0.0.0-20190425012535-181e1f9c52c1/go.mod h1:AhUc3Ph6fhRc0SCpt0Hwv0E+Q8QiEAASkXKwfmT2JwU= -k8s.io/api v0.0.0-20190503110853-61630f889b3c h1:y1nbvZVlOyUa+p4RVXqQj+s6W+FjZZNVkgG5pvYpFhU= -k8s.io/api v0.0.0-20190503110853-61630f889b3c/go.mod h1:42M1T54fVvXj2R/yqB+v9ksH4xI41q6XU/NUlo3hyjk= -k8s.io/apiextensions-apiserver v0.0.0-20190325193600-475668423e9f h1:+GpMltIq6SUOswgSQ3HcxgldikyBCreeRDkCYOzwfGk= -k8s.io/apiextensions-apiserver v0.0.0-20190325193600-475668423e9f/go.mod h1:IxkesAMoaCRoLrPJdZNZUQp9NfZnzqaVzLhb2VEQzXE= -k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8 h1:q1Qvjzs/iEdXF6A1a8H3AKVFDzJNcJn3nXMs6R6qFtA= -k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8/go.mod h1:IxkesAMoaCRoLrPJdZNZUQp9NfZnzqaVzLhb2VEQzXE= -k8s.io/apiextensions-apiserver v0.0.0-20190503111720-ae1f9335ecc1 h1:k73F2NiQUzHW8P1WO1vUbbP5CuHv0X5Hvg46gd7NeKE= -k8s.io/apiextensions-apiserver v0.0.0-20190503111720-ae1f9335ecc1/go.mod h1:CKD5Qnu6XIncLe210SKvQDnIWeLYyL152baFY0+81hU= -k8s.io/apimachinery v0.0.0-20180904193909-def12e63c512/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= -k8s.io/apimachinery v0.0.0-20181127025237-2b1284ed4c93/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= -k8s.io/apimachinery v0.0.0-20190221213512-86fb29eff628 h1:UYfHH+KEF88OTg+GojQUwFTNxbxwmoktLwutUzR0GPg= -k8s.io/apimachinery v0.0.0-20190221213512-86fb29eff628/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= -k8s.io/apimachinery v0.0.0-20190313205120-d7deff9243b1/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= -k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d h1:Jmdtdt1ZnoGfWWIIik61Z7nKYgO3J+swQJtPYsP9wHA= -k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= -k8s.io/apimachinery v0.0.0-20190424052434-11f1676e3da4/go.mod h1:5CBnzrKYGHzv9ZsSKmQ8wHt4XI4/TUBPDwYM9FlZMyw= -k8s.io/apimachinery v0.0.0-20190424212440-527a9d33701e/go.mod h1:5CBnzrKYGHzv9ZsSKmQ8wHt4XI4/TUBPDwYM9FlZMyw= -k8s.io/apimachinery v0.0.0-20190425132440-17f84483f500/go.mod h1:5CBnzrKYGHzv9ZsSKmQ8wHt4XI4/TUBPDwYM9FlZMyw= -k8s.io/apimachinery v0.0.0-20190502092502-a44ef629a3c9 h1:yifHers09F6RIgsGgAYt1yi0pNbQfQB289Pe4y7XX2s= -k8s.io/apimachinery v0.0.0-20190502092502-a44ef629a3c9/go.mod h1:5CBnzrKYGHzv9ZsSKmQ8wHt4XI4/TUBPDwYM9FlZMyw= -k8s.io/apimachinery v0.0.0-20190503221204-7a17edec881a h1:dJykmqZaQ9hZACn0wQHt+OW2W0NN2tAGEc8rfT8JDR0= -k8s.io/apimachinery v0.0.0-20190503221204-7a17edec881a/go.mod h1:5CBnzrKYGHzv9ZsSKmQ8wHt4XI4/TUBPDwYM9FlZMyw= -k8s.io/apiserver v0.0.0-20190503111308-d03d7cbc3eab/go.mod h1:SZ66ZaTubuwgLjq4dRi9YS89JUl5iDzm+vZuh9q23rE= -k8s.io/client-go v0.0.0-20190425172711-65184652c889/go.mod h1:PeVFCnjeDy6EwLN+wdDIZd1DwDY6jnkpQt9psMo5YRU= -k8s.io/client-go v2.0.0-alpha.0.0.20180910083459-2cefa64ff137+incompatible h1:Ch3wIkSY4QNrqRAJqgQIIpwqaCi7bbiIP23BAV9Qq/U= -k8s.io/client-go v2.0.0-alpha.0.0.20180910083459-2cefa64ff137+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= -k8s.io/client-go v2.0.0-alpha.0.0.20181121191925-a47917edff34+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= -k8s.io/client-go v10.0.0+incompatible h1:F1IqCqw7oMBzDkqlcBymRq1450wD0eNqLE9jzUrIi34= -k8s.io/client-go v10.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= -k8s.io/client-go v11.0.0+incompatible h1:LBbX2+lOwY9flffWlJM7f1Ct8V2SRNiMRDFeiwnJo9o= -k8s.io/client-go v11.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= -k8s.io/code-generator v0.0.0-20180621065459-6702109cc68e h1:lD3gN/b2A3KiZIAG/EPHkC/BIrA9NdFbSXmx90Ej+jU= -k8s.io/code-generator v0.0.0-20180621065459-6702109cc68e/go.mod h1:MYiN+ZJZ9HkETbgVZdWw2AsuAi9PZ4V80cwfuf2axe8= -k8s.io/code-generator v0.0.0-20181117043124-c2090bec4d9b/go.mod h1:MYiN+ZJZ9HkETbgVZdWw2AsuAi9PZ4V80cwfuf2axe8= -k8s.io/code-generator v0.0.0-20190311093542-50b561225d70 h1:lgPp615xLHxN84RBd+viA/oHzJfI0miFYFH4T9wpPQ4= -k8s.io/code-generator v0.0.0-20190311093542-50b561225d70/go.mod h1:MYiN+ZJZ9HkETbgVZdWw2AsuAi9PZ4V80cwfuf2axe8= -k8s.io/code-generator v0.0.0-20190419212335-ff26e7842f9d h1:QY1FeareEgkYrWnF2D2XxZFlF0k5Ir4uE8YjD1kHi94= -k8s.io/code-generator v0.0.0-20190419212335-ff26e7842f9d/go.mod h1:rVrFWfTVftGH7bb972nWC6N4QkJ4LU7FOXu8GH2UkJo= -k8s.io/component-base v0.0.0-20190424053038-9fe063da3132/go.mod h1:pi2NQz+AaW5UMjaswai1Hfzqzhh7bV6ssi3X3k4s03g= +k8s.io/api v0.15.9 h1:cCJD4WRNDrUWhputmpfvCnvpFFXJ68x8ycVqOBN7lHw= +k8s.io/api v0.15.9/go.mod h1:k1xN2kcg4y3Yn8leWHxx5KW/tfWls8cd7L/0H/bzLdM= +k8s.io/apiextensions-apiserver v0.15.9 h1:zJyXLfQQhZDezEaYe/gmQ2HNsGcEhFmtNEksC57Eqao= +k8s.io/apiextensions-apiserver v0.15.9/go.mod h1:jJi8eQd4S/6rpUU307RIXiDGb2xC3CATmy/9KlQvCVQ= +k8s.io/apimachinery v0.15.9 h1:vdgC+8MiWwgFVsUkmlkTpp4Dkpk9GY+aidLK31kXjeg= +k8s.io/apimachinery v0.15.9/go.mod h1:Xc10RHc1U+F/e9GCloJ8QAeCGevSVP5xhOhqlE+e1kM= +k8s.io/apiserver v0.15.9/go.mod h1:g742elJFGDyiWHZw+cevbi60ttuzM55d911lq0x5rsQ= +k8s.io/client-go v0.15.9 h1:PzeaA1blWxqTSJSzC9O9awEn60BqlYSVuBo1OdbHvZY= +k8s.io/client-go v0.15.9/go.mod h1:5EsswhUDX/8AtuZlqgcnwC/QY++960gbBM2IyQ5t4nA= +k8s.io/component-base v0.15.9/go.mod h1:NDTZgQiOthUkOnjJ/Ht5yGfZt60y91a6X23fAMtqOL4= k8s.io/gengo v0.0.0-20190116091435-f8a0810f38af/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6 h1:4s3/R4+OYYYUKptXPhZKjQ04WJ6EhQQVFdjOFvCazDk= k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20190327210449-e17681d19d3a/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/klog v0.1.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= -k8s.io/klog v0.2.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/klog v0.3.0 h1:0VPpR+sizsiivjIfIAQH/rl8tan6jvWkS7lU+0di3lE= k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= +k8s.io/klog v0.3.1 h1:RVgyDHY/kFKtLqh67NvEWIgkMneNoIrdkN0CxDSQc68= +k8s.io/klog v0.3.1/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/kube-openapi v0.0.0-20180629012420-d83b052f768a/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc= k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30 h1:TRb4wNWoBVrH9plmkp2q86FIDppkbrEXdXlxU3a3BMI= k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc= k8s.io/kube-openapi v0.0.0-20190502190224-411b2483e503 h1:IrnrEIp9du1SngrzGC1fdYEdos7Il6I6EVxwFQHJwCg= k8s.io/kube-openapi v0.0.0-20190502190224-411b2483e503/go.mod h1:iU+ZGYsNlvU9XKUSso6SQfKTCCw7lFduMZy26Mgr2Fw= -k8s.io/utils v0.0.0-20190221042446-c2654d5206da h1:ElyM7RPonbKnQqOcw7dG2IK5uvQQn3b/WPHqD5mBvP4= k8s.io/utils v0.0.0-20190221042446-c2654d5206da/go.mod h1:8k8uAuAQ0rXslZKaEWd0c3oVhZz7sSzSiPnVZayjIX0= k8s.io/utils v0.0.0-20190308190857-21c4ce38f2a7/go.mod h1:8k8uAuAQ0rXslZKaEWd0c3oVhZz7sSzSiPnVZayjIX0= k8s.io/utils v0.0.0-20190506122338-8fab8cb257d5 h1:VBM/0P5TWxwk+Nw6Z+lAw3DKgO76g90ETOiA6rfLV1Y= diff --git a/lifecycle.go b/lifecycle.go index 2fb29efe4..e37d4401e 100644 --- a/lifecycle.go +++ b/lifecycle.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/main.go b/main.go index 0d1fb5765..6ac94d2e5 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/definitions.go b/pkg/apis/backup/definitions.go index 452d1b08d..6f6ca3a53 100644 --- a/pkg/apis/backup/definitions.go +++ b/pkg/apis/backup/definitions.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup.go b/pkg/apis/backup/v1/backup.go index 9cdbf7a54..8beb3d551 100644 --- a/pkg/apis/backup/v1/backup.go +++ b/pkg/apis/backup/v1/backup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_policy.go b/pkg/apis/backup/v1/backup_policy.go index 1800c30bd..9bf2d2f1e 100644 --- a/pkg/apis/backup/v1/backup_policy.go +++ b/pkg/apis/backup/v1/backup_policy.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_policy_spec.go b/pkg/apis/backup/v1/backup_policy_spec.go index 02b2c1056..870ffe5c9 100644 --- a/pkg/apis/backup/v1/backup_policy_spec.go +++ b/pkg/apis/backup/v1/backup_policy_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_policy_status.go b/pkg/apis/backup/v1/backup_policy_status.go index b357fbf3f..71dcae7eb 100644 --- a/pkg/apis/backup/v1/backup_policy_status.go +++ b/pkg/apis/backup/v1/backup_policy_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_policy_validate.go b/pkg/apis/backup/v1/backup_policy_validate.go index 9daab720d..b0ef72a79 100644 --- a/pkg/apis/backup/v1/backup_policy_validate.go +++ b/pkg/apis/backup/v1/backup_policy_validate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_spec.go b/pkg/apis/backup/v1/backup_spec.go index 91768954c..d939249fd 100644 --- a/pkg/apis/backup/v1/backup_spec.go +++ b/pkg/apis/backup/v1/backup_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_state.go b/pkg/apis/backup/v1/backup_state.go index b0096c36f..1480c5617 100644 --- a/pkg/apis/backup/v1/backup_state.go +++ b/pkg/apis/backup/v1/backup_state.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_status.go b/pkg/apis/backup/v1/backup_status.go index 7b2a68849..4665ca31e 100644 --- a/pkg/apis/backup/v1/backup_status.go +++ b/pkg/apis/backup/v1/backup_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/backup_validate.go b/pkg/apis/backup/v1/backup_validate.go index 86d658408..6875578f4 100644 --- a/pkg/apis/backup/v1/backup_validate.go +++ b/pkg/apis/backup/v1/backup_validate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/doc.go b/pkg/apis/backup/v1/doc.go index 6e9a96fe2..d1cc6110f 100644 --- a/pkg/apis/backup/v1/doc.go +++ b/pkg/apis/backup/v1/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/register.go b/pkg/apis/backup/v1/register.go index 5bdcfafb1..87c256458 100644 --- a/pkg/apis/backup/v1/register.go +++ b/pkg/apis/backup/v1/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/backup/v1/zz_generated.deepcopy.go b/pkg/apis/backup/v1/zz_generated.deepcopy.go index abde0a62c..81d9d9e97 100644 --- a/pkg/apis/backup/v1/zz_generated.deepcopy.go +++ b/pkg/apis/backup/v1/zz_generated.deepcopy.go @@ -3,7 +3,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -98,7 +98,7 @@ func (in *ArangoBackupDetails) DeepCopy() *ArangoBackupDetails { func (in *ArangoBackupList) DeepCopyInto(out *ArangoBackupList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ArangoBackup, len(*in)) @@ -159,7 +159,7 @@ func (in *ArangoBackupPolicy) DeepCopyObject() runtime.Object { func (in *ArangoBackupPolicyList) DeepCopyInto(out *ArangoBackupPolicyList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ArangoBackupPolicy, len(*in)) diff --git a/pkg/apis/deployment/definitions.go b/pkg/apis/deployment/definitions.go index 55cc3a203..e17e4e5e2 100644 --- a/pkg/apis/deployment/definitions.go +++ b/pkg/apis/deployment/definitions.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/authentication_spec.go b/pkg/apis/deployment/v1/authentication_spec.go index f07ddff3b..6bd48b116 100644 --- a/pkg/apis/deployment/v1/authentication_spec.go +++ b/pkg/apis/deployment/v1/authentication_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/authentication_spec_test.go b/pkg/apis/deployment/v1/authentication_spec_test.go index 376533c5b..321e0682a 100644 --- a/pkg/apis/deployment/v1/authentication_spec_test.go +++ b/pkg/apis/deployment/v1/authentication_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/bootstrap.go b/pkg/apis/deployment/v1/bootstrap.go index 637f009c8..67a2cadc8 100644 --- a/pkg/apis/deployment/v1/bootstrap.go +++ b/pkg/apis/deployment/v1/bootstrap.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/chaos_spec.go b/pkg/apis/deployment/v1/chaos_spec.go index c86541dd9..063cfe3e0 100644 --- a/pkg/apis/deployment/v1/chaos_spec.go +++ b/pkg/apis/deployment/v1/chaos_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/conditions.go b/pkg/apis/deployment/v1/conditions.go index e6b0c20e9..1525ed7fe 100644 --- a/pkg/apis/deployment/v1/conditions.go +++ b/pkg/apis/deployment/v1/conditions.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/conditions_test.go b/pkg/apis/deployment/v1/conditions_test.go index 3e4dcabdd..6c44ad77f 100644 --- a/pkg/apis/deployment/v1/conditions_test.go +++ b/pkg/apis/deployment/v1/conditions_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment.go b/pkg/apis/deployment/v1/deployment.go index e7952837b..a53975a0a 100644 --- a/pkg/apis/deployment/v1/deployment.go +++ b/pkg/apis/deployment/v1/deployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_backup_status.go b/pkg/apis/deployment/v1/deployment_backup_status.go index 9af2aefbc..e1254edc8 100644 --- a/pkg/apis/deployment/v1/deployment_backup_status.go +++ b/pkg/apis/deployment/v1/deployment_backup_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_mode.go b/pkg/apis/deployment/v1/deployment_mode.go index 8949b9391..f8f52ba55 100644 --- a/pkg/apis/deployment/v1/deployment_mode.go +++ b/pkg/apis/deployment/v1/deployment_mode.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_mode_test.go b/pkg/apis/deployment/v1/deployment_mode_test.go index 46b556cf2..96d954b6d 100644 --- a/pkg/apis/deployment/v1/deployment_mode_test.go +++ b/pkg/apis/deployment/v1/deployment_mode_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_phase.go b/pkg/apis/deployment/v1/deployment_phase.go index e6301e342..cebd0007e 100644 --- a/pkg/apis/deployment/v1/deployment_phase.go +++ b/pkg/apis/deployment/v1/deployment_phase.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_phase_test.go b/pkg/apis/deployment/v1/deployment_phase_test.go index 8bd49a8fd..1452938d2 100644 --- a/pkg/apis/deployment/v1/deployment_phase_test.go +++ b/pkg/apis/deployment/v1/deployment_phase_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_spec.go b/pkg/apis/deployment/v1/deployment_spec.go index 7dda7260c..27aad398a 100644 --- a/pkg/apis/deployment/v1/deployment_spec.go +++ b/pkg/apis/deployment/v1/deployment_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_spec_test.go b/pkg/apis/deployment/v1/deployment_spec_test.go index 025474f37..d75d57280 100644 --- a/pkg/apis/deployment/v1/deployment_spec_test.go +++ b/pkg/apis/deployment/v1/deployment_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_status.go b/pkg/apis/deployment/v1/deployment_status.go index 250c8ad3d..ccf8ad7fc 100644 --- a/pkg/apis/deployment/v1/deployment_status.go +++ b/pkg/apis/deployment/v1/deployment_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/deployment_status_members.go b/pkg/apis/deployment/v1/deployment_status_members.go index 8a8dd099b..d261a6026 100644 --- a/pkg/apis/deployment/v1/deployment_status_members.go +++ b/pkg/apis/deployment/v1/deployment_status_members.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/doc.go b/pkg/apis/deployment/v1/doc.go index 80ddbb639..3ee8de3fc 100644 --- a/pkg/apis/deployment/v1/doc.go +++ b/pkg/apis/deployment/v1/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/duration.go b/pkg/apis/deployment/v1/duration.go index 929ca977c..874f88b90 100644 --- a/pkg/apis/deployment/v1/duration.go +++ b/pkg/apis/deployment/v1/duration.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/environment.go b/pkg/apis/deployment/v1/environment.go index b508c0710..9376872db 100644 --- a/pkg/apis/deployment/v1/environment.go +++ b/pkg/apis/deployment/v1/environment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/environment_test.go b/pkg/apis/deployment/v1/environment_test.go index 92cfd49bc..9be715dda 100644 --- a/pkg/apis/deployment/v1/environment_test.go +++ b/pkg/apis/deployment/v1/environment_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/errors.go b/pkg/apis/deployment/v1/errors.go index ca292cf1a..1a16ec545 100644 --- a/pkg/apis/deployment/v1/errors.go +++ b/pkg/apis/deployment/v1/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/external_access_spec.go b/pkg/apis/deployment/v1/external_access_spec.go index 08655e6cb..3eff974f4 100644 --- a/pkg/apis/deployment/v1/external_access_spec.go +++ b/pkg/apis/deployment/v1/external_access_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/external_access_type.go b/pkg/apis/deployment/v1/external_access_type.go index 278123f15..ce06056d3 100644 --- a/pkg/apis/deployment/v1/external_access_type.go +++ b/pkg/apis/deployment/v1/external_access_type.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/image_info.go b/pkg/apis/deployment/v1/image_info.go index 38d306806..4f3be030e 100644 --- a/pkg/apis/deployment/v1/image_info.go +++ b/pkg/apis/deployment/v1/image_info.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/image_info_test.go b/pkg/apis/deployment/v1/image_info_test.go index 8ecacc9c7..06eeeb57e 100644 --- a/pkg/apis/deployment/v1/image_info_test.go +++ b/pkg/apis/deployment/v1/image_info_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/license_spec.go b/pkg/apis/deployment/v1/license_spec.go index ac9d75d5b..60b3920a2 100644 --- a/pkg/apis/deployment/v1/license_spec.go +++ b/pkg/apis/deployment/v1/license_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/lifecycle_spec.go b/pkg/apis/deployment/v1/lifecycle_spec.go index 0bbd3d70b..da7ab2566 100644 --- a/pkg/apis/deployment/v1/lifecycle_spec.go +++ b/pkg/apis/deployment/v1/lifecycle_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/member_phase.go b/pkg/apis/deployment/v1/member_phase.go index 39a58cb9e..5f6a52725 100644 --- a/pkg/apis/deployment/v1/member_phase.go +++ b/pkg/apis/deployment/v1/member_phase.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/member_status.go b/pkg/apis/deployment/v1/member_status.go index fc05842e9..49d66cfb4 100644 --- a/pkg/apis/deployment/v1/member_status.go +++ b/pkg/apis/deployment/v1/member_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/member_status_list.go b/pkg/apis/deployment/v1/member_status_list.go index 65bc3d36b..87d8d5e29 100644 --- a/pkg/apis/deployment/v1/member_status_list.go +++ b/pkg/apis/deployment/v1/member_status_list.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/member_status_list_test.go b/pkg/apis/deployment/v1/member_status_list_test.go index 5275d0c67..c9aca4279 100644 --- a/pkg/apis/deployment/v1/member_status_list_test.go +++ b/pkg/apis/deployment/v1/member_status_list_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/member_status_test.go b/pkg/apis/deployment/v1/member_status_test.go index 1920f22bd..b400f99c1 100644 --- a/pkg/apis/deployment/v1/member_status_test.go +++ b/pkg/apis/deployment/v1/member_status_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/metrics_spec.go b/pkg/apis/deployment/v1/metrics_spec.go index 07166d1c4..4c47be9fd 100644 --- a/pkg/apis/deployment/v1/metrics_spec.go +++ b/pkg/apis/deployment/v1/metrics_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/monitoring_spec.go b/pkg/apis/deployment/v1/monitoring_spec.go index 415b638a1..d95465fde 100644 --- a/pkg/apis/deployment/v1/monitoring_spec.go +++ b/pkg/apis/deployment/v1/monitoring_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/monitoring_spec_test.go b/pkg/apis/deployment/v1/monitoring_spec_test.go index 2c5a2214b..12801aeb0 100644 --- a/pkg/apis/deployment/v1/monitoring_spec_test.go +++ b/pkg/apis/deployment/v1/monitoring_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/percent.go b/pkg/apis/deployment/v1/percent.go index 523c1d412..17761c2b3 100644 --- a/pkg/apis/deployment/v1/percent.go +++ b/pkg/apis/deployment/v1/percent.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/plan.go b/pkg/apis/deployment/v1/plan.go index 6ef773c9d..6715f0347 100644 --- a/pkg/apis/deployment/v1/plan.go +++ b/pkg/apis/deployment/v1/plan.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/register.go b/pkg/apis/deployment/v1/register.go index 2e9f412ba..263e8ad5b 100644 --- a/pkg/apis/deployment/v1/register.go +++ b/pkg/apis/deployment/v1/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/rocksdb_spec.go b/pkg/apis/deployment/v1/rocksdb_spec.go index a3d6c74b8..af15e0ae8 100644 --- a/pkg/apis/deployment/v1/rocksdb_spec.go +++ b/pkg/apis/deployment/v1/rocksdb_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/rocksdb_spec_test.go b/pkg/apis/deployment/v1/rocksdb_spec_test.go index 288e9d269..9560ddafe 100644 --- a/pkg/apis/deployment/v1/rocksdb_spec_test.go +++ b/pkg/apis/deployment/v1/rocksdb_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/secret_hashes.go b/pkg/apis/deployment/v1/secret_hashes.go index 4ff8b3984..c3222e684 100644 --- a/pkg/apis/deployment/v1/secret_hashes.go +++ b/pkg/apis/deployment/v1/secret_hashes.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/secret_hashes_test.go b/pkg/apis/deployment/v1/secret_hashes_test.go index 2918dac1e..42d538264 100644 --- a/pkg/apis/deployment/v1/secret_hashes_test.go +++ b/pkg/apis/deployment/v1/secret_hashes_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/server_group.go b/pkg/apis/deployment/v1/server_group.go index 80937d78f..ad6b03a78 100644 --- a/pkg/apis/deployment/v1/server_group.go +++ b/pkg/apis/deployment/v1/server_group.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/server_group_spec.go b/pkg/apis/deployment/v1/server_group_spec.go index 8d47cc13f..6736842d3 100644 --- a/pkg/apis/deployment/v1/server_group_spec.go +++ b/pkg/apis/deployment/v1/server_group_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/server_group_spec_test.go b/pkg/apis/deployment/v1/server_group_spec_test.go index 3d2d9c9b0..daa19b1e3 100644 --- a/pkg/apis/deployment/v1/server_group_spec_test.go +++ b/pkg/apis/deployment/v1/server_group_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/server_group_test.go b/pkg/apis/deployment/v1/server_group_test.go index b40f0e82e..5d7a09fba 100644 --- a/pkg/apis/deployment/v1/server_group_test.go +++ b/pkg/apis/deployment/v1/server_group_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/storage_engine.go b/pkg/apis/deployment/v1/storage_engine.go index fda1c8167..4f36f0f33 100644 --- a/pkg/apis/deployment/v1/storage_engine.go +++ b/pkg/apis/deployment/v1/storage_engine.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/storage_engine_test.go b/pkg/apis/deployment/v1/storage_engine_test.go index fc87ff927..9431b2771 100644 --- a/pkg/apis/deployment/v1/storage_engine_test.go +++ b/pkg/apis/deployment/v1/storage_engine_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/sync_authentication_spec.go b/pkg/apis/deployment/v1/sync_authentication_spec.go index 19738a075..9ac774d2e 100644 --- a/pkg/apis/deployment/v1/sync_authentication_spec.go +++ b/pkg/apis/deployment/v1/sync_authentication_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/sync_external_access_spec.go b/pkg/apis/deployment/v1/sync_external_access_spec.go index 1b1942266..14dd7e509 100644 --- a/pkg/apis/deployment/v1/sync_external_access_spec.go +++ b/pkg/apis/deployment/v1/sync_external_access_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/sync_spec.go b/pkg/apis/deployment/v1/sync_spec.go index b3c64867a..83e528054 100644 --- a/pkg/apis/deployment/v1/sync_spec.go +++ b/pkg/apis/deployment/v1/sync_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/sync_spec_test.go b/pkg/apis/deployment/v1/sync_spec_test.go index fc04fa8e6..ecd1bb24b 100644 --- a/pkg/apis/deployment/v1/sync_spec_test.go +++ b/pkg/apis/deployment/v1/sync_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/tls_spec.go b/pkg/apis/deployment/v1/tls_spec.go index 3146cda4d..47aa2643e 100644 --- a/pkg/apis/deployment/v1/tls_spec.go +++ b/pkg/apis/deployment/v1/tls_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/tls_spec_test.go b/pkg/apis/deployment/v1/tls_spec_test.go index 23fa63e15..1f9c0a473 100644 --- a/pkg/apis/deployment/v1/tls_spec_test.go +++ b/pkg/apis/deployment/v1/tls_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/deployment/v1/zz_generated.deepcopy.go b/pkg/apis/deployment/v1/zz_generated.deepcopy.go index 7f8aa7281..9335c5a6a 100644 --- a/pkg/apis/deployment/v1/zz_generated.deepcopy.go +++ b/pkg/apis/deployment/v1/zz_generated.deepcopy.go @@ -3,7 +3,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -85,7 +85,7 @@ func (in *ArangoDeployment) DeepCopyObject() runtime.Object { func (in *ArangoDeploymentList) DeepCopyInto(out *ArangoDeploymentList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ArangoDeployment, len(*in)) diff --git a/pkg/apis/replication/definitions.go b/pkg/apis/replication/definitions.go index f93c08a14..2954dfca3 100644 --- a/pkg/apis/replication/definitions.go +++ b/pkg/apis/replication/definitions.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/collection_status.go b/pkg/apis/replication/v1/collection_status.go index 26c31474b..d7da13f68 100644 --- a/pkg/apis/replication/v1/collection_status.go +++ b/pkg/apis/replication/v1/collection_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/conditions.go b/pkg/apis/replication/v1/conditions.go index 1bfce090a..edef239fc 100644 --- a/pkg/apis/replication/v1/conditions.go +++ b/pkg/apis/replication/v1/conditions.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/conditions_test.go b/pkg/apis/replication/v1/conditions_test.go index 17966d2ea..c69c2c503 100644 --- a/pkg/apis/replication/v1/conditions_test.go +++ b/pkg/apis/replication/v1/conditions_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/database_status.go b/pkg/apis/replication/v1/database_status.go index f30bd02b4..91c9c9dd5 100644 --- a/pkg/apis/replication/v1/database_status.go +++ b/pkg/apis/replication/v1/database_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/doc.go b/pkg/apis/replication/v1/doc.go index d326c2303..d9094f157 100644 --- a/pkg/apis/replication/v1/doc.go +++ b/pkg/apis/replication/v1/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/endpoint_authentication_spec.go b/pkg/apis/replication/v1/endpoint_authentication_spec.go index 02b27b84a..c92274f7f 100644 --- a/pkg/apis/replication/v1/endpoint_authentication_spec.go +++ b/pkg/apis/replication/v1/endpoint_authentication_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/endpoint_spec.go b/pkg/apis/replication/v1/endpoint_spec.go index a6cdce59d..4c13fefad 100644 --- a/pkg/apis/replication/v1/endpoint_spec.go +++ b/pkg/apis/replication/v1/endpoint_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/endpoint_status.go b/pkg/apis/replication/v1/endpoint_status.go index 86826d98c..bc6b373c1 100644 --- a/pkg/apis/replication/v1/endpoint_status.go +++ b/pkg/apis/replication/v1/endpoint_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/endpoint_tls_spec.go b/pkg/apis/replication/v1/endpoint_tls_spec.go index 4d3fd9644..1337bd22a 100644 --- a/pkg/apis/replication/v1/endpoint_tls_spec.go +++ b/pkg/apis/replication/v1/endpoint_tls_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/errors.go b/pkg/apis/replication/v1/errors.go index 78af20879..5fbca346d 100644 --- a/pkg/apis/replication/v1/errors.go +++ b/pkg/apis/replication/v1/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/register.go b/pkg/apis/replication/v1/register.go index 0a940bf1e..2ed05514e 100644 --- a/pkg/apis/replication/v1/register.go +++ b/pkg/apis/replication/v1/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/replication.go b/pkg/apis/replication/v1/replication.go index 4cebb567b..fd59bd556 100644 --- a/pkg/apis/replication/v1/replication.go +++ b/pkg/apis/replication/v1/replication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/replication_phase.go b/pkg/apis/replication/v1/replication_phase.go index a2ec0f272..fc30215a6 100644 --- a/pkg/apis/replication/v1/replication_phase.go +++ b/pkg/apis/replication/v1/replication_phase.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/replication_spec.go b/pkg/apis/replication/v1/replication_spec.go index 07cf9125e..fb2920991 100644 --- a/pkg/apis/replication/v1/replication_spec.go +++ b/pkg/apis/replication/v1/replication_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/replication_status.go b/pkg/apis/replication/v1/replication_status.go index f9be660d5..cdb9705f8 100644 --- a/pkg/apis/replication/v1/replication_status.go +++ b/pkg/apis/replication/v1/replication_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/shard_status.go b/pkg/apis/replication/v1/shard_status.go index a76d6127c..6f441d5c3 100644 --- a/pkg/apis/replication/v1/shard_status.go +++ b/pkg/apis/replication/v1/shard_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/replication/v1/zz_generated.deepcopy.go b/pkg/apis/replication/v1/zz_generated.deepcopy.go index a070059fc..a6aea9dc8 100644 --- a/pkg/apis/replication/v1/zz_generated.deepcopy.go +++ b/pkg/apis/replication/v1/zz_generated.deepcopy.go @@ -3,7 +3,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -60,7 +60,7 @@ func (in *ArangoDeploymentReplication) DeepCopyObject() runtime.Object { func (in *ArangoDeploymentReplicationList) DeepCopyInto(out *ArangoDeploymentReplicationList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ArangoDeploymentReplication, len(*in)) diff --git a/pkg/apis/storage/v1alpha/doc.go b/pkg/apis/storage/v1alpha/doc.go index f7ca4295d..bbb2a0792 100644 --- a/pkg/apis/storage/v1alpha/doc.go +++ b/pkg/apis/storage/v1alpha/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/errors.go b/pkg/apis/storage/v1alpha/errors.go index 64f72e81c..77ae7f344 100644 --- a/pkg/apis/storage/v1alpha/errors.go +++ b/pkg/apis/storage/v1alpha/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/local_storage.go b/pkg/apis/storage/v1alpha/local_storage.go index 98931a228..91c69a75d 100644 --- a/pkg/apis/storage/v1alpha/local_storage.go +++ b/pkg/apis/storage/v1alpha/local_storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/local_storage_spec.go b/pkg/apis/storage/v1alpha/local_storage_spec.go index 6c0fa4a28..8a25378d6 100644 --- a/pkg/apis/storage/v1alpha/local_storage_spec.go +++ b/pkg/apis/storage/v1alpha/local_storage_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/local_storage_spec_test.go b/pkg/apis/storage/v1alpha/local_storage_spec_test.go index 9a3cd082e..319da9820 100644 --- a/pkg/apis/storage/v1alpha/local_storage_spec_test.go +++ b/pkg/apis/storage/v1alpha/local_storage_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/local_storage_state.go b/pkg/apis/storage/v1alpha/local_storage_state.go index 9d2fc8d05..a06bb6bf5 100644 --- a/pkg/apis/storage/v1alpha/local_storage_state.go +++ b/pkg/apis/storage/v1alpha/local_storage_state.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/local_storage_status.go b/pkg/apis/storage/v1alpha/local_storage_status.go index 263a428f4..1290e2c84 100644 --- a/pkg/apis/storage/v1alpha/local_storage_status.go +++ b/pkg/apis/storage/v1alpha/local_storage_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/register.go b/pkg/apis/storage/v1alpha/register.go index 393c6a967..e30b187a1 100644 --- a/pkg/apis/storage/v1alpha/register.go +++ b/pkg/apis/storage/v1alpha/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/storage_class_spec.go b/pkg/apis/storage/v1alpha/storage_class_spec.go index 1b9253269..59eb0a126 100644 --- a/pkg/apis/storage/v1alpha/storage_class_spec.go +++ b/pkg/apis/storage/v1alpha/storage_class_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/storage_class_spec_test.go b/pkg/apis/storage/v1alpha/storage_class_spec_test.go index 8285122cf..d66b4bb87 100644 --- a/pkg/apis/storage/v1alpha/storage_class_spec_test.go +++ b/pkg/apis/storage/v1alpha/storage_class_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/apis/storage/v1alpha/zz_generated.deepcopy.go b/pkg/apis/storage/v1alpha/zz_generated.deepcopy.go index d2b0cd013..6c355f38a 100644 --- a/pkg/apis/storage/v1alpha/zz_generated.deepcopy.go +++ b/pkg/apis/storage/v1alpha/zz_generated.deepcopy.go @@ -3,7 +3,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -60,7 +60,7 @@ func (in *ArangoLocalStorage) DeepCopyObject() runtime.Object { func (in *ArangoLocalStorageList) DeepCopyInto(out *ArangoLocalStorageList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ArangoLocalStorage, len(*in)) diff --git a/pkg/backup/handlers/arango/backup/arango_client.go b/pkg/backup/handlers/arango/backup/arango_client.go index 6ad1c1f10..2491d5c98 100644 --- a/pkg/backup/handlers/arango/backup/arango_client.go +++ b/pkg/backup/handlers/arango/backup/arango_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/arango_client_impl.go b/pkg/backup/handlers/arango/backup/arango_client_impl.go index 0b20a7efc..5b995dd6c 100644 --- a/pkg/backup/handlers/arango/backup/arango_client_impl.go +++ b/pkg/backup/handlers/arango/backup/arango_client_impl.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/arango_client_mock_test.go b/pkg/backup/handlers/arango/backup/arango_client_mock_test.go index ea2fb144e..d9df5c48f 100644 --- a/pkg/backup/handlers/arango/backup/arango_client_mock_test.go +++ b/pkg/backup/handlers/arango/backup/arango_client_mock_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/arango_client_test.go b/pkg/backup/handlers/arango/backup/arango_client_test.go index 0b12d80e9..9dc49a986 100644 --- a/pkg/backup/handlers/arango/backup/arango_client_test.go +++ b/pkg/backup/handlers/arango/backup/arango_client_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/backup_suite_test.go b/pkg/backup/handlers/arango/backup/backup_suite_test.go index b6f4bc0ba..edfb74dbc 100644 --- a/pkg/backup/handlers/arango/backup/backup_suite_test.go +++ b/pkg/backup/handlers/arango/backup/backup_suite_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/errors.go b/pkg/backup/handlers/arango/backup/errors.go index 74393c595..c62526b51 100644 --- a/pkg/backup/handlers/arango/backup/errors.go +++ b/pkg/backup/handlers/arango/backup/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/finalizer.go b/pkg/backup/handlers/arango/backup/finalizer.go index e8ac47c89..36ce0146d 100644 --- a/pkg/backup/handlers/arango/backup/finalizer.go +++ b/pkg/backup/handlers/arango/backup/finalizer.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/finalizer_test.go b/pkg/backup/handlers/arango/backup/finalizer_test.go index d56692ce5..5af12675e 100644 --- a/pkg/backup/handlers/arango/backup/finalizer_test.go +++ b/pkg/backup/handlers/arango/backup/finalizer_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/flow_test.go b/pkg/backup/handlers/arango/backup/flow_test.go index 927acc63e..4b7f54e0f 100644 --- a/pkg/backup/handlers/arango/backup/flow_test.go +++ b/pkg/backup/handlers/arango/backup/flow_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/handler.go b/pkg/backup/handlers/arango/backup/handler.go index 38fa81c49..d31dc3f64 100644 --- a/pkg/backup/handlers/arango/backup/handler.go +++ b/pkg/backup/handlers/arango/backup/handler.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/handler_test.go b/pkg/backup/handlers/arango/backup/handler_test.go index 8052f1324..54bc612ba 100644 --- a/pkg/backup/handlers/arango/backup/handler_test.go +++ b/pkg/backup/handlers/arango/backup/handler_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/lifecycle.go b/pkg/backup/handlers/arango/backup/lifecycle.go index ca5d6f17a..3cb2c2ad1 100644 --- a/pkg/backup/handlers/arango/backup/lifecycle.go +++ b/pkg/backup/handlers/arango/backup/lifecycle.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/register.go b/pkg/backup/handlers/arango/backup/register.go index 52c62b8c9..24c3b0abd 100644 --- a/pkg/backup/handlers/arango/backup/register.go +++ b/pkg/backup/handlers/arango/backup/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state.go b/pkg/backup/handlers/arango/backup/state.go index e4570d8b1..cb2475498 100644 --- a/pkg/backup/handlers/arango/backup/state.go +++ b/pkg/backup/handlers/arango/backup/state.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_create.go b/pkg/backup/handlers/arango/backup/state_create.go index 811e673ae..9aa5fe135 100644 --- a/pkg/backup/handlers/arango/backup/state_create.go +++ b/pkg/backup/handlers/arango/backup/state_create.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_create_test.go b/pkg/backup/handlers/arango/backup/state_create_test.go index 97517877f..f70e8e919 100644 --- a/pkg/backup/handlers/arango/backup/state_create_test.go +++ b/pkg/backup/handlers/arango/backup/state_create_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_deleted.go b/pkg/backup/handlers/arango/backup/state_deleted.go index 7f5de3c8f..bd9640ccf 100644 --- a/pkg/backup/handlers/arango/backup/state_deleted.go +++ b/pkg/backup/handlers/arango/backup/state_deleted.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_deleted_test.go b/pkg/backup/handlers/arango/backup/state_deleted_test.go index beee76179..5c7132891 100644 --- a/pkg/backup/handlers/arango/backup/state_deleted_test.go +++ b/pkg/backup/handlers/arango/backup/state_deleted_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_download.go b/pkg/backup/handlers/arango/backup/state_download.go index 4a078e448..01e78df7c 100644 --- a/pkg/backup/handlers/arango/backup/state_download.go +++ b/pkg/backup/handlers/arango/backup/state_download.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_download_test.go b/pkg/backup/handlers/arango/backup/state_download_test.go index 0f9b1d455..6b28ae2ac 100644 --- a/pkg/backup/handlers/arango/backup/state_download_test.go +++ b/pkg/backup/handlers/arango/backup/state_download_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_downloaderror.go b/pkg/backup/handlers/arango/backup/state_downloaderror.go index 2c1e6a02c..358fed4e9 100644 --- a/pkg/backup/handlers/arango/backup/state_downloaderror.go +++ b/pkg/backup/handlers/arango/backup/state_downloaderror.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_downloaderror_test.go b/pkg/backup/handlers/arango/backup/state_downloaderror_test.go index d34d02365..e3aafc519 100644 --- a/pkg/backup/handlers/arango/backup/state_downloaderror_test.go +++ b/pkg/backup/handlers/arango/backup/state_downloaderror_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_downloading.go b/pkg/backup/handlers/arango/backup/state_downloading.go index c87628619..83a4ecb21 100644 --- a/pkg/backup/handlers/arango/backup/state_downloading.go +++ b/pkg/backup/handlers/arango/backup/state_downloading.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_downloading_test.go b/pkg/backup/handlers/arango/backup/state_downloading_test.go index 58e6cd18e..f430fb43f 100644 --- a/pkg/backup/handlers/arango/backup/state_downloading_test.go +++ b/pkg/backup/handlers/arango/backup/state_downloading_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_failed.go b/pkg/backup/handlers/arango/backup/state_failed.go index d6748c6cb..24c34fc1f 100644 --- a/pkg/backup/handlers/arango/backup/state_failed.go +++ b/pkg/backup/handlers/arango/backup/state_failed.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_failed_test.go b/pkg/backup/handlers/arango/backup/state_failed_test.go index dbfca9009..fcf4d582f 100644 --- a/pkg/backup/handlers/arango/backup/state_failed_test.go +++ b/pkg/backup/handlers/arango/backup/state_failed_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_none.go b/pkg/backup/handlers/arango/backup/state_none.go index 2a37bc4be..8ab75bc37 100644 --- a/pkg/backup/handlers/arango/backup/state_none.go +++ b/pkg/backup/handlers/arango/backup/state_none.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_none_test.go b/pkg/backup/handlers/arango/backup/state_none_test.go index d0634d49d..994b4a140 100644 --- a/pkg/backup/handlers/arango/backup/state_none_test.go +++ b/pkg/backup/handlers/arango/backup/state_none_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_pending.go b/pkg/backup/handlers/arango/backup/state_pending.go index b7271e024..f3466ec98 100644 --- a/pkg/backup/handlers/arango/backup/state_pending.go +++ b/pkg/backup/handlers/arango/backup/state_pending.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_pending_test.go b/pkg/backup/handlers/arango/backup/state_pending_test.go index e19639798..0fe98a403 100644 --- a/pkg/backup/handlers/arango/backup/state_pending_test.go +++ b/pkg/backup/handlers/arango/backup/state_pending_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_ready.go b/pkg/backup/handlers/arango/backup/state_ready.go index 82aa1311c..c8f8497b5 100644 --- a/pkg/backup/handlers/arango/backup/state_ready.go +++ b/pkg/backup/handlers/arango/backup/state_ready.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_ready_test.go b/pkg/backup/handlers/arango/backup/state_ready_test.go index ba00bbcfb..fa5567ee2 100644 --- a/pkg/backup/handlers/arango/backup/state_ready_test.go +++ b/pkg/backup/handlers/arango/backup/state_ready_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_scheduled.go b/pkg/backup/handlers/arango/backup/state_scheduled.go index 63f6574b4..32693dc8f 100644 --- a/pkg/backup/handlers/arango/backup/state_scheduled.go +++ b/pkg/backup/handlers/arango/backup/state_scheduled.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_scheduled_test.go b/pkg/backup/handlers/arango/backup/state_scheduled_test.go index a8885230a..10184df9e 100644 --- a/pkg/backup/handlers/arango/backup/state_scheduled_test.go +++ b/pkg/backup/handlers/arango/backup/state_scheduled_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_unavailable.go b/pkg/backup/handlers/arango/backup/state_unavailable.go index 5fbd8bdc4..6a18f6e5e 100644 --- a/pkg/backup/handlers/arango/backup/state_unavailable.go +++ b/pkg/backup/handlers/arango/backup/state_unavailable.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_unavailable_test.go b/pkg/backup/handlers/arango/backup/state_unavailable_test.go index 3c9c42bf1..8ca18ecda 100644 --- a/pkg/backup/handlers/arango/backup/state_unavailable_test.go +++ b/pkg/backup/handlers/arango/backup/state_unavailable_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_upload.go b/pkg/backup/handlers/arango/backup/state_upload.go index eac1baa13..ff2829481 100644 --- a/pkg/backup/handlers/arango/backup/state_upload.go +++ b/pkg/backup/handlers/arango/backup/state_upload.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_upload_test.go b/pkg/backup/handlers/arango/backup/state_upload_test.go index a6fcda83c..bc5afdb72 100644 --- a/pkg/backup/handlers/arango/backup/state_upload_test.go +++ b/pkg/backup/handlers/arango/backup/state_upload_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_uploaderror.go b/pkg/backup/handlers/arango/backup/state_uploaderror.go index 0d7656b3b..d112a02b9 100644 --- a/pkg/backup/handlers/arango/backup/state_uploaderror.go +++ b/pkg/backup/handlers/arango/backup/state_uploaderror.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_uploaderror_test.go b/pkg/backup/handlers/arango/backup/state_uploaderror_test.go index d837e6c0d..036b461e9 100644 --- a/pkg/backup/handlers/arango/backup/state_uploaderror_test.go +++ b/pkg/backup/handlers/arango/backup/state_uploaderror_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_uploading.go b/pkg/backup/handlers/arango/backup/state_uploading.go index 631db7b0a..1a48cfa8f 100644 --- a/pkg/backup/handlers/arango/backup/state_uploading.go +++ b/pkg/backup/handlers/arango/backup/state_uploading.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/state_uploading_test.go b/pkg/backup/handlers/arango/backup/state_uploading_test.go index 681670f60..aee428bc0 100644 --- a/pkg/backup/handlers/arango/backup/state_uploading_test.go +++ b/pkg/backup/handlers/arango/backup/state_uploading_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/status.go b/pkg/backup/handlers/arango/backup/status.go index a6bcaf0c5..1f618aea0 100644 --- a/pkg/backup/handlers/arango/backup/status.go +++ b/pkg/backup/handlers/arango/backup/status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/backup/util.go b/pkg/backup/handlers/arango/backup/util.go index 24bb5326b..70fb0cafd 100644 --- a/pkg/backup/handlers/arango/backup/util.go +++ b/pkg/backup/handlers/arango/backup/util.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/policy/handler.go b/pkg/backup/handlers/arango/policy/handler.go index d9b5245b5..de7f693b2 100644 --- a/pkg/backup/handlers/arango/policy/handler.go +++ b/pkg/backup/handlers/arango/policy/handler.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/policy/handler_scheduler_test.go b/pkg/backup/handlers/arango/policy/handler_scheduler_test.go index 1ff101b19..ee5f868cf 100644 --- a/pkg/backup/handlers/arango/policy/handler_scheduler_test.go +++ b/pkg/backup/handlers/arango/policy/handler_scheduler_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/policy/handler_suite_test.go b/pkg/backup/handlers/arango/policy/handler_suite_test.go index 20d077be6..567ec17e8 100644 --- a/pkg/backup/handlers/arango/policy/handler_suite_test.go +++ b/pkg/backup/handlers/arango/policy/handler_suite_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/policy/handler_test.go b/pkg/backup/handlers/arango/policy/handler_test.go index a103392e4..259cca998 100644 --- a/pkg/backup/handlers/arango/policy/handler_test.go +++ b/pkg/backup/handlers/arango/policy/handler_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/policy/lifecycle.go b/pkg/backup/handlers/arango/policy/lifecycle.go index 1251869b4..1a9bb7362 100644 --- a/pkg/backup/handlers/arango/policy/lifecycle.go +++ b/pkg/backup/handlers/arango/policy/lifecycle.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/handlers/arango/policy/register.go b/pkg/backup/handlers/arango/policy/register.go index 35b35e1a1..0f14e8cf5 100644 --- a/pkg/backup/handlers/arango/policy/register.go +++ b/pkg/backup/handlers/arango/policy/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/event/event.go b/pkg/backup/operator/event/event.go index 58cf52f13..c9b646d6f 100644 --- a/pkg/backup/operator/event/event.go +++ b/pkg/backup/operator/event/event.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/event/event_test.go b/pkg/backup/operator/event/event_test.go index be4746e19..48288ece5 100644 --- a/pkg/backup/operator/event/event_test.go +++ b/pkg/backup/operator/event/event_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/handler.go b/pkg/backup/operator/handler.go index 232d26987..9939cf0e2 100644 --- a/pkg/backup/operator/handler.go +++ b/pkg/backup/operator/handler.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/informer.go b/pkg/backup/operator/informer.go index c1e522297..6f4e1d239 100644 --- a/pkg/backup/operator/informer.go +++ b/pkg/backup/operator/informer.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/lifecycle.go b/pkg/backup/operator/lifecycle.go index 510c672b5..329fe1ce8 100644 --- a/pkg/backup/operator/lifecycle.go +++ b/pkg/backup/operator/lifecycle.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/operation/item.go b/pkg/backup/operator/operation/item.go index 1c970da05..644dc69c8 100644 --- a/pkg/backup/operator/operation/item.go +++ b/pkg/backup/operator/operation/item.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/operation/item_test.go b/pkg/backup/operator/operation/item_test.go index 16fb6fd63..d13165222 100644 --- a/pkg/backup/operator/operation/item_test.go +++ b/pkg/backup/operator/operation/item_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/operator.go b/pkg/backup/operator/operator.go index 6bee0b9fc..51ca7d7eb 100644 --- a/pkg/backup/operator/operator.go +++ b/pkg/backup/operator/operator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/operator_suite_test.go b/pkg/backup/operator/operator_suite_test.go index ff85fb39e..692763c36 100644 --- a/pkg/backup/operator/operator_suite_test.go +++ b/pkg/backup/operator/operator_suite_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/operator_test.go b/pkg/backup/operator/operator_test.go index 5d7259207..72a25696b 100644 --- a/pkg/backup/operator/operator_test.go +++ b/pkg/backup/operator/operator_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/operator_worker.go b/pkg/backup/operator/operator_worker.go index 0350b0a9a..4d7348238 100644 --- a/pkg/backup/operator/operator_worker.go +++ b/pkg/backup/operator/operator_worker.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/operator/operator_worker_test.go b/pkg/backup/operator/operator_worker_test.go index b91094c2b..0a81954f6 100644 --- a/pkg/backup/operator/operator_worker_test.go +++ b/pkg/backup/operator/operator_worker_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/state/errors.go b/pkg/backup/state/errors.go index 38bbeb603..5a83494b1 100644 --- a/pkg/backup/state/errors.go +++ b/pkg/backup/state/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/state/map.go b/pkg/backup/state/map.go index 7516beff4..7ed8979fd 100644 --- a/pkg/backup/state/map.go +++ b/pkg/backup/state/map.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/state/map_test.go b/pkg/backup/state/map_test.go index b5edd18b2..b9ed292f8 100644 --- a/pkg/backup/state/map_test.go +++ b/pkg/backup/state/map_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/state/state.go b/pkg/backup/state/state.go index 8fa603b4f..82dbac865 100644 --- a/pkg/backup/state/state.go +++ b/pkg/backup/state/state.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/state/state_test.go b/pkg/backup/state/state_test.go index 4814109f2..61449033a 100644 --- a/pkg/backup/state/state_test.go +++ b/pkg/backup/state/state_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/utils/errors.go b/pkg/backup/utils/errors.go index e9ad84dcb..0079d9b50 100644 --- a/pkg/backup/utils/errors.go +++ b/pkg/backup/utils/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/utils/ints.go b/pkg/backup/utils/ints.go index 502fc8ff8..7b95595cf 100644 --- a/pkg/backup/utils/ints.go +++ b/pkg/backup/utils/ints.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/utils/json.go b/pkg/backup/utils/json.go index a981aaacd..0257f64ff 100644 --- a/pkg/backup/utils/json.go +++ b/pkg/backup/utils/json.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/utils/retry.go b/pkg/backup/utils/retry.go index 68b4943e2..34a33493b 100644 --- a/pkg/backup/utils/retry.go +++ b/pkg/backup/utils/retry.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/backup/utils/strings.go b/pkg/backup/utils/strings.go index a39b61f71..7b1dd4a88 100644 --- a/pkg/backup/utils/strings.go +++ b/pkg/backup/utils/strings.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/client/client.go b/pkg/client/client.go index 81b433354..4f5629b2d 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/access_package.go b/pkg/deployment/access_package.go index c809f84ba..c286800b3 100644 --- a/pkg/deployment/access_package.go +++ b/pkg/deployment/access_package.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/backup/handler.go b/pkg/deployment/backup/handler.go index 325cee56d..a6b5965cb 100644 --- a/pkg/deployment/backup/handler.go +++ b/pkg/deployment/backup/handler.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/bootstrap.go b/pkg/deployment/bootstrap.go index 86f545c2f..2e11309a3 100644 --- a/pkg/deployment/bootstrap.go +++ b/pkg/deployment/bootstrap.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/chaos/context.go b/pkg/deployment/chaos/context.go index d1a475eb5..72daad7f2 100644 --- a/pkg/deployment/chaos/context.go +++ b/pkg/deployment/chaos/context.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/chaos/errors.go b/pkg/deployment/chaos/errors.go index 238d90df4..a50b5297f 100644 --- a/pkg/deployment/chaos/errors.go +++ b/pkg/deployment/chaos/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/chaos/monkey.go b/pkg/deployment/chaos/monkey.go index 805439517..cf7f21acc 100644 --- a/pkg/deployment/chaos/monkey.go +++ b/pkg/deployment/chaos/monkey.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/cleanup.go b/pkg/deployment/cleanup.go index d285e6186..a6bb2fe77 100644 --- a/pkg/deployment/cleanup.go +++ b/pkg/deployment/cleanup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/client_cache.go b/pkg/deployment/client_cache.go index 325d7edc5..cbc43ae55 100644 --- a/pkg/deployment/client_cache.go +++ b/pkg/deployment/client_cache.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/cluster_scaling_integration.go b/pkg/deployment/cluster_scaling_integration.go index b0541616a..de4a12301 100644 --- a/pkg/deployment/cluster_scaling_integration.go +++ b/pkg/deployment/cluster_scaling_integration.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/context_impl.go b/pkg/deployment/context_impl.go index 16db3cbbb..983372848 100644 --- a/pkg/deployment/context_impl.go +++ b/pkg/deployment/context_impl.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/deployment.go b/pkg/deployment/deployment.go index ee17ce900..d4453bafa 100644 --- a/pkg/deployment/deployment.go +++ b/pkg/deployment/deployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/deployment_finalizers.go b/pkg/deployment/deployment_finalizers.go index 3af7ba863..52785fc1e 100644 --- a/pkg/deployment/deployment_finalizers.go +++ b/pkg/deployment/deployment_finalizers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/deployment_inspector.go b/pkg/deployment/deployment_inspector.go index 8d912ae23..aab2cc399 100644 --- a/pkg/deployment/deployment_inspector.go +++ b/pkg/deployment/deployment_inspector.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/deployment_test.go b/pkg/deployment/deployment_test.go index 56d6f6f6a..45ab27129 100644 --- a/pkg/deployment/deployment_test.go +++ b/pkg/deployment/deployment_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -93,6 +93,8 @@ func TestEnsurePods(t *testing.T) { defaultSyncMasterTerminationTimeout := int64(api.ServerGroupSyncMasters.DefaultTerminationGracePeriod().Seconds()) defaultSyncWorkerTerminationTimeout := int64(api.ServerGroupSyncWorkers.DefaultTerminationGracePeriod().Seconds()) + var securityContext api.ServerGroupSpecSecurityContext + nodeSelectorTest := map[string]string{ "test": "test", } @@ -216,9 +218,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullAlways, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -277,9 +277,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, { Name: sidecarName1, @@ -335,9 +333,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, ImagePullSecrets: []v1.LocalObjectReference{ @@ -401,9 +397,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -458,9 +452,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -517,9 +509,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -577,9 +567,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -630,9 +618,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -686,9 +672,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -740,9 +724,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(true, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -800,9 +782,7 @@ func TestEnsurePods(t *testing.T) { k8sutil.ClusterJWTVolumeMount(), }, ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -858,9 +838,7 @@ func TestEnsurePods(t *testing.T) { Command: createTestCommandForAgent(firstAgentStatus.ID, true, true, false), Ports: createTestPorts(), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), VolumeMounts: []v1.VolumeMount{ k8sutil.ArangodVolumeMount(), k8sutil.TlsKeyfileVolumeMount(), @@ -922,9 +900,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -975,9 +951,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -1030,9 +1004,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, testCreateExporterContainer(false, emptyResources), }, @@ -1093,9 +1065,7 @@ func TestEnsurePods(t *testing.T) { }, LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, testCreateExporterContainer(false, k8sutil.ExtractPodResourceRequirement(resourcesUnfiltered)), }, @@ -1167,9 +1137,7 @@ func TestEnsurePods(t *testing.T) { Lifecycle: createTestLifecycle(), LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, testCreateExporterContainer(false, emptyResources), }, @@ -1240,9 +1208,7 @@ func TestEnsurePods(t *testing.T) { Lifecycle: createTestLifecycle(), LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, testCreateExporterContainer(false, emptyResources), }, @@ -1329,9 +1295,7 @@ func TestEnsurePods(t *testing.T) { Lifecycle: createTestLifecycle(), LivenessProbe: createTestLivenessProbe(false, "", k8sutil.ArangoPort), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), VolumeMounts: []v1.VolumeMount{ k8sutil.ArangodVolumeMount(), k8sutil.LifecycleVolumeMount(), @@ -1396,9 +1360,7 @@ func TestEnsurePods(t *testing.T) { Ports: createTestPorts(), ImagePullPolicy: v1.PullIfNotPresent, Resources: emptyResources, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), VolumeMounts: []v1.VolumeMount{ k8sutil.ArangodVolumeMount(), k8sutil.TlsKeyfileVolumeMount(), @@ -1463,9 +1425,7 @@ func TestEnsurePods(t *testing.T) { Command: createTestCommandForSingleMode(singleStatus.ID, true, true, false), Ports: createTestPorts(), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), VolumeMounts: []v1.VolumeMount{ k8sutil.ArangodVolumeMount(), k8sutil.TlsKeyfileVolumeMount(), @@ -1692,9 +1652,7 @@ func TestEnsurePods(t *testing.T) { }, ImagePullPolicy: v1.PullIfNotPresent, Resources: resourcesUnfiltered, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), VolumeMounts: []v1.VolumeMount{ k8sutil.TlsKeyfileVolumeMount(), k8sutil.ClientAuthCACertificateVolumeMount(), @@ -1785,9 +1743,7 @@ func TestEnsurePods(t *testing.T) { }, ImagePullPolicy: v1.PullIfNotPresent, Lifecycle: createTestLifecycle(), - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), VolumeMounts: []v1.VolumeMount{ k8sutil.LifecycleVolumeMount(), k8sutil.TlsKeyfileVolumeMount(), @@ -1882,9 +1838,7 @@ func TestEnsurePods(t *testing.T) { Lifecycle: createTestLifecycle(), ImagePullPolicy: v1.PullIfNotPresent, Resources: resourcesUnfiltered, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), VolumeMounts: []v1.VolumeMount{ k8sutil.LifecycleVolumeMount(), k8sutil.MasterJWTVolumeMount(), @@ -2327,6 +2281,7 @@ func createTestExporterLivenessProbe(secure bool) *v1.Probe { func createTestLifecycleContainer(resources v1.ResourceRequirements) v1.Container { binaryPath, _ := os.Executable() + var securityContext api.ServerGroupSpecSecurityContext return v1.Container{ Name: "init-lifecycle", @@ -2337,14 +2292,13 @@ func createTestLifecycleContainer(resources v1.ResourceRequirements) v1.Containe }, ImagePullPolicy: "IfNotPresent", Resources: resources, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), } } func createTestAlpineContainer(name string, requireUUID bool) v1.Container { - return k8sutil.ArangodInitContainer("uuid", name, "rocksdb", testImageAlpine, requireUUID) + var securityContext api.ServerGroupSpecSecurityContext + return k8sutil.ArangodInitContainer("uuid", name, "rocksdb", testImageAlpine, requireUUID, securityContext.NewSecurityContext()) } func (testCase *testCaseStruct) createTestPodData(deployment *Deployment, group api.ServerGroup, @@ -2368,6 +2322,8 @@ func (testCase *testCaseStruct) createTestPodData(deployment *Deployment, group } func testCreateExporterContainer(secure bool, resources v1.ResourceRequirements) v1.Container { + var securityContext api.ServerGroupSpecSecurityContext + return v1.Container{ Name: k8sutil.ExporterContainerName, Image: testExporterImage, @@ -2379,8 +2335,6 @@ func testCreateExporterContainer(secure bool, resources v1.ResourceRequirements) Resources: resources, LivenessProbe: createTestExporterLivenessProbe(secure), ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), } } diff --git a/pkg/deployment/errors.go b/pkg/deployment/errors.go index 1af3e312e..b8aa80fed 100644 --- a/pkg/deployment/errors.go +++ b/pkg/deployment/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/images.go b/pkg/deployment/images.go index 4d4d7c86a..bbb6bc955 100644 --- a/pkg/deployment/images.go +++ b/pkg/deployment/images.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -305,10 +305,6 @@ func (i *ImageUpdatePod) GetTolerations() []v1.Toleration { return tolerations } -func (a *ArangoDImageUpdateContainer) GetSecurityContext() *v1.SecurityContext { - return nil -} - func (i *ImageUpdatePod) IsDeploymentMode() bool { return true } @@ -320,3 +316,9 @@ func (i *ImageUpdatePod) GetNodeSelector() map[string]string { func (i *ImageUpdatePod) GetServiceAccountName() string { return "" } + +func (a *ArangoDImageUpdateContainer) GetSecurityContext() *v1.SecurityContext { + // Default security context + var v api.ServerGroupSpecSecurityContext + return v.NewSecurityContext() +} diff --git a/pkg/deployment/images_test.go b/pkg/deployment/images_test.go index 5bb769289..0738a431b 100644 --- a/pkg/deployment/images_test.go +++ b/pkg/deployment/images_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -63,6 +63,8 @@ func TestEnsureImages(t *testing.T) { id := fmt.Sprintf("%0x", sha1.Sum([]byte(testNewImage)))[:6] hostname := testDeploymentName + "-" + k8sutil.ImageIDAndVersionRole + "-" + id + var securityContext api.ServerGroupSpecSecurityContext + testCases := []testCaseImageUpdate{ { Name: "Image has not been changed", @@ -99,9 +101,7 @@ func TestEnsureImages(t *testing.T) { k8sutil.ArangodVolumeMount(), }, ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, @@ -148,9 +148,7 @@ func TestEnsureImages(t *testing.T) { k8sutil.ArangodVolumeMount(), }, ImagePullPolicy: v1.PullIfNotPresent, - SecurityContext: &v1.SecurityContext{ - Capabilities: &v1.Capabilities{Drop: []v1.Capability{"ALL"}}, - }, + SecurityContext: securityContext.NewSecurityContext(), }, }, RestartPolicy: v1.RestartPolicyNever, diff --git a/pkg/deployment/informers.go b/pkg/deployment/informers.go index 966a4511f..d357bcdea 100644 --- a/pkg/deployment/informers.go +++ b/pkg/deployment/informers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/members.go b/pkg/deployment/members.go index b6a37b6c8..2cc5941ff 100644 --- a/pkg/deployment/members.go +++ b/pkg/deployment/members.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/metrics.go b/pkg/deployment/metrics.go index fa8eedc87..27cb74a7e 100644 --- a/pkg/deployment/metrics.go +++ b/pkg/deployment/metrics.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action.go b/pkg/deployment/reconcile/action.go index eecf9176d..c4b1accb1 100644 --- a/pkg/deployment/reconcile/action.go +++ b/pkg/deployment/reconcile/action.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_add_member.go b/pkg/deployment/reconcile/action_add_member.go index 9892b27dd..71f13dde6 100644 --- a/pkg/deployment/reconcile/action_add_member.go +++ b/pkg/deployment/reconcile/action_add_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_cleanout_member.go b/pkg/deployment/reconcile/action_cleanout_member.go index cb8d83629..4bb223508 100644 --- a/pkg/deployment/reconcile/action_cleanout_member.go +++ b/pkg/deployment/reconcile/action_cleanout_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_context.go b/pkg/deployment/reconcile/action_context.go index 14efd83ac..3a5acb146 100644 --- a/pkg/deployment/reconcile/action_context.go +++ b/pkg/deployment/reconcile/action_context.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_pvc_resize.go b/pkg/deployment/reconcile/action_pvc_resize.go index a82a59dcb..d8238d708 100644 --- a/pkg/deployment/reconcile/action_pvc_resize.go +++ b/pkg/deployment/reconcile/action_pvc_resize.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_pvc_resized.go b/pkg/deployment/reconcile/action_pvc_resized.go index bd00c3a5b..1dbb18620 100644 --- a/pkg/deployment/reconcile/action_pvc_resized.go +++ b/pkg/deployment/reconcile/action_pvc_resized.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_remove_member.go b/pkg/deployment/reconcile/action_remove_member.go index a6ef3d76b..5c63733e1 100644 --- a/pkg/deployment/reconcile/action_remove_member.go +++ b/pkg/deployment/reconcile/action_remove_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_renew_tls_ca_certificate.go b/pkg/deployment/reconcile/action_renew_tls_ca_certificate.go index 0149fd24c..06ea70997 100644 --- a/pkg/deployment/reconcile/action_renew_tls_ca_certificate.go +++ b/pkg/deployment/reconcile/action_renew_tls_ca_certificate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_renew_tls_certificate.go b/pkg/deployment/reconcile/action_renew_tls_certificate.go index 9c219682a..3b1faf222 100644 --- a/pkg/deployment/reconcile/action_renew_tls_certificate.go +++ b/pkg/deployment/reconcile/action_renew_tls_certificate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_rotate_member.go b/pkg/deployment/reconcile/action_rotate_member.go index a7f2ba16c..9560b786e 100644 --- a/pkg/deployment/reconcile/action_rotate_member.go +++ b/pkg/deployment/reconcile/action_rotate_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_shutdown_member.go b/pkg/deployment/reconcile/action_shutdown_member.go index 4565bddc5..9415ff819 100644 --- a/pkg/deployment/reconcile/action_shutdown_member.go +++ b/pkg/deployment/reconcile/action_shutdown_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_upgrade_current_image.go b/pkg/deployment/reconcile/action_upgrade_current_image.go index 0bddb5819..a596de671 100644 --- a/pkg/deployment/reconcile/action_upgrade_current_image.go +++ b/pkg/deployment/reconcile/action_upgrade_current_image.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_upgrade_member.go b/pkg/deployment/reconcile/action_upgrade_member.go index c3a5b3126..12eaf0fe4 100644 --- a/pkg/deployment/reconcile/action_upgrade_member.go +++ b/pkg/deployment/reconcile/action_upgrade_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/action_wait_for_member_up.go b/pkg/deployment/reconcile/action_wait_for_member_up.go index e87f8040f..a5dc845e5 100644 --- a/pkg/deployment/reconcile/action_wait_for_member_up.go +++ b/pkg/deployment/reconcile/action_wait_for_member_up.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/context.go b/pkg/deployment/reconcile/context.go index 0baffcffa..c2a7e0765 100644 --- a/pkg/deployment/reconcile/context.go +++ b/pkg/deployment/reconcile/context.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/errors.go b/pkg/deployment/reconcile/errors.go index 078a7dfbe..343f489bc 100644 --- a/pkg/deployment/reconcile/errors.go +++ b/pkg/deployment/reconcile/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_builder.go b/pkg/deployment/reconcile/plan_builder.go index b6df8a2cc..37e215578 100644 --- a/pkg/deployment/reconcile/plan_builder.go +++ b/pkg/deployment/reconcile/plan_builder.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_builder_context.go b/pkg/deployment/reconcile/plan_builder_context.go index 9d53a79a0..aae26cd0c 100644 --- a/pkg/deployment/reconcile/plan_builder_context.go +++ b/pkg/deployment/reconcile/plan_builder_context.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_builder_rotate_upgrade.go b/pkg/deployment/reconcile/plan_builder_rotate_upgrade.go index 7c7055276..f598a798d 100644 --- a/pkg/deployment/reconcile/plan_builder_rotate_upgrade.go +++ b/pkg/deployment/reconcile/plan_builder_rotate_upgrade.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_builder_scale.go b/pkg/deployment/reconcile/plan_builder_scale.go index 80e22e6e1..de233b027 100644 --- a/pkg/deployment/reconcile/plan_builder_scale.go +++ b/pkg/deployment/reconcile/plan_builder_scale.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_builder_storage.go b/pkg/deployment/reconcile/plan_builder_storage.go index 6708f2556..801a3013d 100644 --- a/pkg/deployment/reconcile/plan_builder_storage.go +++ b/pkg/deployment/reconcile/plan_builder_storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_builder_test.go b/pkg/deployment/reconcile/plan_builder_test.go index 7fa9967dd..682ef61f5 100644 --- a/pkg/deployment/reconcile/plan_builder_test.go +++ b/pkg/deployment/reconcile/plan_builder_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_builder_tls.go b/pkg/deployment/reconcile/plan_builder_tls.go index 0d7caf8bd..8af831cdf 100644 --- a/pkg/deployment/reconcile/plan_builder_tls.go +++ b/pkg/deployment/reconcile/plan_builder_tls.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/plan_executor.go b/pkg/deployment/reconcile/plan_executor.go index 9d7cd6c9b..01b231964 100644 --- a/pkg/deployment/reconcile/plan_executor.go +++ b/pkg/deployment/reconcile/plan_executor.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/reconciler.go b/pkg/deployment/reconcile/reconciler.go index 41119368d..aa9ff6e7b 100644 --- a/pkg/deployment/reconcile/reconciler.go +++ b/pkg/deployment/reconcile/reconciler.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/reconcile/timeouts.go b/pkg/deployment/reconcile/timeouts.go index aadeff710..fab21d39e 100644 --- a/pkg/deployment/reconcile/timeouts.go +++ b/pkg/deployment/reconcile/timeouts.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resilience/context.go b/pkg/deployment/resilience/context.go index 3af2f387b..cc4543894 100644 --- a/pkg/deployment/resilience/context.go +++ b/pkg/deployment/resilience/context.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resilience/errors.go b/pkg/deployment/resilience/errors.go index 3433d4cbb..44c8304f2 100644 --- a/pkg/deployment/resilience/errors.go +++ b/pkg/deployment/resilience/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resilience/member_failure.go b/pkg/deployment/resilience/member_failure.go index 7eab383d7..1a5cb3e34 100644 --- a/pkg/deployment/resilience/member_failure.go +++ b/pkg/deployment/resilience/member_failure.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resilience/resilience.go b/pkg/deployment/resilience/resilience.go index 70485e089..d025bc6d5 100644 --- a/pkg/deployment/resilience/resilience.go +++ b/pkg/deployment/resilience/resilience.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/annotations.go b/pkg/deployment/resources/annotations.go index f20cdaf26..b9229d563 100644 --- a/pkg/deployment/resources/annotations.go +++ b/pkg/deployment/resources/annotations.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/certificates_client_auth.go b/pkg/deployment/resources/certificates_client_auth.go index d5519a2db..b87c9b2ad 100644 --- a/pkg/deployment/resources/certificates_client_auth.go +++ b/pkg/deployment/resources/certificates_client_auth.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/certificates_tls.go b/pkg/deployment/resources/certificates_tls.go index 263a3d94c..51c2e6497 100644 --- a/pkg/deployment/resources/certificates_tls.go +++ b/pkg/deployment/resources/certificates_tls.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/context.go b/pkg/deployment/resources/context.go index 88c757529..3ef6dafa2 100644 --- a/pkg/deployment/resources/context.go +++ b/pkg/deployment/resources/context.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/deployment_health.go b/pkg/deployment/resources/deployment_health.go index 2ed3f4122..7c035f80e 100644 --- a/pkg/deployment/resources/deployment_health.go +++ b/pkg/deployment/resources/deployment_health.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/errors.go b/pkg/deployment/resources/errors.go index 310ebb272..d31fff4ca 100644 --- a/pkg/deployment/resources/errors.go +++ b/pkg/deployment/resources/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/exporter.go b/pkg/deployment/resources/exporter.go index 760ba9e14..60cf24f95 100644 --- a/pkg/deployment/resources/exporter.go +++ b/pkg/deployment/resources/exporter.go @@ -1,5 +1,5 @@ // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/license.go b/pkg/deployment/resources/license.go index be1281484..72035971d 100644 --- a/pkg/deployment/resources/license.go +++ b/pkg/deployment/resources/license.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/member_cleanup.go b/pkg/deployment/resources/member_cleanup.go index b7bc0f363..f82a2d09e 100644 --- a/pkg/deployment/resources/member_cleanup.go +++ b/pkg/deployment/resources/member_cleanup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/metrics.go b/pkg/deployment/resources/metrics.go index ec92c8db4..08edae998 100644 --- a/pkg/deployment/resources/metrics.go +++ b/pkg/deployment/resources/metrics.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_cleanup.go b/pkg/deployment/resources/pod_cleanup.go index cc3493288..4f745276b 100644 --- a/pkg/deployment/resources/pod_cleanup.go +++ b/pkg/deployment/resources/pod_cleanup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_creator.go b/pkg/deployment/resources/pod_creator.go index 4b9e273dc..7308f4777 100644 --- a/pkg/deployment/resources/pod_creator.go +++ b/pkg/deployment/resources/pod_creator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_creator_agent_args_test.go b/pkg/deployment/resources/pod_creator_agent_args_test.go index 5cae34557..015bb5be4 100644 --- a/pkg/deployment/resources/pod_creator_agent_args_test.go +++ b/pkg/deployment/resources/pod_creator_agent_args_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_creator_arangod.go b/pkg/deployment/resources/pod_creator_arangod.go index 8281229f9..148b138d7 100644 --- a/pkg/deployment/resources/pod_creator_arangod.go +++ b/pkg/deployment/resources/pod_creator_arangod.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_creator_coordinator_args_test.go b/pkg/deployment/resources/pod_creator_coordinator_args_test.go index 54616b5a2..b5cb2e10f 100644 --- a/pkg/deployment/resources/pod_creator_coordinator_args_test.go +++ b/pkg/deployment/resources/pod_creator_coordinator_args_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_creator_dbserver_args_test.go b/pkg/deployment/resources/pod_creator_dbserver_args_test.go index ec69c64cf..d536b6bb3 100644 --- a/pkg/deployment/resources/pod_creator_dbserver_args_test.go +++ b/pkg/deployment/resources/pod_creator_dbserver_args_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_creator_single_args_test.go b/pkg/deployment/resources/pod_creator_single_args_test.go index ac8622317..3dc128398 100644 --- a/pkg/deployment/resources/pod_creator_single_args_test.go +++ b/pkg/deployment/resources/pod_creator_single_args_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_creator_sync.go b/pkg/deployment/resources/pod_creator_sync.go index 501b772aa..e7c62377e 100644 --- a/pkg/deployment/resources/pod_creator_sync.go +++ b/pkg/deployment/resources/pod_creator_sync.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_finalizers.go b/pkg/deployment/resources/pod_finalizers.go index cb9335279..19ba590c8 100644 --- a/pkg/deployment/resources/pod_finalizers.go +++ b/pkg/deployment/resources/pod_finalizers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_inspector.go b/pkg/deployment/resources/pod_inspector.go index 56413d21f..033fd748c 100644 --- a/pkg/deployment/resources/pod_inspector.go +++ b/pkg/deployment/resources/pod_inspector.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pod_termination.go b/pkg/deployment/resources/pod_termination.go index ba378a211..2688114ab 100644 --- a/pkg/deployment/resources/pod_termination.go +++ b/pkg/deployment/resources/pod_termination.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pvc_finalizers.go b/pkg/deployment/resources/pvc_finalizers.go index 6fa215c92..5aba17f1c 100644 --- a/pkg/deployment/resources/pvc_finalizers.go +++ b/pkg/deployment/resources/pvc_finalizers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pvc_inspector.go b/pkg/deployment/resources/pvc_inspector.go index 2c24edfbb..0e2e84c69 100644 --- a/pkg/deployment/resources/pvc_inspector.go +++ b/pkg/deployment/resources/pvc_inspector.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/pvcs.go b/pkg/deployment/resources/pvcs.go index 5675c1ab2..ad222cdb2 100644 --- a/pkg/deployment/resources/pvcs.go +++ b/pkg/deployment/resources/pvcs.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/resources.go b/pkg/deployment/resources/resources.go index d036a0816..b64a9797e 100644 --- a/pkg/deployment/resources/resources.go +++ b/pkg/deployment/resources/resources.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/secret_hashes.go b/pkg/deployment/resources/secret_hashes.go index 119756a95..0bf4744e7 100644 --- a/pkg/deployment/resources/secret_hashes.go +++ b/pkg/deployment/resources/secret_hashes.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/secrets.go b/pkg/deployment/resources/secrets.go index 85058e6fb..9bf9c2667 100644 --- a/pkg/deployment/resources/secrets.go +++ b/pkg/deployment/resources/secrets.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/resources/services.go b/pkg/deployment/resources/services.go index e26caff46..74c6e77b1 100644 --- a/pkg/deployment/resources/services.go +++ b/pkg/deployment/resources/services.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/server_api.go b/pkg/deployment/server_api.go index 3e8c72672..961a758c2 100644 --- a/pkg/deployment/server_api.go +++ b/pkg/deployment/server_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/deployment/server_member_api.go b/pkg/deployment/server_member_api.go index 92164449f..14ab50363 100644 --- a/pkg/deployment/server_member_api.go +++ b/pkg/deployment/server_member_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/clientset.go b/pkg/generated/clientset/versioned/clientset.go index b6e17a910..4ae39d416 100644 --- a/pkg/generated/clientset/versioned/clientset.go +++ b/pkg/generated/clientset/versioned/clientset.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/doc.go b/pkg/generated/clientset/versioned/doc.go index 611123583..7907dd321 100644 --- a/pkg/generated/clientset/versioned/doc.go +++ b/pkg/generated/clientset/versioned/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/fake/clientset_generated.go b/pkg/generated/clientset/versioned/fake/clientset_generated.go index 111eee838..ffad449e7 100644 --- a/pkg/generated/clientset/versioned/fake/clientset_generated.go +++ b/pkg/generated/clientset/versioned/fake/clientset_generated.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/fake/doc.go b/pkg/generated/clientset/versioned/fake/doc.go index abc693b83..7cdd2e14e 100644 --- a/pkg/generated/clientset/versioned/fake/doc.go +++ b/pkg/generated/clientset/versioned/fake/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/fake/register.go b/pkg/generated/clientset/versioned/fake/register.go index f1197e03c..ae2044e55 100644 --- a/pkg/generated/clientset/versioned/fake/register.go +++ b/pkg/generated/clientset/versioned/fake/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/scheme/doc.go b/pkg/generated/clientset/versioned/scheme/doc.go index 938255afa..4b328b6cb 100644 --- a/pkg/generated/clientset/versioned/scheme/doc.go +++ b/pkg/generated/clientset/versioned/scheme/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/scheme/register.go b/pkg/generated/clientset/versioned/scheme/register.go index d7f26ff61..1d412bf77 100644 --- a/pkg/generated/clientset/versioned/scheme/register.go +++ b/pkg/generated/clientset/versioned/scheme/register.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/arangobackup.go b/pkg/generated/clientset/versioned/typed/backup/v1/arangobackup.go index 13e594d9f..674b8a10a 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/arangobackup.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/arangobackup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/arangobackuppolicy.go b/pkg/generated/clientset/versioned/typed/backup/v1/arangobackuppolicy.go index 7f080fd8f..6dbd64e26 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/arangobackuppolicy.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/arangobackuppolicy.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/backup_client.go b/pkg/generated/clientset/versioned/typed/backup/v1/backup_client.go index db2044eb7..03913502b 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/backup_client.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/backup_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/doc.go b/pkg/generated/clientset/versioned/typed/backup/v1/doc.go index ff2718f73..8bdfa8141 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/doc.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/fake/doc.go b/pkg/generated/clientset/versioned/typed/backup/v1/fake/doc.go index 7958e7822..dd105e835 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/fake/doc.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/fake/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackup.go b/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackup.go index f0cfc9546..205c26aea 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackup.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackuppolicy.go b/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackuppolicy.go index 47e298a55..9b82041b0 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackuppolicy.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_arangobackuppolicy.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_backup_client.go b/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_backup_client.go index 7dc88e0df..dc56cb571 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_backup_client.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/fake/fake_backup_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1/generated_expansion.go b/pkg/generated/clientset/versioned/typed/backup/v1/generated_expansion.go index 63018ab6d..7995369fc 100644 --- a/pkg/generated/clientset/versioned/typed/backup/v1/generated_expansion.go +++ b/pkg/generated/clientset/versioned/typed/backup/v1/generated_expansion.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackup.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackup.go deleted file mode 100644 index 383562d5e..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackup.go +++ /dev/null @@ -1,195 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -import ( - "time" - - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// ArangoBackupsGetter has a method to return a ArangoBackupInterface. -// A group's client should implement this interface. -type ArangoBackupsGetter interface { - ArangoBackups(namespace string) ArangoBackupInterface -} - -// ArangoBackupInterface has methods to work with ArangoBackup resources. -type ArangoBackupInterface interface { - Create(*v1alpha.ArangoBackup) (*v1alpha.ArangoBackup, error) - Update(*v1alpha.ArangoBackup) (*v1alpha.ArangoBackup, error) - UpdateStatus(*v1alpha.ArangoBackup) (*v1alpha.ArangoBackup, error) - Delete(name string, options *v1.DeleteOptions) error - DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error - Get(name string, options v1.GetOptions) (*v1alpha.ArangoBackup, error) - List(opts v1.ListOptions) (*v1alpha.ArangoBackupList, error) - Watch(opts v1.ListOptions) (watch.Interface, error) - Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoBackup, err error) - ArangoBackupExpansion -} - -// arangoBackups implements ArangoBackupInterface -type arangoBackups struct { - client rest.Interface - ns string -} - -// newArangoBackups returns a ArangoBackups -func newArangoBackups(c *BackupV1alphaClient, namespace string) *arangoBackups { - return &arangoBackups{ - client: c.RESTClient(), - ns: namespace, - } -} - -// Get takes name of the arangoBackup, and returns the corresponding arangoBackup object, and an error if there is any. -func (c *arangoBackups) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoBackup, err error) { - result = &v1alpha.ArangoBackup{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangobackups"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of ArangoBackups that match those selectors. -func (c *arangoBackups) List(opts v1.ListOptions) (result *v1alpha.ArangoBackupList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1alpha.ArangoBackupList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangobackups"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested arangoBackups. -func (c *arangoBackups) Watch(opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Namespace(c.ns). - Resource("arangobackups"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch() -} - -// Create takes the representation of a arangoBackup and creates it. Returns the server's representation of the arangoBackup, and an error, if there is any. -func (c *arangoBackups) Create(arangoBackup *v1alpha.ArangoBackup) (result *v1alpha.ArangoBackup, err error) { - result = &v1alpha.ArangoBackup{} - err = c.client.Post(). - Namespace(c.ns). - Resource("arangobackups"). - Body(arangoBackup). - Do(). - Into(result) - return -} - -// Update takes the representation of a arangoBackup and updates it. Returns the server's representation of the arangoBackup, and an error, if there is any. -func (c *arangoBackups) Update(arangoBackup *v1alpha.ArangoBackup) (result *v1alpha.ArangoBackup, err error) { - result = &v1alpha.ArangoBackup{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangobackups"). - Name(arangoBackup.Name). - Body(arangoBackup). - Do(). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - -func (c *arangoBackups) UpdateStatus(arangoBackup *v1alpha.ArangoBackup) (result *v1alpha.ArangoBackup, err error) { - result = &v1alpha.ArangoBackup{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangobackups"). - Name(arangoBackup.Name). - SubResource("status"). - Body(arangoBackup). - Do(). - Into(result) - return -} - -// Delete takes name of the arangoBackup and deletes it. Returns an error if one occurs. -func (c *arangoBackups) Delete(name string, options *v1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("arangobackups"). - Name(name). - Body(options). - Do(). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *arangoBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - var timeout time.Duration - if listOptions.TimeoutSeconds != nil { - timeout = time.Duration(*listOptions.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Namespace(c.ns). - Resource("arangobackups"). - VersionedParams(&listOptions, scheme.ParameterCodec). - Timeout(timeout). - Body(options). - Do(). - Error() -} - -// Patch applies the patch and returns the patched arangoBackup. -func (c *arangoBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoBackup, err error) { - result = &v1alpha.ArangoBackup{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("arangobackups"). - SubResource(subresources...). - Name(name). - Body(data). - Do(). - Into(result) - return -} diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackuppolicy.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackuppolicy.go deleted file mode 100644 index 1842123eb..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/arangobackuppolicy.go +++ /dev/null @@ -1,195 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -import ( - "time" - - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// ArangoBackupPoliciesGetter has a method to return a ArangoBackupPolicyInterface. -// A group's client should implement this interface. -type ArangoBackupPoliciesGetter interface { - ArangoBackupPolicies(namespace string) ArangoBackupPolicyInterface -} - -// ArangoBackupPolicyInterface has methods to work with ArangoBackupPolicy resources. -type ArangoBackupPolicyInterface interface { - Create(*v1alpha.ArangoBackupPolicy) (*v1alpha.ArangoBackupPolicy, error) - Update(*v1alpha.ArangoBackupPolicy) (*v1alpha.ArangoBackupPolicy, error) - UpdateStatus(*v1alpha.ArangoBackupPolicy) (*v1alpha.ArangoBackupPolicy, error) - Delete(name string, options *v1.DeleteOptions) error - DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error - Get(name string, options v1.GetOptions) (*v1alpha.ArangoBackupPolicy, error) - List(opts v1.ListOptions) (*v1alpha.ArangoBackupPolicyList, error) - Watch(opts v1.ListOptions) (watch.Interface, error) - Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoBackupPolicy, err error) - ArangoBackupPolicyExpansion -} - -// arangoBackupPolicies implements ArangoBackupPolicyInterface -type arangoBackupPolicies struct { - client rest.Interface - ns string -} - -// newArangoBackupPolicies returns a ArangoBackupPolicies -func newArangoBackupPolicies(c *BackupV1alphaClient, namespace string) *arangoBackupPolicies { - return &arangoBackupPolicies{ - client: c.RESTClient(), - ns: namespace, - } -} - -// Get takes name of the arangoBackupPolicy, and returns the corresponding arangoBackupPolicy object, and an error if there is any. -func (c *arangoBackupPolicies) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoBackupPolicy, err error) { - result = &v1alpha.ArangoBackupPolicy{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of ArangoBackupPolicies that match those selectors. -func (c *arangoBackupPolicies) List(opts v1.ListOptions) (result *v1alpha.ArangoBackupPolicyList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1alpha.ArangoBackupPolicyList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested arangoBackupPolicies. -func (c *arangoBackupPolicies) Watch(opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch() -} - -// Create takes the representation of a arangoBackupPolicy and creates it. Returns the server's representation of the arangoBackupPolicy, and an error, if there is any. -func (c *arangoBackupPolicies) Create(arangoBackupPolicy *v1alpha.ArangoBackupPolicy) (result *v1alpha.ArangoBackupPolicy, err error) { - result = &v1alpha.ArangoBackupPolicy{} - err = c.client.Post(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - Body(arangoBackupPolicy). - Do(). - Into(result) - return -} - -// Update takes the representation of a arangoBackupPolicy and updates it. Returns the server's representation of the arangoBackupPolicy, and an error, if there is any. -func (c *arangoBackupPolicies) Update(arangoBackupPolicy *v1alpha.ArangoBackupPolicy) (result *v1alpha.ArangoBackupPolicy, err error) { - result = &v1alpha.ArangoBackupPolicy{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - Name(arangoBackupPolicy.Name). - Body(arangoBackupPolicy). - Do(). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - -func (c *arangoBackupPolicies) UpdateStatus(arangoBackupPolicy *v1alpha.ArangoBackupPolicy) (result *v1alpha.ArangoBackupPolicy, err error) { - result = &v1alpha.ArangoBackupPolicy{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - Name(arangoBackupPolicy.Name). - SubResource("status"). - Body(arangoBackupPolicy). - Do(). - Into(result) - return -} - -// Delete takes name of the arangoBackupPolicy and deletes it. Returns an error if one occurs. -func (c *arangoBackupPolicies) Delete(name string, options *v1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - Name(name). - Body(options). - Do(). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *arangoBackupPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - var timeout time.Duration - if listOptions.TimeoutSeconds != nil { - timeout = time.Duration(*listOptions.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Namespace(c.ns). - Resource("arangobackuppolicies"). - VersionedParams(&listOptions, scheme.ParameterCodec). - Timeout(timeout). - Body(options). - Do(). - Error() -} - -// Patch applies the patch and returns the patched arangoBackupPolicy. -func (c *arangoBackupPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoBackupPolicy, err error) { - result = &v1alpha.ArangoBackupPolicy{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("arangobackuppolicies"). - SubResource(subresources...). - Name(name). - Body(data). - Do(). - Into(result) - return -} diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/backup_client.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/backup_client.go deleted file mode 100644 index cacd1b0fb..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/backup_client.go +++ /dev/null @@ -1,99 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - rest "k8s.io/client-go/rest" -) - -type BackupV1alphaInterface interface { - RESTClient() rest.Interface - ArangoBackupsGetter - ArangoBackupPoliciesGetter -} - -// BackupV1alphaClient is used to interact with features provided by the backup.arangodb.com group. -type BackupV1alphaClient struct { - restClient rest.Interface -} - -func (c *BackupV1alphaClient) ArangoBackups(namespace string) ArangoBackupInterface { - return newArangoBackups(c, namespace) -} - -func (c *BackupV1alphaClient) ArangoBackupPolicies(namespace string) ArangoBackupPolicyInterface { - return newArangoBackupPolicies(c, namespace) -} - -// NewForConfig creates a new BackupV1alphaClient for the given config. -func NewForConfig(c *rest.Config) (*BackupV1alphaClient, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - client, err := rest.RESTClientFor(&config) - if err != nil { - return nil, err - } - return &BackupV1alphaClient{client}, nil -} - -// NewForConfigOrDie creates a new BackupV1alphaClient for the given config and -// panics if there is an error in the config. -func NewForConfigOrDie(c *rest.Config) *BackupV1alphaClient { - client, err := NewForConfig(c) - if err != nil { - panic(err) - } - return client -} - -// New creates a new BackupV1alphaClient for the given RESTClient. -func New(c rest.Interface) *BackupV1alphaClient { - return &BackupV1alphaClient{c} -} - -func setConfigDefaults(config *rest.Config) error { - gv := v1alpha.SchemeGroupVersion - config.GroupVersion = &gv - config.APIPath = "/apis" - config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs} - - if config.UserAgent == "" { - config.UserAgent = rest.DefaultKubernetesUserAgent() - } - - return nil -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *BackupV1alphaClient) RESTClient() rest.Interface { - if c == nil { - return nil - } - return c.restClient -} diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/doc.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/doc.go deleted file mode 100644 index 7853ae553..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -// This package has the automatically generated typed clients. -package v1alpha diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/doc.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/doc.go deleted file mode 100644 index 7958e7822..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -// Package fake has the automatically generated clients. -package fake diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackup.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackup.go deleted file mode 100644 index d38d23a35..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackup.go +++ /dev/null @@ -1,144 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - schema "k8s.io/apimachinery/pkg/runtime/schema" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" -) - -// FakeArangoBackups implements ArangoBackupInterface -type FakeArangoBackups struct { - Fake *FakeBackupV1alpha - ns string -} - -var arangobackupsResource = schema.GroupVersionResource{Group: "backup.arangodb.com", Version: "v1alpha", Resource: "arangobackups"} - -var arangobackupsKind = schema.GroupVersionKind{Group: "backup.arangodb.com", Version: "v1alpha", Kind: "ArangoBackup"} - -// Get takes name of the arangoBackup, and returns the corresponding arangoBackup object, and an error if there is any. -func (c *FakeArangoBackups) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoBackup, err error) { - obj, err := c.Fake. - Invokes(testing.NewGetAction(arangobackupsResource, c.ns, name), &v1alpha.ArangoBackup{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackup), err -} - -// List takes label and field selectors, and returns the list of ArangoBackups that match those selectors. -func (c *FakeArangoBackups) List(opts v1.ListOptions) (result *v1alpha.ArangoBackupList, err error) { - obj, err := c.Fake. - Invokes(testing.NewListAction(arangobackupsResource, arangobackupsKind, c.ns, opts), &v1alpha.ArangoBackupList{}) - - if obj == nil { - return nil, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha.ArangoBackupList{ListMeta: obj.(*v1alpha.ArangoBackupList).ListMeta} - for _, item := range obj.(*v1alpha.ArangoBackupList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested arangoBackups. -func (c *FakeArangoBackups) Watch(opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchAction(arangobackupsResource, c.ns, opts)) - -} - -// Create takes the representation of a arangoBackup and creates it. Returns the server's representation of the arangoBackup, and an error, if there is any. -func (c *FakeArangoBackups) Create(arangoBackup *v1alpha.ArangoBackup) (result *v1alpha.ArangoBackup, err error) { - obj, err := c.Fake. - Invokes(testing.NewCreateAction(arangobackupsResource, c.ns, arangoBackup), &v1alpha.ArangoBackup{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackup), err -} - -// Update takes the representation of a arangoBackup and updates it. Returns the server's representation of the arangoBackup, and an error, if there is any. -func (c *FakeArangoBackups) Update(arangoBackup *v1alpha.ArangoBackup) (result *v1alpha.ArangoBackup, err error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateAction(arangobackupsResource, c.ns, arangoBackup), &v1alpha.ArangoBackup{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackup), err -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeArangoBackups) UpdateStatus(arangoBackup *v1alpha.ArangoBackup) (*v1alpha.ArangoBackup, error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceAction(arangobackupsResource, "status", c.ns, arangoBackup), &v1alpha.ArangoBackup{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackup), err -} - -// Delete takes name of the arangoBackup and deletes it. Returns an error if one occurs. -func (c *FakeArangoBackups) Delete(name string, options *v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteAction(arangobackupsResource, c.ns, name), &v1alpha.ArangoBackup{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeArangoBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - action := testing.NewDeleteCollectionAction(arangobackupsResource, c.ns, listOptions) - - _, err := c.Fake.Invokes(action, &v1alpha.ArangoBackupList{}) - return err -} - -// Patch applies the patch and returns the patched arangoBackup. -func (c *FakeArangoBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoBackup, err error) { - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceAction(arangobackupsResource, c.ns, name, pt, data, subresources...), &v1alpha.ArangoBackup{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackup), err -} diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackuppolicy.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackuppolicy.go deleted file mode 100644 index 3198929d4..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_arangobackuppolicy.go +++ /dev/null @@ -1,144 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - schema "k8s.io/apimachinery/pkg/runtime/schema" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" -) - -// FakeArangoBackupPolicies implements ArangoBackupPolicyInterface -type FakeArangoBackupPolicies struct { - Fake *FakeBackupV1alpha - ns string -} - -var arangobackuppoliciesResource = schema.GroupVersionResource{Group: "backup.arangodb.com", Version: "v1alpha", Resource: "arangobackuppolicies"} - -var arangobackuppoliciesKind = schema.GroupVersionKind{Group: "backup.arangodb.com", Version: "v1alpha", Kind: "ArangoBackupPolicy"} - -// Get takes name of the arangoBackupPolicy, and returns the corresponding arangoBackupPolicy object, and an error if there is any. -func (c *FakeArangoBackupPolicies) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoBackupPolicy, err error) { - obj, err := c.Fake. - Invokes(testing.NewGetAction(arangobackuppoliciesResource, c.ns, name), &v1alpha.ArangoBackupPolicy{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackupPolicy), err -} - -// List takes label and field selectors, and returns the list of ArangoBackupPolicies that match those selectors. -func (c *FakeArangoBackupPolicies) List(opts v1.ListOptions) (result *v1alpha.ArangoBackupPolicyList, err error) { - obj, err := c.Fake. - Invokes(testing.NewListAction(arangobackuppoliciesResource, arangobackuppoliciesKind, c.ns, opts), &v1alpha.ArangoBackupPolicyList{}) - - if obj == nil { - return nil, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha.ArangoBackupPolicyList{ListMeta: obj.(*v1alpha.ArangoBackupPolicyList).ListMeta} - for _, item := range obj.(*v1alpha.ArangoBackupPolicyList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested arangoBackupPolicies. -func (c *FakeArangoBackupPolicies) Watch(opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchAction(arangobackuppoliciesResource, c.ns, opts)) - -} - -// Create takes the representation of a arangoBackupPolicy and creates it. Returns the server's representation of the arangoBackupPolicy, and an error, if there is any. -func (c *FakeArangoBackupPolicies) Create(arangoBackupPolicy *v1alpha.ArangoBackupPolicy) (result *v1alpha.ArangoBackupPolicy, err error) { - obj, err := c.Fake. - Invokes(testing.NewCreateAction(arangobackuppoliciesResource, c.ns, arangoBackupPolicy), &v1alpha.ArangoBackupPolicy{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackupPolicy), err -} - -// Update takes the representation of a arangoBackupPolicy and updates it. Returns the server's representation of the arangoBackupPolicy, and an error, if there is any. -func (c *FakeArangoBackupPolicies) Update(arangoBackupPolicy *v1alpha.ArangoBackupPolicy) (result *v1alpha.ArangoBackupPolicy, err error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateAction(arangobackuppoliciesResource, c.ns, arangoBackupPolicy), &v1alpha.ArangoBackupPolicy{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackupPolicy), err -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeArangoBackupPolicies) UpdateStatus(arangoBackupPolicy *v1alpha.ArangoBackupPolicy) (*v1alpha.ArangoBackupPolicy, error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceAction(arangobackuppoliciesResource, "status", c.ns, arangoBackupPolicy), &v1alpha.ArangoBackupPolicy{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackupPolicy), err -} - -// Delete takes name of the arangoBackupPolicy and deletes it. Returns an error if one occurs. -func (c *FakeArangoBackupPolicies) Delete(name string, options *v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteAction(arangobackuppoliciesResource, c.ns, name), &v1alpha.ArangoBackupPolicy{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeArangoBackupPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - action := testing.NewDeleteCollectionAction(arangobackuppoliciesResource, c.ns, listOptions) - - _, err := c.Fake.Invokes(action, &v1alpha.ArangoBackupPolicyList{}) - return err -} - -// Patch applies the patch and returns the patched arangoBackupPolicy. -func (c *FakeArangoBackupPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoBackupPolicy, err error) { - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceAction(arangobackuppoliciesResource, c.ns, name, pt, data, subresources...), &v1alpha.ArangoBackupPolicy{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoBackupPolicy), err -} diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_backup_client.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_backup_client.go deleted file mode 100644 index 7f221bb2a..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/fake/fake_backup_client.go +++ /dev/null @@ -1,48 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/backup/v1alpha" - rest "k8s.io/client-go/rest" - testing "k8s.io/client-go/testing" -) - -type FakeBackupV1alpha struct { - *testing.Fake -} - -func (c *FakeBackupV1alpha) ArangoBackups(namespace string) v1alpha.ArangoBackupInterface { - return &FakeArangoBackups{c, namespace} -} - -func (c *FakeBackupV1alpha) ArangoBackupPolicies(namespace string) v1alpha.ArangoBackupPolicyInterface { - return &FakeArangoBackupPolicies{c, namespace} -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *FakeBackupV1alpha) RESTClient() rest.Interface { - var ret *rest.RESTClient - return ret -} diff --git a/pkg/generated/clientset/versioned/typed/backup/v1alpha/generated_expansion.go b/pkg/generated/clientset/versioned/typed/backup/v1alpha/generated_expansion.go deleted file mode 100644 index 9105fdbe3..000000000 --- a/pkg/generated/clientset/versioned/typed/backup/v1alpha/generated_expansion.go +++ /dev/null @@ -1,27 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -type ArangoBackupExpansion interface{} - -type ArangoBackupPolicyExpansion interface{} diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1/arangodeployment.go b/pkg/generated/clientset/versioned/typed/deployment/v1/arangodeployment.go index a856e0d51..9c909cad5 100644 --- a/pkg/generated/clientset/versioned/typed/deployment/v1/arangodeployment.go +++ b/pkg/generated/clientset/versioned/typed/deployment/v1/arangodeployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1/deployment_client.go b/pkg/generated/clientset/versioned/typed/deployment/v1/deployment_client.go index fb06a4964..eaee7b96c 100644 --- a/pkg/generated/clientset/versioned/typed/deployment/v1/deployment_client.go +++ b/pkg/generated/clientset/versioned/typed/deployment/v1/deployment_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1/doc.go b/pkg/generated/clientset/versioned/typed/deployment/v1/doc.go index ff2718f73..8bdfa8141 100644 --- a/pkg/generated/clientset/versioned/typed/deployment/v1/doc.go +++ b/pkg/generated/clientset/versioned/typed/deployment/v1/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1/fake/doc.go b/pkg/generated/clientset/versioned/typed/deployment/v1/fake/doc.go index 7958e7822..dd105e835 100644 --- a/pkg/generated/clientset/versioned/typed/deployment/v1/fake/doc.go +++ b/pkg/generated/clientset/versioned/typed/deployment/v1/fake/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_arangodeployment.go b/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_arangodeployment.go index 8b1604759..7e2f3679e 100644 --- a/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_arangodeployment.go +++ b/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_arangodeployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_deployment_client.go b/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_deployment_client.go index ebc0ccb40..e420c8752 100644 --- a/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_deployment_client.go +++ b/pkg/generated/clientset/versioned/typed/deployment/v1/fake/fake_deployment_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1/generated_expansion.go b/pkg/generated/clientset/versioned/typed/deployment/v1/generated_expansion.go index 3e94288a7..8f792c221 100644 --- a/pkg/generated/clientset/versioned/typed/deployment/v1/generated_expansion.go +++ b/pkg/generated/clientset/versioned/typed/deployment/v1/generated_expansion.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/arangodeployment.go b/pkg/generated/clientset/versioned/typed/deployment/v1alpha/arangodeployment.go deleted file mode 100644 index 053bb4d3c..000000000 --- a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/arangodeployment.go +++ /dev/null @@ -1,195 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -import ( - "time" - - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha" - scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// ArangoDeploymentsGetter has a method to return a ArangoDeploymentInterface. -// A group's client should implement this interface. -type ArangoDeploymentsGetter interface { - ArangoDeployments(namespace string) ArangoDeploymentInterface -} - -// ArangoDeploymentInterface has methods to work with ArangoDeployment resources. -type ArangoDeploymentInterface interface { - Create(*v1alpha.ArangoDeployment) (*v1alpha.ArangoDeployment, error) - Update(*v1alpha.ArangoDeployment) (*v1alpha.ArangoDeployment, error) - UpdateStatus(*v1alpha.ArangoDeployment) (*v1alpha.ArangoDeployment, error) - Delete(name string, options *v1.DeleteOptions) error - DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error - Get(name string, options v1.GetOptions) (*v1alpha.ArangoDeployment, error) - List(opts v1.ListOptions) (*v1alpha.ArangoDeploymentList, error) - Watch(opts v1.ListOptions) (watch.Interface, error) - Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoDeployment, err error) - ArangoDeploymentExpansion -} - -// arangoDeployments implements ArangoDeploymentInterface -type arangoDeployments struct { - client rest.Interface - ns string -} - -// newArangoDeployments returns a ArangoDeployments -func newArangoDeployments(c *DatabaseV1alphaClient, namespace string) *arangoDeployments { - return &arangoDeployments{ - client: c.RESTClient(), - ns: namespace, - } -} - -// Get takes name of the arangoDeployment, and returns the corresponding arangoDeployment object, and an error if there is any. -func (c *arangoDeployments) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoDeployment, err error) { - result = &v1alpha.ArangoDeployment{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangodeployments"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of ArangoDeployments that match those selectors. -func (c *arangoDeployments) List(opts v1.ListOptions) (result *v1alpha.ArangoDeploymentList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1alpha.ArangoDeploymentList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangodeployments"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested arangoDeployments. -func (c *arangoDeployments) Watch(opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Namespace(c.ns). - Resource("arangodeployments"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch() -} - -// Create takes the representation of a arangoDeployment and creates it. Returns the server's representation of the arangoDeployment, and an error, if there is any. -func (c *arangoDeployments) Create(arangoDeployment *v1alpha.ArangoDeployment) (result *v1alpha.ArangoDeployment, err error) { - result = &v1alpha.ArangoDeployment{} - err = c.client.Post(). - Namespace(c.ns). - Resource("arangodeployments"). - Body(arangoDeployment). - Do(). - Into(result) - return -} - -// Update takes the representation of a arangoDeployment and updates it. Returns the server's representation of the arangoDeployment, and an error, if there is any. -func (c *arangoDeployments) Update(arangoDeployment *v1alpha.ArangoDeployment) (result *v1alpha.ArangoDeployment, err error) { - result = &v1alpha.ArangoDeployment{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangodeployments"). - Name(arangoDeployment.Name). - Body(arangoDeployment). - Do(). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - -func (c *arangoDeployments) UpdateStatus(arangoDeployment *v1alpha.ArangoDeployment) (result *v1alpha.ArangoDeployment, err error) { - result = &v1alpha.ArangoDeployment{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangodeployments"). - Name(arangoDeployment.Name). - SubResource("status"). - Body(arangoDeployment). - Do(). - Into(result) - return -} - -// Delete takes name of the arangoDeployment and deletes it. Returns an error if one occurs. -func (c *arangoDeployments) Delete(name string, options *v1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("arangodeployments"). - Name(name). - Body(options). - Do(). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *arangoDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - var timeout time.Duration - if listOptions.TimeoutSeconds != nil { - timeout = time.Duration(*listOptions.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Namespace(c.ns). - Resource("arangodeployments"). - VersionedParams(&listOptions, scheme.ParameterCodec). - Timeout(timeout). - Body(options). - Do(). - Error() -} - -// Patch applies the patch and returns the patched arangoDeployment. -func (c *arangoDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoDeployment, err error) { - result = &v1alpha.ArangoDeployment{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("arangodeployments"). - SubResource(subresources...). - Name(name). - Body(data). - Do(). - Into(result) - return -} diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/deployment_client.go b/pkg/generated/clientset/versioned/typed/deployment/v1alpha/deployment_client.go deleted file mode 100644 index 75288b76f..000000000 --- a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/deployment_client.go +++ /dev/null @@ -1,94 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha" - "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - rest "k8s.io/client-go/rest" -) - -type DatabaseV1alphaInterface interface { - RESTClient() rest.Interface - ArangoDeploymentsGetter -} - -// DatabaseV1alphaClient is used to interact with features provided by the database.arangodb.com group. -type DatabaseV1alphaClient struct { - restClient rest.Interface -} - -func (c *DatabaseV1alphaClient) ArangoDeployments(namespace string) ArangoDeploymentInterface { - return newArangoDeployments(c, namespace) -} - -// NewForConfig creates a new DatabaseV1alphaClient for the given config. -func NewForConfig(c *rest.Config) (*DatabaseV1alphaClient, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - client, err := rest.RESTClientFor(&config) - if err != nil { - return nil, err - } - return &DatabaseV1alphaClient{client}, nil -} - -// NewForConfigOrDie creates a new DatabaseV1alphaClient for the given config and -// panics if there is an error in the config. -func NewForConfigOrDie(c *rest.Config) *DatabaseV1alphaClient { - client, err := NewForConfig(c) - if err != nil { - panic(err) - } - return client -} - -// New creates a new DatabaseV1alphaClient for the given RESTClient. -func New(c rest.Interface) *DatabaseV1alphaClient { - return &DatabaseV1alphaClient{c} -} - -func setConfigDefaults(config *rest.Config) error { - gv := v1alpha.SchemeGroupVersion - config.GroupVersion = &gv - config.APIPath = "/apis" - config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs} - - if config.UserAgent == "" { - config.UserAgent = rest.DefaultKubernetesUserAgent() - } - - return nil -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *DatabaseV1alphaClient) RESTClient() rest.Interface { - if c == nil { - return nil - } - return c.restClient -} diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/doc.go b/pkg/generated/clientset/versioned/typed/deployment/v1alpha/doc.go deleted file mode 100644 index 7853ae553..000000000 --- a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -// This package has the automatically generated typed clients. -package v1alpha diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/doc.go b/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/doc.go deleted file mode 100644 index 7958e7822..000000000 --- a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -// Package fake has the automatically generated clients. -package fake diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_arangodeployment.go b/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_arangodeployment.go deleted file mode 100644 index aefc3d767..000000000 --- a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_arangodeployment.go +++ /dev/null @@ -1,144 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - schema "k8s.io/apimachinery/pkg/runtime/schema" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" -) - -// FakeArangoDeployments implements ArangoDeploymentInterface -type FakeArangoDeployments struct { - Fake *FakeDatabaseV1alpha - ns string -} - -var arangodeploymentsResource = schema.GroupVersionResource{Group: "database.arangodb.com", Version: "v1alpha", Resource: "arangodeployments"} - -var arangodeploymentsKind = schema.GroupVersionKind{Group: "database.arangodb.com", Version: "v1alpha", Kind: "ArangoDeployment"} - -// Get takes name of the arangoDeployment, and returns the corresponding arangoDeployment object, and an error if there is any. -func (c *FakeArangoDeployments) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoDeployment, err error) { - obj, err := c.Fake. - Invokes(testing.NewGetAction(arangodeploymentsResource, c.ns, name), &v1alpha.ArangoDeployment{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeployment), err -} - -// List takes label and field selectors, and returns the list of ArangoDeployments that match those selectors. -func (c *FakeArangoDeployments) List(opts v1.ListOptions) (result *v1alpha.ArangoDeploymentList, err error) { - obj, err := c.Fake. - Invokes(testing.NewListAction(arangodeploymentsResource, arangodeploymentsKind, c.ns, opts), &v1alpha.ArangoDeploymentList{}) - - if obj == nil { - return nil, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha.ArangoDeploymentList{ListMeta: obj.(*v1alpha.ArangoDeploymentList).ListMeta} - for _, item := range obj.(*v1alpha.ArangoDeploymentList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested arangoDeployments. -func (c *FakeArangoDeployments) Watch(opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchAction(arangodeploymentsResource, c.ns, opts)) - -} - -// Create takes the representation of a arangoDeployment and creates it. Returns the server's representation of the arangoDeployment, and an error, if there is any. -func (c *FakeArangoDeployments) Create(arangoDeployment *v1alpha.ArangoDeployment) (result *v1alpha.ArangoDeployment, err error) { - obj, err := c.Fake. - Invokes(testing.NewCreateAction(arangodeploymentsResource, c.ns, arangoDeployment), &v1alpha.ArangoDeployment{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeployment), err -} - -// Update takes the representation of a arangoDeployment and updates it. Returns the server's representation of the arangoDeployment, and an error, if there is any. -func (c *FakeArangoDeployments) Update(arangoDeployment *v1alpha.ArangoDeployment) (result *v1alpha.ArangoDeployment, err error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateAction(arangodeploymentsResource, c.ns, arangoDeployment), &v1alpha.ArangoDeployment{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeployment), err -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeArangoDeployments) UpdateStatus(arangoDeployment *v1alpha.ArangoDeployment) (*v1alpha.ArangoDeployment, error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceAction(arangodeploymentsResource, "status", c.ns, arangoDeployment), &v1alpha.ArangoDeployment{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeployment), err -} - -// Delete takes name of the arangoDeployment and deletes it. Returns an error if one occurs. -func (c *FakeArangoDeployments) Delete(name string, options *v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteAction(arangodeploymentsResource, c.ns, name), &v1alpha.ArangoDeployment{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeArangoDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - action := testing.NewDeleteCollectionAction(arangodeploymentsResource, c.ns, listOptions) - - _, err := c.Fake.Invokes(action, &v1alpha.ArangoDeploymentList{}) - return err -} - -// Patch applies the patch and returns the patched arangoDeployment. -func (c *FakeArangoDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoDeployment, err error) { - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceAction(arangodeploymentsResource, c.ns, name, pt, data, subresources...), &v1alpha.ArangoDeployment{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeployment), err -} diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_deployment_client.go b/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_deployment_client.go deleted file mode 100644 index be0eda489..000000000 --- a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/fake/fake_deployment_client.go +++ /dev/null @@ -1,44 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/deployment/v1alpha" - rest "k8s.io/client-go/rest" - testing "k8s.io/client-go/testing" -) - -type FakeDatabaseV1alpha struct { - *testing.Fake -} - -func (c *FakeDatabaseV1alpha) ArangoDeployments(namespace string) v1alpha.ArangoDeploymentInterface { - return &FakeArangoDeployments{c, namespace} -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *FakeDatabaseV1alpha) RESTClient() rest.Interface { - var ret *rest.RESTClient - return ret -} diff --git a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/generated_expansion.go b/pkg/generated/clientset/versioned/typed/deployment/v1alpha/generated_expansion.go deleted file mode 100644 index ba13ce770..000000000 --- a/pkg/generated/clientset/versioned/typed/deployment/v1alpha/generated_expansion.go +++ /dev/null @@ -1,25 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -type ArangoDeploymentExpansion interface{} diff --git a/pkg/generated/clientset/versioned/typed/replication/v1/arangodeploymentreplication.go b/pkg/generated/clientset/versioned/typed/replication/v1/arangodeploymentreplication.go index 62840a138..f7fbacf3e 100644 --- a/pkg/generated/clientset/versioned/typed/replication/v1/arangodeploymentreplication.go +++ b/pkg/generated/clientset/versioned/typed/replication/v1/arangodeploymentreplication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/replication/v1/doc.go b/pkg/generated/clientset/versioned/typed/replication/v1/doc.go index ff2718f73..8bdfa8141 100644 --- a/pkg/generated/clientset/versioned/typed/replication/v1/doc.go +++ b/pkg/generated/clientset/versioned/typed/replication/v1/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/replication/v1/fake/doc.go b/pkg/generated/clientset/versioned/typed/replication/v1/fake/doc.go index 7958e7822..dd105e835 100644 --- a/pkg/generated/clientset/versioned/typed/replication/v1/fake/doc.go +++ b/pkg/generated/clientset/versioned/typed/replication/v1/fake/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_arangodeploymentreplication.go b/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_arangodeploymentreplication.go index 6cfd351b8..9c238b0ae 100644 --- a/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_arangodeploymentreplication.go +++ b/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_arangodeploymentreplication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_replication_client.go b/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_replication_client.go index 096f8a56e..ff76bc177 100644 --- a/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_replication_client.go +++ b/pkg/generated/clientset/versioned/typed/replication/v1/fake/fake_replication_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/replication/v1/generated_expansion.go b/pkg/generated/clientset/versioned/typed/replication/v1/generated_expansion.go index 20cd04960..4ba0263e5 100644 --- a/pkg/generated/clientset/versioned/typed/replication/v1/generated_expansion.go +++ b/pkg/generated/clientset/versioned/typed/replication/v1/generated_expansion.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/replication/v1/replication_client.go b/pkg/generated/clientset/versioned/typed/replication/v1/replication_client.go index 8eb1d32c4..4a3018787 100644 --- a/pkg/generated/clientset/versioned/typed/replication/v1/replication_client.go +++ b/pkg/generated/clientset/versioned/typed/replication/v1/replication_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/replication/v1alpha/arangodeploymentreplication.go b/pkg/generated/clientset/versioned/typed/replication/v1alpha/arangodeploymentreplication.go deleted file mode 100644 index 01a805d02..000000000 --- a/pkg/generated/clientset/versioned/typed/replication/v1alpha/arangodeploymentreplication.go +++ /dev/null @@ -1,195 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -import ( - "time" - - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/replication/v1alpha" - scheme "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// ArangoDeploymentReplicationsGetter has a method to return a ArangoDeploymentReplicationInterface. -// A group's client should implement this interface. -type ArangoDeploymentReplicationsGetter interface { - ArangoDeploymentReplications(namespace string) ArangoDeploymentReplicationInterface -} - -// ArangoDeploymentReplicationInterface has methods to work with ArangoDeploymentReplication resources. -type ArangoDeploymentReplicationInterface interface { - Create(*v1alpha.ArangoDeploymentReplication) (*v1alpha.ArangoDeploymentReplication, error) - Update(*v1alpha.ArangoDeploymentReplication) (*v1alpha.ArangoDeploymentReplication, error) - UpdateStatus(*v1alpha.ArangoDeploymentReplication) (*v1alpha.ArangoDeploymentReplication, error) - Delete(name string, options *v1.DeleteOptions) error - DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error - Get(name string, options v1.GetOptions) (*v1alpha.ArangoDeploymentReplication, error) - List(opts v1.ListOptions) (*v1alpha.ArangoDeploymentReplicationList, error) - Watch(opts v1.ListOptions) (watch.Interface, error) - Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoDeploymentReplication, err error) - ArangoDeploymentReplicationExpansion -} - -// arangoDeploymentReplications implements ArangoDeploymentReplicationInterface -type arangoDeploymentReplications struct { - client rest.Interface - ns string -} - -// newArangoDeploymentReplications returns a ArangoDeploymentReplications -func newArangoDeploymentReplications(c *ReplicationV1alphaClient, namespace string) *arangoDeploymentReplications { - return &arangoDeploymentReplications{ - client: c.RESTClient(), - ns: namespace, - } -} - -// Get takes name of the arangoDeploymentReplication, and returns the corresponding arangoDeploymentReplication object, and an error if there is any. -func (c *arangoDeploymentReplications) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoDeploymentReplication, err error) { - result = &v1alpha.ArangoDeploymentReplication{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of ArangoDeploymentReplications that match those selectors. -func (c *arangoDeploymentReplications) List(opts v1.ListOptions) (result *v1alpha.ArangoDeploymentReplicationList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1alpha.ArangoDeploymentReplicationList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested arangoDeploymentReplications. -func (c *arangoDeploymentReplications) Watch(opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch() -} - -// Create takes the representation of a arangoDeploymentReplication and creates it. Returns the server's representation of the arangoDeploymentReplication, and an error, if there is any. -func (c *arangoDeploymentReplications) Create(arangoDeploymentReplication *v1alpha.ArangoDeploymentReplication) (result *v1alpha.ArangoDeploymentReplication, err error) { - result = &v1alpha.ArangoDeploymentReplication{} - err = c.client.Post(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - Body(arangoDeploymentReplication). - Do(). - Into(result) - return -} - -// Update takes the representation of a arangoDeploymentReplication and updates it. Returns the server's representation of the arangoDeploymentReplication, and an error, if there is any. -func (c *arangoDeploymentReplications) Update(arangoDeploymentReplication *v1alpha.ArangoDeploymentReplication) (result *v1alpha.ArangoDeploymentReplication, err error) { - result = &v1alpha.ArangoDeploymentReplication{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - Name(arangoDeploymentReplication.Name). - Body(arangoDeploymentReplication). - Do(). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - -func (c *arangoDeploymentReplications) UpdateStatus(arangoDeploymentReplication *v1alpha.ArangoDeploymentReplication) (result *v1alpha.ArangoDeploymentReplication, err error) { - result = &v1alpha.ArangoDeploymentReplication{} - err = c.client.Put(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - Name(arangoDeploymentReplication.Name). - SubResource("status"). - Body(arangoDeploymentReplication). - Do(). - Into(result) - return -} - -// Delete takes name of the arangoDeploymentReplication and deletes it. Returns an error if one occurs. -func (c *arangoDeploymentReplications) Delete(name string, options *v1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - Name(name). - Body(options). - Do(). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *arangoDeploymentReplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - var timeout time.Duration - if listOptions.TimeoutSeconds != nil { - timeout = time.Duration(*listOptions.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - VersionedParams(&listOptions, scheme.ParameterCodec). - Timeout(timeout). - Body(options). - Do(). - Error() -} - -// Patch applies the patch and returns the patched arangoDeploymentReplication. -func (c *arangoDeploymentReplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoDeploymentReplication, err error) { - result = &v1alpha.ArangoDeploymentReplication{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("arangodeploymentreplications"). - SubResource(subresources...). - Name(name). - Body(data). - Do(). - Into(result) - return -} diff --git a/pkg/generated/clientset/versioned/typed/replication/v1alpha/doc.go b/pkg/generated/clientset/versioned/typed/replication/v1alpha/doc.go deleted file mode 100644 index 7853ae553..000000000 --- a/pkg/generated/clientset/versioned/typed/replication/v1alpha/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -// This package has the automatically generated typed clients. -package v1alpha diff --git a/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/doc.go b/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/doc.go deleted file mode 100644 index 7958e7822..000000000 --- a/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -// Package fake has the automatically generated clients. -package fake diff --git a/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_arangodeploymentreplication.go b/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_arangodeploymentreplication.go deleted file mode 100644 index 9a5239c63..000000000 --- a/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_arangodeploymentreplication.go +++ /dev/null @@ -1,144 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/replication/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - schema "k8s.io/apimachinery/pkg/runtime/schema" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" -) - -// FakeArangoDeploymentReplications implements ArangoDeploymentReplicationInterface -type FakeArangoDeploymentReplications struct { - Fake *FakeReplicationV1alpha - ns string -} - -var arangodeploymentreplicationsResource = schema.GroupVersionResource{Group: "replication.database.arangodb.com", Version: "v1alpha", Resource: "arangodeploymentreplications"} - -var arangodeploymentreplicationsKind = schema.GroupVersionKind{Group: "replication.database.arangodb.com", Version: "v1alpha", Kind: "ArangoDeploymentReplication"} - -// Get takes name of the arangoDeploymentReplication, and returns the corresponding arangoDeploymentReplication object, and an error if there is any. -func (c *FakeArangoDeploymentReplications) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoDeploymentReplication, err error) { - obj, err := c.Fake. - Invokes(testing.NewGetAction(arangodeploymentreplicationsResource, c.ns, name), &v1alpha.ArangoDeploymentReplication{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeploymentReplication), err -} - -// List takes label and field selectors, and returns the list of ArangoDeploymentReplications that match those selectors. -func (c *FakeArangoDeploymentReplications) List(opts v1.ListOptions) (result *v1alpha.ArangoDeploymentReplicationList, err error) { - obj, err := c.Fake. - Invokes(testing.NewListAction(arangodeploymentreplicationsResource, arangodeploymentreplicationsKind, c.ns, opts), &v1alpha.ArangoDeploymentReplicationList{}) - - if obj == nil { - return nil, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha.ArangoDeploymentReplicationList{ListMeta: obj.(*v1alpha.ArangoDeploymentReplicationList).ListMeta} - for _, item := range obj.(*v1alpha.ArangoDeploymentReplicationList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested arangoDeploymentReplications. -func (c *FakeArangoDeploymentReplications) Watch(opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchAction(arangodeploymentreplicationsResource, c.ns, opts)) - -} - -// Create takes the representation of a arangoDeploymentReplication and creates it. Returns the server's representation of the arangoDeploymentReplication, and an error, if there is any. -func (c *FakeArangoDeploymentReplications) Create(arangoDeploymentReplication *v1alpha.ArangoDeploymentReplication) (result *v1alpha.ArangoDeploymentReplication, err error) { - obj, err := c.Fake. - Invokes(testing.NewCreateAction(arangodeploymentreplicationsResource, c.ns, arangoDeploymentReplication), &v1alpha.ArangoDeploymentReplication{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeploymentReplication), err -} - -// Update takes the representation of a arangoDeploymentReplication and updates it. Returns the server's representation of the arangoDeploymentReplication, and an error, if there is any. -func (c *FakeArangoDeploymentReplications) Update(arangoDeploymentReplication *v1alpha.ArangoDeploymentReplication) (result *v1alpha.ArangoDeploymentReplication, err error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateAction(arangodeploymentreplicationsResource, c.ns, arangoDeploymentReplication), &v1alpha.ArangoDeploymentReplication{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeploymentReplication), err -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeArangoDeploymentReplications) UpdateStatus(arangoDeploymentReplication *v1alpha.ArangoDeploymentReplication) (*v1alpha.ArangoDeploymentReplication, error) { - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceAction(arangodeploymentreplicationsResource, "status", c.ns, arangoDeploymentReplication), &v1alpha.ArangoDeploymentReplication{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeploymentReplication), err -} - -// Delete takes name of the arangoDeploymentReplication and deletes it. Returns an error if one occurs. -func (c *FakeArangoDeploymentReplications) Delete(name string, options *v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteAction(arangodeploymentreplicationsResource, c.ns, name), &v1alpha.ArangoDeploymentReplication{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeArangoDeploymentReplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { - action := testing.NewDeleteCollectionAction(arangodeploymentreplicationsResource, c.ns, listOptions) - - _, err := c.Fake.Invokes(action, &v1alpha.ArangoDeploymentReplicationList{}) - return err -} - -// Patch applies the patch and returns the patched arangoDeploymentReplication. -func (c *FakeArangoDeploymentReplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoDeploymentReplication, err error) { - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceAction(arangodeploymentreplicationsResource, c.ns, name, pt, data, subresources...), &v1alpha.ArangoDeploymentReplication{}) - - if obj == nil { - return nil, err - } - return obj.(*v1alpha.ArangoDeploymentReplication), err -} diff --git a/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_replication_client.go b/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_replication_client.go deleted file mode 100644 index 57b33879c..000000000 --- a/pkg/generated/clientset/versioned/typed/replication/v1alpha/fake/fake_replication_client.go +++ /dev/null @@ -1,44 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package fake - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/replication/v1alpha" - rest "k8s.io/client-go/rest" - testing "k8s.io/client-go/testing" -) - -type FakeReplicationV1alpha struct { - *testing.Fake -} - -func (c *FakeReplicationV1alpha) ArangoDeploymentReplications(namespace string) v1alpha.ArangoDeploymentReplicationInterface { - return &FakeArangoDeploymentReplications{c, namespace} -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *FakeReplicationV1alpha) RESTClient() rest.Interface { - var ret *rest.RESTClient - return ret -} diff --git a/pkg/generated/clientset/versioned/typed/replication/v1alpha/generated_expansion.go b/pkg/generated/clientset/versioned/typed/replication/v1alpha/generated_expansion.go deleted file mode 100644 index 7574264ab..000000000 --- a/pkg/generated/clientset/versioned/typed/replication/v1alpha/generated_expansion.go +++ /dev/null @@ -1,25 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -type ArangoDeploymentReplicationExpansion interface{} diff --git a/pkg/generated/clientset/versioned/typed/replication/v1alpha/replication_client.go b/pkg/generated/clientset/versioned/typed/replication/v1alpha/replication_client.go deleted file mode 100644 index a9401e90b..000000000 --- a/pkg/generated/clientset/versioned/typed/replication/v1alpha/replication_client.go +++ /dev/null @@ -1,94 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/replication/v1alpha" - "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/scheme" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - rest "k8s.io/client-go/rest" -) - -type ReplicationV1alphaInterface interface { - RESTClient() rest.Interface - ArangoDeploymentReplicationsGetter -} - -// ReplicationV1alphaClient is used to interact with features provided by the replication.database.arangodb.com group. -type ReplicationV1alphaClient struct { - restClient rest.Interface -} - -func (c *ReplicationV1alphaClient) ArangoDeploymentReplications(namespace string) ArangoDeploymentReplicationInterface { - return newArangoDeploymentReplications(c, namespace) -} - -// NewForConfig creates a new ReplicationV1alphaClient for the given config. -func NewForConfig(c *rest.Config) (*ReplicationV1alphaClient, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - client, err := rest.RESTClientFor(&config) - if err != nil { - return nil, err - } - return &ReplicationV1alphaClient{client}, nil -} - -// NewForConfigOrDie creates a new ReplicationV1alphaClient for the given config and -// panics if there is an error in the config. -func NewForConfigOrDie(c *rest.Config) *ReplicationV1alphaClient { - client, err := NewForConfig(c) - if err != nil { - panic(err) - } - return client -} - -// New creates a new ReplicationV1alphaClient for the given RESTClient. -func New(c rest.Interface) *ReplicationV1alphaClient { - return &ReplicationV1alphaClient{c} -} - -func setConfigDefaults(config *rest.Config) error { - gv := v1alpha.SchemeGroupVersion - config.GroupVersion = &gv - config.APIPath = "/apis" - config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs} - - if config.UserAgent == "" { - config.UserAgent = rest.DefaultKubernetesUserAgent() - } - - return nil -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *ReplicationV1alphaClient) RESTClient() rest.Interface { - if c == nil { - return nil - } - return c.restClient -} diff --git a/pkg/generated/clientset/versioned/typed/storage/v1alpha/arangolocalstorage.go b/pkg/generated/clientset/versioned/typed/storage/v1alpha/arangolocalstorage.go index 35a0a9e02..4e3c7c153 100644 --- a/pkg/generated/clientset/versioned/typed/storage/v1alpha/arangolocalstorage.go +++ b/pkg/generated/clientset/versioned/typed/storage/v1alpha/arangolocalstorage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/storage/v1alpha/doc.go b/pkg/generated/clientset/versioned/typed/storage/v1alpha/doc.go index 7853ae553..f3812deca 100644 --- a/pkg/generated/clientset/versioned/typed/storage/v1alpha/doc.go +++ b/pkg/generated/clientset/versioned/typed/storage/v1alpha/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/doc.go b/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/doc.go index 7958e7822..dd105e835 100644 --- a/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/doc.go +++ b/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_arangolocalstorage.go b/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_arangolocalstorage.go index 2c46bced1..62ad68b43 100644 --- a/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_arangolocalstorage.go +++ b/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_arangolocalstorage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_storage_client.go b/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_storage_client.go index 272b74901..8ff124ede 100644 --- a/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_storage_client.go +++ b/pkg/generated/clientset/versioned/typed/storage/v1alpha/fake/fake_storage_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/storage/v1alpha/generated_expansion.go b/pkg/generated/clientset/versioned/typed/storage/v1alpha/generated_expansion.go index 68b91f2e1..cf2892862 100644 --- a/pkg/generated/clientset/versioned/typed/storage/v1alpha/generated_expansion.go +++ b/pkg/generated/clientset/versioned/typed/storage/v1alpha/generated_expansion.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/clientset/versioned/typed/storage/v1alpha/storage_client.go b/pkg/generated/clientset/versioned/typed/storage/v1alpha/storage_client.go index 886dbe8cd..acaf5af12 100644 --- a/pkg/generated/clientset/versioned/typed/storage/v1alpha/storage_client.go +++ b/pkg/generated/clientset/versioned/typed/storage/v1alpha/storage_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/backup/interface.go b/pkg/generated/informers/externalversions/backup/interface.go index f86cfe3a8..5bb2a2a1c 100644 --- a/pkg/generated/informers/externalversions/backup/interface.go +++ b/pkg/generated/informers/externalversions/backup/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/backup/v1/arangobackup.go b/pkg/generated/informers/externalversions/backup/v1/arangobackup.go index 1c0fcee1a..45b104c4f 100644 --- a/pkg/generated/informers/externalversions/backup/v1/arangobackup.go +++ b/pkg/generated/informers/externalversions/backup/v1/arangobackup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/backup/v1/arangobackuppolicy.go b/pkg/generated/informers/externalversions/backup/v1/arangobackuppolicy.go index 8b9c73434..0102f0b0f 100644 --- a/pkg/generated/informers/externalversions/backup/v1/arangobackuppolicy.go +++ b/pkg/generated/informers/externalversions/backup/v1/arangobackuppolicy.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/backup/v1/interface.go b/pkg/generated/informers/externalversions/backup/v1/interface.go index e4e4f73a3..6c56603e6 100644 --- a/pkg/generated/informers/externalversions/backup/v1/interface.go +++ b/pkg/generated/informers/externalversions/backup/v1/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/backup/v1alpha/arangobackup.go b/pkg/generated/informers/externalversions/backup/v1alpha/arangobackup.go deleted file mode 100644 index 0694ef83d..000000000 --- a/pkg/generated/informers/externalversions/backup/v1alpha/arangobackup.go +++ /dev/null @@ -1,93 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by informer-gen. DO NOT EDIT. - -package v1alpha - -import ( - time "time" - - backupv1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned" - internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces" - v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/listers/backup/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" -) - -// ArangoBackupInformer provides access to a shared informer and lister for -// ArangoBackups. -type ArangoBackupInformer interface { - Informer() cache.SharedIndexInformer - Lister() v1alpha.ArangoBackupLister -} - -type arangoBackupInformer struct { - factory internalinterfaces.SharedInformerFactory - tweakListOptions internalinterfaces.TweakListOptionsFunc - namespace string -} - -// NewArangoBackupInformer constructs a new informer for ArangoBackup type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewArangoBackupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { - return NewFilteredArangoBackupInformer(client, namespace, resyncPeriod, indexers, nil) -} - -// NewFilteredArangoBackupInformer constructs a new informer for ArangoBackup type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewFilteredArangoBackupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { - return cache.NewSharedIndexInformer( - &cache.ListWatch{ - ListFunc: func(options v1.ListOptions) (runtime.Object, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.BackupV1alpha().ArangoBackups(namespace).List(options) - }, - WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.BackupV1alpha().ArangoBackups(namespace).Watch(options) - }, - }, - &backupv1alpha.ArangoBackup{}, - resyncPeriod, - indexers, - ) -} - -func (f *arangoBackupInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { - return NewFilteredArangoBackupInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) -} - -func (f *arangoBackupInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&backupv1alpha.ArangoBackup{}, f.defaultInformer) -} - -func (f *arangoBackupInformer) Lister() v1alpha.ArangoBackupLister { - return v1alpha.NewArangoBackupLister(f.Informer().GetIndexer()) -} diff --git a/pkg/generated/informers/externalversions/backup/v1alpha/arangobackuppolicy.go b/pkg/generated/informers/externalversions/backup/v1alpha/arangobackuppolicy.go deleted file mode 100644 index 8286f28ce..000000000 --- a/pkg/generated/informers/externalversions/backup/v1alpha/arangobackuppolicy.go +++ /dev/null @@ -1,93 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by informer-gen. DO NOT EDIT. - -package v1alpha - -import ( - time "time" - - backupv1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned" - internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces" - v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/listers/backup/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" -) - -// ArangoBackupPolicyInformer provides access to a shared informer and lister for -// ArangoBackupPolicies. -type ArangoBackupPolicyInformer interface { - Informer() cache.SharedIndexInformer - Lister() v1alpha.ArangoBackupPolicyLister -} - -type arangoBackupPolicyInformer struct { - factory internalinterfaces.SharedInformerFactory - tweakListOptions internalinterfaces.TweakListOptionsFunc - namespace string -} - -// NewArangoBackupPolicyInformer constructs a new informer for ArangoBackupPolicy type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewArangoBackupPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { - return NewFilteredArangoBackupPolicyInformer(client, namespace, resyncPeriod, indexers, nil) -} - -// NewFilteredArangoBackupPolicyInformer constructs a new informer for ArangoBackupPolicy type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewFilteredArangoBackupPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { - return cache.NewSharedIndexInformer( - &cache.ListWatch{ - ListFunc: func(options v1.ListOptions) (runtime.Object, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.BackupV1alpha().ArangoBackupPolicies(namespace).List(options) - }, - WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.BackupV1alpha().ArangoBackupPolicies(namespace).Watch(options) - }, - }, - &backupv1alpha.ArangoBackupPolicy{}, - resyncPeriod, - indexers, - ) -} - -func (f *arangoBackupPolicyInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { - return NewFilteredArangoBackupPolicyInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) -} - -func (f *arangoBackupPolicyInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&backupv1alpha.ArangoBackupPolicy{}, f.defaultInformer) -} - -func (f *arangoBackupPolicyInformer) Lister() v1alpha.ArangoBackupPolicyLister { - return v1alpha.NewArangoBackupPolicyLister(f.Informer().GetIndexer()) -} diff --git a/pkg/generated/informers/externalversions/backup/v1alpha/interface.go b/pkg/generated/informers/externalversions/backup/v1alpha/interface.go deleted file mode 100644 index 52b87dc34..000000000 --- a/pkg/generated/informers/externalversions/backup/v1alpha/interface.go +++ /dev/null @@ -1,56 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by informer-gen. DO NOT EDIT. - -package v1alpha - -import ( - internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces" -) - -// Interface provides access to all the informers in this group version. -type Interface interface { - // ArangoBackups returns a ArangoBackupInformer. - ArangoBackups() ArangoBackupInformer - // ArangoBackupPolicies returns a ArangoBackupPolicyInformer. - ArangoBackupPolicies() ArangoBackupPolicyInformer -} - -type version struct { - factory internalinterfaces.SharedInformerFactory - namespace string - tweakListOptions internalinterfaces.TweakListOptionsFunc -} - -// New returns a new Interface. -func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { - return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} -} - -// ArangoBackups returns a ArangoBackupInformer. -func (v *version) ArangoBackups() ArangoBackupInformer { - return &arangoBackupInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} -} - -// ArangoBackupPolicies returns a ArangoBackupPolicyInformer. -func (v *version) ArangoBackupPolicies() ArangoBackupPolicyInformer { - return &arangoBackupPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} -} diff --git a/pkg/generated/informers/externalversions/deployment/interface.go b/pkg/generated/informers/externalversions/deployment/interface.go index d40dc906b..3a9743b3c 100644 --- a/pkg/generated/informers/externalversions/deployment/interface.go +++ b/pkg/generated/informers/externalversions/deployment/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/deployment/v1/arangodeployment.go b/pkg/generated/informers/externalversions/deployment/v1/arangodeployment.go index 0ab2e65f2..1159ce4b4 100644 --- a/pkg/generated/informers/externalversions/deployment/v1/arangodeployment.go +++ b/pkg/generated/informers/externalversions/deployment/v1/arangodeployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/deployment/v1/interface.go b/pkg/generated/informers/externalversions/deployment/v1/interface.go index 17f9c325e..aff398f83 100644 --- a/pkg/generated/informers/externalversions/deployment/v1/interface.go +++ b/pkg/generated/informers/externalversions/deployment/v1/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/deployment/v1alpha/arangodeployment.go b/pkg/generated/informers/externalversions/deployment/v1alpha/arangodeployment.go deleted file mode 100644 index 7c1ae444d..000000000 --- a/pkg/generated/informers/externalversions/deployment/v1alpha/arangodeployment.go +++ /dev/null @@ -1,93 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by informer-gen. DO NOT EDIT. - -package v1alpha - -import ( - time "time" - - deploymentv1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha" - versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned" - internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces" - v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/listers/deployment/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" -) - -// ArangoDeploymentInformer provides access to a shared informer and lister for -// ArangoDeployments. -type ArangoDeploymentInformer interface { - Informer() cache.SharedIndexInformer - Lister() v1alpha.ArangoDeploymentLister -} - -type arangoDeploymentInformer struct { - factory internalinterfaces.SharedInformerFactory - tweakListOptions internalinterfaces.TweakListOptionsFunc - namespace string -} - -// NewArangoDeploymentInformer constructs a new informer for ArangoDeployment type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewArangoDeploymentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { - return NewFilteredArangoDeploymentInformer(client, namespace, resyncPeriod, indexers, nil) -} - -// NewFilteredArangoDeploymentInformer constructs a new informer for ArangoDeployment type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewFilteredArangoDeploymentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { - return cache.NewSharedIndexInformer( - &cache.ListWatch{ - ListFunc: func(options v1.ListOptions) (runtime.Object, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.DatabaseV1alpha().ArangoDeployments(namespace).List(options) - }, - WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.DatabaseV1alpha().ArangoDeployments(namespace).Watch(options) - }, - }, - &deploymentv1alpha.ArangoDeployment{}, - resyncPeriod, - indexers, - ) -} - -func (f *arangoDeploymentInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { - return NewFilteredArangoDeploymentInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) -} - -func (f *arangoDeploymentInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&deploymentv1alpha.ArangoDeployment{}, f.defaultInformer) -} - -func (f *arangoDeploymentInformer) Lister() v1alpha.ArangoDeploymentLister { - return v1alpha.NewArangoDeploymentLister(f.Informer().GetIndexer()) -} diff --git a/pkg/generated/informers/externalversions/deployment/v1alpha/interface.go b/pkg/generated/informers/externalversions/deployment/v1alpha/interface.go deleted file mode 100644 index 1825ffa1c..000000000 --- a/pkg/generated/informers/externalversions/deployment/v1alpha/interface.go +++ /dev/null @@ -1,49 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by informer-gen. DO NOT EDIT. - -package v1alpha - -import ( - internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces" -) - -// Interface provides access to all the informers in this group version. -type Interface interface { - // ArangoDeployments returns a ArangoDeploymentInformer. - ArangoDeployments() ArangoDeploymentInformer -} - -type version struct { - factory internalinterfaces.SharedInformerFactory - namespace string - tweakListOptions internalinterfaces.TweakListOptionsFunc -} - -// New returns a new Interface. -func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { - return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} -} - -// ArangoDeployments returns a ArangoDeploymentInformer. -func (v *version) ArangoDeployments() ArangoDeploymentInformer { - return &arangoDeploymentInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} -} diff --git a/pkg/generated/informers/externalversions/factory.go b/pkg/generated/informers/externalversions/factory.go index efad536d2..cbd2aafb2 100644 --- a/pkg/generated/informers/externalversions/factory.go +++ b/pkg/generated/informers/externalversions/factory.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/generic.go b/pkg/generated/informers/externalversions/generic.go index d1ed879df..c277af4c0 100644 --- a/pkg/generated/informers/externalversions/generic.go +++ b/pkg/generated/informers/externalversions/generic.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go index fb52c711d..0f2d72ad9 100644 --- a/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/replication/interface.go b/pkg/generated/informers/externalversions/replication/interface.go index 6b55073bd..347e74dc2 100644 --- a/pkg/generated/informers/externalversions/replication/interface.go +++ b/pkg/generated/informers/externalversions/replication/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/replication/v1/arangodeploymentreplication.go b/pkg/generated/informers/externalversions/replication/v1/arangodeploymentreplication.go index dc59ad73f..d0bb785fa 100644 --- a/pkg/generated/informers/externalversions/replication/v1/arangodeploymentreplication.go +++ b/pkg/generated/informers/externalversions/replication/v1/arangodeploymentreplication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/replication/v1/interface.go b/pkg/generated/informers/externalversions/replication/v1/interface.go index e5e2f1d0a..f5d4e255d 100644 --- a/pkg/generated/informers/externalversions/replication/v1/interface.go +++ b/pkg/generated/informers/externalversions/replication/v1/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/replication/v1alpha/arangodeploymentreplication.go b/pkg/generated/informers/externalversions/replication/v1alpha/arangodeploymentreplication.go deleted file mode 100644 index 3e491e1d2..000000000 --- a/pkg/generated/informers/externalversions/replication/v1alpha/arangodeploymentreplication.go +++ /dev/null @@ -1,93 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by informer-gen. DO NOT EDIT. - -package v1alpha - -import ( - time "time" - - replicationv1alpha "github.com/arangodb/kube-arangodb/pkg/apis/replication/v1alpha" - versioned "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned" - internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces" - v1alpha "github.com/arangodb/kube-arangodb/pkg/generated/listers/replication/v1alpha" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - watch "k8s.io/apimachinery/pkg/watch" - cache "k8s.io/client-go/tools/cache" -) - -// ArangoDeploymentReplicationInformer provides access to a shared informer and lister for -// ArangoDeploymentReplications. -type ArangoDeploymentReplicationInformer interface { - Informer() cache.SharedIndexInformer - Lister() v1alpha.ArangoDeploymentReplicationLister -} - -type arangoDeploymentReplicationInformer struct { - factory internalinterfaces.SharedInformerFactory - tweakListOptions internalinterfaces.TweakListOptionsFunc - namespace string -} - -// NewArangoDeploymentReplicationInformer constructs a new informer for ArangoDeploymentReplication type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewArangoDeploymentReplicationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { - return NewFilteredArangoDeploymentReplicationInformer(client, namespace, resyncPeriod, indexers, nil) -} - -// NewFilteredArangoDeploymentReplicationInformer constructs a new informer for ArangoDeploymentReplication type. -// Always prefer using an informer factory to get a shared informer instead of getting an independent -// one. This reduces memory footprint and number of connections to the server. -func NewFilteredArangoDeploymentReplicationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { - return cache.NewSharedIndexInformer( - &cache.ListWatch{ - ListFunc: func(options v1.ListOptions) (runtime.Object, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.ReplicationV1alpha().ArangoDeploymentReplications(namespace).List(options) - }, - WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { - if tweakListOptions != nil { - tweakListOptions(&options) - } - return client.ReplicationV1alpha().ArangoDeploymentReplications(namespace).Watch(options) - }, - }, - &replicationv1alpha.ArangoDeploymentReplication{}, - resyncPeriod, - indexers, - ) -} - -func (f *arangoDeploymentReplicationInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { - return NewFilteredArangoDeploymentReplicationInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) -} - -func (f *arangoDeploymentReplicationInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&replicationv1alpha.ArangoDeploymentReplication{}, f.defaultInformer) -} - -func (f *arangoDeploymentReplicationInformer) Lister() v1alpha.ArangoDeploymentReplicationLister { - return v1alpha.NewArangoDeploymentReplicationLister(f.Informer().GetIndexer()) -} diff --git a/pkg/generated/informers/externalversions/replication/v1alpha/interface.go b/pkg/generated/informers/externalversions/replication/v1alpha/interface.go deleted file mode 100644 index aaa561ee3..000000000 --- a/pkg/generated/informers/externalversions/replication/v1alpha/interface.go +++ /dev/null @@ -1,49 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by informer-gen. DO NOT EDIT. - -package v1alpha - -import ( - internalinterfaces "github.com/arangodb/kube-arangodb/pkg/generated/informers/externalversions/internalinterfaces" -) - -// Interface provides access to all the informers in this group version. -type Interface interface { - // ArangoDeploymentReplications returns a ArangoDeploymentReplicationInformer. - ArangoDeploymentReplications() ArangoDeploymentReplicationInformer -} - -type version struct { - factory internalinterfaces.SharedInformerFactory - namespace string - tweakListOptions internalinterfaces.TweakListOptionsFunc -} - -// New returns a new Interface. -func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { - return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} -} - -// ArangoDeploymentReplications returns a ArangoDeploymentReplicationInformer. -func (v *version) ArangoDeploymentReplications() ArangoDeploymentReplicationInformer { - return &arangoDeploymentReplicationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} -} diff --git a/pkg/generated/informers/externalversions/storage/interface.go b/pkg/generated/informers/externalversions/storage/interface.go index a6f3eb9b3..947cc167c 100644 --- a/pkg/generated/informers/externalversions/storage/interface.go +++ b/pkg/generated/informers/externalversions/storage/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/storage/v1alpha/arangolocalstorage.go b/pkg/generated/informers/externalversions/storage/v1alpha/arangolocalstorage.go index f11c6d76b..1683b36ef 100644 --- a/pkg/generated/informers/externalversions/storage/v1alpha/arangolocalstorage.go +++ b/pkg/generated/informers/externalversions/storage/v1alpha/arangolocalstorage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/informers/externalversions/storage/v1alpha/interface.go b/pkg/generated/informers/externalversions/storage/v1alpha/interface.go index d08509158..c53c03aaf 100644 --- a/pkg/generated/informers/externalversions/storage/v1alpha/interface.go +++ b/pkg/generated/informers/externalversions/storage/v1alpha/interface.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/backup/v1/arangobackup.go b/pkg/generated/listers/backup/v1/arangobackup.go index 215385704..745db3377 100644 --- a/pkg/generated/listers/backup/v1/arangobackup.go +++ b/pkg/generated/listers/backup/v1/arangobackup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/backup/v1/arangobackuppolicy.go b/pkg/generated/listers/backup/v1/arangobackuppolicy.go index cacba56ac..199b6eb69 100644 --- a/pkg/generated/listers/backup/v1/arangobackuppolicy.go +++ b/pkg/generated/listers/backup/v1/arangobackuppolicy.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/backup/v1/expansion_generated.go b/pkg/generated/listers/backup/v1/expansion_generated.go index 5ccb00a02..6429a6a3b 100644 --- a/pkg/generated/listers/backup/v1/expansion_generated.go +++ b/pkg/generated/listers/backup/v1/expansion_generated.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/backup/v1alpha/arangobackup.go b/pkg/generated/listers/backup/v1alpha/arangobackup.go deleted file mode 100644 index e40449c9b..000000000 --- a/pkg/generated/listers/backup/v1alpha/arangobackup.go +++ /dev/null @@ -1,98 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by lister-gen. DO NOT EDIT. - -package v1alpha - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/tools/cache" -) - -// ArangoBackupLister helps list ArangoBackups. -type ArangoBackupLister interface { - // List lists all ArangoBackups in the indexer. - List(selector labels.Selector) (ret []*v1alpha.ArangoBackup, err error) - // ArangoBackups returns an object that can list and get ArangoBackups. - ArangoBackups(namespace string) ArangoBackupNamespaceLister - ArangoBackupListerExpansion -} - -// arangoBackupLister implements the ArangoBackupLister interface. -type arangoBackupLister struct { - indexer cache.Indexer -} - -// NewArangoBackupLister returns a new ArangoBackupLister. -func NewArangoBackupLister(indexer cache.Indexer) ArangoBackupLister { - return &arangoBackupLister{indexer: indexer} -} - -// List lists all ArangoBackups in the indexer. -func (s *arangoBackupLister) List(selector labels.Selector) (ret []*v1alpha.ArangoBackup, err error) { - err = cache.ListAll(s.indexer, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoBackup)) - }) - return ret, err -} - -// ArangoBackups returns an object that can list and get ArangoBackups. -func (s *arangoBackupLister) ArangoBackups(namespace string) ArangoBackupNamespaceLister { - return arangoBackupNamespaceLister{indexer: s.indexer, namespace: namespace} -} - -// ArangoBackupNamespaceLister helps list and get ArangoBackups. -type ArangoBackupNamespaceLister interface { - // List lists all ArangoBackups in the indexer for a given namespace. - List(selector labels.Selector) (ret []*v1alpha.ArangoBackup, err error) - // Get retrieves the ArangoBackup from the indexer for a given namespace and name. - Get(name string) (*v1alpha.ArangoBackup, error) - ArangoBackupNamespaceListerExpansion -} - -// arangoBackupNamespaceLister implements the ArangoBackupNamespaceLister -// interface. -type arangoBackupNamespaceLister struct { - indexer cache.Indexer - namespace string -} - -// List lists all ArangoBackups in the indexer for a given namespace. -func (s arangoBackupNamespaceLister) List(selector labels.Selector) (ret []*v1alpha.ArangoBackup, err error) { - err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoBackup)) - }) - return ret, err -} - -// Get retrieves the ArangoBackup from the indexer for a given namespace and name. -func (s arangoBackupNamespaceLister) Get(name string) (*v1alpha.ArangoBackup, error) { - obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) - if err != nil { - return nil, err - } - if !exists { - return nil, errors.NewNotFound(v1alpha.Resource("arangobackup"), name) - } - return obj.(*v1alpha.ArangoBackup), nil -} diff --git a/pkg/generated/listers/backup/v1alpha/arangobackuppolicy.go b/pkg/generated/listers/backup/v1alpha/arangobackuppolicy.go deleted file mode 100644 index 71f5f7098..000000000 --- a/pkg/generated/listers/backup/v1alpha/arangobackuppolicy.go +++ /dev/null @@ -1,98 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by lister-gen. DO NOT EDIT. - -package v1alpha - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/backup/v1alpha" - "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/tools/cache" -) - -// ArangoBackupPolicyLister helps list ArangoBackupPolicies. -type ArangoBackupPolicyLister interface { - // List lists all ArangoBackupPolicies in the indexer. - List(selector labels.Selector) (ret []*v1alpha.ArangoBackupPolicy, err error) - // ArangoBackupPolicies returns an object that can list and get ArangoBackupPolicies. - ArangoBackupPolicies(namespace string) ArangoBackupPolicyNamespaceLister - ArangoBackupPolicyListerExpansion -} - -// arangoBackupPolicyLister implements the ArangoBackupPolicyLister interface. -type arangoBackupPolicyLister struct { - indexer cache.Indexer -} - -// NewArangoBackupPolicyLister returns a new ArangoBackupPolicyLister. -func NewArangoBackupPolicyLister(indexer cache.Indexer) ArangoBackupPolicyLister { - return &arangoBackupPolicyLister{indexer: indexer} -} - -// List lists all ArangoBackupPolicies in the indexer. -func (s *arangoBackupPolicyLister) List(selector labels.Selector) (ret []*v1alpha.ArangoBackupPolicy, err error) { - err = cache.ListAll(s.indexer, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoBackupPolicy)) - }) - return ret, err -} - -// ArangoBackupPolicies returns an object that can list and get ArangoBackupPolicies. -func (s *arangoBackupPolicyLister) ArangoBackupPolicies(namespace string) ArangoBackupPolicyNamespaceLister { - return arangoBackupPolicyNamespaceLister{indexer: s.indexer, namespace: namespace} -} - -// ArangoBackupPolicyNamespaceLister helps list and get ArangoBackupPolicies. -type ArangoBackupPolicyNamespaceLister interface { - // List lists all ArangoBackupPolicies in the indexer for a given namespace. - List(selector labels.Selector) (ret []*v1alpha.ArangoBackupPolicy, err error) - // Get retrieves the ArangoBackupPolicy from the indexer for a given namespace and name. - Get(name string) (*v1alpha.ArangoBackupPolicy, error) - ArangoBackupPolicyNamespaceListerExpansion -} - -// arangoBackupPolicyNamespaceLister implements the ArangoBackupPolicyNamespaceLister -// interface. -type arangoBackupPolicyNamespaceLister struct { - indexer cache.Indexer - namespace string -} - -// List lists all ArangoBackupPolicies in the indexer for a given namespace. -func (s arangoBackupPolicyNamespaceLister) List(selector labels.Selector) (ret []*v1alpha.ArangoBackupPolicy, err error) { - err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoBackupPolicy)) - }) - return ret, err -} - -// Get retrieves the ArangoBackupPolicy from the indexer for a given namespace and name. -func (s arangoBackupPolicyNamespaceLister) Get(name string) (*v1alpha.ArangoBackupPolicy, error) { - obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) - if err != nil { - return nil, err - } - if !exists { - return nil, errors.NewNotFound(v1alpha.Resource("arangobackuppolicy"), name) - } - return obj.(*v1alpha.ArangoBackupPolicy), nil -} diff --git a/pkg/generated/listers/backup/v1alpha/expansion_generated.go b/pkg/generated/listers/backup/v1alpha/expansion_generated.go deleted file mode 100644 index dbab2de5c..000000000 --- a/pkg/generated/listers/backup/v1alpha/expansion_generated.go +++ /dev/null @@ -1,39 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by lister-gen. DO NOT EDIT. - -package v1alpha - -// ArangoBackupListerExpansion allows custom methods to be added to -// ArangoBackupLister. -type ArangoBackupListerExpansion interface{} - -// ArangoBackupNamespaceListerExpansion allows custom methods to be added to -// ArangoBackupNamespaceLister. -type ArangoBackupNamespaceListerExpansion interface{} - -// ArangoBackupPolicyListerExpansion allows custom methods to be added to -// ArangoBackupPolicyLister. -type ArangoBackupPolicyListerExpansion interface{} - -// ArangoBackupPolicyNamespaceListerExpansion allows custom methods to be added to -// ArangoBackupPolicyNamespaceLister. -type ArangoBackupPolicyNamespaceListerExpansion interface{} diff --git a/pkg/generated/listers/deployment/v1/arangodeployment.go b/pkg/generated/listers/deployment/v1/arangodeployment.go index a91fda7bc..288ca418b 100644 --- a/pkg/generated/listers/deployment/v1/arangodeployment.go +++ b/pkg/generated/listers/deployment/v1/arangodeployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/deployment/v1/expansion_generated.go b/pkg/generated/listers/deployment/v1/expansion_generated.go index 04ddfe8cb..85aa1f90d 100644 --- a/pkg/generated/listers/deployment/v1/expansion_generated.go +++ b/pkg/generated/listers/deployment/v1/expansion_generated.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/deployment/v1alpha/arangodeployment.go b/pkg/generated/listers/deployment/v1alpha/arangodeployment.go deleted file mode 100644 index d64a41e24..000000000 --- a/pkg/generated/listers/deployment/v1alpha/arangodeployment.go +++ /dev/null @@ -1,98 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by lister-gen. DO NOT EDIT. - -package v1alpha - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha" - "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/tools/cache" -) - -// ArangoDeploymentLister helps list ArangoDeployments. -type ArangoDeploymentLister interface { - // List lists all ArangoDeployments in the indexer. - List(selector labels.Selector) (ret []*v1alpha.ArangoDeployment, err error) - // ArangoDeployments returns an object that can list and get ArangoDeployments. - ArangoDeployments(namespace string) ArangoDeploymentNamespaceLister - ArangoDeploymentListerExpansion -} - -// arangoDeploymentLister implements the ArangoDeploymentLister interface. -type arangoDeploymentLister struct { - indexer cache.Indexer -} - -// NewArangoDeploymentLister returns a new ArangoDeploymentLister. -func NewArangoDeploymentLister(indexer cache.Indexer) ArangoDeploymentLister { - return &arangoDeploymentLister{indexer: indexer} -} - -// List lists all ArangoDeployments in the indexer. -func (s *arangoDeploymentLister) List(selector labels.Selector) (ret []*v1alpha.ArangoDeployment, err error) { - err = cache.ListAll(s.indexer, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoDeployment)) - }) - return ret, err -} - -// ArangoDeployments returns an object that can list and get ArangoDeployments. -func (s *arangoDeploymentLister) ArangoDeployments(namespace string) ArangoDeploymentNamespaceLister { - return arangoDeploymentNamespaceLister{indexer: s.indexer, namespace: namespace} -} - -// ArangoDeploymentNamespaceLister helps list and get ArangoDeployments. -type ArangoDeploymentNamespaceLister interface { - // List lists all ArangoDeployments in the indexer for a given namespace. - List(selector labels.Selector) (ret []*v1alpha.ArangoDeployment, err error) - // Get retrieves the ArangoDeployment from the indexer for a given namespace and name. - Get(name string) (*v1alpha.ArangoDeployment, error) - ArangoDeploymentNamespaceListerExpansion -} - -// arangoDeploymentNamespaceLister implements the ArangoDeploymentNamespaceLister -// interface. -type arangoDeploymentNamespaceLister struct { - indexer cache.Indexer - namespace string -} - -// List lists all ArangoDeployments in the indexer for a given namespace. -func (s arangoDeploymentNamespaceLister) List(selector labels.Selector) (ret []*v1alpha.ArangoDeployment, err error) { - err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoDeployment)) - }) - return ret, err -} - -// Get retrieves the ArangoDeployment from the indexer for a given namespace and name. -func (s arangoDeploymentNamespaceLister) Get(name string) (*v1alpha.ArangoDeployment, error) { - obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) - if err != nil { - return nil, err - } - if !exists { - return nil, errors.NewNotFound(v1alpha.Resource("arangodeployment"), name) - } - return obj.(*v1alpha.ArangoDeployment), nil -} diff --git a/pkg/generated/listers/deployment/v1alpha/expansion_generated.go b/pkg/generated/listers/deployment/v1alpha/expansion_generated.go deleted file mode 100644 index cc93e7d4f..000000000 --- a/pkg/generated/listers/deployment/v1alpha/expansion_generated.go +++ /dev/null @@ -1,31 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by lister-gen. DO NOT EDIT. - -package v1alpha - -// ArangoDeploymentListerExpansion allows custom methods to be added to -// ArangoDeploymentLister. -type ArangoDeploymentListerExpansion interface{} - -// ArangoDeploymentNamespaceListerExpansion allows custom methods to be added to -// ArangoDeploymentNamespaceLister. -type ArangoDeploymentNamespaceListerExpansion interface{} diff --git a/pkg/generated/listers/replication/v1/arangodeploymentreplication.go b/pkg/generated/listers/replication/v1/arangodeploymentreplication.go index 22edffa28..a6f035cd6 100644 --- a/pkg/generated/listers/replication/v1/arangodeploymentreplication.go +++ b/pkg/generated/listers/replication/v1/arangodeploymentreplication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/replication/v1/expansion_generated.go b/pkg/generated/listers/replication/v1/expansion_generated.go index f5da10998..b177a354d 100644 --- a/pkg/generated/listers/replication/v1/expansion_generated.go +++ b/pkg/generated/listers/replication/v1/expansion_generated.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/replication/v1alpha/arangodeploymentreplication.go b/pkg/generated/listers/replication/v1alpha/arangodeploymentreplication.go deleted file mode 100644 index 2aa86e8ff..000000000 --- a/pkg/generated/listers/replication/v1alpha/arangodeploymentreplication.go +++ /dev/null @@ -1,98 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by lister-gen. DO NOT EDIT. - -package v1alpha - -import ( - v1alpha "github.com/arangodb/kube-arangodb/pkg/apis/replication/v1alpha" - "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/tools/cache" -) - -// ArangoDeploymentReplicationLister helps list ArangoDeploymentReplications. -type ArangoDeploymentReplicationLister interface { - // List lists all ArangoDeploymentReplications in the indexer. - List(selector labels.Selector) (ret []*v1alpha.ArangoDeploymentReplication, err error) - // ArangoDeploymentReplications returns an object that can list and get ArangoDeploymentReplications. - ArangoDeploymentReplications(namespace string) ArangoDeploymentReplicationNamespaceLister - ArangoDeploymentReplicationListerExpansion -} - -// arangoDeploymentReplicationLister implements the ArangoDeploymentReplicationLister interface. -type arangoDeploymentReplicationLister struct { - indexer cache.Indexer -} - -// NewArangoDeploymentReplicationLister returns a new ArangoDeploymentReplicationLister. -func NewArangoDeploymentReplicationLister(indexer cache.Indexer) ArangoDeploymentReplicationLister { - return &arangoDeploymentReplicationLister{indexer: indexer} -} - -// List lists all ArangoDeploymentReplications in the indexer. -func (s *arangoDeploymentReplicationLister) List(selector labels.Selector) (ret []*v1alpha.ArangoDeploymentReplication, err error) { - err = cache.ListAll(s.indexer, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoDeploymentReplication)) - }) - return ret, err -} - -// ArangoDeploymentReplications returns an object that can list and get ArangoDeploymentReplications. -func (s *arangoDeploymentReplicationLister) ArangoDeploymentReplications(namespace string) ArangoDeploymentReplicationNamespaceLister { - return arangoDeploymentReplicationNamespaceLister{indexer: s.indexer, namespace: namespace} -} - -// ArangoDeploymentReplicationNamespaceLister helps list and get ArangoDeploymentReplications. -type ArangoDeploymentReplicationNamespaceLister interface { - // List lists all ArangoDeploymentReplications in the indexer for a given namespace. - List(selector labels.Selector) (ret []*v1alpha.ArangoDeploymentReplication, err error) - // Get retrieves the ArangoDeploymentReplication from the indexer for a given namespace and name. - Get(name string) (*v1alpha.ArangoDeploymentReplication, error) - ArangoDeploymentReplicationNamespaceListerExpansion -} - -// arangoDeploymentReplicationNamespaceLister implements the ArangoDeploymentReplicationNamespaceLister -// interface. -type arangoDeploymentReplicationNamespaceLister struct { - indexer cache.Indexer - namespace string -} - -// List lists all ArangoDeploymentReplications in the indexer for a given namespace. -func (s arangoDeploymentReplicationNamespaceLister) List(selector labels.Selector) (ret []*v1alpha.ArangoDeploymentReplication, err error) { - err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { - ret = append(ret, m.(*v1alpha.ArangoDeploymentReplication)) - }) - return ret, err -} - -// Get retrieves the ArangoDeploymentReplication from the indexer for a given namespace and name. -func (s arangoDeploymentReplicationNamespaceLister) Get(name string) (*v1alpha.ArangoDeploymentReplication, error) { - obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) - if err != nil { - return nil, err - } - if !exists { - return nil, errors.NewNotFound(v1alpha.Resource("arangodeploymentreplication"), name) - } - return obj.(*v1alpha.ArangoDeploymentReplication), nil -} diff --git a/pkg/generated/listers/replication/v1alpha/expansion_generated.go b/pkg/generated/listers/replication/v1alpha/expansion_generated.go deleted file mode 100644 index 1dd6ef1f3..000000000 --- a/pkg/generated/listers/replication/v1alpha/expansion_generated.go +++ /dev/null @@ -1,31 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2018 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by lister-gen. DO NOT EDIT. - -package v1alpha - -// ArangoDeploymentReplicationListerExpansion allows custom methods to be added to -// ArangoDeploymentReplicationLister. -type ArangoDeploymentReplicationListerExpansion interface{} - -// ArangoDeploymentReplicationNamespaceListerExpansion allows custom methods to be added to -// ArangoDeploymentReplicationNamespaceLister. -type ArangoDeploymentReplicationNamespaceListerExpansion interface{} diff --git a/pkg/generated/listers/storage/v1alpha/arangolocalstorage.go b/pkg/generated/listers/storage/v1alpha/arangolocalstorage.go index aee87946d..8ada94b46 100644 --- a/pkg/generated/listers/storage/v1alpha/arangolocalstorage.go +++ b/pkg/generated/listers/storage/v1alpha/arangolocalstorage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/generated/listers/storage/v1alpha/expansion_generated.go b/pkg/generated/listers/storage/v1alpha/expansion_generated.go index 917b607b3..8ec9722a0 100644 --- a/pkg/generated/listers/storage/v1alpha/expansion_generated.go +++ b/pkg/generated/listers/storage/v1alpha/expansion_generated.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/logging/error.go b/pkg/logging/error.go index 6b119f660..57bdc1866 100644 --- a/pkg/logging/error.go +++ b/pkg/logging/error.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/logging/logger.go b/pkg/logging/logger.go index 08741525b..42a62e813 100644 --- a/pkg/logging/logger.go +++ b/pkg/logging/logger.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go index 3b16df306..a44d148b1 100644 --- a/pkg/metrics/metrics.go +++ b/pkg/metrics/metrics.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/crd.go b/pkg/operator/crd.go index d723c970b..b466ca1b2 100644 --- a/pkg/operator/crd.go +++ b/pkg/operator/crd.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/errors.go b/pkg/operator/errors.go index a2eb50c87..4ce79f6f3 100644 --- a/pkg/operator/errors.go +++ b/pkg/operator/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/operator.go b/pkg/operator/operator.go index a026164b9..716e6acb3 100644 --- a/pkg/operator/operator.go +++ b/pkg/operator/operator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/operator_deployment.go b/pkg/operator/operator_deployment.go index b01a69f54..c0c1f7fe6 100644 --- a/pkg/operator/operator_deployment.go +++ b/pkg/operator/operator_deployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/operator_deployment_relication.go b/pkg/operator/operator_deployment_relication.go index 74689e6c4..7ed883358 100644 --- a/pkg/operator/operator_deployment_relication.go +++ b/pkg/operator/operator_deployment_relication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/operator_leader.go b/pkg/operator/operator_leader.go index 1cb7acb88..fe7db19c7 100644 --- a/pkg/operator/operator_leader.go +++ b/pkg/operator/operator_leader.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/operator_local_storage.go b/pkg/operator/operator_local_storage.go index 5d0b3b5ac..efb3ffe5d 100644 --- a/pkg/operator/operator_local_storage.go +++ b/pkg/operator/operator_local_storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/server_api.go b/pkg/operator/server_api.go index aa04c84ed..b5dc43fa3 100644 --- a/pkg/operator/server_api.go +++ b/pkg/operator/server_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/operator/server_discovery_api.go b/pkg/operator/server_discovery_api.go index ead7da1ab..0515f0a15 100644 --- a/pkg/operator/server_discovery_api.go +++ b/pkg/operator/server_discovery_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/replication/deployment_replication.go b/pkg/replication/deployment_replication.go index 532d64c28..c190a9cbc 100644 --- a/pkg/replication/deployment_replication.go +++ b/pkg/replication/deployment_replication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/replication/errors.go b/pkg/replication/errors.go index e48fb52d3..fc272243d 100644 --- a/pkg/replication/errors.go +++ b/pkg/replication/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/replication/finalizers.go b/pkg/replication/finalizers.go index 63bb6c9c5..1f9d6dcdf 100644 --- a/pkg/replication/finalizers.go +++ b/pkg/replication/finalizers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/replication/server_api.go b/pkg/replication/server_api.go index 6408fcbd8..f6ea06a9f 100644 --- a/pkg/replication/server_api.go +++ b/pkg/replication/server_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/replication/server_endpoint_api.go b/pkg/replication/server_endpoint_api.go index ab2ffd524..24fb937d1 100644 --- a/pkg/replication/server_endpoint_api.go +++ b/pkg/replication/server_endpoint_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/replication/sync_client.go b/pkg/replication/sync_client.go index 1f68a467f..58f8875b7 100644 --- a/pkg/replication/sync_client.go +++ b/pkg/replication/sync_client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/replication/sync_inspector.go b/pkg/replication/sync_inspector.go index a39e94a1c..42308a5c7 100644 --- a/pkg/replication/sync_inspector.go +++ b/pkg/replication/sync_inspector.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/server/auth.go b/pkg/server/auth.go index 1a7659b6f..099fa0829 100644 --- a/pkg/server/auth.go +++ b/pkg/server/auth.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/server/errors.go b/pkg/server/errors.go index 31a34b006..bc1f84ed8 100644 --- a/pkg/server/errors.go +++ b/pkg/server/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/server/handlers.go b/pkg/server/handlers.go index 04715ab22..296ab0a95 100644 --- a/pkg/server/handlers.go +++ b/pkg/server/handlers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/server/handlers_deployment.go b/pkg/server/handlers_deployment.go index 3140e3d2f..6ae8ebb6c 100644 --- a/pkg/server/handlers_deployment.go +++ b/pkg/server/handlers_deployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/server/handlers_replication.go b/pkg/server/handlers_replication.go index 46cb35bc9..5dddc0eaa 100644 --- a/pkg/server/handlers_replication.go +++ b/pkg/server/handlers_replication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/server/handlers_storage.go b/pkg/server/handlers_storage.go index d568d6790..8153b1536 100644 --- a/pkg/server/handlers_storage.go +++ b/pkg/server/handlers_storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/server/server.go b/pkg/server/server.go index 4a9e6dc9e..3bcc0cfba 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/clients.go b/pkg/storage/clients.go index 98c4ab22d..b23a0c900 100644 --- a/pkg/storage/clients.go +++ b/pkg/storage/clients.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/daemon_set.go b/pkg/storage/daemon_set.go index 50381ea32..3f39ef163 100644 --- a/pkg/storage/daemon_set.go +++ b/pkg/storage/daemon_set.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/errors.go b/pkg/storage/errors.go index 2556a0c8d..956c75f5b 100644 --- a/pkg/storage/errors.go +++ b/pkg/storage/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/image.go b/pkg/storage/image.go index 8114076c0..e5412801f 100644 --- a/pkg/storage/image.go +++ b/pkg/storage/image.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/local_storage.go b/pkg/storage/local_storage.go index 5416d24c0..6918bc36f 100644 --- a/pkg/storage/local_storage.go +++ b/pkg/storage/local_storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/api.go b/pkg/storage/provisioner/api.go index 9aa558535..a71dd66f4 100644 --- a/pkg/storage/provisioner/api.go +++ b/pkg/storage/provisioner/api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/client/client.go b/pkg/storage/provisioner/client/client.go index 611f8b5a6..458d4d2d1 100644 --- a/pkg/storage/provisioner/client/client.go +++ b/pkg/storage/provisioner/client/client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/client/errors.go b/pkg/storage/provisioner/client/errors.go index a3a0bb944..39ecf6589 100644 --- a/pkg/storage/provisioner/client/errors.go +++ b/pkg/storage/provisioner/client/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/errors.go b/pkg/storage/provisioner/errors.go index 0afc54c53..d8e773135 100644 --- a/pkg/storage/provisioner/errors.go +++ b/pkg/storage/provisioner/errors.go @@ -1,5 +1,5 @@ // -// Copyright 2017 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // The Programs (which include both the software and documentation) contain // proprietary information of ArangoDB GmbH; they are provided under a license diff --git a/pkg/storage/provisioner/mocks/mocks.go b/pkg/storage/provisioner/mocks/mocks.go index a3feb1728..7dc2d15b8 100644 --- a/pkg/storage/provisioner/mocks/mocks.go +++ b/pkg/storage/provisioner/mocks/mocks.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/mocks/provisioner.go b/pkg/storage/provisioner/mocks/provisioner.go index be3918036..a008a04a5 100644 --- a/pkg/storage/provisioner/mocks/provisioner.go +++ b/pkg/storage/provisioner/mocks/provisioner.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/service/errors.go b/pkg/storage/provisioner/service/errors.go index ee96dfa1b..40c9d6fc2 100644 --- a/pkg/storage/provisioner/service/errors.go +++ b/pkg/storage/provisioner/service/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/service/provisioner.go b/pkg/storage/provisioner/service/provisioner.go index 58e9036fa..23a7eabee 100644 --- a/pkg/storage/provisioner/service/provisioner.go +++ b/pkg/storage/provisioner/service/provisioner.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/provisioner/service/server.go b/pkg/storage/provisioner/service/server.go index 00459eb60..7899de56d 100644 --- a/pkg/storage/provisioner/service/server.go +++ b/pkg/storage/provisioner/service/server.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/pv_cleanup.go b/pkg/storage/pv_cleanup.go index 5d07f0220..6e8e14ee4 100644 --- a/pkg/storage/pv_cleanup.go +++ b/pkg/storage/pv_cleanup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/pv_creator.go b/pkg/storage/pv_creator.go index c8ac17e34..e9376ade2 100644 --- a/pkg/storage/pv_creator.go +++ b/pkg/storage/pv_creator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/pv_creator_test.go b/pkg/storage/pv_creator_test.go index 72ed8af25..ca3d133d7 100644 --- a/pkg/storage/pv_creator_test.go +++ b/pkg/storage/pv_creator_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/pv_informer.go b/pkg/storage/pv_informer.go index 1a18bd6f9..a74f83459 100644 --- a/pkg/storage/pv_informer.go +++ b/pkg/storage/pv_informer.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/pv_inspector.go b/pkg/storage/pv_inspector.go index 14fe12163..0f77d923a 100644 --- a/pkg/storage/pv_inspector.go +++ b/pkg/storage/pv_inspector.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/pvc_informer.go b/pkg/storage/pvc_informer.go index 435652160..a61ae5870 100644 --- a/pkg/storage/pvc_informer.go +++ b/pkg/storage/pvc_informer.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/pvc_inspector.go b/pkg/storage/pvc_inspector.go index 65acd2da1..f68fcfd03 100644 --- a/pkg/storage/pvc_inspector.go +++ b/pkg/storage/pvc_inspector.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/server_api.go b/pkg/storage/server_api.go index ecf3d7a0c..e2402832e 100644 --- a/pkg/storage/server_api.go +++ b/pkg/storage/server_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/server_volume_api.go b/pkg/storage/server_volume_api.go index edb6e7632..174ecf7e0 100644 --- a/pkg/storage/server_volume_api.go +++ b/pkg/storage/server_volume_api.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/service.go b/pkg/storage/service.go index 18901df3c..2d2e4db4e 100644 --- a/pkg/storage/service.go +++ b/pkg/storage/service.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/storage/storage_class.go b/pkg/storage/storage_class.go index bd8e39da4..8cc76a826 100644 --- a/pkg/storage/storage_class.go +++ b/pkg/storage/storage_class.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/cleanout_server.go b/pkg/util/arangod/cleanout_server.go index b464efbb7..67e1c9bf5 100644 --- a/pkg/util/arangod/cleanout_server.go +++ b/pkg/util/arangod/cleanout_server.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/client.go b/pkg/util/arangod/client.go index 78b4e7781..6c4552031 100644 --- a/pkg/util/arangod/client.go +++ b/pkg/util/arangod/client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/cluster.go b/pkg/util/arangod/cluster.go index b4ebbcb9c..049f31354 100644 --- a/pkg/util/arangod/cluster.go +++ b/pkg/util/arangod/cluster.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/dbserver.go b/pkg/util/arangod/dbserver.go index dc5b264b6..6a677bb48 100644 --- a/pkg/util/arangod/dbserver.go +++ b/pkg/util/arangod/dbserver.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/driver_init.go b/pkg/util/arangod/driver_init.go index cd634537d..569431bf4 100644 --- a/pkg/util/arangod/driver_init.go +++ b/pkg/util/arangod/driver_init.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/endpoint.go b/pkg/util/arangod/endpoint.go index 61a37f6d6..8fead3fe7 100644 --- a/pkg/util/arangod/endpoint.go +++ b/pkg/util/arangod/endpoint.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/error.go b/pkg/util/arangod/error.go index b87e57ac4..e740ab70e 100644 --- a/pkg/util/arangod/error.go +++ b/pkg/util/arangod/error.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangod/options/options.go b/pkg/util/arangod/options/options.go index 15ecdb8c8..339065907 100644 --- a/pkg/util/arangod/options/options.go +++ b/pkg/util/arangod/options/options.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/arangosync/options/options.go b/pkg/util/arangosync/options/options.go index 43f1d4550..071a32479 100644 --- a/pkg/util/arangosync/options/options.go +++ b/pkg/util/arangosync/options/options.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/constants/constants.go b/pkg/util/constants/constants.go index 80642d572..9f5f608cf 100644 --- a/pkg/util/constants/constants.go +++ b/pkg/util/constants/constants.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/crd/crd.go b/pkg/util/crd/crd.go index 67bfd634e..e4632c1ca 100644 --- a/pkg/util/crd/crd.go +++ b/pkg/util/crd/crd.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/crd/errors.go b/pkg/util/crd/errors.go index c9c778d0f..59e692a66 100644 --- a/pkg/util/crd/errors.go +++ b/pkg/util/crd/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/errors/errors.go b/pkg/util/errors/errors.go index 6ec185bcc..875706c77 100644 --- a/pkg/util/errors/errors.go +++ b/pkg/util/errors/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/interval.go b/pkg/util/interval.go index de549de10..e4d0c5693 100644 --- a/pkg/util/interval.go +++ b/pkg/util/interval.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/affinity.go b/pkg/util/k8sutil/affinity.go index 8a3b1864b..c874c5046 100644 --- a/pkg/util/k8sutil/affinity.go +++ b/pkg/util/k8sutil/affinity.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/affinity_test.go b/pkg/util/k8sutil/affinity_test.go index fa9c04663..351b28ee2 100644 --- a/pkg/util/k8sutil/affinity_test.go +++ b/pkg/util/k8sutil/affinity_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/annotations.go b/pkg/util/k8sutil/annotations.go index 756db0879..95e8b50fe 100644 --- a/pkg/util/k8sutil/annotations.go +++ b/pkg/util/k8sutil/annotations.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/client.go b/pkg/util/k8sutil/client.go index 44829944d..73c4baa8c 100644 --- a/pkg/util/k8sutil/client.go +++ b/pkg/util/k8sutil/client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/constants.go b/pkg/util/k8sutil/constants.go index 807d26184..d0799caf0 100644 --- a/pkg/util/k8sutil/constants.go +++ b/pkg/util/k8sutil/constants.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/container.go b/pkg/util/k8sutil/container.go index ee33d930a..42db1891a 100644 --- a/pkg/util/k8sutil/container.go +++ b/pkg/util/k8sutil/container.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/dns.go b/pkg/util/k8sutil/dns.go index 3356d2202..2ea0716ed 100644 --- a/pkg/util/k8sutil/dns.go +++ b/pkg/util/k8sutil/dns.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/dns_test.go b/pkg/util/k8sutil/dns_test.go index 4ac0bc1f0..720f6abdf 100644 --- a/pkg/util/k8sutil/dns_test.go +++ b/pkg/util/k8sutil/dns_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/errors.go b/pkg/util/k8sutil/errors.go index 7f2a5e034..52a2f76d7 100644 --- a/pkg/util/k8sutil/errors.go +++ b/pkg/util/k8sutil/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/errors_test.go b/pkg/util/k8sutil/errors_test.go index 54c3e474f..f39e1beba 100644 --- a/pkg/util/k8sutil/errors_test.go +++ b/pkg/util/k8sutil/errors_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/events.go b/pkg/util/k8sutil/events.go index c61af0b14..868a285b6 100644 --- a/pkg/util/k8sutil/events.go +++ b/pkg/util/k8sutil/events.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/finalizers.go b/pkg/util/k8sutil/finalizers.go index 836329584..bc96a739b 100644 --- a/pkg/util/k8sutil/finalizers.go +++ b/pkg/util/k8sutil/finalizers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/images.go b/pkg/util/k8sutil/images.go index 8e606de5a..2da74a90e 100644 --- a/pkg/util/k8sutil/images.go +++ b/pkg/util/k8sutil/images.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/informer.go b/pkg/util/k8sutil/informer.go index 6e59b1ef8..9356f6ef5 100644 --- a/pkg/util/k8sutil/informer.go +++ b/pkg/util/k8sutil/informer.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/lifecycle.go b/pkg/util/k8sutil/lifecycle.go index cca4b23b3..bfebf0793 100644 --- a/pkg/util/k8sutil/lifecycle.go +++ b/pkg/util/k8sutil/lifecycle.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/map.go b/pkg/util/k8sutil/map.go index 923eb7631..fd1c6ebd7 100644 --- a/pkg/util/k8sutil/map.go +++ b/pkg/util/k8sutil/map.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/names.go b/pkg/util/k8sutil/names.go index 694653062..e347ab5f7 100644 --- a/pkg/util/k8sutil/names.go +++ b/pkg/util/k8sutil/names.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/names_test.go b/pkg/util/k8sutil/names_test.go index aede01d31..3d0139ab1 100644 --- a/pkg/util/k8sutil/names_test.go +++ b/pkg/util/k8sutil/names_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/owner.go b/pkg/util/k8sutil/owner.go index 3afed9723..7ca84df94 100644 --- a/pkg/util/k8sutil/owner.go +++ b/pkg/util/k8sutil/owner.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/pods.go b/pkg/util/k8sutil/pods.go index eaaa2ac8b..a7af901a8 100644 --- a/pkg/util/k8sutil/pods.go +++ b/pkg/util/k8sutil/pods.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/pods_test.go b/pkg/util/k8sutil/pods_test.go index 2c909e3ee..bb525958d 100644 --- a/pkg/util/k8sutil/pods_test.go +++ b/pkg/util/k8sutil/pods_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/probes.go b/pkg/util/k8sutil/probes.go index 222c76162..b5a05d5fc 100644 --- a/pkg/util/k8sutil/probes.go +++ b/pkg/util/k8sutil/probes.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/probes_test.go b/pkg/util/k8sutil/probes_test.go index 26883206c..d0b41a3de 100644 --- a/pkg/util/k8sutil/probes_test.go +++ b/pkg/util/k8sutil/probes_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/pvc.go b/pkg/util/k8sutil/pvc.go index b12d6a6bf..9076b891d 100644 --- a/pkg/util/k8sutil/pvc.go +++ b/pkg/util/k8sutil/pvc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/pvc_cache.go b/pkg/util/k8sutil/pvc_cache.go index 6ef772b48..9e3f344b7 100644 --- a/pkg/util/k8sutil/pvc_cache.go +++ b/pkg/util/k8sutil/pvc_cache.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/secrets.go b/pkg/util/k8sutil/secrets.go index e82c6d93a..40d6966d1 100644 --- a/pkg/util/k8sutil/secrets.go +++ b/pkg/util/k8sutil/secrets.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/secrets_cache.go b/pkg/util/k8sutil/secrets_cache.go index 0cf4ac909..d407a0c1d 100644 --- a/pkg/util/k8sutil/secrets_cache.go +++ b/pkg/util/k8sutil/secrets_cache.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/secrets_test.go b/pkg/util/k8sutil/secrets_test.go index febca7c09..425cf8d0a 100644 --- a/pkg/util/k8sutil/secrets_test.go +++ b/pkg/util/k8sutil/secrets_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/services.go b/pkg/util/k8sutil/services.go index e250fa900..bd5a0ea9f 100644 --- a/pkg/util/k8sutil/services.go +++ b/pkg/util/k8sutil/services.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/services_cache.go b/pkg/util/k8sutil/services_cache.go index f35b134af..a6570d709 100644 --- a/pkg/util/k8sutil/services_cache.go +++ b/pkg/util/k8sutil/services_cache.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/storageclass.go b/pkg/util/k8sutil/storageclass.go index 5b59b86e8..a89dd099a 100644 --- a/pkg/util/k8sutil/storageclass.go +++ b/pkg/util/k8sutil/storageclass.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/storageclass_test.go b/pkg/util/k8sutil/storageclass_test.go index 3db55ef09..ae62b04e1 100644 --- a/pkg/util/k8sutil/storageclass_test.go +++ b/pkg/util/k8sutil/storageclass_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/test/doc.go b/pkg/util/k8sutil/test/doc.go index e5c774f9b..ee78e32e8 100644 --- a/pkg/util/k8sutil/test/doc.go +++ b/pkg/util/k8sutil/test/doc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/test/events_test.go b/pkg/util/k8sutil/test/events_test.go index e126ee959..2ac6e0782 100644 --- a/pkg/util/k8sutil/test/events_test.go +++ b/pkg/util/k8sutil/test/events_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/tolerations.go b/pkg/util/k8sutil/tolerations.go index 9609c186a..f68e61b03 100644 --- a/pkg/util/k8sutil/tolerations.go +++ b/pkg/util/k8sutil/tolerations.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/util.go b/pkg/util/k8sutil/util.go index 0ac079557..69d277a44 100644 --- a/pkg/util/k8sutil/util.go +++ b/pkg/util/k8sutil/util.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/k8sutil/util_test.go b/pkg/util/k8sutil/util_test.go index 91728c5bf..2bc9f1ee4 100644 --- a/pkg/util/k8sutil/util_test.go +++ b/pkg/util/k8sutil/util_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/probe/liveness.go b/pkg/util/probe/liveness.go index 57a747088..88a6c2d88 100644 --- a/pkg/util/probe/liveness.go +++ b/pkg/util/probe/liveness.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/probe/liveness_test.go b/pkg/util/probe/liveness_test.go index 1dcd3dee4..e76d9d7c2 100644 --- a/pkg/util/probe/liveness_test.go +++ b/pkg/util/probe/liveness_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/probe/ready.go b/pkg/util/probe/ready.go index 368e5feed..9a3e20133 100644 --- a/pkg/util/probe/ready.go +++ b/pkg/util/probe/ready.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/profiler/profiler.go b/pkg/util/profiler/profiler.go index 5053c02a3..41cd5ffeb 100644 --- a/pkg/util/profiler/profiler.go +++ b/pkg/util/profiler/profiler.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/refs.go b/pkg/util/refs.go index 2852fa0b0..e33cdfd68 100644 --- a/pkg/util/refs.go +++ b/pkg/util/refs.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/retry/retry.go b/pkg/util/retry/retry.go index f3db35c13..9219fbc2a 100644 --- a/pkg/util/retry/retry.go +++ b/pkg/util/retry/retry.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/times.go b/pkg/util/times.go index ca074fdf2..31df3c2a7 100644 --- a/pkg/util/times.go +++ b/pkg/util/times.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/trigger/trigger.go b/pkg/util/trigger/trigger.go index a330521a7..0b720a90c 100644 --- a/pkg/util/trigger/trigger.go +++ b/pkg/util/trigger/trigger.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/validation/dns_name.go b/pkg/util/validation/dns_name.go index 835bec0ee..2fe5f0f34 100644 --- a/pkg/util/validation/dns_name.go +++ b/pkg/util/validation/dns_name.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/validation/dns_name_test.go b/pkg/util/validation/dns_name_test.go index 7847f8536..ef4aa6d18 100644 --- a/pkg/util/validation/dns_name_test.go +++ b/pkg/util/validation/dns_name_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/validation/email_address.go b/pkg/util/validation/email_address.go index 948e72800..fcbdd4094 100644 --- a/pkg/util/validation/email_address.go +++ b/pkg/util/validation/email_address.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/util/validation/email_address_test.go b/pkg/util/validation/email_address_test.go index e55a107b1..1f68349ad 100644 --- a/pkg/util/validation/email_address_test.go +++ b/pkg/util/validation/email_address_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reboot.go b/reboot.go index a2c51bdae..9eb5f6b79 100644 --- a/reboot.go +++ b/reboot.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/scripts/patch_examples.sh b/scripts/patch_examples.sh new file mode 100755 index 000000000..34d609c47 --- /dev/null +++ b/scripts/patch_examples.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# Updates examples to match current version. + +VERSION=$1 + +if [ -z $VERSION ]; then + echo "Specify a version argument" + exit 1 +fi + +ARANGODB_VERSION=3.6.1 + +function replaceInFile { + local EXPR=$1 + local FILE=$2 + case $(uname) in + Darwin) + sed -E -e "${EXPR}" -i "" ${FILE} + ;; + *) + sed -E -i --expression "${EXPR}" ${FILE} + ;; + esac +} + +FILES=$(find ./examples -type f -name '*.yaml') + +for FILE in ${FILES}; do + replaceInFile "s@arangodb/arangodb:[0-9]+\\.[0-9]+\\.[0-9]+@arangodb/arangodb:${ARANGODB_VERSION}@g" ${FILE} + replaceInFile "s@arangodb/enterprise:[0-9]+\\.[0-9]+\\.[0-9]+@arangodb/enterprise:${ARANGODB_VERSION}@g" ${FILE} + replaceInFile "s@arangodb/kube-arangodb:[0-9]+\\.[0-9]+\\.[0-9]+@arangodb/kube-arangodb:${VERSION}@g" ${FILE} +done \ No newline at end of file diff --git a/storage.go b/storage.go index 860bbc047..012add478 100644 --- a/storage.go +++ b/storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/annotations_test.go b/tests/annotations_test.go index 58dab4e4b..207c032a6 100644 --- a/tests/annotations_test.go +++ b/tests/annotations_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/auth_test.go b/tests/auth_test.go index e1b41a20b..d2eccb57e 100644 --- a/tests/auth_test.go +++ b/tests/auth_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/backup_test.go b/tests/backup_test.go index 93a6cd188..01e126a80 100644 --- a/tests/backup_test.go +++ b/tests/backup_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/change_args_test.go b/tests/change_args_test.go index 7a6892def..628e34322 100644 --- a/tests/change_args_test.go +++ b/tests/change_args_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/cursor_test.go b/tests/cursor_test.go index 26023b1cf..dfbed0187 100644 --- a/tests/cursor_test.go +++ b/tests/cursor_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/db_util.go b/tests/db_util.go index 49a48ba8d..dde28f9d5 100644 --- a/tests/db_util.go +++ b/tests/db_util.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/deployments_test.go b/tests/deployments_test.go index 1d58fc251..faaee7c43 100644 --- a/tests/deployments_test.go +++ b/tests/deployments_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/main.go b/tests/duration/main.go index 2ddfc0b6f..f11e4fe02 100644 --- a/tests/duration/main.go +++ b/tests/duration/main.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/check.go b/tests/duration/simple/check.go index ea769eeef..fb2239223 100644 --- a/tests/duration/simple/check.go +++ b/tests/duration/simple/check.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/error.go b/tests/duration/simple/error.go index cf34f2807..f40dc6621 100644 --- a/tests/duration/simple/error.go +++ b/tests/duration/simple/error.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple.go b/tests/duration/simple/simple.go index 053ac6301..7d8b048c4 100644 --- a/tests/duration/simple/simple.go +++ b/tests/duration/simple/simple.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_collection.go b/tests/duration/simple/simple_collection.go index 71ddaab0c..123d6d6b1 100644 --- a/tests/duration/simple/simple_collection.go +++ b/tests/duration/simple/simple_collection.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_create.go b/tests/duration/simple/simple_create.go index af5ce6bb5..c55548db7 100644 --- a/tests/duration/simple/simple_create.go +++ b/tests/duration/simple/simple_create.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_import.go b/tests/duration/simple/simple_import.go index 02dcaeb8d..4396de698 100644 --- a/tests/duration/simple/simple_import.go +++ b/tests/duration/simple/simple_import.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_query.go b/tests/duration/simple/simple_query.go index 9757bb93e..984b866c6 100644 --- a/tests/duration/simple/simple_query.go +++ b/tests/duration/simple/simple_query.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_query_update.go b/tests/duration/simple/simple_query_update.go index 059d83001..4fd69eb88 100644 --- a/tests/duration/simple/simple_query_update.go +++ b/tests/duration/simple/simple_query_update.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_read.go b/tests/duration/simple/simple_read.go index 131d0b15f..831576eb1 100644 --- a/tests/duration/simple/simple_read.go +++ b/tests/duration/simple/simple_read.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_rebalance.go b/tests/duration/simple/simple_rebalance.go index 330a32afa..205ab74b8 100644 --- a/tests/duration/simple/simple_rebalance.go +++ b/tests/duration/simple/simple_rebalance.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_remove.go b/tests/duration/simple/simple_remove.go index 17cd5e518..b2e38764d 100644 --- a/tests/duration/simple/simple_remove.go +++ b/tests/duration/simple/simple_remove.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_replace.go b/tests/duration/simple/simple_replace.go index 852968d6f..3a662a057 100644 --- a/tests/duration/simple/simple_replace.go +++ b/tests/duration/simple/simple_replace.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/simple/simple_update.go b/tests/duration/simple/simple_update.go index b8f3f9d63..042f00bc4 100644 --- a/tests/duration/simple/simple_update.go +++ b/tests/duration/simple/simple_update.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/test/shuffle.go b/tests/duration/test/shuffle.go index 98892f167..1451751e9 100644 --- a/tests/duration/test/shuffle.go +++ b/tests/duration/test/shuffle.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/test/test.go b/tests/duration/test/test.go index b99c5639e..1206cfd6c 100644 --- a/tests/duration/test/test.go +++ b/tests/duration/test/test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/test_listener.go b/tests/duration/test_listener.go index 8e141fd26..e330d4d5e 100644 --- a/tests/duration/test_listener.go +++ b/tests/duration/test_listener.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/duration/test_loop.go b/tests/duration/test_loop.go index acdbaaa9f..50bc6667d 100644 --- a/tests/duration/test_loop.go +++ b/tests/duration/test_loop.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/environments_test.go b/tests/environments_test.go index ec919af73..b372c670f 100644 --- a/tests/environments_test.go +++ b/tests/environments_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/immutable_test.go b/tests/immutable_test.go index d582bf336..b36cddab1 100644 --- a/tests/immutable_test.go +++ b/tests/immutable_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/load_balancer_source_ranges_test.go b/tests/load_balancer_source_ranges_test.go index 587d03830..19632f12e 100644 --- a/tests/load_balancer_source_ranges_test.go +++ b/tests/load_balancer_source_ranges_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/load_balancer_test.go b/tests/load_balancer_test.go index baa815028..8654733a4 100644 --- a/tests/load_balancer_test.go +++ b/tests/load_balancer_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/member_resilience_test.go b/tests/member_resilience_test.go index c049285b3..bba0a90d0 100644 --- a/tests/member_resilience_test.go +++ b/tests/member_resilience_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/metrics_test.go b/tests/metrics_test.go index d82f624f7..f4e8c1585 100644 --- a/tests/metrics_test.go +++ b/tests/metrics_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/persistent_volumes_test.go b/tests/persistent_volumes_test.go index 16beeaf22..5d3909fae 100644 --- a/tests/persistent_volumes_test.go +++ b/tests/persistent_volumes_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/predicates.go b/tests/predicates.go index 0393f9862..2dc319d1b 100644 --- a/tests/predicates.go +++ b/tests/predicates.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/prepull_image_util.go b/tests/prepull_image_util.go index 5c82bcf4a..9c1540f59 100644 --- a/tests/prepull_image_util.go +++ b/tests/prepull_image_util.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/resilience_test.go b/tests/resilience_test.go index d24208450..90465ae80 100644 --- a/tests/resilience_test.go +++ b/tests/resilience_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/resources_test.go b/tests/resources_test.go index a8a241a11..2d42ce20a 100644 --- a/tests/resources_test.go +++ b/tests/resources_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/rocksdb_encryption_test.go b/tests/rocksdb_encryption_test.go index d3d6d8bdf..d4ac97466 100644 --- a/tests/rocksdb_encryption_test.go +++ b/tests/rocksdb_encryption_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/scale_test.go b/tests/scale_test.go index 48455289c..0fbf20a66 100644 --- a/tests/scale_test.go +++ b/tests/scale_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/secret_hashes_test.go b/tests/secret_hashes_test.go index 7fbf4de97..9122e48ad 100644 --- a/tests/secret_hashes_test.go +++ b/tests/secret_hashes_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/service_account_test.go b/tests/service_account_test.go index 460bf12ce..ff8be6adb 100644 --- a/tests/service_account_test.go +++ b/tests/service_account_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/sidecar_test.go b/tests/sidecar_test.go index b431038b6..06d01abf3 100644 --- a/tests/sidecar_test.go +++ b/tests/sidecar_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/simple_test.go b/tests/simple_test.go index e0769b928..99a73682e 100644 --- a/tests/simple_test.go +++ b/tests/simple_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/sync_test.go b/tests/sync_test.go index e06cbdb83..27a94dbbe 100644 --- a/tests/sync_test.go +++ b/tests/sync_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/test_util.go b/tests/test_util.go index 30b2ae951..d02ca6319 100644 --- a/tests/test_util.go +++ b/tests/test_util.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/upgrade_test.go b/tests/upgrade_test.go index 598ec375d..492098b9a 100644 --- a/tests/upgrade_test.go +++ b/tests/upgrade_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tools/codegen/boilerplate.go.txt b/tools/codegen/boilerplate.go.txt index d064ce3d7..1b6658e85 100644 --- a/tools/codegen/boilerplate.go.txt +++ b/tools/codegen/boilerplate.go.txt @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tools/manifests/manifest_builder.go b/tools/manifests/manifest_builder.go index 798dfe555..27a453349 100644 --- a/tools/manifests/manifest_builder.go +++ b/tools/manifests/manifest_builder.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tools/release/release.go b/tools/release/release.go index ddd479caa..2d777a35d 100644 --- a/tools/release/release.go +++ b/tools/release/release.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2018 ArangoDB GmbH, Cologne, Germany +// Copyright 2020 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,7 +67,7 @@ func main() { fmt.Sprintf("kube-arangodb-crd-%s.tgz", version): fmt.Sprintf("charts/kube-arangodb-crd-%s.tgz", version), } make("clean", nil) - make("patch-readme", nil) + make("patch-release", nil) make("patch-chart", map[string]string{ "ALLOWCHAOS": "false", "DOCKERNAMESPACE": "arangodb",