Versions in this module Expand all Collapse all v0 v0.10.0 Nov 4, 2022 Changes in this version + var File_api_ipam_v1_ipam_proto protoreflect.FileDescriptor + var IPFamily_name = map[int32]string + var IPFamily_value = map[string]int32 + var Ipam_ServiceDesc = grpc.ServiceDesc + func RegisterIpamServer(s grpc.ServiceRegistrar, srv IpamServer) + type Child struct + Name string + Subnet *Subnet + func (*Child) Descriptor() ([]byte, []int) + func (*Child) ProtoMessage() + func (x *Child) GetName() string + func (x *Child) GetSubnet() *Subnet + func (x *Child) ProtoReflect() protoreflect.Message + func (x *Child) Reset() + func (x *Child) String() string + type IPFamily int32 + const IPFamily_IPV4 + const IPFamily_IPV6 + func (IPFamily) Descriptor() protoreflect.EnumDescriptor + func (IPFamily) EnumDescriptor() ([]byte, []int) + func (IPFamily) Type() protoreflect.EnumType + func (x IPFamily) Enum() *IPFamily + func (x IPFamily) Number() protoreflect.EnumNumber + func (x IPFamily) String() string + type IpamClient interface + Allocate func(ctx context.Context, in *Child, opts ...grpc.CallOption) (*Prefix, error) + Release func(ctx context.Context, in *Child, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewIpamClient(cc grpc.ClientConnInterface) IpamClient + type IpamServer interface + Allocate func(context.Context, *Child) (*Prefix, error) + Release func(context.Context, *Child) (*emptypb.Empty, error) + type Prefix struct + Address string + PrefixLength int32 + func (*Prefix) Descriptor() ([]byte, []int) + func (*Prefix) ProtoMessage() + func (p *Prefix) ToString() string + func (x *Prefix) GetAddress() string + func (x *Prefix) GetPrefixLength() int32 + func (x *Prefix) ProtoReflect() protoreflect.Message + func (x *Prefix) Reset() + func (x *Prefix) String() string + type Subnet struct + Conduit *v1.Conduit + IpFamily IPFamily + Node string + func (*Subnet) Descriptor() ([]byte, []int) + func (*Subnet) ProtoMessage() + func (s *Subnet) ToString() string + func (x *Subnet) GetConduit() *v1.Conduit + func (x *Subnet) GetIpFamily() IPFamily + func (x *Subnet) GetNode() string + func (x *Subnet) ProtoReflect() protoreflect.Message + func (x *Subnet) Reset() + func (x *Subnet) String() string + type UnimplementedIpamServer struct + func (UnimplementedIpamServer) Allocate(context.Context, *Child) (*Prefix, error) + func (UnimplementedIpamServer) Release(context.Context, *Child) (*emptypb.Empty, error) + type UnsafeIpamServer interface