consul/proto-public/pbmesh/v2beta1/gatewayclassconfig_json.gen.go
sarahalsmiller fd1d97c334
Add Kubebuilder tags to Gatewayclassconfig proto messages (#19725)
* add build tags/import k8s specific proto packages

* fix generated import paths

* fix gomod linting issue

* mod tidy every go mod file

* revert protobuff version, take care of in different pr

* cleaned up new lines

* added newline to end of file
2023-11-28 14:46:11 -06:00

45 lines
1.4 KiB
Go

// Code generated by protoc-json-shim. DO NOT EDIT.
package meshv2beta1
import (
protojson "google.golang.org/protobuf/encoding/protojson"
)
// MarshalJSON is a custom marshaler for GatewayClassConfig
func (this *GatewayClassConfig) MarshalJSON() ([]byte, error) {
str, err := GatewayclassconfigMarshaler.Marshal(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for GatewayClassConfig
func (this *GatewayClassConfig) UnmarshalJSON(b []byte) error {
return GatewayclassconfigUnmarshaler.Unmarshal(b, this)
}
// MarshalJSON is a custom marshaler for CopyAnnotations
func (this *CopyAnnotations) MarshalJSON() ([]byte, error) {
str, err := GatewayclassconfigMarshaler.Marshal(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for CopyAnnotations
func (this *CopyAnnotations) UnmarshalJSON(b []byte) error {
return GatewayclassconfigUnmarshaler.Unmarshal(b, this)
}
// MarshalJSON is a custom marshaler for Deployment
func (this *Deployment) MarshalJSON() ([]byte, error) {
str, err := GatewayclassconfigMarshaler.Marshal(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for Deployment
func (this *Deployment) UnmarshalJSON(b []byte) error {
return GatewayclassconfigUnmarshaler.Unmarshal(b, this)
}
var (
GatewayclassconfigMarshaler = &protojson.MarshalOptions{}
GatewayclassconfigUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
)