-
Notifications
You must be signed in to change notification settings - Fork 39
/
filter_deployment_json.gen.go
101 lines (82 loc) · 3.42 KB
/
filter_deployment_json.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: github.com/solo-io/wasme/operator/api/wasme/v1/filter_deployment.proto
package v1
import (
bytes "bytes"
fmt "fmt"
math "math"
github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb"
proto "github.com/gogo/protobuf/proto"
_ "github.com/gogo/protobuf/types"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// MarshalJSON is a custom marshaler for FilterDeploymentSpec
func (this *FilterDeploymentSpec) MarshalJSON() ([]byte, error) {
str, err := FilterDeploymentMarshaler.MarshalToString(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for FilterDeploymentSpec
func (this *FilterDeploymentSpec) UnmarshalJSON(b []byte) error {
return FilterDeploymentUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
// MarshalJSON is a custom marshaler for FilterSpec
func (this *FilterSpec) MarshalJSON() ([]byte, error) {
str, err := FilterDeploymentMarshaler.MarshalToString(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for FilterSpec
func (this *FilterSpec) UnmarshalJSON(b []byte) error {
return FilterDeploymentUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
// MarshalJSON is a custom marshaler for ImagePullOptions
func (this *ImagePullOptions) MarshalJSON() ([]byte, error) {
str, err := FilterDeploymentMarshaler.MarshalToString(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for ImagePullOptions
func (this *ImagePullOptions) UnmarshalJSON(b []byte) error {
return FilterDeploymentUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
// MarshalJSON is a custom marshaler for DeploymentSpec
func (this *DeploymentSpec) MarshalJSON() ([]byte, error) {
str, err := FilterDeploymentMarshaler.MarshalToString(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for DeploymentSpec
func (this *DeploymentSpec) UnmarshalJSON(b []byte) error {
return FilterDeploymentUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
// MarshalJSON is a custom marshaler for IstioDeploymentSpec
func (this *IstioDeploymentSpec) MarshalJSON() ([]byte, error) {
str, err := FilterDeploymentMarshaler.MarshalToString(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for IstioDeploymentSpec
func (this *IstioDeploymentSpec) UnmarshalJSON(b []byte) error {
return FilterDeploymentUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
// MarshalJSON is a custom marshaler for FilterDeploymentStatus
func (this *FilterDeploymentStatus) MarshalJSON() ([]byte, error) {
str, err := FilterDeploymentMarshaler.MarshalToString(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for FilterDeploymentStatus
func (this *FilterDeploymentStatus) UnmarshalJSON(b []byte) error {
return FilterDeploymentUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
// MarshalJSON is a custom marshaler for WorkloadStatus
func (this *WorkloadStatus) MarshalJSON() ([]byte, error) {
str, err := FilterDeploymentMarshaler.MarshalToString(this)
return []byte(str), err
}
// UnmarshalJSON is a custom unmarshaler for WorkloadStatus
func (this *WorkloadStatus) UnmarshalJSON(b []byte) error {
return FilterDeploymentUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
var (
FilterDeploymentMarshaler = &github_com_gogo_protobuf_jsonpb.Marshaler{}
FilterDeploymentUnmarshaler = &github_com_gogo_protobuf_jsonpb.Unmarshaler{}
)