Skip to content

Commit 5550fab

Browse files
committed
test/test-framework/pkg/...: add license headers
1 parent 32b63bd commit 5550fab

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

test/test-framework/pkg/apis/cache/v1alpha1/register.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2018 The Operator-SDK Authors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
package v1alpha1
216

317
import (

test/test-framework/pkg/apis/cache/v1alpha1/types.go

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2018 The Operator-SDK Authors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
package v1alpha1
216

317
import (
@@ -21,5 +35,9 @@ type Memcached struct {
2135
Status MemcachedStatus `json:"status,omitempty"`
2236
}
2337

24-
type MemcachedSpec struct { Size int32 `json:"size"`}
25-
type MemcachedStatus struct {Nodes []string `json:"nodes"`}
38+
type MemcachedSpec struct {
39+
Size int32 `json:"size"`
40+
}
41+
type MemcachedStatus struct {
42+
Nodes []string `json:"nodes"`
43+
}

0 commit comments

Comments
 (0)