Versions in this module Expand all Collapse all v1 v1.0.10 Mar 20, 2019 Changes in this version + var IPType_name = map[int32]string + var IPType_value = map[string]int32 + func RegisterTerwayBackendServer(s *grpc.Server, srv TerwayBackendServer) + type AllocIPReply struct + IPType IPType + NetworkInfo isAllocIPReply_NetworkInfo + Success bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AllocIPReply) Descriptor() ([]byte, []int) + func (*AllocIPReply) ProtoMessage() + func (*AllocIPReply) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (m *AllocIPReply) GetENIMultiIP() *ENIMultiIP + func (m *AllocIPReply) GetIPType() IPType + func (m *AllocIPReply) GetManagedK8S() *ManagedK8SENI + func (m *AllocIPReply) GetNetworkInfo() isAllocIPReply_NetworkInfo + func (m *AllocIPReply) GetSuccess() bool + func (m *AllocIPReply) GetVpcEni() *VPCENI + func (m *AllocIPReply) GetVpcIp() *VPCIP + func (m *AllocIPReply) Reset() + func (m *AllocIPReply) String() string + func (m *AllocIPReply) XXX_DiscardUnknown() + func (m *AllocIPReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AllocIPReply) XXX_Merge(src proto.Message) + func (m *AllocIPReply) XXX_Size() int + func (m *AllocIPReply) XXX_Unmarshal(b []byte) error + type AllocIPReply_ENIMultiIP struct + ENIMultiIP *ENIMultiIP + type AllocIPReply_ManagedK8S struct + ManagedK8S *ManagedK8SENI + type AllocIPReply_VpcEni struct + VpcEni *VPCENI + type AllocIPReply_VpcIp struct + VpcIp *VPCIP + type AllocIPRequest struct + IfName string + K8SPodInfraContainerId string + K8SPodName string + K8SPodNamespace string + Netns string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AllocIPRequest) Descriptor() ([]byte, []int) + func (*AllocIPRequest) ProtoMessage() + func (m *AllocIPRequest) GetIfName() string + func (m *AllocIPRequest) GetK8SPodInfraContainerId() string + func (m *AllocIPRequest) GetK8SPodName() string + func (m *AllocIPRequest) GetK8SPodNamespace() string + func (m *AllocIPRequest) GetNetns() string + func (m *AllocIPRequest) Reset() + func (m *AllocIPRequest) String() string + func (m *AllocIPRequest) XXX_DiscardUnknown() + func (m *AllocIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AllocIPRequest) XXX_Merge(src proto.Message) + func (m *AllocIPRequest) XXX_Size() int + func (m *AllocIPRequest) XXX_Unmarshal(b []byte) error + type ENI struct + DeviceNumber int32 + Gateway string + IPv4Addr string + IPv4Subnet string + MacAddr string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ENI) Descriptor() ([]byte, []int) + func (*ENI) ProtoMessage() + func (m *ENI) GetDeviceNumber() int32 + func (m *ENI) GetGateway() string + func (m *ENI) GetIPv4Addr() string + func (m *ENI) GetIPv4Subnet() string + func (m *ENI) GetMacAddr() string + func (m *ENI) Reset() + func (m *ENI) String() string + func (m *ENI) XXX_DiscardUnknown() + func (m *ENI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ENI) XXX_Merge(src proto.Message) + func (m *ENI) XXX_Size() int + func (m *ENI) XXX_Unmarshal(b []byte) error + type ENIMultiIP struct + EniConfig *ENI + PodConfig *Pod + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ENIMultiIP) Descriptor() ([]byte, []int) + func (*ENIMultiIP) ProtoMessage() + func (m *ENIMultiIP) GetEniConfig() *ENI + func (m *ENIMultiIP) GetPodConfig() *Pod + func (m *ENIMultiIP) Reset() + func (m *ENIMultiIP) String() string + func (m *ENIMultiIP) XXX_DiscardUnknown() + func (m *ENIMultiIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ENIMultiIP) XXX_Merge(src proto.Message) + func (m *ENIMultiIP) XXX_Size() int + func (m *ENIMultiIP) XXX_Unmarshal(b []byte) error + type GetInfoReply struct + IPType IPType + NodeCidr string + PodConfig *Pod + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetInfoReply) Descriptor() ([]byte, []int) + func (*GetInfoReply) ProtoMessage() + func (m *GetInfoReply) GetIPType() IPType + func (m *GetInfoReply) GetNodeCidr() string + func (m *GetInfoReply) GetPodConfig() *Pod + func (m *GetInfoReply) Reset() + func (m *GetInfoReply) String() string + func (m *GetInfoReply) XXX_DiscardUnknown() + func (m *GetInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetInfoReply) XXX_Merge(src proto.Message) + func (m *GetInfoReply) XXX_Size() int + func (m *GetInfoReply) XXX_Unmarshal(b []byte) error + type GetInfoRequest struct + K8SPodInfraContainerId string + K8SPodName string + K8SPodNamespace string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetInfoRequest) Descriptor() ([]byte, []int) + func (*GetInfoRequest) ProtoMessage() + func (m *GetInfoRequest) GetK8SPodInfraContainerId() string + func (m *GetInfoRequest) GetK8SPodName() string + func (m *GetInfoRequest) GetK8SPodNamespace() string + func (m *GetInfoRequest) Reset() + func (m *GetInfoRequest) String() string + func (m *GetInfoRequest) XXX_DiscardUnknown() + func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetInfoRequest) XXX_Merge(src proto.Message) + func (m *GetInfoRequest) XXX_Size() int + func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error + type IPType int32 + const IPType_TypeENIMultiIP + const IPType_TypeManagedK8S + const IPType_TypeVPCENI + const IPType_TypeVPCIP + func (IPType) EnumDescriptor() ([]byte, []int) + func (x IPType) String() string + type ManagedK8SENI struct + EniConfig *ENI + NodeCidr string + PodCidr string + PodConfig *Pod + ServiceCidr string + VpcCidr string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ManagedK8SENI) Descriptor() ([]byte, []int) + func (*ManagedK8SENI) ProtoMessage() + func (m *ManagedK8SENI) GetEniConfig() *ENI + func (m *ManagedK8SENI) GetNodeCidr() string + func (m *ManagedK8SENI) GetPodCidr() string + func (m *ManagedK8SENI) GetPodConfig() *Pod + func (m *ManagedK8SENI) GetServiceCidr() string + func (m *ManagedK8SENI) GetVpcCidr() string + func (m *ManagedK8SENI) Reset() + func (m *ManagedK8SENI) String() string + func (m *ManagedK8SENI) XXX_DiscardUnknown() + func (m *ManagedK8SENI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ManagedK8SENI) XXX_Merge(src proto.Message) + func (m *ManagedK8SENI) XXX_Size() int + func (m *ManagedK8SENI) XXX_Unmarshal(b []byte) error + type Pod struct + Egress uint64 + Ingress uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Pod) Descriptor() ([]byte, []int) + func (*Pod) ProtoMessage() + func (m *Pod) GetEgress() uint64 + func (m *Pod) GetIngress() uint64 + func (m *Pod) Reset() + func (m *Pod) String() string + func (m *Pod) XXX_DiscardUnknown() + func (m *Pod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pod) XXX_Merge(src proto.Message) + func (m *Pod) XXX_Size() int + func (m *Pod) XXX_Unmarshal(b []byte) error + type ReleaseIPReply struct + DeviceNumber int32 + IPv4Addr string + Success bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReleaseIPReply) Descriptor() ([]byte, []int) + func (*ReleaseIPReply) ProtoMessage() + func (m *ReleaseIPReply) GetDeviceNumber() int32 + func (m *ReleaseIPReply) GetIPv4Addr() string + func (m *ReleaseIPReply) GetSuccess() bool + func (m *ReleaseIPReply) Reset() + func (m *ReleaseIPReply) String() string + func (m *ReleaseIPReply) XXX_DiscardUnknown() + func (m *ReleaseIPReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReleaseIPReply) XXX_Merge(src proto.Message) + func (m *ReleaseIPReply) XXX_Size() int + func (m *ReleaseIPReply) XXX_Unmarshal(b []byte) error + type ReleaseIPRequest struct + IPType IPType + IPv4Addr string + K8SPodInfraContainerId string + K8SPodName string + K8SPodNamespace string + MacAddr string + Reason string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReleaseIPRequest) Descriptor() ([]byte, []int) + func (*ReleaseIPRequest) ProtoMessage() + func (m *ReleaseIPRequest) GetIPType() IPType + func (m *ReleaseIPRequest) GetIPv4Addr() string + func (m *ReleaseIPRequest) GetK8SPodInfraContainerId() string + func (m *ReleaseIPRequest) GetK8SPodName() string + func (m *ReleaseIPRequest) GetK8SPodNamespace() string + func (m *ReleaseIPRequest) GetMacAddr() string + func (m *ReleaseIPRequest) GetReason() string + func (m *ReleaseIPRequest) Reset() + func (m *ReleaseIPRequest) String() string + func (m *ReleaseIPRequest) XXX_DiscardUnknown() + func (m *ReleaseIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReleaseIPRequest) XXX_Merge(src proto.Message) + func (m *ReleaseIPRequest) XXX_Size() int + func (m *ReleaseIPRequest) XXX_Unmarshal(b []byte) error + type TerwayBackendClient interface + AllocIP func(ctx context.Context, in *AllocIPRequest, opts ...grpc.CallOption) (*AllocIPReply, error) + GetIPInfo func(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoReply, error) + ReleaseIP func(ctx context.Context, in *ReleaseIPRequest, opts ...grpc.CallOption) (*ReleaseIPReply, error) + func NewTerwayBackendClient(cc *grpc.ClientConn) TerwayBackendClient + type TerwayBackendServer interface + AllocIP func(context.Context, *AllocIPRequest) (*AllocIPReply, error) + GetIPInfo func(context.Context, *GetInfoRequest) (*GetInfoReply, error) + ReleaseIP func(context.Context, *ReleaseIPRequest) (*ReleaseIPReply, error) + type VPCENI struct + EniConfig *ENI + PodConfig *Pod + ServiceCidr string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*VPCENI) Descriptor() ([]byte, []int) + func (*VPCENI) ProtoMessage() + func (m *VPCENI) GetEniConfig() *ENI + func (m *VPCENI) GetPodConfig() *Pod + func (m *VPCENI) GetServiceCidr() string + func (m *VPCENI) Reset() + func (m *VPCENI) String() string + func (m *VPCENI) XXX_DiscardUnknown() + func (m *VPCENI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VPCENI) XXX_Merge(src proto.Message) + func (m *VPCENI) XXX_Size() int + func (m *VPCENI) XXX_Unmarshal(b []byte) error + type VPCIP struct + NodeCidr string + PodConfig *Pod + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*VPCIP) Descriptor() ([]byte, []int) + func (*VPCIP) ProtoMessage() + func (m *VPCIP) GetNodeCidr() string + func (m *VPCIP) GetPodConfig() *Pod + func (m *VPCIP) Reset() + func (m *VPCIP) String() string + func (m *VPCIP) XXX_DiscardUnknown() + func (m *VPCIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VPCIP) XXX_Merge(src proto.Message) + func (m *VPCIP) XXX_Size() int + func (m *VPCIP) XXX_Unmarshal(b []byte) error