mirror of https://github.com/status-im/consul.git
parent
6854e1e90d
commit
96790a814c
|
@ -30,8 +30,9 @@ type MeshGateway struct {
|
|||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// GatewayClassName is the name of the GatewayClass used by the MeshGateway
|
||||
GatewayClassName string `protobuf:"bytes,1,opt,name=gateway_class_name,json=gatewayClassName,proto3" json:"gateway_class_name,omitempty"`
|
||||
Listeners []*MeshGatewayListener `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"`
|
||||
GatewayClassName string `protobuf:"bytes,1,opt,name=gateway_class_name,json=gatewayClassName,proto3" json:"gateway_class_name,omitempty"`
|
||||
// +kubebuilder:validation:MinItems=1
|
||||
Listeners []*MeshGatewayListener `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MeshGateway) Reset() {
|
||||
|
|
|
@ -13,6 +13,7 @@ message MeshGateway {
|
|||
// GatewayClassName is the name of the GatewayClass used by the MeshGateway
|
||||
string gateway_class_name = 1;
|
||||
|
||||
// +kubebuilder:validation:MinItems=1
|
||||
repeated MeshGatewayListener listeners = 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue