Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 52cb3c6

Browse files
MHBauerkibbles-n-bytes
authored andcommitted
ServiceClass.Tags → AlphaTags
1 parent 7491fd3 commit 52cb3c6

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

pkg/apis/servicecatalog/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ type ServiceClass struct {
135135
ExternalID string
136136

137137
// OSB-specific
138-
Tags []string
139-
Requires []string
138+
AlphaTags []string
139+
Requires []string
140140
// Description is a short description of the service.
141141
Description string
142142
ExternalMetadata *runtime.RawExtension

pkg/apis/servicecatalog/v1alpha1/types.generated.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,7 +2038,7 @@ func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder) {
20382038
yyq2[0] = x.Kind != ""
20392039
yyq2[1] = x.APIVersion != ""
20402040
yyq2[2] = true
2041-
yyq2[8] = len(x.Tags) != 0
2041+
yyq2[8] = len(x.AlphaTags) != 0
20422042
yyq2[9] = len(x.Requires) != 0
20432043
var yynn2 int
20442044
if yyr2 || yy2arr2 {
@@ -2238,14 +2238,14 @@ func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder) {
22382238
if yyr2 || yy2arr2 {
22392239
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
22402240
if yyq2[8] {
2241-
if x.Tags == nil {
2241+
if x.AlphaTags == nil {
22422242
r.EncodeNil()
22432243
} else {
22442244
yym30 := z.EncBinary()
22452245
_ = yym30
22462246
if false {
22472247
} else {
2248-
z.F.EncSliceStringV(x.Tags, false, e)
2248+
z.F.EncSliceStringV(x.AlphaTags, false, e)
22492249
}
22502250
}
22512251
} else {
@@ -2254,16 +2254,16 @@ func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder) {
22542254
} else {
22552255
if yyq2[8] {
22562256
z.EncSendContainerState(codecSelfer_containerMapKey1234)
2257-
r.EncodeString(codecSelferC_UTF81234, string("tags"))
2257+
r.EncodeString(codecSelferC_UTF81234, string("alphaTags"))
22582258
z.EncSendContainerState(codecSelfer_containerMapValue1234)
2259-
if x.Tags == nil {
2259+
if x.AlphaTags == nil {
22602260
r.EncodeNil()
22612261
} else {
22622262
yym31 := z.EncBinary()
22632263
_ = yym31
22642264
if false {
22652265
} else {
2266-
z.F.EncSliceStringV(x.Tags, false, e)
2266+
z.F.EncSliceStringV(x.AlphaTags, false, e)
22672267
}
22682268
}
22692269
}
@@ -2511,11 +2511,11 @@ func (x *ServiceClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
25112511
*((*string)(yyv18)) = r.DecodeString()
25122512
}
25132513
}
2514-
case "tags":
2514+
case "alphaTags":
25152515
if r.TryDecodeAsNil() {
2516-
x.Tags = nil
2516+
x.AlphaTags = nil
25172517
} else {
2518-
yyv20 := &x.Tags
2518+
yyv20 := &x.AlphaTags
25192519
yym21 := z.DecBinary()
25202520
_ = yym21
25212521
if false {
@@ -2769,9 +2769,9 @@ func (x *ServiceClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
27692769
}
27702770
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
27712771
if r.TryDecodeAsNil() {
2772-
x.Tags = nil
2772+
x.AlphaTags = nil
27732773
} else {
2774-
yyv45 := &x.Tags
2774+
yyv45 := &x.AlphaTags
27752775
yym46 := z.DecBinary()
27762776
_ = yym46
27772777
if false {

pkg/apis/servicecatalog/v1alpha1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ type ServiceClass struct {
133133
ExternalID string `json:"externalID"`
134134

135135
// OSB-specific
136-
Tags []string `json:"tags,omitempty"`
137-
Requires []string `json:"requires,omitempty"`
136+
AlphaTags []string `json:"alphaTags,omitempty"`
137+
Requires []string `json:"requires,omitempty"`
138138
// Description is a short description of the service.
139139
Description string `json:"description"`
140140

pkg/apis/servicecatalog/v1alpha1/zz_generated.conversion.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ func autoConvert_v1alpha1_ServiceClass_To_servicecatalog_ServiceClass(in *Servic
452452
}
453453
out.PlanUpdatable = in.PlanUpdatable
454454
out.ExternalID = in.ExternalID
455-
out.Tags = *(*[]string)(unsafe.Pointer(&in.Tags))
455+
out.AlphaTags = *(*[]string)(unsafe.Pointer(&in.AlphaTags))
456456
out.Requires = *(*[]string)(unsafe.Pointer(&in.Requires))
457457
out.Description = in.Description
458458
out.ExternalMetadata = (*runtime.RawExtension)(unsafe.Pointer(in.ExternalMetadata))
@@ -480,7 +480,7 @@ func autoConvert_servicecatalog_ServiceClass_To_v1alpha1_ServiceClass(in *servic
480480
}
481481
out.PlanUpdatable = in.PlanUpdatable
482482
out.ExternalID = in.ExternalID
483-
out.Tags = *(*[]string)(unsafe.Pointer(&in.Tags))
483+
out.AlphaTags = *(*[]string)(unsafe.Pointer(&in.AlphaTags))
484484
out.Requires = *(*[]string)(unsafe.Pointer(&in.Requires))
485485
out.Description = in.Description
486486
out.ExternalMetadata = (*runtime.RawExtension)(unsafe.Pointer(in.ExternalMetadata))

pkg/apis/servicecatalog/v1alpha1/zz_generated.deepcopy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ func DeepCopy_v1alpha1_ServiceClass(in interface{}, out interface{}, c *conversi
342342
}
343343
}
344344
}
345-
if in.Tags != nil {
346-
in, out := &in.Tags, &out.Tags
345+
if in.AlphaTags != nil {
346+
in, out := &in.AlphaTags, &out.AlphaTags
347347
*out = make([]string, len(*in))
348348
copy(*out, *in)
349349
}

pkg/apis/servicecatalog/zz_generated.deepcopy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ func DeepCopy_servicecatalog_ServiceClass(in interface{}, out interface{}, c *co
342342
}
343343
}
344344
}
345-
if in.Tags != nil {
346-
in, out := &in.Tags, &out.Tags
345+
if in.AlphaTags != nil {
346+
in, out := &in.AlphaTags, &out.AlphaTags
347347
*out = make([]string, len(*in))
348348
copy(*out, *in)
349349
}

pkg/controller/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ func (c *controller) reconcileServiceClassFromBrokerCatalog(broker *v1alpha1.Bro
511511
toUpdate.Bindable = serviceClass.Bindable
512512
toUpdate.Plans = serviceClass.Plans
513513
toUpdate.PlanUpdatable = serviceClass.PlanUpdatable
514-
toUpdate.Tags = serviceClass.Tags
514+
toUpdate.AlphaTags = serviceClass.AlphaTags
515515
toUpdate.Requires = serviceClass.Requires
516516
toUpdate.Description = serviceClass.Description
517517

@@ -1705,7 +1705,7 @@ func convertCatalog(in *brokerapi.Catalog) ([]*v1alpha1.ServiceClass, error) {
17051705
Plans: plans,
17061706
PlanUpdatable: svc.PlanUpdateable,
17071707
ExternalID: svc.ID,
1708-
Tags: svc.Tags,
1708+
AlphaTags: svc.Tags,
17091709
Requires: svc.Requires,
17101710
Description: svc.Description,
17111711
}

pkg/openapi/openapi_generated.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
691691
Format: "",
692692
},
693693
},
694-
"tags": {
694+
"alphaTags": {
695695
SchemaProps: spec.SchemaProps{
696696
Description: "OSB-specific",
697697
Type: []string{"array"},

0 commit comments

Comments
 (0)