diff --git a/cloudbuild.yaml b/cloudbuild.yaml
index b4eb3a813..684e46fe6 100644
--- a/cloudbuild.yaml
+++ b/cloudbuild.yaml
@@ -37,4 +37,6 @@ steps:
- 'PROJECT_ROOT=github.com/solo-io/solo-kit'
- 'GOPATH=/workspace/gopath'
id: 'build-codegen'
- waitFor: ['test']
\ No newline at end of file
+ waitFor: ['test']
+
+timeout: 900s
\ No newline at end of file
diff --git a/pkg/api/v1/apiserver/api_server.pb.go b/pkg/api/v1/apiserver/api_server.pb.go
index bfd31ff23..3c0ded2af 100644
--- a/pkg/api/v1/apiserver/api_server.pb.go
+++ b/pkg/api/v1/apiserver/api_server.pb.go
@@ -39,7 +39,7 @@ func (m *Resource) Reset() { *m = Resource{} }
func (m *Resource) String() string { return proto.CompactTextString(m) }
func (*Resource) ProtoMessage() {}
func (*Resource) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{0}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{0}
}
func (m *Resource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Resource.Unmarshal(m, b)
@@ -88,7 +88,7 @@ func (m *ReadRequest) Reset() { *m = ReadRequest{} }
func (m *ReadRequest) String() string { return proto.CompactTextString(m) }
func (*ReadRequest) ProtoMessage() {}
func (*ReadRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{1}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{1}
}
func (m *ReadRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadRequest.Unmarshal(m, b)
@@ -140,7 +140,7 @@ func (m *ReadResponse) Reset() { *m = ReadResponse{} }
func (m *ReadResponse) String() string { return proto.CompactTextString(m) }
func (*ReadResponse) ProtoMessage() {}
func (*ReadResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{2}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{2}
}
func (m *ReadResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadResponse.Unmarshal(m, b)
@@ -179,7 +179,7 @@ func (m *WriteRequest) Reset() { *m = WriteRequest{} }
func (m *WriteRequest) String() string { return proto.CompactTextString(m) }
func (*WriteRequest) ProtoMessage() {}
func (*WriteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{3}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{3}
}
func (m *WriteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WriteRequest.Unmarshal(m, b)
@@ -224,7 +224,7 @@ func (m *WriteResponse) Reset() { *m = WriteResponse{} }
func (m *WriteResponse) String() string { return proto.CompactTextString(m) }
func (*WriteResponse) ProtoMessage() {}
func (*WriteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{4}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{4}
}
func (m *WriteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WriteResponse.Unmarshal(m, b)
@@ -265,7 +265,7 @@ func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRequest) ProtoMessage() {}
func (*DeleteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{5}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{5}
}
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
@@ -323,7 +323,7 @@ func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteResponse) ProtoMessage() {}
func (*DeleteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{6}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{6}
}
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
@@ -355,7 +355,7 @@ func (m *ListRequest) Reset() { *m = ListRequest{} }
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
func (*ListRequest) ProtoMessage() {}
func (*ListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{7}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{7}
}
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
@@ -400,7 +400,7 @@ func (m *ListResponse) Reset() { *m = ListResponse{} }
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
func (*ListResponse) ProtoMessage() {}
func (*ListResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{8}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{8}
}
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
@@ -440,7 +440,7 @@ func (m *WatchRequest) Reset() { *m = WatchRequest{} }
func (m *WatchRequest) String() string { return proto.CompactTextString(m) }
func (*WatchRequest) ProtoMessage() {}
func (*WatchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{9}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{9}
}
func (m *WatchRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WatchRequest.Unmarshal(m, b)
@@ -492,7 +492,7 @@ func (m *WatchResponse) Reset() { *m = WatchResponse{} }
func (m *WatchResponse) String() string { return proto.CompactTextString(m) }
func (*WatchResponse) ProtoMessage() {}
func (*WatchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{10}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{10}
}
func (m *WatchResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WatchResponse.Unmarshal(m, b)
@@ -529,7 +529,7 @@ func (m *RegisterRequest) Reset() { *m = RegisterRequest{} }
func (m *RegisterRequest) String() string { return proto.CompactTextString(m) }
func (*RegisterRequest) ProtoMessage() {}
func (*RegisterRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{11}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{11}
}
func (m *RegisterRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RegisterRequest.Unmarshal(m, b)
@@ -559,7 +559,7 @@ func (m *RegisterResponse) Reset() { *m = RegisterResponse{} }
func (m *RegisterResponse) String() string { return proto.CompactTextString(m) }
func (*RegisterResponse) ProtoMessage() {}
func (*RegisterResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_server_36417a13f8c753ea, []int{12}
+ return fileDescriptor_api_server_aa3a5de46b78ac06, []int{12}
}
func (m *RegisterResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RegisterResponse.Unmarshal(m, b)
@@ -1242,9 +1242,9 @@ var _ApiServer_serviceDesc = grpc.ServiceDesc{
Metadata: "api_server.proto",
}
-func init() { proto.RegisterFile("api_server.proto", fileDescriptor_api_server_36417a13f8c753ea) }
+func init() { proto.RegisterFile("api_server.proto", fileDescriptor_api_server_aa3a5de46b78ac06) }
-var fileDescriptor_api_server_36417a13f8c753ea = []byte{
+var fileDescriptor_api_server_aa3a5de46b78ac06 = []byte{
// 581 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xcb, 0x6e, 0xd3, 0x40,
0x14, 0xad, 0x69, 0x5a, 0x25, 0x37, 0x0f, 0xd2, 0x11, 0x12, 0xc1, 0x2a, 0x21, 0xcc, 0x2a, 0x12,
diff --git a/pkg/api/v1/clients/kube/crd/client/clientset/versioned/fake/register.go b/pkg/api/v1/clients/kube/crd/client/clientset/versioned/fake/register.go
index 63fd78694..b8d288163 100644
--- a/pkg/api/v1/clients/kube/crd/client/clientset/versioned/fake/register.go
+++ b/pkg/api/v1/clients/kube/crd/client/clientset/versioned/fake/register.go
@@ -31,7 +31,7 @@ var scheme = runtime.NewScheme()
var codecs = serializer.NewCodecFactory(scheme)
var parameterCodec = runtime.NewParameterCodec(scheme)
var localSchemeBuilder = runtime.SchemeBuilder{
-//resourcesv1.AddToScheme,
+ //resourcesv1.AddToScheme,
}
// AddToScheme adds all types of this clientset into the given scheme. This allows composition
diff --git a/pkg/api/v1/resources/core/metadata.pb.go b/pkg/api/v1/resources/core/metadata.pb.go
index 36b34190a..6ba6412b1 100644
--- a/pkg/api/v1/resources/core/metadata.pb.go
+++ b/pkg/api/v1/resources/core/metadata.pb.go
@@ -52,7 +52,7 @@ func (m *Metadata) Reset() { *m = Metadata{} }
func (m *Metadata) String() string { return proto.CompactTextString(m) }
func (*Metadata) ProtoMessage() {}
func (*Metadata) Descriptor() ([]byte, []int) {
- return fileDescriptor_metadata_756d8f47d5feddd4, []int{0}
+ return fileDescriptor_metadata_91abd6aad2c35ae2, []int{0}
}
func (m *Metadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Metadata.Unmarshal(m, b)
@@ -162,9 +162,9 @@ func (this *Metadata) Equal(that interface{}) bool {
return true
}
-func init() { proto.RegisterFile("metadata.proto", fileDescriptor_metadata_756d8f47d5feddd4) }
+func init() { proto.RegisterFile("metadata.proto", fileDescriptor_metadata_91abd6aad2c35ae2) }
-var fileDescriptor_metadata_756d8f47d5feddd4 = []byte{
+var fileDescriptor_metadata_91abd6aad2c35ae2 = []byte{
// 322 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xc1, 0x4a, 0x03, 0x31,
0x10, 0x86, 0xd9, 0x6e, 0x5b, 0x6c, 0x2a, 0x5a, 0x43, 0x85, 0x50, 0x44, 0xcb, 0x5e, 0xec, 0xc5,
diff --git a/pkg/api/v1/resources/core/ref.pb.go b/pkg/api/v1/resources/core/ref.pb.go
index a74703642..b0b1614ee 100644
--- a/pkg/api/v1/resources/core/ref.pb.go
+++ b/pkg/api/v1/resources/core/ref.pb.go
@@ -30,7 +30,7 @@ func (m *ResourceRef) Reset() { *m = ResourceRef{} }
func (m *ResourceRef) String() string { return proto.CompactTextString(m) }
func (*ResourceRef) ProtoMessage() {}
func (*ResourceRef) Descriptor() ([]byte, []int) {
- return fileDescriptor_ref_1500aee6cac2e9a9, []int{0}
+ return fileDescriptor_ref_3f2eefd228313e10, []int{0}
}
func (m *ResourceRef) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResourceRef.Unmarshal(m, b)
@@ -95,9 +95,9 @@ func (this *ResourceRef) Equal(that interface{}) bool {
return true
}
-func init() { proto.RegisterFile("ref.proto", fileDescriptor_ref_1500aee6cac2e9a9) }
+func init() { proto.RegisterFile("ref.proto", fileDescriptor_ref_3f2eefd228313e10) }
-var fileDescriptor_ref_1500aee6cac2e9a9 = []byte{
+var fileDescriptor_ref_3f2eefd228313e10 = []byte{
// 178 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2c, 0x4a, 0x4d, 0xd3,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x49, 0xce, 0x2f, 0x4a, 0xd5, 0x2b, 0xce, 0xcf, 0xc9,
diff --git a/pkg/api/v1/resources/core/solo-kit.pb.go b/pkg/api/v1/resources/core/solo-kit.pb.go
index 68428671d..ad40ac507 100644
--- a/pkg/api/v1/resources/core/solo-kit.pb.go
+++ b/pkg/api/v1/resources/core/solo-kit.pb.go
@@ -35,7 +35,7 @@ func (m *Resource) Reset() { *m = Resource{} }
func (m *Resource) String() string { return proto.CompactTextString(m) }
func (*Resource) ProtoMessage() {}
func (*Resource) Descriptor() ([]byte, []int) {
- return fileDescriptor_solo_kit_f263349f28f664bf, []int{0}
+ return fileDescriptor_solo_kit_0809b5578cdab298, []int{0}
}
func (m *Resource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Resource.Unmarshal(m, b)
@@ -100,9 +100,9 @@ func init() {
proto.RegisterExtension(E_SkipHashing)
}
-func init() { proto.RegisterFile("solo-kit.proto", fileDescriptor_solo_kit_f263349f28f664bf) }
+func init() { proto.RegisterFile("solo-kit.proto", fileDescriptor_solo_kit_0809b5578cdab298) }
-var fileDescriptor_solo_kit_f263349f28f664bf = []byte{
+var fileDescriptor_solo_kit_0809b5578cdab298 = []byte{
// 282 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4b, 0xfb, 0x40,
0x10, 0xc5, 0xc9, 0xff, 0x0f, 0x92, 0x6e, 0x6b, 0x0f, 0x39, 0x48, 0x11, 0x4a, 0x83, 0x20, 0xf4,
diff --git a/pkg/api/v1/resources/core/status.pb.go b/pkg/api/v1/resources/core/status.pb.go
index cc2dc3024..7497d39d1 100644
--- a/pkg/api/v1/resources/core/status.pb.go
+++ b/pkg/api/v1/resources/core/status.pb.go
@@ -48,7 +48,7 @@ func (x Status_State) String() string {
return proto.EnumName(Status_State_name, int32(x))
}
func (Status_State) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_status_0c7d7c069d2343ab, []int{0, 0}
+ return fileDescriptor_status_cdc7b37c21bfabc5, []int{0, 0}
}
// *
@@ -72,7 +72,7 @@ func (m *Status) Reset() { *m = Status{} }
func (m *Status) String() string { return proto.CompactTextString(m) }
func (*Status) ProtoMessage() {}
func (*Status) Descriptor() ([]byte, []int) {
- return fileDescriptor_status_0c7d7c069d2343ab, []int{0}
+ return fileDescriptor_status_cdc7b37c21bfabc5, []int{0}
}
func (m *Status) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Status.Unmarshal(m, b)
@@ -167,9 +167,9 @@ func (this *Status) Equal(that interface{}) bool {
return true
}
-func init() { proto.RegisterFile("status.proto", fileDescriptor_status_0c7d7c069d2343ab) }
+func init() { proto.RegisterFile("status.proto", fileDescriptor_status_cdc7b37c21bfabc5) }
-var fileDescriptor_status_0c7d7c069d2343ab = []byte{
+var fileDescriptor_status_cdc7b37c21bfabc5 = []byte{
// 315 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0x51, 0x4b, 0xf3, 0x30,
0x14, 0xfd, 0xda, 0x7d, 0x9b, 0xee, 0x76, 0xc8, 0x88, 0x43, 0xca, 0x1e, 0x74, 0xec, 0x69, 0x08,
diff --git a/pkg/code-generator/codegen/templates/xds_template.go b/pkg/code-generator/codegen/templates/xds_template.go
index 91f8fe2ce..575a18af0 100644
--- a/pkg/code-generator/codegen/templates/xds_template.go
+++ b/pkg/code-generator/codegen/templates/xds_template.go
@@ -23,7 +23,7 @@ import (
// Type Definitions:
-const {{ upper_camel .MessageType }}Type = cache.TypePrefix + "/{{ .Package }}.{{ upper_camel .MessageType }}"
+const {{ upper_camel .MessageType }}Type = cache.TypePrefix + "/{{ .ProtoPackage }}.{{ upper_camel .MessageType }}"
/* Defined a resource - to be used by snapshot */
type {{ upper_camel .MessageType }}XdsResourceWrapper struct {
diff --git a/test/mocks/api/doc/github.com/solo-io/solo-kit/test/mocks/api/v1/mock_resources.proto.sk.md b/test/mocks/api/doc/github.com/solo-io/solo-kit/test/mocks/api/v1/mock_resources.proto.sk.md
deleted file mode 100644
index 07c4ef803..000000000
--- a/test/mocks/api/doc/github.com/solo-io/solo-kit/test/mocks/api/v1/mock_resources.proto.sk.md
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-### Package: `testing.solo.io`
-Syntax Comments
-Syntax Comments a
-
-
-
-##### Types:
-
-
-- [MockResource](#MockResource)** Top-Level Resource**
-- [FakeResource](#FakeResource)** Top-Level Resource**
-
-
-
-
-##### Source File: [github.com/solo-io/solo-kit/test/mocks/api/v1/mock_resources.proto](https://github.com/solo-io/solo-kit/blob/master/test/mocks/api/v1/mock_resources.proto)
-
-
-
-
-
----
-### MockResource
-
-
-Mock resources for goofin off
-
-```yaml
-"status": .core.solo.io.Status
-"metadata": .core.solo.io.Metadata
-"data": string
-"some_dumb_field": string
-"oneof_one": string
-"oneof_two": bool
-
-```
-
-| Field | Type | Description | Default |
-| ----- | ---- | ----------- |----------- |
-| `status` | [.core.solo.io.Status](../../../../api/v1/status.proto.sk.md#Status) | | |
-| `metadata` | [.core.solo.io.Metadata](../../../../api/v1/metadata.proto.sk.md#Metadata) | | |
-| `data` | `string` | | |
-| `some_dumb_field` | `string` | | |
-| `oneof_one` | `string` | | |
-| `oneof_two` | `bool` | | |
-
-
-
-
----
-### FakeResource
-
-
-
-
-```yaml
-"count": int
-"metadata": .core.solo.io.Metadata
-
-```
-
-| Field | Type | Description | Default |
-| ----- | ---- | ----------- |----------- |
-| `count` | `int` | | |
-| `metadata` | [.core.solo.io.Metadata](../../../../api/v1/metadata.proto.sk.md#Metadata) | | |
-
-
-
-
-
-
-
-
diff --git a/test/mocks/api/v1/mock_resources.proto b/test/mocks/api/v1/mock_resources.proto
index 3d285b994..7abcf4ceb 100644
--- a/test/mocks/api/v1/mock_resources.proto
+++ b/test/mocks/api/v1/mock_resources.proto
@@ -16,6 +16,9 @@ go_package Comments a
*/
option go_package = "github.com/solo-io/solo-kit/test/mocks/v1";
+import "envoy/api/v2/discovery.proto";
+import "google/api/annotations.proto";
+
/*
go_package Comments
go_package Comments a
@@ -61,3 +64,31 @@ message FakeResource {
uint32 count = 1;
core.solo.io.Metadata metadata = 7 [(gogoproto.nullable) = false];
}
+
+/*
+@solo-kit:xds-service=MockXdsResourceDiscoveryService
+@solo-kit:resource.no_references
+*/
+message MockXdsResourceConfig {
+ // @solo-kit:resource.name
+ string domain = 1;
+}
+
+/*
+@solo-kit:resource.xds-enabled
+*/
+service MockXdsResourceDiscoveryService {
+ rpc StreamMockXdsResourceConfig(stream envoy.api.v2.DiscoveryRequest) returns (stream envoy.api.v2.DiscoveryResponse) {
+ }
+
+ rpc IncrementalMockXdsResourceConfig(stream envoy.api.v2.IncrementalDiscoveryRequest)
+ returns (stream envoy.api.v2.IncrementalDiscoveryResponse) {
+ }
+
+ rpc FetchMockXdsResourceConfig(envoy.api.v2.DiscoveryRequest) returns (envoy.api.v2.DiscoveryResponse) {
+ option (google.api.http) = {
+ post: "/v2/discovery:mockxdsresourceconfig"
+ body: "*"
+ };
+ }
+}
diff --git a/test/mocks/v1/mock_resources.pb.go b/test/mocks/v1/mock_resources.pb.go
index 01abefecc..fdef7b7c4 100644
--- a/test/mocks/v1/mock_resources.pb.go
+++ b/test/mocks/v1/mock_resources.pb.go
@@ -12,11 +12,18 @@ package Comments a
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
+import v2 "github.com/envoyproxy/go-control-plane/envoy/api/v2"
import _ "github.com/gogo/protobuf/gogoproto"
import core "github.com/solo-io/solo-kit/pkg/api/v1/resources/core"
+import _ "google.golang.org/genproto/googleapis/api/annotations"
import bytes "bytes"
+import (
+ context "golang.org/x/net/context"
+ grpc "google.golang.org/grpc"
+)
+
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
@@ -51,7 +58,7 @@ func (m *MockResource) Reset() { *m = MockResource{} }
func (m *MockResource) String() string { return proto.CompactTextString(m) }
func (*MockResource) ProtoMessage() {}
func (*MockResource) Descriptor() ([]byte, []int) {
- return fileDescriptor_mock_resources_2aaea320c9da9d33, []int{0}
+ return fileDescriptor_mock_resources_d7c973d5bbb5ae4c, []int{0}
}
func (m *MockResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MockResource.Unmarshal(m, b)
@@ -220,7 +227,7 @@ func (m *FakeResource) Reset() { *m = FakeResource{} }
func (m *FakeResource) String() string { return proto.CompactTextString(m) }
func (*FakeResource) ProtoMessage() {}
func (*FakeResource) Descriptor() ([]byte, []int) {
- return fileDescriptor_mock_resources_2aaea320c9da9d33, []int{1}
+ return fileDescriptor_mock_resources_d7c973d5bbb5ae4c, []int{1}
}
func (m *FakeResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FakeResource.Unmarshal(m, b)
@@ -254,9 +261,52 @@ func (m *FakeResource) GetMetadata() core.Metadata {
return core.Metadata{}
}
+//
+// @solo-kit:xds-service=MockXdsResourceDiscoveryService
+// @solo-kit:resource.no_references
+type MockXdsResourceConfig struct {
+ // @solo-kit:resource.name
+ Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *MockXdsResourceConfig) Reset() { *m = MockXdsResourceConfig{} }
+func (m *MockXdsResourceConfig) String() string { return proto.CompactTextString(m) }
+func (*MockXdsResourceConfig) ProtoMessage() {}
+func (*MockXdsResourceConfig) Descriptor() ([]byte, []int) {
+ return fileDescriptor_mock_resources_d7c973d5bbb5ae4c, []int{2}
+}
+func (m *MockXdsResourceConfig) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_MockXdsResourceConfig.Unmarshal(m, b)
+}
+func (m *MockXdsResourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_MockXdsResourceConfig.Marshal(b, m, deterministic)
+}
+func (dst *MockXdsResourceConfig) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MockXdsResourceConfig.Merge(dst, src)
+}
+func (m *MockXdsResourceConfig) XXX_Size() int {
+ return xxx_messageInfo_MockXdsResourceConfig.Size(m)
+}
+func (m *MockXdsResourceConfig) XXX_DiscardUnknown() {
+ xxx_messageInfo_MockXdsResourceConfig.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MockXdsResourceConfig proto.InternalMessageInfo
+
+func (m *MockXdsResourceConfig) GetDomain() string {
+ if m != nil {
+ return m.Domain
+ }
+ return ""
+}
+
func init() {
proto.RegisterType((*MockResource)(nil), "testing.solo.io.MockResource")
proto.RegisterType((*FakeResource)(nil), "testing.solo.io.FakeResource")
+ proto.RegisterType((*MockXdsResourceConfig)(nil), "testing.solo.io.MockXdsResourceConfig")
}
func (this *MockResource) Equal(that interface{}) bool {
if that == nil {
@@ -381,34 +431,276 @@ func (this *FakeResource) Equal(that interface{}) bool {
}
return true
}
+func (this *MockXdsResourceConfig) Equal(that interface{}) bool {
+ if that == nil {
+ return this == nil
+ }
+
+ that1, ok := that.(*MockXdsResourceConfig)
+ if !ok {
+ that2, ok := that.(MockXdsResourceConfig)
+ if ok {
+ that1 = &that2
+ } else {
+ return false
+ }
+ }
+ if that1 == nil {
+ return this == nil
+ } else if this == nil {
+ return false
+ }
+ if this.Domain != that1.Domain {
+ return false
+ }
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
+ return false
+ }
+ return true
+}
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ context.Context
+var _ grpc.ClientConn
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the grpc package it is being compiled against.
+const _ = grpc.SupportPackageIsVersion4
+
+// MockXdsResourceDiscoveryServiceClient is the client API for MockXdsResourceDiscoveryService service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
+type MockXdsResourceDiscoveryServiceClient interface {
+ StreamMockXdsResourceConfig(ctx context.Context, opts ...grpc.CallOption) (MockXdsResourceDiscoveryService_StreamMockXdsResourceConfigClient, error)
+ IncrementalMockXdsResourceConfig(ctx context.Context, opts ...grpc.CallOption) (MockXdsResourceDiscoveryService_IncrementalMockXdsResourceConfigClient, error)
+ FetchMockXdsResourceConfig(ctx context.Context, in *v2.DiscoveryRequest, opts ...grpc.CallOption) (*v2.DiscoveryResponse, error)
+}
+
+type mockXdsResourceDiscoveryServiceClient struct {
+ cc *grpc.ClientConn
+}
+
+func NewMockXdsResourceDiscoveryServiceClient(cc *grpc.ClientConn) MockXdsResourceDiscoveryServiceClient {
+ return &mockXdsResourceDiscoveryServiceClient{cc}
+}
+
+func (c *mockXdsResourceDiscoveryServiceClient) StreamMockXdsResourceConfig(ctx context.Context, opts ...grpc.CallOption) (MockXdsResourceDiscoveryService_StreamMockXdsResourceConfigClient, error) {
+ stream, err := c.cc.NewStream(ctx, &_MockXdsResourceDiscoveryService_serviceDesc.Streams[0], "/testing.solo.io.MockXdsResourceDiscoveryService/StreamMockXdsResourceConfig", opts...)
+ if err != nil {
+ return nil, err
+ }
+ x := &mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigClient{stream}
+ return x, nil
+}
+
+type MockXdsResourceDiscoveryService_StreamMockXdsResourceConfigClient interface {
+ Send(*v2.DiscoveryRequest) error
+ Recv() (*v2.DiscoveryResponse, error)
+ grpc.ClientStream
+}
+
+type mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigClient struct {
+ grpc.ClientStream
+}
+
+func (x *mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigClient) Send(m *v2.DiscoveryRequest) error {
+ return x.ClientStream.SendMsg(m)
+}
+
+func (x *mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigClient) Recv() (*v2.DiscoveryResponse, error) {
+ m := new(v2.DiscoveryResponse)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
+func (c *mockXdsResourceDiscoveryServiceClient) IncrementalMockXdsResourceConfig(ctx context.Context, opts ...grpc.CallOption) (MockXdsResourceDiscoveryService_IncrementalMockXdsResourceConfigClient, error) {
+ stream, err := c.cc.NewStream(ctx, &_MockXdsResourceDiscoveryService_serviceDesc.Streams[1], "/testing.solo.io.MockXdsResourceDiscoveryService/IncrementalMockXdsResourceConfig", opts...)
+ if err != nil {
+ return nil, err
+ }
+ x := &mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigClient{stream}
+ return x, nil
+}
+
+type MockXdsResourceDiscoveryService_IncrementalMockXdsResourceConfigClient interface {
+ Send(*v2.IncrementalDiscoveryRequest) error
+ Recv() (*v2.IncrementalDiscoveryResponse, error)
+ grpc.ClientStream
+}
+
+type mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigClient struct {
+ grpc.ClientStream
+}
+
+func (x *mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigClient) Send(m *v2.IncrementalDiscoveryRequest) error {
+ return x.ClientStream.SendMsg(m)
+}
+
+func (x *mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigClient) Recv() (*v2.IncrementalDiscoveryResponse, error) {
+ m := new(v2.IncrementalDiscoveryResponse)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
+func (c *mockXdsResourceDiscoveryServiceClient) FetchMockXdsResourceConfig(ctx context.Context, in *v2.DiscoveryRequest, opts ...grpc.CallOption) (*v2.DiscoveryResponse, error) {
+ out := new(v2.DiscoveryResponse)
+ err := c.cc.Invoke(ctx, "/testing.solo.io.MockXdsResourceDiscoveryService/FetchMockXdsResourceConfig", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+// MockXdsResourceDiscoveryServiceServer is the server API for MockXdsResourceDiscoveryService service.
+type MockXdsResourceDiscoveryServiceServer interface {
+ StreamMockXdsResourceConfig(MockXdsResourceDiscoveryService_StreamMockXdsResourceConfigServer) error
+ IncrementalMockXdsResourceConfig(MockXdsResourceDiscoveryService_IncrementalMockXdsResourceConfigServer) error
+ FetchMockXdsResourceConfig(context.Context, *v2.DiscoveryRequest) (*v2.DiscoveryResponse, error)
+}
+
+func RegisterMockXdsResourceDiscoveryServiceServer(s *grpc.Server, srv MockXdsResourceDiscoveryServiceServer) {
+ s.RegisterService(&_MockXdsResourceDiscoveryService_serviceDesc, srv)
+}
+
+func _MockXdsResourceDiscoveryService_StreamMockXdsResourceConfig_Handler(srv interface{}, stream grpc.ServerStream) error {
+ return srv.(MockXdsResourceDiscoveryServiceServer).StreamMockXdsResourceConfig(&mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigServer{stream})
+}
+
+type MockXdsResourceDiscoveryService_StreamMockXdsResourceConfigServer interface {
+ Send(*v2.DiscoveryResponse) error
+ Recv() (*v2.DiscoveryRequest, error)
+ grpc.ServerStream
+}
+
+type mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigServer struct {
+ grpc.ServerStream
+}
+
+func (x *mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigServer) Send(m *v2.DiscoveryResponse) error {
+ return x.ServerStream.SendMsg(m)
+}
+
+func (x *mockXdsResourceDiscoveryServiceStreamMockXdsResourceConfigServer) Recv() (*v2.DiscoveryRequest, error) {
+ m := new(v2.DiscoveryRequest)
+ if err := x.ServerStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
+func _MockXdsResourceDiscoveryService_IncrementalMockXdsResourceConfig_Handler(srv interface{}, stream grpc.ServerStream) error {
+ return srv.(MockXdsResourceDiscoveryServiceServer).IncrementalMockXdsResourceConfig(&mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigServer{stream})
+}
+
+type MockXdsResourceDiscoveryService_IncrementalMockXdsResourceConfigServer interface {
+ Send(*v2.IncrementalDiscoveryResponse) error
+ Recv() (*v2.IncrementalDiscoveryRequest, error)
+ grpc.ServerStream
+}
+
+type mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigServer struct {
+ grpc.ServerStream
+}
+
+func (x *mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigServer) Send(m *v2.IncrementalDiscoveryResponse) error {
+ return x.ServerStream.SendMsg(m)
+}
+
+func (x *mockXdsResourceDiscoveryServiceIncrementalMockXdsResourceConfigServer) Recv() (*v2.IncrementalDiscoveryRequest, error) {
+ m := new(v2.IncrementalDiscoveryRequest)
+ if err := x.ServerStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
+func _MockXdsResourceDiscoveryService_FetchMockXdsResourceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(v2.DiscoveryRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MockXdsResourceDiscoveryServiceServer).FetchMockXdsResourceConfig(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/testing.solo.io.MockXdsResourceDiscoveryService/FetchMockXdsResourceConfig",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MockXdsResourceDiscoveryServiceServer).FetchMockXdsResourceConfig(ctx, req.(*v2.DiscoveryRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+var _MockXdsResourceDiscoveryService_serviceDesc = grpc.ServiceDesc{
+ ServiceName: "testing.solo.io.MockXdsResourceDiscoveryService",
+ HandlerType: (*MockXdsResourceDiscoveryServiceServer)(nil),
+ Methods: []grpc.MethodDesc{
+ {
+ MethodName: "FetchMockXdsResourceConfig",
+ Handler: _MockXdsResourceDiscoveryService_FetchMockXdsResourceConfig_Handler,
+ },
+ },
+ Streams: []grpc.StreamDesc{
+ {
+ StreamName: "StreamMockXdsResourceConfig",
+ Handler: _MockXdsResourceDiscoveryService_StreamMockXdsResourceConfig_Handler,
+ ServerStreams: true,
+ ClientStreams: true,
+ },
+ {
+ StreamName: "IncrementalMockXdsResourceConfig",
+ Handler: _MockXdsResourceDiscoveryService_IncrementalMockXdsResourceConfig_Handler,
+ ServerStreams: true,
+ ClientStreams: true,
+ },
+ },
+ Metadata: "github.com/solo-io/solo-kit/test/mocks/api/v1/mock_resources.proto",
+}
func init() {
- proto.RegisterFile("github.com/solo-io/solo-kit/test/mocks/api/v1/mock_resources.proto", fileDescriptor_mock_resources_2aaea320c9da9d33)
-}
-
-var fileDescriptor_mock_resources_2aaea320c9da9d33 = []byte{
- // 364 bytes of a gzipped FileDescriptorProto
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x00,
+ proto.RegisterFile("github.com/solo-io/solo-kit/test/mocks/api/v1/mock_resources.proto", fileDescriptor_mock_resources_d7c973d5bbb5ae4c)
+}
+
+var fileDescriptor_mock_resources_d7c973d5bbb5ae4c = []byte{
+ // 558 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x41, 0x6f, 0xd3, 0x4c,
+ 0x10, 0xad, 0xd3, 0x7c, 0xf9, 0x92, 0xa5, 0x51, 0x85, 0x09, 0x55, 0x14, 0x4a, 0x13, 0x05, 0x09,
+ 0xa5, 0x15, 0xac, 0x49, 0xb8, 0xa0, 0x1e, 0x43, 0x15, 0xc1, 0xa1, 0x42, 0x72, 0x38, 0x20, 0x0e,
+ 0x44, 0x9b, 0xf5, 0xc4, 0x5d, 0x12, 0xef, 0x04, 0xef, 0xda, 0xa5, 0x27, 0x10, 0x77, 0x4e, 0x5c,
+ 0xf8, 0x03, 0x48, 0xfc, 0x14, 0xee, 0xdc, 0x7b, 0x40, 0x9c, 0xb8, 0xf1, 0x0f, 0x90, 0xd7, 0x76,
+ 0x4a, 0xa0, 0xa0, 0x80, 0xc4, 0xc9, 0x3b, 0xfb, 0xde, 0x9b, 0x19, 0x3f, 0x8f, 0x87, 0xf4, 0x7d,
+ 0xa1, 0x8f, 0xa2, 0x31, 0xe5, 0x18, 0x38, 0x0a, 0x67, 0x78, 0x53, 0x60, 0xfa, 0x9c, 0x0a, 0xed,
+ 0x68, 0x50, 0xda, 0x09, 0x90, 0x4f, 0x95, 0xc3, 0xe6, 0xc2, 0x89, 0xbb, 0x26, 0x18, 0x85, 0xa0,
+ 0x30, 0x0a, 0x39, 0x28, 0x3a, 0x0f, 0x51, 0xa3, 0xbd, 0x99, 0xf0, 0x84, 0xf4, 0x69, 0x22, 0xa4,
+ 0x02, 0x1b, 0xdb, 0x20, 0x63, 0x3c, 0x49, 0x35, 0x3d, 0xc7, 0x13,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,
+ 0x0b, 0xf6, 0x93, 0x4d, 0xf2, 0xdc, 0x53, 0xf9, 0x2e, 0xe1, 0xa6, 0xda, 0xbe, 0xb5, 0xd7, 0x77,
+ 0xde, 0x7f, 0xda, 0xb1, 0x1e, 0xef, 0xae, 0xb8, 0x97, 0xe2, 0xee, 0xb8, 0x64, 0xfe, 0xc5, 0xdb,
+ 0xdf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x4f, 0x8f, 0xd0, 0xcb, 0x04, 0x00, 0x00,
}
diff --git a/test/mocks/v1/more_mock_resources.pb.go b/test/mocks/v1/more_mock_resources.pb.go
index a1784e93e..9f3b44c4a 100644
--- a/test/mocks/v1/more_mock_resources.pb.go
+++ b/test/mocks/v1/more_mock_resources.pb.go
@@ -38,7 +38,7 @@ func (m *AnotherMockResource) Reset() { *m = AnotherMockResource{} }
func (m *AnotherMockResource) String() string { return proto.CompactTextString(m) }
func (*AnotherMockResource) ProtoMessage() {}
func (*AnotherMockResource) Descriptor() ([]byte, []int) {
- return fileDescriptor_more_mock_resources_43d5af09ddcafd35, []int{0}
+ return fileDescriptor_more_mock_resources_5b74daa31f27e6ec, []int{0}
}
func (m *AnotherMockResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnotherMockResource.Unmarshal(m, b)
@@ -93,7 +93,7 @@ func (m *ClusterResource) Reset() { *m = ClusterResource{} }
func (m *ClusterResource) String() string { return proto.CompactTextString(m) }
func (*ClusterResource) ProtoMessage() {}
func (*ClusterResource) Descriptor() ([]byte, []int) {
- return fileDescriptor_more_mock_resources_43d5af09ddcafd35, []int{1}
+ return fileDescriptor_more_mock_resources_5b74daa31f27e6ec, []int{1}
}
func (m *ClusterResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClusterResource.Unmarshal(m, b)
@@ -206,10 +206,10 @@ func (this *ClusterResource) Equal(that interface{}) bool {
}
func init() {
- proto.RegisterFile("github.com/solo-io/solo-kit/test/mocks/api/v1/more_mock_resources.proto", fileDescriptor_more_mock_resources_43d5af09ddcafd35)
+ proto.RegisterFile("github.com/solo-io/solo-kit/test/mocks/api/v1/more_mock_resources.proto", fileDescriptor_more_mock_resources_5b74daa31f27e6ec)
}
-var fileDescriptor_more_mock_resources_43d5af09ddcafd35 = []byte{
+var fileDescriptor_more_mock_resources_5b74daa31f27e6ec = []byte{
// 329 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x92, 0x41, 0x4e, 0x3a, 0x31,
0x14, 0xc6, 0xff, 0xe5, 0x3f, 0x12, 0x2d, 0x0b, 0x4c, 0x25, 0x64, 0xc2, 0x42, 0x08, 0xc6, 0x04,