From c101b99a9840ce87a707bf9e8ae68f8b2fc2c987 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 15 Apr 2020 15:13:21 -0400 Subject: [PATCH] Added copyright Change-Id: I166083e2dc5d4c25d198c1d945b3ad7e031ad913 --- api/dns/v1/designate_type.go | 14 +++++++++++ api/dns/v1/groupversion_info.go | 15 +++++++++++- api/dns/v1/zone_type.go | 14 +++++++++++ api/dns/v1/zz_generated.deepcopy.go | 28 ++++++++++------------ api/monitoring/v1/groupversion_info.go | 15 +++++++++++- api/monitoring/v1/monitor_types.go | 14 +++++++++++ api/monitoring/v1/zz_generated.deepcopy.go | 28 ++++++++++------------ api/v1alpha1/groupversion_info.go | 15 +++++++++++- api/v1alpha1/mcrouter_types.go | 14 +++++++++++ api/v1alpha1/memcached_types.go | 14 +++++++++++ api/v1alpha1/rabbitmq_type.go | 14 +++++++++++ api/v1alpha1/zz_generated.deepcopy.go | 28 ++++++++++------------ builders/config_map.go | 14 +++++++++++ builders/container.go | 14 +++++++++++ builders/deployment.go | 14 +++++++++++ builders/mcrouter.go | 14 +++++++++++ builders/mcrouter_pool_spec.go | 14 +++++++++++ builders/pod_metrics_endpoint.go | 14 +++++++++++ builders/pod_monitor.go | 14 +++++++++++ builders/pod_spec.go | 14 +++++++++++ builders/pod_template_spec.go | 14 +++++++++++ builders/prometheus_rule.go | 14 +++++++++++ builders/pvc.go | 14 +++++++++++ builders/rule.go | 14 +++++++++++ builders/rule_group.go | 14 +++++++++++ builders/secret.go | 14 +++++++++++ builders/security_context.go | 14 +++++++++++ builders/service.go | 14 +++++++++++ builders/statefulset.go | 14 +++++++++++ builders/volume.go | 14 +++++++++++ builders/zone.go | 14 +++++++++++ controllers/designate_controller.go | 14 +++++++++++ controllers/mcrouter_controller.go | 14 +++++++++++ controllers/memcached_controller.go | 28 ++++++++++------------ controllers/rabbitmq_controller.go | 14 +++++++++++ controllers/zone_controller.go | 14 +++++++++++ hack/boilerplate.go.txt | 28 ++++++++++------------ hack/update-zuul-jobs.py | 14 +++++++++++ images/mcrouter-exporter/Dockerfile | 17 ++++++++++++- images/mcrouter/Dockerfile | 15 ++++++++++++ images/memcached-exporter/Dockerfile | 17 ++++++++++++- images/memcached/Dockerfile | 17 ++++++++++++- images/openstack-operator/Dockerfile | 15 ++++++++++++ images/rabbitmq/Dockerfile | 15 ++++++++++++ playbooks/functional/devstack.yaml | 16 +++++++++++++ playbooks/functional/post.yaml | 18 +++++++++++++- playbooks/functional/pre.yaml | 17 ++++++++++++- playbooks/functional/run.yaml | 18 +++++++++++++- playbooks/functional/tests/memcached.yaml | 18 +++++++++++++- playbooks/functional/tests/rabbitmq.yaml | 16 +++++++++++++ utils/baseutils/codec.go | 14 +++++++++++ utils/baseutils/map.go | 14 +++++++++++ utils/baseutils/map_test.go | 14 +++++++++++ utils/baseutils/slice.go | 14 +++++++++++ utils/k8sutils/kubernetes.go | 14 +++++++++++ utils/openstackutils/designate.go | 14 +++++++++++ utils/tlsutils/tls.go | 14 +++++++++++ version/main.go | 14 +++++++++++ 58 files changed, 831 insertions(+), 85 deletions(-) diff --git a/api/dns/v1/designate_type.go b/api/dns/v1/designate_type.go index e63ad006..3922441d 100644 --- a/api/dns/v1/designate_type.go +++ b/api/dns/v1/designate_type.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 import ( diff --git a/api/dns/v1/groupversion_info.go b/api/dns/v1/groupversion_info.go index 19003430..f202243f 100644 --- a/api/dns/v1/groupversion_info.go +++ b/api/dns/v1/groupversion_info.go @@ -1,4 +1,17 @@ -// Package v1 contains API Schema definitions for the infrastructure v1 API group +// Copyright 2020 VEXXHOST, Inc. +// +// 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. + // +kubebuilder:object:generate=true // +groupName=dns.openstack.org package v1 diff --git a/api/dns/v1/zone_type.go b/api/dns/v1/zone_type.go index 98210a2f..46aa1343 100644 --- a/api/dns/v1/zone_type.go +++ b/api/dns/v1/zone_type.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 import ( diff --git a/api/dns/v1/zz_generated.deepcopy.go b/api/dns/v1/zz_generated.deepcopy.go index 33904c33..0496df54 100644 --- a/api/dns/v1/zz_generated.deepcopy.go +++ b/api/dns/v1/zz_generated.deepcopy.go @@ -1,20 +1,18 @@ // +build !ignore_autogenerated -/* - - -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 2020 VEXXHOST, Inc. +// +// 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. // Code generated by controller-gen. DO NOT EDIT. diff --git a/api/monitoring/v1/groupversion_info.go b/api/monitoring/v1/groupversion_info.go index e5ab3884..1063d429 100755 --- a/api/monitoring/v1/groupversion_info.go +++ b/api/monitoring/v1/groupversion_info.go @@ -1,4 +1,17 @@ -// Package v1 contains API Schema definitions for the infrastructure v1 API group +// Copyright 2020 VEXXHOST, Inc. +// +// 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. + // +kubebuilder:object:generate=true // +groupName=monitoring.coreos.com package v1 diff --git a/api/monitoring/v1/monitor_types.go b/api/monitoring/v1/monitor_types.go index bd84d3a3..6064a319 100755 --- a/api/monitoring/v1/monitor_types.go +++ b/api/monitoring/v1/monitor_types.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1 import ( diff --git a/api/monitoring/v1/zz_generated.deepcopy.go b/api/monitoring/v1/zz_generated.deepcopy.go index 0f157ebf..2f0234fb 100755 --- a/api/monitoring/v1/zz_generated.deepcopy.go +++ b/api/monitoring/v1/zz_generated.deepcopy.go @@ -1,20 +1,18 @@ // +build !ignore_autogenerated -/* - - -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 2020 VEXXHOST, Inc. +// +// 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. // Code generated by controller-gen. DO NOT EDIT. diff --git a/api/v1alpha1/groupversion_info.go b/api/v1alpha1/groupversion_info.go index 011fc520..d1cfc6fd 100755 --- a/api/v1alpha1/groupversion_info.go +++ b/api/v1alpha1/groupversion_info.go @@ -1,4 +1,17 @@ -// Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +// Copyright 2020 VEXXHOST, Inc. +// +// 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. + // +kubebuilder:object:generate=true // +groupName=infrastructure.vexxhost.cloud package v1alpha1 diff --git a/api/v1alpha1/mcrouter_types.go b/api/v1alpha1/mcrouter_types.go index bed530ae..182553f1 100755 --- a/api/v1alpha1/mcrouter_types.go +++ b/api/v1alpha1/mcrouter_types.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1alpha1 import ( diff --git a/api/v1alpha1/memcached_types.go b/api/v1alpha1/memcached_types.go index 56daa6f8..3e7212d6 100755 --- a/api/v1alpha1/memcached_types.go +++ b/api/v1alpha1/memcached_types.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1alpha1 import ( diff --git a/api/v1alpha1/rabbitmq_type.go b/api/v1alpha1/rabbitmq_type.go index 076db043..a0b340b4 100644 --- a/api/v1alpha1/rabbitmq_type.go +++ b/api/v1alpha1/rabbitmq_type.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package v1alpha1 import ( diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index 7b57f29d..281d1dd2 100755 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -1,20 +1,18 @@ // +build !ignore_autogenerated -/* - - -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 2020 VEXXHOST, Inc. +// +// 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. // Code generated by controller-gen. DO NOT EDIT. diff --git a/builders/config_map.go b/builders/config_map.go index 7604ced6..0a3fb3a5 100755 --- a/builders/config_map.go +++ b/builders/config_map.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/container.go b/builders/container.go index 1ed8423c..d4e2b45d 100755 --- a/builders/container.go +++ b/builders/container.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/deployment.go b/builders/deployment.go index 71b5e870..8c13ca17 100755 --- a/builders/deployment.go +++ b/builders/deployment.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/mcrouter.go b/builders/mcrouter.go index 70866e99..15daedbb 100644 --- a/builders/mcrouter.go +++ b/builders/mcrouter.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/mcrouter_pool_spec.go b/builders/mcrouter_pool_spec.go index 8af78799..bdfa75da 100644 --- a/builders/mcrouter_pool_spec.go +++ b/builders/mcrouter_pool_spec.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/pod_metrics_endpoint.go b/builders/pod_metrics_endpoint.go index df631f6a..1178f36c 100755 --- a/builders/pod_metrics_endpoint.go +++ b/builders/pod_metrics_endpoint.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/pod_monitor.go b/builders/pod_monitor.go index a471b674..5ee5a959 100755 --- a/builders/pod_monitor.go +++ b/builders/pod_monitor.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/pod_spec.go b/builders/pod_spec.go index 07c0fc13..77323c65 100755 --- a/builders/pod_spec.go +++ b/builders/pod_spec.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/pod_template_spec.go b/builders/pod_template_spec.go index 9ee939a5..47b928ff 100755 --- a/builders/pod_template_spec.go +++ b/builders/pod_template_spec.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/prometheus_rule.go b/builders/prometheus_rule.go index 01f444f6..6383d9cc 100755 --- a/builders/prometheus_rule.go +++ b/builders/prometheus_rule.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/pvc.go b/builders/pvc.go index 688f5e89..f7ea5ec1 100644 --- a/builders/pvc.go +++ b/builders/pvc.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/rule.go b/builders/rule.go index d8bcf96a..1a8fd8b3 100755 --- a/builders/rule.go +++ b/builders/rule.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/rule_group.go b/builders/rule_group.go index a7fffc66..414748f6 100755 --- a/builders/rule_group.go +++ b/builders/rule_group.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/secret.go b/builders/secret.go index 03e95fab..75574a4d 100644 --- a/builders/secret.go +++ b/builders/secret.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/security_context.go b/builders/security_context.go index b97af485..310f331f 100755 --- a/builders/security_context.go +++ b/builders/security_context.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/service.go b/builders/service.go index c76d7aba..444f6605 100755 --- a/builders/service.go +++ b/builders/service.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/statefulset.go b/builders/statefulset.go index 3233115d..41152a45 100644 --- a/builders/statefulset.go +++ b/builders/statefulset.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/volume.go b/builders/volume.go index a9bc9fd6..20876b10 100755 --- a/builders/volume.go +++ b/builders/volume.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/builders/zone.go b/builders/zone.go index 968670a7..24f05864 100644 --- a/builders/zone.go +++ b/builders/zone.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package builders import ( diff --git a/controllers/designate_controller.go b/controllers/designate_controller.go index f9cd4cab..a1eaf0b0 100644 --- a/controllers/designate_controller.go +++ b/controllers/designate_controller.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/controllers/mcrouter_controller.go b/controllers/mcrouter_controller.go index be7e58a5..3d606cab 100755 --- a/controllers/mcrouter_controller.go +++ b/controllers/mcrouter_controller.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/controllers/memcached_controller.go b/controllers/memcached_controller.go index c6c77aed..2945375a 100755 --- a/controllers/memcached_controller.go +++ b/controllers/memcached_controller.go @@ -1,18 +1,16 @@ -/* - - -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 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package controllers diff --git a/controllers/rabbitmq_controller.go b/controllers/rabbitmq_controller.go index b700cba3..1874d15b 100644 --- a/controllers/rabbitmq_controller.go +++ b/controllers/rabbitmq_controller.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/controllers/zone_controller.go b/controllers/zone_controller.go index a5a37ac9..dc2261b8 100644 --- a/controllers/zone_controller.go +++ b/controllers/zone_controller.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package controllers import ( diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt index 767efde9..3824ee71 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate.go.txt @@ -1,15 +1,13 @@ -/* - - -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. -*/ \ No newline at end of file +// Copyright 2020 VEXXHOST, Inc. +// +// 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. diff --git a/hack/update-zuul-jobs.py b/hack/update-zuul-jobs.py index 3e55a492..372e02b2 100755 --- a/hack/update-zuul-jobs.py +++ b/hack/update-zuul-jobs.py @@ -1,5 +1,19 @@ #!/usr/bin/env python +# Copyright 2020 VEXXHOST, Inc. +# +# 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. + import copy import os import sys diff --git a/images/mcrouter-exporter/Dockerfile b/images/mcrouter-exporter/Dockerfile index 66c8a244..83165d20 100644 --- a/images/mcrouter-exporter/Dockerfile +++ b/images/mcrouter-exporter/Dockerfile @@ -1,3 +1,18 @@ +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + FROM golang:1.13 AS builder RUN go get -v -u github.com/Dev25/mcrouter_exporter && \ cd $GOPATH/src/github.com/Dev25/mcrouter_exporter && \ @@ -6,4 +21,4 @@ RUN go get -v -u github.com/Dev25/mcrouter_exporter && \ FROM scratch COPY --from=builder /app /mcrouter_exporter EXPOSE 9442 -ENTRYPOINT ["/mcrouter_exporter"] \ No newline at end of file +ENTRYPOINT ["/mcrouter_exporter"] diff --git a/images/mcrouter/Dockerfile b/images/mcrouter/Dockerfile index 7b8f1e08..f8e3fc48 100644 --- a/images/mcrouter/Dockerfile +++ b/images/mcrouter/Dockerfile @@ -1,3 +1,18 @@ +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + FROM ubuntu:bionic RUN groupadd -r mcrouter \ && useradd -r -g mcrouter mcrouter diff --git a/images/memcached-exporter/Dockerfile b/images/memcached-exporter/Dockerfile index 74a8b5c4..122aa7d5 100644 --- a/images/memcached-exporter/Dockerfile +++ b/images/memcached-exporter/Dockerfile @@ -1 +1,16 @@ -FROM prom/memcached-exporter:latest \ No newline at end of file +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + +FROM prom/memcached-exporter:latest diff --git a/images/memcached/Dockerfile b/images/memcached/Dockerfile index 8d8dd192..d630c09f 100644 --- a/images/memcached/Dockerfile +++ b/images/memcached/Dockerfile @@ -1 +1,16 @@ -FROM memcached:latest \ No newline at end of file +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + +FROM memcached:latest diff --git a/images/openstack-operator/Dockerfile b/images/openstack-operator/Dockerfile index 37bb4e07..4df9ef0f 100644 --- a/images/openstack-operator/Dockerfile +++ b/images/openstack-operator/Dockerfile @@ -1,3 +1,18 @@ +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + # Build-time arguments ARG REV=latest diff --git a/images/rabbitmq/Dockerfile b/images/rabbitmq/Dockerfile index 094319aa..e01ba5dc 100644 --- a/images/rabbitmq/Dockerfile +++ b/images/rabbitmq/Dockerfile @@ -1,3 +1,18 @@ +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + FROM rabbitmq:latest RUN rabbitmq-plugins enable --offline rabbitmq_prometheus && \ rabbitmq-plugins enable --offline rabbitmq_management && \ diff --git a/playbooks/functional/devstack.yaml b/playbooks/functional/devstack.yaml index 73063f38..4205f206 100644 --- a/playbooks/functional/devstack.yaml +++ b/playbooks/functional/devstack.yaml @@ -1,3 +1,19 @@ +--- +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + - hosts: all tasks: - name: Get Memcached IP address diff --git a/playbooks/functional/post.yaml b/playbooks/functional/post.yaml index 5b366979..c534f2b0 100755 --- a/playbooks/functional/post.yaml +++ b/playbooks/functional/post.yaml @@ -1,4 +1,20 @@ +--- +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + - hosts: all roles: - collect-container-logs - - collect-kubernetes-logs \ No newline at end of file + - collect-kubernetes-logs diff --git a/playbooks/functional/pre.yaml b/playbooks/functional/pre.yaml index afcbabfc..73fd86fd 100644 --- a/playbooks/functional/pre.yaml +++ b/playbooks/functional/pre.yaml @@ -1,6 +1,21 @@ --- +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + - hosts: all roles: - role: clear-firewall - role: install-kubernetes - - role: ensure-helm \ No newline at end of file + - role: ensure-helm diff --git a/playbooks/functional/run.yaml b/playbooks/functional/run.yaml index 2530a630..4abd9a18 100755 --- a/playbooks/functional/run.yaml +++ b/playbooks/functional/run.yaml @@ -1,3 +1,19 @@ +--- +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + - hosts: all roles: - role: helm-template @@ -9,4 +25,4 @@ - include_tasks: tests/memcached.yaml - include_tasks: tests/rabbitmq.yaml -- import_playbook: devstack.yaml \ No newline at end of file +- import_playbook: devstack.yaml diff --git a/playbooks/functional/tests/memcached.yaml b/playbooks/functional/tests/memcached.yaml index 7401f901..459a03dc 100644 --- a/playbooks/functional/tests/memcached.yaml +++ b/playbooks/functional/tests/memcached.yaml @@ -1,3 +1,19 @@ +--- +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + - name: Create Memcached custom resource command: kubectl apply -f {{ zuul.project.src_dir }}/config/samples/infrastructure_v1alpha1_memcached.yaml @@ -41,4 +57,4 @@ until: _metrics is success retries: 10 delay: 5 - failed_when: "'mcrouter_up 1' not in _metrics.content" \ No newline at end of file + failed_when: "'mcrouter_up 1' not in _metrics.content" diff --git a/playbooks/functional/tests/rabbitmq.yaml b/playbooks/functional/tests/rabbitmq.yaml index 9534276d..60e7ccd3 100755 --- a/playbooks/functional/tests/rabbitmq.yaml +++ b/playbooks/functional/tests/rabbitmq.yaml @@ -1,3 +1,19 @@ +--- +# Copyright (c) 2020 VEXXHOST, Inc. +# +# 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. + - name: Create Rabbitmq custom resource command: kubectl apply -f {{ zuul.project.src_dir }}/config/samples/infrastructure_v1alpha1_rabbitmq.yaml diff --git a/utils/baseutils/codec.go b/utils/baseutils/codec.go index 1d392e20..07615d4f 100644 --- a/utils/baseutils/codec.go +++ b/utils/baseutils/codec.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package baseutils import ( diff --git a/utils/baseutils/map.go b/utils/baseutils/map.go index 0c5accc7..d072a67e 100644 --- a/utils/baseutils/map.go +++ b/utils/baseutils/map.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package baseutils // MergeMaps merges all maps in the list diff --git a/utils/baseutils/map_test.go b/utils/baseutils/map_test.go index a0919c28..9994acba 100644 --- a/utils/baseutils/map_test.go +++ b/utils/baseutils/map_test.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package baseutils import ( diff --git a/utils/baseutils/slice.go b/utils/baseutils/slice.go index 7acec9da..944e284e 100644 --- a/utils/baseutils/slice.go +++ b/utils/baseutils/slice.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package baseutils // CompareStrSlice compares two string slices and return the different elements diff --git a/utils/k8sutils/kubernetes.go b/utils/k8sutils/kubernetes.go index 9d02a3e8..9e4f5424 100644 --- a/utils/k8sutils/kubernetes.go +++ b/utils/k8sutils/kubernetes.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package k8sutils import ( diff --git a/utils/openstackutils/designate.go b/utils/openstackutils/designate.go index 93505c77..03ab83df 100644 --- a/utils/openstackutils/designate.go +++ b/utils/openstackutils/designate.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package openstackutils import ( diff --git a/utils/tlsutils/tls.go b/utils/tlsutils/tls.go index 5c5375a1..4764ffd3 100644 --- a/utils/tlsutils/tls.go +++ b/utils/tlsutils/tls.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package tlsutils import ( diff --git a/version/main.go b/version/main.go index d45af2fc..b2122498 100644 --- a/version/main.go +++ b/version/main.go @@ -1,3 +1,17 @@ +// Copyright 2020 VEXXHOST, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package version // Revision contains the current revision of the project