Skip to content

Commit 08964da

Browse files
NOJIRA: add TypeMeta to GenericControllerConfig
adds the TypeMeta field to the GenericControllerConfig as we are using it more extensively.
1 parent 30c2ef7 commit 08964da

4 files changed

Lines changed: 22 additions & 2 deletions

File tree

config/v1/types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,12 @@ type ClientConnectionOverrides struct {
284284
}
285285

286286
// GenericControllerConfig provides information to configure a controller
287+
//
288+
// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
289+
// +openshift:compatibility-gen:internal
287290
type GenericControllerConfig struct {
291+
metav1.TypeMeta `json:",inline"`
292+
288293
// servingInfo is the HTTP serving information for the controller's endpoints
289294
ServingInfo HTTPServingInfo `json:"servingInfo"`
290295

config/v1/zz_generated.deepcopy.go

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

config/v1/zz_generated.swagger_doc_generated.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.

openapi/generated_openapi/zz_generated.openapi.go

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

0 commit comments

Comments
 (0)