From 65c5f6751ee34c7ce6af8c192b54364ca1b1f0ad Mon Sep 17 00:00:00 2001 From: Robert Bailey Date: Fri, 12 Jul 2019 02:28:00 -0700 Subject: [PATCH] Updates to the sdk proto. Also ran `make gen-sdk-grpc`. --- pkg/sdk/sdk.pb.go | 189 +++++++++++++++++++++---------------------- pkg/sdkserver/sdk.go | 2 +- sdk.proto | 2 +- 3 files changed, 96 insertions(+), 97 deletions(-) diff --git a/pkg/sdk/sdk.pb.go b/pkg/sdk/sdk.pb.go index f06eaf754f..015876a7d9 100644 --- a/pkg/sdk/sdk.pb.go +++ b/pkg/sdk/sdk.pb.go @@ -50,7 +50,7 @@ func (m *Empty) Reset() { *m = Empty{} } func (m *Empty) String() string { return proto.CompactTextString(m) } func (*Empty) ProtoMessage() {} func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{0} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{0} } func (m *Empty) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Empty.Unmarshal(m, b) @@ -83,7 +83,7 @@ func (m *KeyValue) Reset() { *m = KeyValue{} } func (m *KeyValue) String() string { return proto.CompactTextString(m) } func (*KeyValue) ProtoMessage() {} func (*KeyValue) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{1} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{1} } func (m *KeyValue) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_KeyValue.Unmarshal(m, b) @@ -129,7 +129,7 @@ func (m *Duration) Reset() { *m = Duration{} } func (m *Duration) String() string { return proto.CompactTextString(m) } func (*Duration) ProtoMessage() {} func (*Duration) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{2} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{2} } func (m *Duration) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Duration.Unmarshal(m, b) @@ -172,7 +172,7 @@ func (m *GameServer) Reset() { *m = GameServer{} } func (m *GameServer) String() string { return proto.CompactTextString(m) } func (*GameServer) ProtoMessage() {} func (*GameServer) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{3} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{3} } func (m *GameServer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GameServer.Unmarshal(m, b) @@ -235,7 +235,7 @@ func (m *GameServer_ObjectMeta) Reset() { *m = GameServer_ObjectMeta{} } func (m *GameServer_ObjectMeta) String() string { return proto.CompactTextString(m) } func (*GameServer_ObjectMeta) ProtoMessage() {} func (*GameServer_ObjectMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{3, 0} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{3, 0} } func (m *GameServer_ObjectMeta) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GameServer_ObjectMeta.Unmarshal(m, b) @@ -329,7 +329,7 @@ func (m *GameServer_Spec) Reset() { *m = GameServer_Spec{} } func (m *GameServer_Spec) String() string { return proto.CompactTextString(m) } func (*GameServer_Spec) ProtoMessage() {} func (*GameServer_Spec) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{3, 1} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{3, 1} } func (m *GameServer_Spec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GameServer_Spec.Unmarshal(m, b) @@ -370,7 +370,7 @@ func (m *GameServer_Spec_Health) Reset() { *m = GameServer_Spec_Health{} func (m *GameServer_Spec_Health) String() string { return proto.CompactTextString(m) } func (*GameServer_Spec_Health) ProtoMessage() {} func (*GameServer_Spec_Health) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{3, 1, 0} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{3, 1, 0} } func (m *GameServer_Spec_Health) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GameServer_Spec_Health.Unmarshal(m, b) @@ -431,7 +431,7 @@ func (m *GameServer_Status) Reset() { *m = GameServer_Status{} } func (m *GameServer_Status) String() string { return proto.CompactTextString(m) } func (*GameServer_Status) ProtoMessage() {} func (*GameServer_Status) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{3, 2} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{3, 2} } func (m *GameServer_Status) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GameServer_Status.Unmarshal(m, b) @@ -484,7 +484,7 @@ func (m *GameServer_Status_Port) Reset() { *m = GameServer_Status_Port{} func (m *GameServer_Status_Port) String() string { return proto.CompactTextString(m) } func (*GameServer_Status_Port) ProtoMessage() {} func (*GameServer_Status_Port) Descriptor() ([]byte, []int) { - return fileDescriptor_sdk_c87317298fe478a7, []int{3, 2, 0} + return fileDescriptor_sdk_a0e878ab4087e6bc, []int{3, 2, 0} } func (m *GameServer_Status_Port) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GameServer_Status_Port.Unmarshal(m, b) @@ -519,17 +519,17 @@ func (m *GameServer_Status_Port) GetPort() int32 { } func init() { - proto.RegisterType((*Empty)(nil), "stable.agones.dev.sdk.Empty") - proto.RegisterType((*KeyValue)(nil), "stable.agones.dev.sdk.KeyValue") - proto.RegisterType((*Duration)(nil), "stable.agones.dev.sdk.Duration") - proto.RegisterType((*GameServer)(nil), "stable.agones.dev.sdk.GameServer") - proto.RegisterType((*GameServer_ObjectMeta)(nil), "stable.agones.dev.sdk.GameServer.ObjectMeta") - proto.RegisterMapType((map[string]string)(nil), "stable.agones.dev.sdk.GameServer.ObjectMeta.AnnotationsEntry") - proto.RegisterMapType((map[string]string)(nil), "stable.agones.dev.sdk.GameServer.ObjectMeta.LabelsEntry") - proto.RegisterType((*GameServer_Spec)(nil), "stable.agones.dev.sdk.GameServer.Spec") - proto.RegisterType((*GameServer_Spec_Health)(nil), "stable.agones.dev.sdk.GameServer.Spec.Health") - proto.RegisterType((*GameServer_Status)(nil), "stable.agones.dev.sdk.GameServer.Status") - proto.RegisterType((*GameServer_Status_Port)(nil), "stable.agones.dev.sdk.GameServer.Status.Port") + proto.RegisterType((*Empty)(nil), "agones.dev.sdk.Empty") + proto.RegisterType((*KeyValue)(nil), "agones.dev.sdk.KeyValue") + proto.RegisterType((*Duration)(nil), "agones.dev.sdk.Duration") + proto.RegisterType((*GameServer)(nil), "agones.dev.sdk.GameServer") + proto.RegisterType((*GameServer_ObjectMeta)(nil), "agones.dev.sdk.GameServer.ObjectMeta") + proto.RegisterMapType((map[string]string)(nil), "agones.dev.sdk.GameServer.ObjectMeta.AnnotationsEntry") + proto.RegisterMapType((map[string]string)(nil), "agones.dev.sdk.GameServer.ObjectMeta.LabelsEntry") + proto.RegisterType((*GameServer_Spec)(nil), "agones.dev.sdk.GameServer.Spec") + proto.RegisterType((*GameServer_Spec_Health)(nil), "agones.dev.sdk.GameServer.Spec.Health") + proto.RegisterType((*GameServer_Status)(nil), "agones.dev.sdk.GameServer.Status") + proto.RegisterType((*GameServer_Status_Port)(nil), "agones.dev.sdk.GameServer.Status.Port") } // Reference imports to suppress errors if they are not otherwise used. @@ -574,7 +574,7 @@ func NewSDKClient(cc *grpc.ClientConn) SDKClient { func (c *sDKClient) Ready(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) { out := new(Empty) - err := c.cc.Invoke(ctx, "/stable.agones.dev.sdk.SDK/Ready", in, out, opts...) + err := c.cc.Invoke(ctx, "/agones.dev.sdk.SDK/Ready", in, out, opts...) if err != nil { return nil, err } @@ -583,7 +583,7 @@ func (c *sDKClient) Ready(ctx context.Context, in *Empty, opts ...grpc.CallOptio func (c *sDKClient) Allocate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) { out := new(Empty) - err := c.cc.Invoke(ctx, "/stable.agones.dev.sdk.SDK/Allocate", in, out, opts...) + err := c.cc.Invoke(ctx, "/agones.dev.sdk.SDK/Allocate", in, out, opts...) if err != nil { return nil, err } @@ -592,7 +592,7 @@ func (c *sDKClient) Allocate(ctx context.Context, in *Empty, opts ...grpc.CallOp func (c *sDKClient) Shutdown(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) { out := new(Empty) - err := c.cc.Invoke(ctx, "/stable.agones.dev.sdk.SDK/Shutdown", in, out, opts...) + err := c.cc.Invoke(ctx, "/agones.dev.sdk.SDK/Shutdown", in, out, opts...) if err != nil { return nil, err } @@ -600,7 +600,7 @@ func (c *sDKClient) Shutdown(ctx context.Context, in *Empty, opts ...grpc.CallOp } func (c *sDKClient) Health(ctx context.Context, opts ...grpc.CallOption) (SDK_HealthClient, error) { - stream, err := c.cc.NewStream(ctx, &_SDK_serviceDesc.Streams[0], "/stable.agones.dev.sdk.SDK/Health", opts...) + stream, err := c.cc.NewStream(ctx, &_SDK_serviceDesc.Streams[0], "/agones.dev.sdk.SDK/Health", opts...) if err != nil { return nil, err } @@ -635,7 +635,7 @@ func (x *sDKHealthClient) CloseAndRecv() (*Empty, error) { func (c *sDKClient) GetGameServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GameServer, error) { out := new(GameServer) - err := c.cc.Invoke(ctx, "/stable.agones.dev.sdk.SDK/GetGameServer", in, out, opts...) + err := c.cc.Invoke(ctx, "/agones.dev.sdk.SDK/GetGameServer", in, out, opts...) if err != nil { return nil, err } @@ -643,7 +643,7 @@ func (c *sDKClient) GetGameServer(ctx context.Context, in *Empty, opts ...grpc.C } func (c *sDKClient) WatchGameServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (SDK_WatchGameServerClient, error) { - stream, err := c.cc.NewStream(ctx, &_SDK_serviceDesc.Streams[1], "/stable.agones.dev.sdk.SDK/WatchGameServer", opts...) + stream, err := c.cc.NewStream(ctx, &_SDK_serviceDesc.Streams[1], "/agones.dev.sdk.SDK/WatchGameServer", opts...) if err != nil { return nil, err } @@ -676,7 +676,7 @@ func (x *sDKWatchGameServerClient) Recv() (*GameServer, error) { func (c *sDKClient) SetLabel(ctx context.Context, in *KeyValue, opts ...grpc.CallOption) (*Empty, error) { out := new(Empty) - err := c.cc.Invoke(ctx, "/stable.agones.dev.sdk.SDK/SetLabel", in, out, opts...) + err := c.cc.Invoke(ctx, "/agones.dev.sdk.SDK/SetLabel", in, out, opts...) if err != nil { return nil, err } @@ -685,7 +685,7 @@ func (c *sDKClient) SetLabel(ctx context.Context, in *KeyValue, opts ...grpc.Cal func (c *sDKClient) SetAnnotation(ctx context.Context, in *KeyValue, opts ...grpc.CallOption) (*Empty, error) { out := new(Empty) - err := c.cc.Invoke(ctx, "/stable.agones.dev.sdk.SDK/SetAnnotation", in, out, opts...) + err := c.cc.Invoke(ctx, "/agones.dev.sdk.SDK/SetAnnotation", in, out, opts...) if err != nil { return nil, err } @@ -694,7 +694,7 @@ func (c *sDKClient) SetAnnotation(ctx context.Context, in *KeyValue, opts ...grp func (c *sDKClient) Reserve(ctx context.Context, in *Duration, opts ...grpc.CallOption) (*Empty, error) { out := new(Empty) - err := c.cc.Invoke(ctx, "/stable.agones.dev.sdk.SDK/Reserve", in, out, opts...) + err := c.cc.Invoke(ctx, "/agones.dev.sdk.SDK/Reserve", in, out, opts...) if err != nil { return nil, err } @@ -737,7 +737,7 @@ func _SDK_Ready_Handler(srv interface{}, ctx context.Context, dec func(interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stable.agones.dev.sdk.SDK/Ready", + FullMethod: "/agones.dev.sdk.SDK/Ready", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SDKServer).Ready(ctx, req.(*Empty)) @@ -755,7 +755,7 @@ func _SDK_Allocate_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stable.agones.dev.sdk.SDK/Allocate", + FullMethod: "/agones.dev.sdk.SDK/Allocate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SDKServer).Allocate(ctx, req.(*Empty)) @@ -773,7 +773,7 @@ func _SDK_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stable.agones.dev.sdk.SDK/Shutdown", + FullMethod: "/agones.dev.sdk.SDK/Shutdown", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SDKServer).Shutdown(ctx, req.(*Empty)) @@ -817,7 +817,7 @@ func _SDK_GetGameServer_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stable.agones.dev.sdk.SDK/GetGameServer", + FullMethod: "/agones.dev.sdk.SDK/GetGameServer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SDKServer).GetGameServer(ctx, req.(*Empty)) @@ -856,7 +856,7 @@ func _SDK_SetLabel_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stable.agones.dev.sdk.SDK/SetLabel", + FullMethod: "/agones.dev.sdk.SDK/SetLabel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SDKServer).SetLabel(ctx, req.(*KeyValue)) @@ -874,7 +874,7 @@ func _SDK_SetAnnotation_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stable.agones.dev.sdk.SDK/SetAnnotation", + FullMethod: "/agones.dev.sdk.SDK/SetAnnotation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SDKServer).SetAnnotation(ctx, req.(*KeyValue)) @@ -892,7 +892,7 @@ func _SDK_Reserve_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/stable.agones.dev.sdk.SDK/Reserve", + FullMethod: "/agones.dev.sdk.SDK/Reserve", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SDKServer).Reserve(ctx, req.(*Duration)) @@ -901,7 +901,7 @@ func _SDK_Reserve_Handler(srv interface{}, ctx context.Context, dec func(interfa } var _SDK_serviceDesc = grpc.ServiceDesc{ - ServiceName: "stable.agones.dev.sdk.SDK", + ServiceName: "agones.dev.sdk.SDK", HandlerType: (*SDKServer)(nil), Methods: []grpc.MethodDesc{ { @@ -948,62 +948,61 @@ var _SDK_serviceDesc = grpc.ServiceDesc{ Metadata: "sdk.proto", } -func init() { proto.RegisterFile("sdk.proto", fileDescriptor_sdk_c87317298fe478a7) } - -var fileDescriptor_sdk_c87317298fe478a7 = []byte{ - // 850 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5f, 0x6f, 0x1b, 0x45, - 0x10, 0xd7, 0xc5, 0xff, 0xc7, 0xa4, 0x49, 0x36, 0xa9, 0x74, 0x3d, 0x45, 0xb4, 0x9c, 0x00, 0x85, - 0x40, 0xef, 0x90, 0x79, 0x29, 0x96, 0x40, 0x14, 0x12, 0x15, 0xa9, 0x54, 0x54, 0xe7, 0x2a, 0x48, - 0x15, 0xc8, 0xda, 0xdc, 0x0e, 0xf6, 0x91, 0xf3, 0xed, 0x69, 0x77, 0x9d, 0xca, 0xaf, 0x88, 0x6f, - 0xc0, 0x87, 0xe0, 0x05, 0x5e, 0xf8, 0x2a, 0x7c, 0x05, 0x3e, 0x06, 0x0f, 0x68, 0x67, 0xef, 0x62, - 0xab, 0x6a, 0x1a, 0x47, 0xc9, 0x93, 0x77, 0x67, 0xe6, 0xf7, 0xfb, 0xed, 0xcd, 0xce, 0xcc, 0x1a, - 0x7a, 0x5a, 0x9c, 0x45, 0xa5, 0x92, 0x46, 0xb2, 0xbb, 0xda, 0xf0, 0xd3, 0x1c, 0x23, 0x3e, 0x91, - 0x05, 0xea, 0x48, 0xe0, 0x79, 0xa4, 0xc5, 0x59, 0xb0, 0x3f, 0x91, 0x72, 0x92, 0x63, 0xcc, 0xcb, - 0x2c, 0xe6, 0x45, 0x21, 0x0d, 0x37, 0x99, 0x2c, 0xb4, 0x03, 0x85, 0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 0xe8, 0x2c, 0xfb, 0xcb, 0x8b, 0xca, - 0xbb, 0x09, 0x37, 0x23, 0xee, 0x77, 0xc2, 0x4e, 0xec, 0x2a, 0x7a, 0xe8, 0x1d, 0x1e, 0x78, 0x0c, - 0x61, 0xf3, 0x09, 0x9a, 0x95, 0xe7, 0xe2, 0xed, 0x12, 0xef, 0x5d, 0x59, 0x0c, 0xe1, 0x2e, 0xe9, - 0x6c, 0xb2, 0x7e, 0x3c, 0xb1, 0x53, 0xd7, 0xb1, 0x4a, 0xd8, 0xfa, 0x81, 0x9b, 0x74, 0x7a, 0x9b, - 0x42, 0xf7, 0x48, 0x68, 0x97, 0xed, 0xc4, 0xaf, 0x2c, 0xf5, 0x8a, 0xdc, 0xa7, 0xf6, 0xbb, 0xba, - 0x23, 0x34, 0x34, 0x3c, 0xd8, 0xfd, 0x4b, 0xb8, 0xea, 0xf7, 0xf7, 0x8a, 0xc4, 0x05, 0xa4, 0xb3, - 0x17, 0x6c, 0xc5, 0xf6, 0x01, 0x15, 0xdc, 0xf0, 0x98, 0xc6, 0x9b, 0xbd, 0x1a, 0x09, 0x9b, 0x23, - 0x34, 0xcb, 0x19, 0x77, 0x53, 0xad, 0xfb, 0xa4, 0x75, 0x2f, 0xd8, 0x5b, 0x6a, 0x2d, 0x27, 0xb4, - 0x15, 0xfc, 0x09, 0x3a, 0x89, 0xfb, 0xca, 0x4b, 0xa5, 0xea, 0xbf, 0x08, 0x57, 0x48, 0x55, 0xf7, - 0x14, 0x76, 0x63, 0xe5, 0x08, 0x87, 0xde, 0xe1, 0xd7, 0xad, 0x97, 0x0d, 0x2d, 0xce, 0x4e, 0xdb, - 0xf4, 0x67, 0xe5, 0xb3, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x40, 0x3f, 0x1d, 0xee, 0x08, - 0x00, 0x00, +func init() { proto.RegisterFile("sdk.proto", fileDescriptor_sdk_a0e878ab4087e6bc) } + +var fileDescriptor_sdk_a0e878ab4087e6bc = []byte{ + // 843 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x5f, 0x8f, 0xdb, 0x44, + 0x10, 0xc0, 0xe5, 0x4b, 0xe2, 0x24, 0x13, 0xee, 0xdf, 0xde, 0x55, 0x72, 0xad, 0x8a, 0x16, 0x8b, + 0xa2, 0xe3, 0x10, 0x36, 0xa4, 0x12, 0xa2, 0x27, 0x54, 0xa9, 0xe8, 0x4a, 0x8b, 0x5a, 0x28, 0x72, + 0xaa, 0x16, 0xf1, 0x12, 0xed, 0x79, 0x87, 0xc4, 0x9c, 0xe3, 0xb5, 0x76, 0x37, 0x57, 0xe5, 0x11, + 0x1e, 0xf8, 0x02, 0x3c, 0xf1, 0x05, 0x78, 0xe2, 0xdb, 0xf0, 0x15, 0xf8, 0x0a, 0xbc, 0xa3, 0x9d, + 0xb5, 0x2f, 0xe1, 0xe8, 0xb5, 0x17, 0x78, 0xca, 0xce, 0xbf, 0xdf, 0x6c, 0xc6, 0x33, 0xb3, 0xd0, + 0xd7, 0xe2, 0x34, 0xae, 0x94, 0x34, 0x92, 0x6d, 0xf1, 0x89, 0x2c, 0x51, 0xc7, 0x02, 0xcf, 0x62, + 0x2d, 0x4e, 0xc3, 0x1b, 0x13, 0x29, 0x27, 0x05, 0x26, 0xbc, 0xca, 0x13, 0x5e, 0x96, 0xd2, 0x70, + 0x93, 0xcb, 0x52, 0x3b, 0xef, 0xa8, 0x0b, 0x9d, 0x07, 0xb3, 0xca, 0x2c, 0xa2, 0x21, 0xf4, 0x1e, + 0xe3, 0xe2, 0x39, 0x2f, 0xe6, 0xc8, 0x76, 0xa0, 0x75, 0x8a, 0x8b, 0xc0, 0xbb, 0xe5, 0x1d, 0xf4, + 0x53, 0x7b, 0x64, 0xfb, 0xd0, 0x39, 0xb3, 0xa6, 0x60, 0x83, 0x74, 0x4e, 0x88, 0xde, 0x85, 0xde, + 0xf1, 0x5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d8, 0x9d, 0xe8, 0x38, 0x1c, 0xb6, 0x5f, 0x70, 0x93, 0x4d, 0xff, 0x1f, 0xfa, 0x3a, 0xa1, 0xf7, + 0xd8, 0x6e, 0xf2, 0xd2, 0xc2, 0x56, 0x12, 0x7c, 0x64, 0xef, 0xde, 0x1b, 0xa1, 0xa1, 0xd1, 0x66, + 0xc1, 0x45, 0x48, 0xf3, 0xe6, 0x5d, 0x56, 0x8e, 0x90, 0xc8, 0xfb, 0xe1, 0x76, 0x62, 0x5f, 0x2b, + 0xc1, 0x0d, 0x4f, 0x68, 0xdd, 0xd8, 0x12, 0x73, 0xd8, 0x1c, 0xa1, 0x59, 0xee, 0x9c, 0xf5, 0xe9, + 0x37, 0x89, 0x7e, 0x3d, 0xdc, 0x5f, 0xd2, 0x97, 0xcb, 0xd1, 0xa6, 0x78, 0x0a, 0xdd, 0xd4, 0xfd, + 0x93, 0x7f, 0xc3, 0x9b, 0xa7, 0xf7, 0x32, 0x78, 0x5d, 0xef, 0xa8, 0x97, 0x28, 0x87, 0x38, 0xf2, + 0x0e, 0x3f, 0xef, 0x7c, 0xd7, 0xd2, 0xe2, 0xf4, 0xc4, 0xa7, 0xd7, 0xff, 0xce, 0xdf, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x42, 0xa7, 0x46, 0xe0, 0x38, 0x08, 0x00, 0x00, } diff --git a/pkg/sdkserver/sdk.go b/pkg/sdkserver/sdk.go index 7db004b149..cd4d897d81 100644 --- a/pkg/sdkserver/sdk.go +++ b/pkg/sdkserver/sdk.go @@ -21,7 +21,7 @@ import ( const ( // metadataPrefix prefix for labels and annotations - metadataPrefix = "stable.agones.dev/sdk-" + metadataPrefix = "agones.dev/sdk-" ) // convert converts a K8s GameServer object, into a gRPC SDK GameServer object diff --git a/sdk.proto b/sdk.proto index 30adec5a94..5232562397 100644 --- a/sdk.proto +++ b/sdk.proto @@ -14,7 +14,7 @@ syntax = "proto3"; -package stable.agones.dev.sdk; +package agones.dev.sdk; option go_package = "sdk"; import "google/api/annotations.proto";