Documentation ¶
Index ¶
- Variables
- func RegisterCNIIpamServer(s *grpc.Server, srv CNIIpamServer)
- type AddPodNetworkRecordRequest
- func (*AddPodNetworkRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddPodNetworkRecordRequest) GetPodNetwork() *PodNetwork
- func (*AddPodNetworkRecordRequest) ProtoMessage()
- func (x *AddPodNetworkRecordRequest) ProtoReflect() protoreflect.Message
- func (x *AddPodNetworkRecordRequest) Reset()
- func (x *AddPodNetworkRecordRequest) String() string
- type AddPodNetworkRecordResponse
- func (*AddPodNetworkRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddPodNetworkRecordResponse) GetCode() CNIErrorCode
- func (*AddPodNetworkRecordResponse) ProtoMessage()
- func (x *AddPodNetworkRecordResponse) ProtoReflect() protoreflect.Message
- func (x *AddPodNetworkRecordResponse) Reset()
- func (x *AddPodNetworkRecordResponse) String() string
- type AddPodNetworkRequest
- func (*AddPodNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddPodNetworkRequest) GetIfName() string
- func (x *AddPodNetworkRequest) GetNetns() string
- func (x *AddPodNetworkRequest) GetPodName() string
- func (x *AddPodNetworkRequest) GetPodNamespace() string
- func (x *AddPodNetworkRequest) GetSandboxID() string
- func (*AddPodNetworkRequest) ProtoMessage()
- func (x *AddPodNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *AddPodNetworkRequest) Reset()
- func (x *AddPodNetworkRequest) String() string
- type AddPodNetworkResponse
- func (*AddPodNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddPodNetworkResponse) GetCode() CNIErrorCode
- func (x *AddPodNetworkResponse) GetPodNetwork() *PodNetwork
- func (*AddPodNetworkResponse) ProtoMessage()
- func (x *AddPodNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *AddPodNetworkResponse) Reset()
- func (x *AddPodNetworkResponse) String() string
- type BorrowIPRequest
- type BorrowIPResponse
- func (*BorrowIPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BorrowIPResponse) GetCode() CNIErrorCode
- func (x *BorrowIPResponse) GetIP() *PodNetwork
- func (*BorrowIPResponse) ProtoMessage()
- func (x *BorrowIPResponse) ProtoReflect() protoreflect.Message
- func (x *BorrowIPResponse) Reset()
- func (x *BorrowIPResponse) String() string
- type CNIErrorCode
- func (CNIErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x CNIErrorCode) Enum() *CNIErrorCode
- func (CNIErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CNIErrorCode) Number() protoreflect.EnumNumber
- func (x CNIErrorCode) String() string
- func (CNIErrorCode) Type() protoreflect.EnumType
- type CNIIpamClient
- type CNIIpamServer
- type DelPodNetworkRecordRequest
- func (*DelPodNetworkRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DelPodNetworkRecordRequest) GetPodNS() string
- func (x *DelPodNetworkRecordRequest) GetPodName() string
- func (x *DelPodNetworkRecordRequest) GetSandboxID() string
- func (*DelPodNetworkRecordRequest) ProtoMessage()
- func (x *DelPodNetworkRecordRequest) ProtoReflect() protoreflect.Message
- func (x *DelPodNetworkRecordRequest) Reset()
- func (x *DelPodNetworkRecordRequest) String() string
- type DelPodNetworkRecordResponse
- func (*DelPodNetworkRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DelPodNetworkRecordResponse) GetCode() CNIErrorCode
- func (*DelPodNetworkRecordResponse) ProtoMessage()
- func (x *DelPodNetworkRecordResponse) ProtoReflect() protoreflect.Message
- func (x *DelPodNetworkRecordResponse) Reset()
- func (x *DelPodNetworkRecordResponse) String() string
- type DelPodNetworkRequest
- func (*DelPodNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DelPodNetworkRequest) GetPodNetwork() *PodNetwork
- func (*DelPodNetworkRequest) ProtoMessage()
- func (x *DelPodNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *DelPodNetworkRequest) Reset()
- func (x *DelPodNetworkRequest) String() string
- type DelPodNetworkResponse
- func (*DelPodNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DelPodNetworkResponse) GetCode() CNIErrorCode
- func (*DelPodNetworkResponse) ProtoMessage()
- func (x *DelPodNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *DelPodNetworkResponse) Reset()
- func (x *DelPodNetworkResponse) String() string
- type GetPodNetworkRecordRequest
- func (*GetPodNetworkRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPodNetworkRecordRequest) GetPodNS() string
- func (x *GetPodNetworkRecordRequest) GetPodName() string
- func (x *GetPodNetworkRecordRequest) GetSandboxID() string
- func (*GetPodNetworkRecordRequest) ProtoMessage()
- func (x *GetPodNetworkRecordRequest) ProtoReflect() protoreflect.Message
- func (x *GetPodNetworkRecordRequest) Reset()
- func (x *GetPodNetworkRecordRequest) String() string
- type GetPodNetworkRecordResponse
- func (*GetPodNetworkRecordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPodNetworkRecordResponse) GetCode() CNIErrorCode
- func (x *GetPodNetworkRecordResponse) GetPodNetwork() *PodNetwork
- func (*GetPodNetworkRecordResponse) ProtoMessage()
- func (x *GetPodNetworkRecordResponse) ProtoReflect() protoreflect.Message
- func (x *GetPodNetworkRecordResponse) Reset()
- func (x *GetPodNetworkRecordResponse) String() string
- type PingRequest
- type PingResponse
- type PodNetwork
- func (*PodNetwork) Descriptor() ([]byte, []int)deprecated
- func (x *PodNetwork) GetCreateTime() int64
- func (x *PodNetwork) GetDedicatedUNI() bool
- func (x *PodNetwork) GetEIPID() string
- func (x *PodNetwork) GetGateway() string
- func (x *PodNetwork) GetInterfaceID() string
- func (x *PodNetwork) GetMacAddress() string
- func (x *PodNetwork) GetMask() string
- func (x *PodNetwork) GetNetNS() string
- func (x *PodNetwork) GetPodNS() string
- func (x *PodNetwork) GetPodName() string
- func (x *PodNetwork) GetPodUID() string
- func (x *PodNetwork) GetRecycleTime() int64
- func (x *PodNetwork) GetRecycled() bool
- func (x *PodNetwork) GetSandboxID() string
- func (x *PodNetwork) GetSubnetID() string
- func (x *PodNetwork) GetVPCID() string
- func (x *PodNetwork) GetVPCIP() string
- func (*PodNetwork) ProtoMessage()
- func (x *PodNetwork) ProtoReflect() protoreflect.Message
- func (x *PodNetwork) Reset()
- func (x *PodNetwork) String() string
- type UnimplementedCNIIpamServer
- func (*UnimplementedCNIIpamServer) AddPodNetwork(context.Context, *AddPodNetworkRequest) (*AddPodNetworkResponse, error)
- func (*UnimplementedCNIIpamServer) AddPodNetworkRecord(context.Context, *AddPodNetworkRecordRequest) (*AddPodNetworkRecordResponse, error)
- func (*UnimplementedCNIIpamServer) BorrowIP(context.Context, *BorrowIPRequest) (*BorrowIPResponse, error)
- func (*UnimplementedCNIIpamServer) DelPodNetwork(context.Context, *DelPodNetworkRequest) (*DelPodNetworkResponse, error)
- func (*UnimplementedCNIIpamServer) DelPodNetworkRecord(context.Context, *DelPodNetworkRecordRequest) (*DelPodNetworkRecordResponse, error)
- func (*UnimplementedCNIIpamServer) GetPodNetworkRecord(context.Context, *GetPodNetworkRecordRequest) (*GetPodNetworkRecordResponse, error)
- func (*UnimplementedCNIIpamServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( CNIErrorCode_name = map[int32]string{ 0: "CNISuccess", 1001: "CNIMissingParameters", 1002: "CNIAllocateSecondaryIPFailure", 1003: "CNIReleaseSecondaryIPFailure", 1004: "CNIAllocateEIPFailure", 1005: "CNIReleaseEIPFailure", 1006: "CNIBindEIPFailure", 1007: "CNIUnbindEIPFailure", 1008: "CNIAllocateUNIFailure", 1009: "CNIReleaseUNIFailure", 1010: "CNIAttachUNIFailure", 1011: "CNIDetachUNIFailure", 1012: "CNIK8SAPIError", 1013: "CNIWriteDBError", 1014: "CNIReadDBError", 1015: "CNIBorrowIPFailure", } CNIErrorCode_value = map[string]int32{ "CNISuccess": 0, "CNIMissingParameters": 1001, "CNIAllocateSecondaryIPFailure": 1002, "CNIReleaseSecondaryIPFailure": 1003, "CNIAllocateEIPFailure": 1004, "CNIReleaseEIPFailure": 1005, "CNIBindEIPFailure": 1006, "CNIUnbindEIPFailure": 1007, "CNIAllocateUNIFailure": 1008, "CNIReleaseUNIFailure": 1009, "CNIAttachUNIFailure": 1010, "CNIDetachUNIFailure": 1011, "CNIK8SAPIError": 1012, "CNIWriteDBError": 1013, "CNIReadDBError": 1014, "CNIBorrowIPFailure": 1015, } )
Enum value maps for CNIErrorCode.
var File_rpc_ipamd_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCNIIpamServer ¶
func RegisterCNIIpamServer(s *grpc.Server, srv CNIIpamServer)
Types ¶
type AddPodNetworkRecordRequest ¶
type AddPodNetworkRecordRequest struct { PodNetwork *PodNetwork `protobuf:"bytes,1,opt,name=PodNetwork,proto3" json:"PodNetwork,omitempty"` // contains filtered or unexported fields }
func (*AddPodNetworkRecordRequest) Descriptor
deprecated
func (*AddPodNetworkRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddPodNetworkRecordRequest.ProtoReflect.Descriptor instead.
func (*AddPodNetworkRecordRequest) GetPodNetwork ¶
func (x *AddPodNetworkRecordRequest) GetPodNetwork() *PodNetwork
func (*AddPodNetworkRecordRequest) ProtoMessage ¶
func (*AddPodNetworkRecordRequest) ProtoMessage()
func (*AddPodNetworkRecordRequest) ProtoReflect ¶
func (x *AddPodNetworkRecordRequest) ProtoReflect() protoreflect.Message
func (*AddPodNetworkRecordRequest) Reset ¶
func (x *AddPodNetworkRecordRequest) Reset()
func (*AddPodNetworkRecordRequest) String ¶
func (x *AddPodNetworkRecordRequest) String() string
type AddPodNetworkRecordResponse ¶
type AddPodNetworkRecordResponse struct { Code CNIErrorCode `protobuf:"varint,1,opt,name=Code,proto3,enum=rpc.CNIErrorCode" json:"Code,omitempty"` // contains filtered or unexported fields }
func (*AddPodNetworkRecordResponse) Descriptor
deprecated
func (*AddPodNetworkRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddPodNetworkRecordResponse.ProtoReflect.Descriptor instead.
func (*AddPodNetworkRecordResponse) GetCode ¶
func (x *AddPodNetworkRecordResponse) GetCode() CNIErrorCode
func (*AddPodNetworkRecordResponse) ProtoMessage ¶
func (*AddPodNetworkRecordResponse) ProtoMessage()
func (*AddPodNetworkRecordResponse) ProtoReflect ¶
func (x *AddPodNetworkRecordResponse) ProtoReflect() protoreflect.Message
func (*AddPodNetworkRecordResponse) Reset ¶
func (x *AddPodNetworkRecordResponse) Reset()
func (*AddPodNetworkRecordResponse) String ¶
func (x *AddPodNetworkRecordResponse) String() string
type AddPodNetworkRequest ¶
type AddPodNetworkRequest struct { PodName string `protobuf:"bytes,1,opt,name=PodName,proto3" json:"PodName,omitempty"` PodNamespace string `protobuf:"bytes,2,opt,name=PodNamespace,proto3" json:"PodNamespace,omitempty"` SandboxID string `protobuf:"bytes,3,opt,name=SandboxID,proto3" json:"SandboxID,omitempty"` Netns string `protobuf:"bytes,4,opt,name=Netns,proto3" json:"Netns,omitempty"` IfName string `protobuf:"bytes,5,opt,name=IfName,proto3" json:"IfName,omitempty"` // contains filtered or unexported fields }
func (*AddPodNetworkRequest) Descriptor
deprecated
func (*AddPodNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddPodNetworkRequest.ProtoReflect.Descriptor instead.
func (*AddPodNetworkRequest) GetIfName ¶
func (x *AddPodNetworkRequest) GetIfName() string
func (*AddPodNetworkRequest) GetNetns ¶
func (x *AddPodNetworkRequest) GetNetns() string
func (*AddPodNetworkRequest) GetPodName ¶
func (x *AddPodNetworkRequest) GetPodName() string
func (*AddPodNetworkRequest) GetPodNamespace ¶
func (x *AddPodNetworkRequest) GetPodNamespace() string
func (*AddPodNetworkRequest) GetSandboxID ¶
func (x *AddPodNetworkRequest) GetSandboxID() string
func (*AddPodNetworkRequest) ProtoMessage ¶
func (*AddPodNetworkRequest) ProtoMessage()
func (*AddPodNetworkRequest) ProtoReflect ¶
func (x *AddPodNetworkRequest) ProtoReflect() protoreflect.Message
func (*AddPodNetworkRequest) Reset ¶
func (x *AddPodNetworkRequest) Reset()
func (*AddPodNetworkRequest) String ¶
func (x *AddPodNetworkRequest) String() string
type AddPodNetworkResponse ¶
type AddPodNetworkResponse struct { Code CNIErrorCode `protobuf:"varint,1,opt,name=Code,proto3,enum=rpc.CNIErrorCode" json:"Code,omitempty"` PodNetwork *PodNetwork `protobuf:"bytes,2,opt,name=PodNetwork,proto3" json:"PodNetwork,omitempty"` // contains filtered or unexported fields }
func (*AddPodNetworkResponse) Descriptor
deprecated
func (*AddPodNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddPodNetworkResponse.ProtoReflect.Descriptor instead.
func (*AddPodNetworkResponse) GetCode ¶
func (x *AddPodNetworkResponse) GetCode() CNIErrorCode
func (*AddPodNetworkResponse) GetPodNetwork ¶
func (x *AddPodNetworkResponse) GetPodNetwork() *PodNetwork
func (*AddPodNetworkResponse) ProtoMessage ¶
func (*AddPodNetworkResponse) ProtoMessage()
func (*AddPodNetworkResponse) ProtoReflect ¶
func (x *AddPodNetworkResponse) ProtoReflect() protoreflect.Message
func (*AddPodNetworkResponse) Reset ¶
func (x *AddPodNetworkResponse) Reset()
func (*AddPodNetworkResponse) String ¶
func (x *AddPodNetworkResponse) String() string
type BorrowIPRequest ¶
type BorrowIPRequest struct { MacAddr string `protobuf:"bytes,1,opt,name=MacAddr,proto3" json:"MacAddr,omitempty"` // contains filtered or unexported fields }
func (*BorrowIPRequest) Descriptor
deprecated
func (*BorrowIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use BorrowIPRequest.ProtoReflect.Descriptor instead.
func (*BorrowIPRequest) GetMacAddr ¶
func (x *BorrowIPRequest) GetMacAddr() string
func (*BorrowIPRequest) ProtoMessage ¶
func (*BorrowIPRequest) ProtoMessage()
func (*BorrowIPRequest) ProtoReflect ¶
func (x *BorrowIPRequest) ProtoReflect() protoreflect.Message
func (*BorrowIPRequest) Reset ¶
func (x *BorrowIPRequest) Reset()
func (*BorrowIPRequest) String ¶
func (x *BorrowIPRequest) String() string
type BorrowIPResponse ¶
type BorrowIPResponse struct { Code CNIErrorCode `protobuf:"varint,1,opt,name=Code,proto3,enum=rpc.CNIErrorCode" json:"Code,omitempty"` IP *PodNetwork `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"` // contains filtered or unexported fields }
func (*BorrowIPResponse) Descriptor
deprecated
func (*BorrowIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use BorrowIPResponse.ProtoReflect.Descriptor instead.
func (*BorrowIPResponse) GetCode ¶
func (x *BorrowIPResponse) GetCode() CNIErrorCode
func (*BorrowIPResponse) GetIP ¶
func (x *BorrowIPResponse) GetIP() *PodNetwork
func (*BorrowIPResponse) ProtoMessage ¶
func (*BorrowIPResponse) ProtoMessage()
func (*BorrowIPResponse) ProtoReflect ¶
func (x *BorrowIPResponse) ProtoReflect() protoreflect.Message
func (*BorrowIPResponse) Reset ¶
func (x *BorrowIPResponse) Reset()
func (*BorrowIPResponse) String ¶
func (x *BorrowIPResponse) String() string
type CNIErrorCode ¶
type CNIErrorCode int32
const ( CNIErrorCode_CNISuccess CNIErrorCode = 0 CNIErrorCode_CNIMissingParameters CNIErrorCode = 1001 CNIErrorCode_CNIAllocateSecondaryIPFailure CNIErrorCode = 1002 CNIErrorCode_CNIReleaseSecondaryIPFailure CNIErrorCode = 1003 CNIErrorCode_CNIAllocateEIPFailure CNIErrorCode = 1004 CNIErrorCode_CNIReleaseEIPFailure CNIErrorCode = 1005 CNIErrorCode_CNIBindEIPFailure CNIErrorCode = 1006 CNIErrorCode_CNIUnbindEIPFailure CNIErrorCode = 1007 CNIErrorCode_CNIAllocateUNIFailure CNIErrorCode = 1008 CNIErrorCode_CNIReleaseUNIFailure CNIErrorCode = 1009 CNIErrorCode_CNIAttachUNIFailure CNIErrorCode = 1010 CNIErrorCode_CNIDetachUNIFailure CNIErrorCode = 1011 CNIErrorCode_CNIK8SAPIError CNIErrorCode = 1012 CNIErrorCode_CNIWriteDBError CNIErrorCode = 1013 CNIErrorCode_CNIReadDBError CNIErrorCode = 1014 CNIErrorCode_CNIBorrowIPFailure CNIErrorCode = 1015 )
func (CNIErrorCode) Descriptor ¶
func (CNIErrorCode) Descriptor() protoreflect.EnumDescriptor
func (CNIErrorCode) Enum ¶
func (x CNIErrorCode) Enum() *CNIErrorCode
func (CNIErrorCode) EnumDescriptor
deprecated
func (CNIErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CNIErrorCode.Descriptor instead.
func (CNIErrorCode) Number ¶
func (x CNIErrorCode) Number() protoreflect.EnumNumber
func (CNIErrorCode) String ¶
func (x CNIErrorCode) String() string
func (CNIErrorCode) Type ¶
func (CNIErrorCode) Type() protoreflect.EnumType
type CNIIpamClient ¶
type CNIIpamClient interface { Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) AddPodNetwork(ctx context.Context, in *AddPodNetworkRequest, opts ...grpc.CallOption) (*AddPodNetworkResponse, error) DelPodNetwork(ctx context.Context, in *DelPodNetworkRequest, opts ...grpc.CallOption) (*DelPodNetworkResponse, error) AddPodNetworkRecord(ctx context.Context, in *AddPodNetworkRecordRequest, opts ...grpc.CallOption) (*AddPodNetworkRecordResponse, error) DelPodNetworkRecord(ctx context.Context, in *DelPodNetworkRecordRequest, opts ...grpc.CallOption) (*DelPodNetworkRecordResponse, error) GetPodNetworkRecord(ctx context.Context, in *GetPodNetworkRecordRequest, opts ...grpc.CallOption) (*GetPodNetworkRecordResponse, error) BorrowIP(ctx context.Context, in *BorrowIPRequest, opts ...grpc.CallOption) (*BorrowIPResponse, error) }
CNIIpamClient is the client API for CNIIpam service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCNIIpamClient ¶
func NewCNIIpamClient(cc grpc.ClientConnInterface) CNIIpamClient
type CNIIpamServer ¶
type CNIIpamServer interface { Ping(context.Context, *PingRequest) (*PingResponse, error) AddPodNetwork(context.Context, *AddPodNetworkRequest) (*AddPodNetworkResponse, error) DelPodNetwork(context.Context, *DelPodNetworkRequest) (*DelPodNetworkResponse, error) AddPodNetworkRecord(context.Context, *AddPodNetworkRecordRequest) (*AddPodNetworkRecordResponse, error) DelPodNetworkRecord(context.Context, *DelPodNetworkRecordRequest) (*DelPodNetworkRecordResponse, error) GetPodNetworkRecord(context.Context, *GetPodNetworkRecordRequest) (*GetPodNetworkRecordResponse, error) BorrowIP(context.Context, *BorrowIPRequest) (*BorrowIPResponse, error) }
CNIIpamServer is the server API for CNIIpam service.
type DelPodNetworkRecordRequest ¶
type DelPodNetworkRecordRequest struct { PodName string `protobuf:"bytes,1,opt,name=PodName,proto3" json:"PodName,omitempty"` PodNS string `protobuf:"bytes,2,opt,name=PodNS,proto3" json:"PodNS,omitempty"` SandboxID string `protobuf:"bytes,3,opt,name=SandboxID,proto3" json:"SandboxID,omitempty"` // contains filtered or unexported fields }
func (*DelPodNetworkRecordRequest) Descriptor
deprecated
func (*DelPodNetworkRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DelPodNetworkRecordRequest.ProtoReflect.Descriptor instead.
func (*DelPodNetworkRecordRequest) GetPodNS ¶
func (x *DelPodNetworkRecordRequest) GetPodNS() string
func (*DelPodNetworkRecordRequest) GetPodName ¶
func (x *DelPodNetworkRecordRequest) GetPodName() string
func (*DelPodNetworkRecordRequest) GetSandboxID ¶
func (x *DelPodNetworkRecordRequest) GetSandboxID() string
func (*DelPodNetworkRecordRequest) ProtoMessage ¶
func (*DelPodNetworkRecordRequest) ProtoMessage()
func (*DelPodNetworkRecordRequest) ProtoReflect ¶
func (x *DelPodNetworkRecordRequest) ProtoReflect() protoreflect.Message
func (*DelPodNetworkRecordRequest) Reset ¶
func (x *DelPodNetworkRecordRequest) Reset()
func (*DelPodNetworkRecordRequest) String ¶
func (x *DelPodNetworkRecordRequest) String() string
type DelPodNetworkRecordResponse ¶
type DelPodNetworkRecordResponse struct { Code CNIErrorCode `protobuf:"varint,1,opt,name=Code,proto3,enum=rpc.CNIErrorCode" json:"Code,omitempty"` // contains filtered or unexported fields }
func (*DelPodNetworkRecordResponse) Descriptor
deprecated
func (*DelPodNetworkRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use DelPodNetworkRecordResponse.ProtoReflect.Descriptor instead.
func (*DelPodNetworkRecordResponse) GetCode ¶
func (x *DelPodNetworkRecordResponse) GetCode() CNIErrorCode
func (*DelPodNetworkRecordResponse) ProtoMessage ¶
func (*DelPodNetworkRecordResponse) ProtoMessage()
func (*DelPodNetworkRecordResponse) ProtoReflect ¶
func (x *DelPodNetworkRecordResponse) ProtoReflect() protoreflect.Message
func (*DelPodNetworkRecordResponse) Reset ¶
func (x *DelPodNetworkRecordResponse) Reset()
func (*DelPodNetworkRecordResponse) String ¶
func (x *DelPodNetworkRecordResponse) String() string
type DelPodNetworkRequest ¶
type DelPodNetworkRequest struct { PodNetwork *PodNetwork `protobuf:"bytes,1,opt,name=PodNetwork,proto3" json:"PodNetwork,omitempty"` // contains filtered or unexported fields }
func (*DelPodNetworkRequest) Descriptor
deprecated
func (*DelPodNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use DelPodNetworkRequest.ProtoReflect.Descriptor instead.
func (*DelPodNetworkRequest) GetPodNetwork ¶
func (x *DelPodNetworkRequest) GetPodNetwork() *PodNetwork
func (*DelPodNetworkRequest) ProtoMessage ¶
func (*DelPodNetworkRequest) ProtoMessage()
func (*DelPodNetworkRequest) ProtoReflect ¶
func (x *DelPodNetworkRequest) ProtoReflect() protoreflect.Message
func (*DelPodNetworkRequest) Reset ¶
func (x *DelPodNetworkRequest) Reset()
func (*DelPodNetworkRequest) String ¶
func (x *DelPodNetworkRequest) String() string
type DelPodNetworkResponse ¶
type DelPodNetworkResponse struct { Code CNIErrorCode `protobuf:"varint,1,opt,name=Code,proto3,enum=rpc.CNIErrorCode" json:"Code,omitempty"` // contains filtered or unexported fields }
func (*DelPodNetworkResponse) Descriptor
deprecated
func (*DelPodNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use DelPodNetworkResponse.ProtoReflect.Descriptor instead.
func (*DelPodNetworkResponse) GetCode ¶
func (x *DelPodNetworkResponse) GetCode() CNIErrorCode
func (*DelPodNetworkResponse) ProtoMessage ¶
func (*DelPodNetworkResponse) ProtoMessage()
func (*DelPodNetworkResponse) ProtoReflect ¶
func (x *DelPodNetworkResponse) ProtoReflect() protoreflect.Message
func (*DelPodNetworkResponse) Reset ¶
func (x *DelPodNetworkResponse) Reset()
func (*DelPodNetworkResponse) String ¶
func (x *DelPodNetworkResponse) String() string
type GetPodNetworkRecordRequest ¶
type GetPodNetworkRecordRequest struct { PodName string `protobuf:"bytes,1,opt,name=PodName,proto3" json:"PodName,omitempty"` PodNS string `protobuf:"bytes,2,opt,name=PodNS,proto3" json:"PodNS,omitempty"` SandboxID string `protobuf:"bytes,3,opt,name=SandboxID,proto3" json:"SandboxID,omitempty"` // contains filtered or unexported fields }
func (*GetPodNetworkRecordRequest) Descriptor
deprecated
func (*GetPodNetworkRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPodNetworkRecordRequest.ProtoReflect.Descriptor instead.
func (*GetPodNetworkRecordRequest) GetPodNS ¶
func (x *GetPodNetworkRecordRequest) GetPodNS() string
func (*GetPodNetworkRecordRequest) GetPodName ¶
func (x *GetPodNetworkRecordRequest) GetPodName() string
func (*GetPodNetworkRecordRequest) GetSandboxID ¶
func (x *GetPodNetworkRecordRequest) GetSandboxID() string
func (*GetPodNetworkRecordRequest) ProtoMessage ¶
func (*GetPodNetworkRecordRequest) ProtoMessage()
func (*GetPodNetworkRecordRequest) ProtoReflect ¶
func (x *GetPodNetworkRecordRequest) ProtoReflect() protoreflect.Message
func (*GetPodNetworkRecordRequest) Reset ¶
func (x *GetPodNetworkRecordRequest) Reset()
func (*GetPodNetworkRecordRequest) String ¶
func (x *GetPodNetworkRecordRequest) String() string
type GetPodNetworkRecordResponse ¶
type GetPodNetworkRecordResponse struct { Code CNIErrorCode `protobuf:"varint,1,opt,name=Code,proto3,enum=rpc.CNIErrorCode" json:"Code,omitempty"` PodNetwork *PodNetwork `protobuf:"bytes,2,opt,name=PodNetwork,proto3" json:"PodNetwork,omitempty"` // contains filtered or unexported fields }
func (*GetPodNetworkRecordResponse) Descriptor
deprecated
func (*GetPodNetworkRecordResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPodNetworkRecordResponse.ProtoReflect.Descriptor instead.
func (*GetPodNetworkRecordResponse) GetCode ¶
func (x *GetPodNetworkRecordResponse) GetCode() CNIErrorCode
func (*GetPodNetworkRecordResponse) GetPodNetwork ¶
func (x *GetPodNetworkRecordResponse) GetPodNetwork() *PodNetwork
func (*GetPodNetworkRecordResponse) ProtoMessage ¶
func (*GetPodNetworkRecordResponse) ProtoMessage()
func (*GetPodNetworkRecordResponse) ProtoReflect ¶
func (x *GetPodNetworkRecordResponse) ProtoReflect() protoreflect.Message
func (*GetPodNetworkRecordResponse) Reset ¶
func (x *GetPodNetworkRecordResponse) Reset()
func (*GetPodNetworkRecordResponse) String ¶
func (x *GetPodNetworkRecordResponse) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
// contains filtered or unexported fields
}
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type PodNetwork ¶
type PodNetwork struct { PodName string `protobuf:"bytes,1,opt,name=PodName,proto3" json:"PodName,omitempty"` PodNS string `protobuf:"bytes,2,opt,name=PodNS,proto3" json:"PodNS,omitempty"` PodUID string `protobuf:"bytes,3,opt,name=PodUID,proto3" json:"PodUID,omitempty"` SandboxID string `protobuf:"bytes,4,opt,name=SandboxID,proto3" json:"SandboxID,omitempty"` NetNS string `protobuf:"bytes,5,opt,name=NetNS,proto3" json:"NetNS,omitempty"` VPCIP string `protobuf:"bytes,6,opt,name=VPCIP,proto3" json:"VPCIP,omitempty"` VPCID string `protobuf:"bytes,7,opt,name=VPCID,proto3" json:"VPCID,omitempty"` SubnetID string `protobuf:"bytes,8,opt,name=SubnetID,proto3" json:"SubnetID,omitempty"` Gateway string `protobuf:"bytes,9,opt,name=Gateway,proto3" json:"Gateway,omitempty"` Mask string `protobuf:"bytes,10,opt,name=Mask,proto3" json:"Mask,omitempty"` MacAddress string `protobuf:"bytes,11,opt,name=MacAddress,proto3" json:"MacAddress,omitempty"` DedicatedUNI bool `protobuf:"varint,12,opt,name=DedicatedUNI,proto3" json:"DedicatedUNI,omitempty"` InterfaceID string `protobuf:"bytes,13,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"` EIPID string `protobuf:"bytes,14,opt,name=EIPID,proto3" json:"EIPID,omitempty"` CreateTime int64 `protobuf:"varint,15,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` RecycleTime int64 `protobuf:"varint,16,opt,name=RecycleTime,proto3" json:"RecycleTime,omitempty"` Recycled bool `protobuf:"varint,17,opt,name=Recycled,proto3" json:"Recycled,omitempty"` // contains filtered or unexported fields }
func (*PodNetwork) Descriptor
deprecated
func (*PodNetwork) Descriptor() ([]byte, []int)
Deprecated: Use PodNetwork.ProtoReflect.Descriptor instead.
func (*PodNetwork) GetCreateTime ¶
func (x *PodNetwork) GetCreateTime() int64
func (*PodNetwork) GetDedicatedUNI ¶
func (x *PodNetwork) GetDedicatedUNI() bool
func (*PodNetwork) GetEIPID ¶
func (x *PodNetwork) GetEIPID() string
func (*PodNetwork) GetGateway ¶
func (x *PodNetwork) GetGateway() string
func (*PodNetwork) GetInterfaceID ¶
func (x *PodNetwork) GetInterfaceID() string
func (*PodNetwork) GetMacAddress ¶
func (x *PodNetwork) GetMacAddress() string
func (*PodNetwork) GetMask ¶
func (x *PodNetwork) GetMask() string
func (*PodNetwork) GetNetNS ¶
func (x *PodNetwork) GetNetNS() string
func (*PodNetwork) GetPodNS ¶
func (x *PodNetwork) GetPodNS() string
func (*PodNetwork) GetPodName ¶
func (x *PodNetwork) GetPodName() string
func (*PodNetwork) GetPodUID ¶
func (x *PodNetwork) GetPodUID() string
func (*PodNetwork) GetRecycleTime ¶
func (x *PodNetwork) GetRecycleTime() int64
func (*PodNetwork) GetRecycled ¶
func (x *PodNetwork) GetRecycled() bool
func (*PodNetwork) GetSandboxID ¶
func (x *PodNetwork) GetSandboxID() string
func (*PodNetwork) GetSubnetID ¶
func (x *PodNetwork) GetSubnetID() string
func (*PodNetwork) GetVPCID ¶
func (x *PodNetwork) GetVPCID() string
func (*PodNetwork) GetVPCIP ¶
func (x *PodNetwork) GetVPCIP() string
func (*PodNetwork) ProtoMessage ¶
func (*PodNetwork) ProtoMessage()
func (*PodNetwork) ProtoReflect ¶
func (x *PodNetwork) ProtoReflect() protoreflect.Message
func (*PodNetwork) Reset ¶
func (x *PodNetwork) Reset()
func (*PodNetwork) String ¶
func (x *PodNetwork) String() string
type UnimplementedCNIIpamServer ¶
type UnimplementedCNIIpamServer struct { }
UnimplementedCNIIpamServer can be embedded to have forward compatible implementations.
func (*UnimplementedCNIIpamServer) AddPodNetwork ¶
func (*UnimplementedCNIIpamServer) AddPodNetwork(context.Context, *AddPodNetworkRequest) (*AddPodNetworkResponse, error)
func (*UnimplementedCNIIpamServer) AddPodNetworkRecord ¶
func (*UnimplementedCNIIpamServer) AddPodNetworkRecord(context.Context, *AddPodNetworkRecordRequest) (*AddPodNetworkRecordResponse, error)
func (*UnimplementedCNIIpamServer) BorrowIP ¶
func (*UnimplementedCNIIpamServer) BorrowIP(context.Context, *BorrowIPRequest) (*BorrowIPResponse, error)
func (*UnimplementedCNIIpamServer) DelPodNetwork ¶
func (*UnimplementedCNIIpamServer) DelPodNetwork(context.Context, *DelPodNetworkRequest) (*DelPodNetworkResponse, error)
func (*UnimplementedCNIIpamServer) DelPodNetworkRecord ¶
func (*UnimplementedCNIIpamServer) DelPodNetworkRecord(context.Context, *DelPodNetworkRecordRequest) (*DelPodNetworkRecordResponse, error)
func (*UnimplementedCNIIpamServer) GetPodNetworkRecord ¶
func (*UnimplementedCNIIpamServer) GetPodNetworkRecord(context.Context, *GetPodNetworkRecordRequest) (*GetPodNetworkRecordResponse, error)
func (*UnimplementedCNIIpamServer) Ping ¶
func (*UnimplementedCNIIpamServer) Ping(context.Context, *PingRequest) (*PingResponse, error)