Skip to content

Commit 43a283d

Browse files
committed
chore(codegen): update to drop license year
- Drop license year - Don't use pointers for json.RawMessage fields
1 parent de86ddc commit 43a283d

File tree

140 files changed

+344
-338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+344
-338
lines changed

pkg/api/apis/operators/clusterserviceversion_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type StatusDescriptor struct {
7777
DisplayName string
7878
Description string
7979
XDescriptors []string
80-
Value *json.RawMessage
80+
Value json.RawMessage
8181
}
8282

8383
// SpecDescriptor describes a field in a spec block of a CRD so that OLM can consume it
@@ -86,7 +86,7 @@ type SpecDescriptor struct {
8686
DisplayName string
8787
Description string
8888
XDescriptors []string
89-
Value *json.RawMessage
89+
Value json.RawMessage
9090
}
9191

9292
// ActionDescriptor describes a declarative action that can be performed on a custom resource instance
@@ -95,7 +95,7 @@ type ActionDescriptor struct {
9595
DisplayName string
9696
Description string
9797
XDescriptors []string
98-
Value *json.RawMessage
98+
Value json.RawMessage
9999
}
100100

101101
// CRDDescription provides details to OLM about the CRDs

pkg/api/apis/operators/v1/zz_generated.conversion.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/api/apis/operators/v1/zz_generated.deepcopy.go

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/api/apis/operators/v1alpha1/clusterserviceversion_types.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ type StatusDescriptor struct {
8282
DisplayName string `json:"displayName,omitempty"`
8383
Description string `json:"description,omitempty"`
8484
// +listType=set
85-
XDescriptors []string `json:"x-descriptors,omitempty"`
86-
Value *json.RawMessage `json:"value,omitempty"`
85+
XDescriptors []string `json:"x-descriptors,omitempty"`
86+
Value json.RawMessage `json:"value,omitempty"`
8787
}
8888

8989
// SpecDescriptor describes a field in a spec block of a CRD so that OLM can consume it
@@ -93,8 +93,8 @@ type SpecDescriptor struct {
9393
DisplayName string `json:"displayName,omitempty"`
9494
Description string `json:"description,omitempty"`
9595
// +listType=set
96-
XDescriptors []string `json:"x-descriptors,omitempty"`
97-
Value *json.RawMessage `json:"value,omitempty"`
96+
XDescriptors []string `json:"x-descriptors,omitempty"`
97+
Value json.RawMessage `json:"value,omitempty"`
9898
}
9999

100100
// ActionDescriptor describes a declarative action that can be performed on a custom resource instance
@@ -104,8 +104,8 @@ type ActionDescriptor struct {
104104
DisplayName string `json:"displayName,omitempty"`
105105
Description string `json:"description,omitempty"`
106106
// +listType=set
107-
XDescriptors []string `json:"x-descriptors,omitempty"`
108-
Value *json.RawMessage `json:"value,omitempty"`
107+
XDescriptors []string `json:"x-descriptors,omitempty"`
108+
Value json.RawMessage `json:"value,omitempty"`
109109
}
110110

111111
// CRDDescription provides details to OLM about the CRDs

pkg/api/apis/operators/v1alpha1/zz_generated.conversion.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)