Codebase list golang-github-bluebreezecf-opentsdb-goclient / 74780b7
Add license bluebreezecf 8 years ago
1 changed file(s) with 174 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Apache License
1
2 Version 2.0, January 2004
3 http://www.apache.org/licenses/
4
5 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
7 1. Definitions.
8
9 "License" shall mean the terms and conditions for use, reproduction,
10 and distribution as defined by Sections 1 through 9 of this document.
11
12 "Licensor" shall mean the copyright owner or entity authorized by the
13 copyright owner that is granting the License.
14
15 "Legal Entity" shall mean the union of the acting entity and all other
16 entities that control, are controlled by, or are under common control
17 with that entity. For the purposes of this definition, "control" means
18 (i) the power, direct or indirect, to cause the direction or management
19 of such entity, whether by contract or otherwise, or (ii) ownership
20 of fifty percent (50%) or more of the outstanding shares, or (iii)
21 beneficial ownership of such entity.
22
23 "You" (or "Your") shall mean an individual or Legal Entity exercising
24 permissions granted by this License.
25
26 "Source" form shall mean the preferred form for making modifications,
27 including but not limited to software source code, documentation source,
28 and configuration files.
29
30 "Object" form shall mean any form resulting from mechanical transformation
31 or translation of a Source form, including but not limited to compiled
32 object code, generated documentation, and conversions to other media
33 types.
34
35 "Work" shall mean the work of authorship, whether in Source or
36 Object form, made available under the License, as indicated by a copyright
37 notice that is included in or attached to the work (an example is provided
38 in the Appendix below).
39
40 "Derivative Works" shall mean any work, whether in Source or Object form,
41 that is based on (or derived from) the Work and for which the editorial
42 revisions, annotations, elaborations, or other modifications represent,
43 as a whole, an original work of authorship. For the purposes of this
44 License, Derivative Works shall not include works that remain separable
45 from, or merely link (or bind by name) to the interfaces of, the Work
46 and Derivative Works thereof.
47
48 "Contribution" shall mean any work of authorship, including the
49 original version of the Work and any modifications or additions to
50 that Work or Derivative Works thereof, that is intentionally submitted
51 to Licensor for inclusion in the Work by the copyright owner or by an
52 individual or Legal Entity authorized to submit on behalf of the copyright
53 owner. For the purposes of this definition, "submitted" means any form of
54 electronic, verbal, or written communication sent to the Licensor or its
55 representatives, including but not limited to communication on electronic
56 mailing lists, source code control systems, and issue tracking systems
57 that are managed by, or on behalf of, the Licensor for the purpose of
58 discussing and improving the Work, but excluding communication that is
59 conspicuously marked or otherwise designated in writing by the copyright
60 owner as "Not a Contribution."
61
62 "Contributor" shall mean Licensor and any individual or Legal Entity
63 on behalf of whom a Contribution has been received by Licensor and
64 subsequently incorporated within the Work.
65
66 2. Grant of Copyright License.
67 Subject to the terms and conditions of this License, each Contributor
68 hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
69 royalty-free, irrevocable copyright license to reproduce, prepare
70 Derivative Works of, publicly display, publicly perform, sublicense, and
71 distribute the Work and such Derivative Works in Source or Object form.
72
73 3. Grant of Patent License.
74 Subject to the terms and conditions of this License, each Contributor
75 hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
76 royalty- free, irrevocable (except as stated in this section) patent
77 license to make, have made, use, offer to sell, sell, import, and
78 otherwise transfer the Work, where such license applies only to those
79 patent claims licensable by such Contributor that are necessarily
80 infringed by their Contribution(s) alone or by combination of
81 their Contribution(s) with the Work to which such Contribution(s)
82 was submitted. If You institute patent litigation against any entity
83 (including a cross-claim or counterclaim in a lawsuit) alleging that the
84 Work or a Contribution incorporated within the Work constitutes direct
85 or contributory patent infringement, then any patent licenses granted
86 to You under this License for that Work shall terminate as of the date
87 such litigation is filed.
88
89 4. Redistribution.
90 You may reproduce and distribute copies of the Work or Derivative Works
91 thereof in any medium, with or without modifications, and in Source or
92 Object form, provided that You meet the following conditions:
93
94 a. You must give any other recipients of the Work or Derivative Works
95 a copy of this License; and
96
97 b. You must cause any modified files to carry prominent notices stating
98 that You changed the files; and
99
100 c. You must retain, in the Source form of any Derivative Works that
101 You distribute, all copyright, patent, trademark, and attribution
102 notices from the Source form of the Work, excluding those notices
103 that do not pertain to any part of the Derivative Works; and
104
105 d. If the Work includes a "NOTICE" text file as part of its
106 distribution, then any Derivative Works that You distribute must
107 include a readable copy of the attribution notices contained
108 within such NOTICE file, excluding those notices that do not
109 pertain to any part of the Derivative Works, in at least one of
110 the following places: within a NOTICE text file distributed as part
111 of the Derivative Works; within the Source form or documentation,
112 if provided along with the Derivative Works; or, within a display
113 generated by the Derivative Works, if and wherever such third-party
114 notices normally appear. The contents of the NOTICE file are for
115 informational purposes only and do not modify the License. You
116 may add Your own attribution notices within Derivative Works that
117 You distribute, alongside or as an addendum to the NOTICE text
118 from the Work, provided that such additional attribution notices
119 cannot be construed as modifying the License. You may add Your own
120 copyright statement to Your modifications and may provide additional
121 or different license terms and conditions for use, reproduction, or
122 distribution of Your modifications, or for any such Derivative Works
123 as a whole, provided Your use, reproduction, and distribution of the
124 Work otherwise complies with the conditions stated in this License.
125
126 5. Submission of Contributions.
127 Unless You explicitly state otherwise, any Contribution intentionally
128 submitted for inclusion in the Work by You to the Licensor shall be
129 under the terms and conditions of this License, without any additional
130 terms or conditions. Notwithstanding the above, nothing herein shall
131 supersede or modify the terms of any separate license agreement you may
132 have executed with Licensor regarding such Contributions.
133
134 6. Trademarks.
135 This License does not grant permission to use the trade names, trademarks,
136 service marks, or product names of the Licensor, except as required for
137 reasonable and customary use in describing the origin of the Work and
138 reproducing the content of the NOTICE file.
139
140 7. Disclaimer of Warranty.
141 Unless required by applicable law or agreed to in writing, Licensor
142 provides the Work (and each Contributor provides its Contributions) on
143 an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
144 express or implied, including, without limitation, any warranties or
145 conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR
146 A PARTICULAR PURPOSE. You are solely responsible for determining the
147 appropriateness of using or redistributing the Work and assume any risks
148 associated with Your exercise of permissions under this License.
149
150 8. Limitation of Liability.
151 In no event and under no legal theory, whether in tort (including
152 negligence), contract, or otherwise, unless required by applicable law
153 (such as deliberate and grossly negligent acts) or agreed to in writing,
154 shall any Contributor be liable to You for damages, including any direct,
155 indirect, special, incidental, or consequential damages of any character
156 arising as a result of this License or out of the use or inability to
157 use the Work (including but not limited to damages for loss of goodwill,
158 work stoppage, computer failure or malfunction, or any and all other
159 commercial damages or losses), even if such Contributor has been advised
160 of the possibility of such damages.
161
162 9. Accepting Warranty or Additional Liability.
163 While redistributing the Work or Derivative Works thereof, You may
164 choose to offer, and charge a fee for, acceptance of support, warranty,
165 indemnity, or other liability obligations and/or rights consistent with
166 this License. However, in accepting such obligations, You may act only
167 on Your own behalf and on Your sole responsibility, not on behalf of
168 any other Contributor, and only if You agree to indemnify, defend, and
169 hold each Contributor harmless for any liability incurred by, or claims
170 asserted against, such Contributor by reason of your accepting any such
171 warranty or additional liability.
172
173 END OF TERMS AND CONDITIONS