pkg/cniprotocol/v1/cni.pb.go (513 lines of code) (raw):

// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.3 // protoc (unknown) // source: pkg/cniprotocol/v1/cni.proto package v1 import ( reflect "reflect" sync "sync" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type DefaultRoute int32 const ( DefaultRoute_DEFAULT_ROUTE_UNSPECIFIED DefaultRoute = 0 DefaultRoute_DEFAULT_ROUTE_STATIC_EGRESS_GATEWAY DefaultRoute = 1 DefaultRoute_DEFAULT_ROUTE_AZURE_NETWORKING DefaultRoute = 2 ) // Enum value maps for DefaultRoute. var ( DefaultRoute_name = map[int32]string{ 0: "DEFAULT_ROUTE_UNSPECIFIED", 1: "DEFAULT_ROUTE_STATIC_EGRESS_GATEWAY", 2: "DEFAULT_ROUTE_AZURE_NETWORKING", } DefaultRoute_value = map[string]int32{ "DEFAULT_ROUTE_UNSPECIFIED": 0, "DEFAULT_ROUTE_STATIC_EGRESS_GATEWAY": 1, "DEFAULT_ROUTE_AZURE_NETWORKING": 2, } ) func (x DefaultRoute) Enum() *DefaultRoute { p := new(DefaultRoute) *p = x return p } func (x DefaultRoute) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (DefaultRoute) Descriptor() protoreflect.EnumDescriptor { return file_pkg_cniprotocol_v1_cni_proto_enumTypes[0].Descriptor() } func (DefaultRoute) Type() protoreflect.EnumType { return &file_pkg_cniprotocol_v1_cni_proto_enumTypes[0] } func (x DefaultRoute) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use DefaultRoute.Descriptor instead. func (DefaultRoute) EnumDescriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{0} } type PodInfo struct { state protoimpl.MessageState `protogen:"open.v1"` PodName string `protobuf:"bytes,1,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` PodNamespace string `protobuf:"bytes,2,opt,name=pod_namespace,json=podNamespace,proto3" json:"pod_namespace,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PodInfo) Reset() { *x = PodInfo{} mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PodInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*PodInfo) ProtoMessage() {} func (x *PodInfo) ProtoReflect() protoreflect.Message { mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PodInfo.ProtoReflect.Descriptor instead. func (*PodInfo) Descriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{0} } func (x *PodInfo) GetPodName() string { if x != nil { return x.PodName } return "" } func (x *PodInfo) GetPodNamespace() string { if x != nil { return x.PodNamespace } return "" } // CNIAddRequest is the request for cni add function. type NicAddRequest struct { state protoimpl.MessageState `protogen:"open.v1"` PodConfig *PodInfo `protobuf:"bytes,1,opt,name=pod_config,json=podConfig,proto3" json:"pod_config,omitempty"` ListenPort int32 `protobuf:"varint,2,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` AllowedIp string `protobuf:"bytes,3,opt,name=allowed_ip,json=allowedIp,proto3" json:"allowed_ip,omitempty"` PublicKey string `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` GatewayName string `protobuf:"bytes,5,opt,name=gateway_name,json=gatewayName,proto3" json:"gateway_name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NicAddRequest) Reset() { *x = NicAddRequest{} mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NicAddRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*NicAddRequest) ProtoMessage() {} func (x *NicAddRequest) ProtoReflect() protoreflect.Message { mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NicAddRequest.ProtoReflect.Descriptor instead. func (*NicAddRequest) Descriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{1} } func (x *NicAddRequest) GetPodConfig() *PodInfo { if x != nil { return x.PodConfig } return nil } func (x *NicAddRequest) GetListenPort() int32 { if x != nil { return x.ListenPort } return 0 } func (x *NicAddRequest) GetAllowedIp() string { if x != nil { return x.AllowedIp } return "" } func (x *NicAddRequest) GetPublicKey() string { if x != nil { return x.PublicKey } return "" } func (x *NicAddRequest) GetGatewayName() string { if x != nil { return x.GatewayName } return "" } // CNIAddResponse is the response for cni add function. type NicAddResponse struct { state protoimpl.MessageState `protogen:"open.v1"` EndpointIp string `protobuf:"bytes,1,opt,name=endpoint_ip,json=endpointIp,proto3" json:"endpoint_ip,omitempty"` ListenPort int32 `protobuf:"varint,2,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` ExceptionCidrs []string `protobuf:"bytes,4,rep,name=exception_cidrs,json=exceptionCidrs,proto3" json:"exception_cidrs,omitempty"` DefaultRoute DefaultRoute `protobuf:"varint,5,opt,name=default_route,json=defaultRoute,proto3,enum=pkg.cniprotocol.v1.DefaultRoute" json:"default_route,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NicAddResponse) Reset() { *x = NicAddResponse{} mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NicAddResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*NicAddResponse) ProtoMessage() {} func (x *NicAddResponse) ProtoReflect() protoreflect.Message { mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NicAddResponse.ProtoReflect.Descriptor instead. func (*NicAddResponse) Descriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{2} } func (x *NicAddResponse) GetEndpointIp() string { if x != nil { return x.EndpointIp } return "" } func (x *NicAddResponse) GetListenPort() int32 { if x != nil { return x.ListenPort } return 0 } func (x *NicAddResponse) GetPublicKey() string { if x != nil { return x.PublicKey } return "" } func (x *NicAddResponse) GetExceptionCidrs() []string { if x != nil { return x.ExceptionCidrs } return nil } func (x *NicAddResponse) GetDefaultRoute() DefaultRoute { if x != nil { return x.DefaultRoute } return DefaultRoute_DEFAULT_ROUTE_UNSPECIFIED } // CNIDeleteRequest is the request for cni del function. type NicDelRequest struct { state protoimpl.MessageState `protogen:"open.v1"` PodConfig *PodInfo `protobuf:"bytes,1,opt,name=pod_config,json=podConfig,proto3" json:"pod_config,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NicDelRequest) Reset() { *x = NicDelRequest{} mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NicDelRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*NicDelRequest) ProtoMessage() {} func (x *NicDelRequest) ProtoReflect() protoreflect.Message { mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NicDelRequest.ProtoReflect.Descriptor instead. func (*NicDelRequest) Descriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{3} } func (x *NicDelRequest) GetPodConfig() *PodInfo { if x != nil { return x.PodConfig } return nil } // CNIDeleteResponse is the response for cni del function. type NicDelResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NicDelResponse) Reset() { *x = NicDelResponse{} mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NicDelResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*NicDelResponse) ProtoMessage() {} func (x *NicDelResponse) ProtoReflect() protoreflect.Message { mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NicDelResponse.ProtoReflect.Descriptor instead. func (*NicDelResponse) Descriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{4} } // PodRetrieveRequest is the request for retrieving pod function. type PodRetrieveRequest struct { state protoimpl.MessageState `protogen:"open.v1"` PodConfig *PodInfo `protobuf:"bytes,1,opt,name=pod_config,json=podConfig,proto3" json:"pod_config,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PodRetrieveRequest) Reset() { *x = PodRetrieveRequest{} mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PodRetrieveRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*PodRetrieveRequest) ProtoMessage() {} func (x *PodRetrieveRequest) ProtoReflect() protoreflect.Message { mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PodRetrieveRequest.ProtoReflect.Descriptor instead. func (*PodRetrieveRequest) Descriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{5} } func (x *PodRetrieveRequest) GetPodConfig() *PodInfo { if x != nil { return x.PodConfig } return nil } // PodRetrieveResponse is the response for retrieving pod function. type PodRetrieveResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Annotations map[string]string `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PodRetrieveResponse) Reset() { *x = PodRetrieveResponse{} mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PodRetrieveResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*PodRetrieveResponse) ProtoMessage() {} func (x *PodRetrieveResponse) ProtoReflect() protoreflect.Message { mi := &file_pkg_cniprotocol_v1_cni_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PodRetrieveResponse.ProtoReflect.Descriptor instead. func (*PodRetrieveResponse) Descriptor() ([]byte, []int) { return file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP(), []int{6} } func (x *PodRetrieveResponse) GetAnnotations() map[string]string { if x != nil { return x.Annotations } return nil } var File_pkg_cniprotocol_v1_cni_proto protoreflect.FileDescriptor var file_pkg_cniprotocol_v1_cni_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6e, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x22, 0x49, 0x0a, 0x07, 0x50, 0x6f, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x0d, 0x4e, 0x69, 0x63, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x6f, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x49, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe1, 0x01, 0x0a, 0x0e, 0x4e, 0x69, 0x63, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x69, 0x64, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x69, 0x64, 0x72, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x22, 0x4b, 0x0a, 0x0d, 0x4e, 0x69, 0x63, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x6f, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x10, 0x0a, 0x0e, 0x4e, 0x69, 0x63, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x0a, 0x12, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x6f, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xb1, 0x01, 0x0a, 0x13, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x7a, 0x0a, 0x0c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x27, 0x0a, 0x23, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x45, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x47, 0x41, 0x54, 0x45, 0x57, 0x41, 0x59, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x32, 0x8e, 0x02, 0x0a, 0x0a, 0x4e, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x4e, 0x69, 0x63, 0x41, 0x64, 0x64, 0x12, 0x21, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x69, 0x63, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x69, 0x63, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x4e, 0x69, 0x63, 0x44, 0x65, 0x6c, 0x12, 0x21, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x69, 0x63, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x69, 0x63, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0b, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x12, 0x26, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x63, 0x6e, 0x69, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_pkg_cniprotocol_v1_cni_proto_rawDescOnce sync.Once file_pkg_cniprotocol_v1_cni_proto_rawDescData = file_pkg_cniprotocol_v1_cni_proto_rawDesc ) func file_pkg_cniprotocol_v1_cni_proto_rawDescGZIP() []byte { file_pkg_cniprotocol_v1_cni_proto_rawDescOnce.Do(func() { file_pkg_cniprotocol_v1_cni_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_cniprotocol_v1_cni_proto_rawDescData) }) return file_pkg_cniprotocol_v1_cni_proto_rawDescData } var file_pkg_cniprotocol_v1_cni_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_pkg_cniprotocol_v1_cni_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_pkg_cniprotocol_v1_cni_proto_goTypes = []any{ (DefaultRoute)(0), // 0: pkg.cniprotocol.v1.DefaultRoute (*PodInfo)(nil), // 1: pkg.cniprotocol.v1.PodInfo (*NicAddRequest)(nil), // 2: pkg.cniprotocol.v1.NicAddRequest (*NicAddResponse)(nil), // 3: pkg.cniprotocol.v1.NicAddResponse (*NicDelRequest)(nil), // 4: pkg.cniprotocol.v1.NicDelRequest (*NicDelResponse)(nil), // 5: pkg.cniprotocol.v1.NicDelResponse (*PodRetrieveRequest)(nil), // 6: pkg.cniprotocol.v1.PodRetrieveRequest (*PodRetrieveResponse)(nil), // 7: pkg.cniprotocol.v1.PodRetrieveResponse nil, // 8: pkg.cniprotocol.v1.PodRetrieveResponse.AnnotationsEntry } var file_pkg_cniprotocol_v1_cni_proto_depIdxs = []int32{ 1, // 0: pkg.cniprotocol.v1.NicAddRequest.pod_config:type_name -> pkg.cniprotocol.v1.PodInfo 0, // 1: pkg.cniprotocol.v1.NicAddResponse.default_route:type_name -> pkg.cniprotocol.v1.DefaultRoute 1, // 2: pkg.cniprotocol.v1.NicDelRequest.pod_config:type_name -> pkg.cniprotocol.v1.PodInfo 1, // 3: pkg.cniprotocol.v1.PodRetrieveRequest.pod_config:type_name -> pkg.cniprotocol.v1.PodInfo 8, // 4: pkg.cniprotocol.v1.PodRetrieveResponse.annotations:type_name -> pkg.cniprotocol.v1.PodRetrieveResponse.AnnotationsEntry 2, // 5: pkg.cniprotocol.v1.NicService.NicAdd:input_type -> pkg.cniprotocol.v1.NicAddRequest 4, // 6: pkg.cniprotocol.v1.NicService.NicDel:input_type -> pkg.cniprotocol.v1.NicDelRequest 6, // 7: pkg.cniprotocol.v1.NicService.PodRetrieve:input_type -> pkg.cniprotocol.v1.PodRetrieveRequest 3, // 8: pkg.cniprotocol.v1.NicService.NicAdd:output_type -> pkg.cniprotocol.v1.NicAddResponse 5, // 9: pkg.cniprotocol.v1.NicService.NicDel:output_type -> pkg.cniprotocol.v1.NicDelResponse 7, // 10: pkg.cniprotocol.v1.NicService.PodRetrieve:output_type -> pkg.cniprotocol.v1.PodRetrieveResponse 8, // [8:11] is the sub-list for method output_type 5, // [5:8] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name } func init() { file_pkg_cniprotocol_v1_cni_proto_init() } func file_pkg_cniprotocol_v1_cni_proto_init() { if File_pkg_cniprotocol_v1_cni_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_pkg_cniprotocol_v1_cni_proto_rawDesc, NumEnums: 1, NumMessages: 8, NumExtensions: 0, NumServices: 1, }, GoTypes: file_pkg_cniprotocol_v1_cni_proto_goTypes, DependencyIndexes: file_pkg_cniprotocol_v1_cni_proto_depIdxs, EnumInfos: file_pkg_cniprotocol_v1_cni_proto_enumTypes, MessageInfos: file_pkg_cniprotocol_v1_cni_proto_msgTypes, }.Build() File_pkg_cniprotocol_v1_cni_proto = out.File file_pkg_cniprotocol_v1_cni_proto_rawDesc = nil file_pkg_cniprotocol_v1_cni_proto_goTypes = nil file_pkg_cniprotocol_v1_cni_proto_depIdxs = nil }