apiv1

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: Apache-2.0, MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_v1_ipam_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AcquireChildPrefixRequest

type AcquireChildPrefixRequest struct {
	Cidr      string  `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Length    uint32  `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
	ChildCidr *string `protobuf:"bytes,3,opt,name=child_cidr,json=childCidr,proto3,oneof" json:"child_cidr,omitempty"`
	Namespace *string `protobuf:"bytes,4,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*AcquireChildPrefixRequest) Descriptor deprecated

func (*AcquireChildPrefixRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcquireChildPrefixRequest.ProtoReflect.Descriptor instead.

func (*AcquireChildPrefixRequest) GetChildCidr

func (x *AcquireChildPrefixRequest) GetChildCidr() string

func (*AcquireChildPrefixRequest) GetCidr

func (x *AcquireChildPrefixRequest) GetCidr() string

func (*AcquireChildPrefixRequest) GetLength

func (x *AcquireChildPrefixRequest) GetLength() uint32

func (*AcquireChildPrefixRequest) GetNamespace

func (x *AcquireChildPrefixRequest) GetNamespace() string

func (*AcquireChildPrefixRequest) ProtoMessage

func (*AcquireChildPrefixRequest) ProtoMessage()

func (*AcquireChildPrefixRequest) ProtoReflect

func (*AcquireChildPrefixRequest) Reset

func (x *AcquireChildPrefixRequest) Reset()

func (*AcquireChildPrefixRequest) String

func (x *AcquireChildPrefixRequest) String() string

type AcquireChildPrefixResponse

type AcquireChildPrefixResponse struct {
	Prefix *Prefix `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*AcquireChildPrefixResponse) Descriptor deprecated

func (*AcquireChildPrefixResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcquireChildPrefixResponse.ProtoReflect.Descriptor instead.

func (*AcquireChildPrefixResponse) GetPrefix

func (x *AcquireChildPrefixResponse) GetPrefix() *Prefix

func (*AcquireChildPrefixResponse) ProtoMessage

func (*AcquireChildPrefixResponse) ProtoMessage()

func (*AcquireChildPrefixResponse) ProtoReflect

func (*AcquireChildPrefixResponse) Reset

func (x *AcquireChildPrefixResponse) Reset()

func (*AcquireChildPrefixResponse) String

func (x *AcquireChildPrefixResponse) String() string

type AcquireIPRequest

type AcquireIPRequest struct {
	PrefixCidr string  `protobuf:"bytes,1,opt,name=prefix_cidr,json=prefixCidr,proto3" json:"prefix_cidr,omitempty"`
	Ip         *string `protobuf:"bytes,2,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	Namespace  *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*AcquireIPRequest) Descriptor deprecated

func (*AcquireIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcquireIPRequest.ProtoReflect.Descriptor instead.

func (*AcquireIPRequest) GetIp

func (x *AcquireIPRequest) GetIp() string

func (*AcquireIPRequest) GetNamespace

func (x *AcquireIPRequest) GetNamespace() string

func (*AcquireIPRequest) GetPrefixCidr

func (x *AcquireIPRequest) GetPrefixCidr() string

func (*AcquireIPRequest) ProtoMessage

func (*AcquireIPRequest) ProtoMessage()

func (*AcquireIPRequest) ProtoReflect

func (x *AcquireIPRequest) ProtoReflect() protoreflect.Message

func (*AcquireIPRequest) Reset

func (x *AcquireIPRequest) Reset()

func (*AcquireIPRequest) String

func (x *AcquireIPRequest) String() string

type AcquireIPResponse

type AcquireIPResponse struct {
	Ip        *IP     `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*AcquireIPResponse) Descriptor deprecated

func (*AcquireIPResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcquireIPResponse.ProtoReflect.Descriptor instead.

func (*AcquireIPResponse) GetIp

func (x *AcquireIPResponse) GetIp() *IP

func (*AcquireIPResponse) GetNamespace

func (x *AcquireIPResponse) GetNamespace() string

func (*AcquireIPResponse) ProtoMessage

func (*AcquireIPResponse) ProtoMessage()

func (*AcquireIPResponse) ProtoReflect

func (x *AcquireIPResponse) ProtoReflect() protoreflect.Message

func (*AcquireIPResponse) Reset

func (x *AcquireIPResponse) Reset()

func (*AcquireIPResponse) String

func (x *AcquireIPResponse) String() string

type CreateNamespaceRequest

type CreateNamespaceRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNamespaceRequest) Descriptor deprecated

func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*CreateNamespaceRequest) GetNamespace

func (x *CreateNamespaceRequest) GetNamespace() string

func (*CreateNamespaceRequest) ProtoMessage

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) ProtoReflect

func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message

func (*CreateNamespaceRequest) Reset

func (x *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) String

func (x *CreateNamespaceRequest) String() string

type CreateNamespaceResponse

type CreateNamespaceResponse struct {
	// contains filtered or unexported fields
}

func (*CreateNamespaceResponse) Descriptor deprecated

func (*CreateNamespaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateNamespaceResponse.ProtoReflect.Descriptor instead.

func (*CreateNamespaceResponse) ProtoMessage

func (*CreateNamespaceResponse) ProtoMessage()

func (*CreateNamespaceResponse) ProtoReflect

func (x *CreateNamespaceResponse) ProtoReflect() protoreflect.Message

func (*CreateNamespaceResponse) Reset

func (x *CreateNamespaceResponse) Reset()

func (*CreateNamespaceResponse) String

func (x *CreateNamespaceResponse) String() string

type CreatePrefixRequest

type CreatePrefixRequest struct {
	Cidr      string  `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePrefixRequest) Descriptor deprecated

func (*CreatePrefixRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePrefixRequest.ProtoReflect.Descriptor instead.

func (*CreatePrefixRequest) GetCidr

func (x *CreatePrefixRequest) GetCidr() string

func (*CreatePrefixRequest) GetNamespace

func (x *CreatePrefixRequest) GetNamespace() string

func (*CreatePrefixRequest) ProtoMessage

func (*CreatePrefixRequest) ProtoMessage()

func (*CreatePrefixRequest) ProtoReflect

func (x *CreatePrefixRequest) ProtoReflect() protoreflect.Message

func (*CreatePrefixRequest) Reset

func (x *CreatePrefixRequest) Reset()

func (*CreatePrefixRequest) String

func (x *CreatePrefixRequest) String() string

type CreatePrefixResponse

type CreatePrefixResponse struct {
	Prefix *Prefix `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePrefixResponse) Descriptor deprecated

func (*CreatePrefixResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreatePrefixResponse.ProtoReflect.Descriptor instead.

func (*CreatePrefixResponse) GetPrefix

func (x *CreatePrefixResponse) GetPrefix() *Prefix

func (*CreatePrefixResponse) ProtoMessage

func (*CreatePrefixResponse) ProtoMessage()

func (*CreatePrefixResponse) ProtoReflect

func (x *CreatePrefixResponse) ProtoReflect() protoreflect.Message

func (*CreatePrefixResponse) Reset

func (x *CreatePrefixResponse) Reset()

func (*CreatePrefixResponse) String

func (x *CreatePrefixResponse) String() string

type DeleteNamespaceRequest

type DeleteNamespaceRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNamespaceRequest) Descriptor deprecated

func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceRequest) GetNamespace

func (x *DeleteNamespaceRequest) GetNamespace() string

func (*DeleteNamespaceRequest) ProtoMessage

func (*DeleteNamespaceRequest) ProtoMessage()

func (*DeleteNamespaceRequest) ProtoReflect

func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message

func (*DeleteNamespaceRequest) Reset

func (x *DeleteNamespaceRequest) Reset()

func (*DeleteNamespaceRequest) String

func (x *DeleteNamespaceRequest) String() string

type DeleteNamespaceResponse

type DeleteNamespaceResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteNamespaceResponse) Descriptor deprecated

func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceResponse) ProtoMessage

func (*DeleteNamespaceResponse) ProtoMessage()

func (*DeleteNamespaceResponse) ProtoReflect

func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message

func (*DeleteNamespaceResponse) Reset

func (x *DeleteNamespaceResponse) Reset()

func (*DeleteNamespaceResponse) String

func (x *DeleteNamespaceResponse) String() string

type DeletePrefixRequest

type DeletePrefixRequest struct {
	Cidr      string  `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePrefixRequest) Descriptor deprecated

func (*DeletePrefixRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePrefixRequest.ProtoReflect.Descriptor instead.

func (*DeletePrefixRequest) GetCidr

func (x *DeletePrefixRequest) GetCidr() string

func (*DeletePrefixRequest) GetNamespace

func (x *DeletePrefixRequest) GetNamespace() string

func (*DeletePrefixRequest) ProtoMessage

func (*DeletePrefixRequest) ProtoMessage()

func (*DeletePrefixRequest) ProtoReflect

func (x *DeletePrefixRequest) ProtoReflect() protoreflect.Message

func (*DeletePrefixRequest) Reset

func (x *DeletePrefixRequest) Reset()

func (*DeletePrefixRequest) String

func (x *DeletePrefixRequest) String() string

type DeletePrefixResponse

type DeletePrefixResponse struct {
	Prefix *Prefix `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePrefixResponse) Descriptor deprecated

func (*DeletePrefixResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeletePrefixResponse.ProtoReflect.Descriptor instead.

func (*DeletePrefixResponse) GetPrefix

func (x *DeletePrefixResponse) GetPrefix() *Prefix

func (*DeletePrefixResponse) ProtoMessage

func (*DeletePrefixResponse) ProtoMessage()

func (*DeletePrefixResponse) ProtoReflect

func (x *DeletePrefixResponse) ProtoReflect() protoreflect.Message

func (*DeletePrefixResponse) Reset

func (x *DeletePrefixResponse) Reset()

func (*DeletePrefixResponse) String

func (x *DeletePrefixResponse) String() string

type DumpRequest

type DumpRequest struct {
	Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*DumpRequest) Descriptor deprecated

func (*DumpRequest) Descriptor() ([]byte, []int)

Deprecated: Use DumpRequest.ProtoReflect.Descriptor instead.

func (*DumpRequest) GetNamespace

func (x *DumpRequest) GetNamespace() string

func (*DumpRequest) ProtoMessage

func (*DumpRequest) ProtoMessage()

func (*DumpRequest) ProtoReflect

func (x *DumpRequest) ProtoReflect() protoreflect.Message

func (*DumpRequest) Reset

func (x *DumpRequest) Reset()

func (*DumpRequest) String

func (x *DumpRequest) String() string

type DumpResponse

type DumpResponse struct {
	Dump string `protobuf:"bytes,1,opt,name=dump,proto3" json:"dump,omitempty"`
	// contains filtered or unexported fields
}

func (*DumpResponse) Descriptor deprecated

func (*DumpResponse) Descriptor() ([]byte, []int)

Deprecated: Use DumpResponse.ProtoReflect.Descriptor instead.

func (*DumpResponse) GetDump

func (x *DumpResponse) GetDump() string

func (*DumpResponse) ProtoMessage

func (*DumpResponse) ProtoMessage()

func (*DumpResponse) ProtoReflect

func (x *DumpResponse) ProtoReflect() protoreflect.Message

func (*DumpResponse) Reset

func (x *DumpResponse) Reset()

func (*DumpResponse) String

func (x *DumpResponse) String() string

type GetPrefixRequest

type GetPrefixRequest struct {
	Cidr      string  `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrefixRequest) Descriptor deprecated

func (*GetPrefixRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPrefixRequest.ProtoReflect.Descriptor instead.

func (*GetPrefixRequest) GetCidr

func (x *GetPrefixRequest) GetCidr() string

func (*GetPrefixRequest) GetNamespace

func (x *GetPrefixRequest) GetNamespace() string

func (*GetPrefixRequest) ProtoMessage

func (*GetPrefixRequest) ProtoMessage()

func (*GetPrefixRequest) ProtoReflect

func (x *GetPrefixRequest) ProtoReflect() protoreflect.Message

func (*GetPrefixRequest) Reset

func (x *GetPrefixRequest) Reset()

func (*GetPrefixRequest) String

func (x *GetPrefixRequest) String() string

type GetPrefixResponse

type GetPrefixResponse struct {
	Prefix *Prefix `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrefixResponse) Descriptor deprecated

func (*GetPrefixResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPrefixResponse.ProtoReflect.Descriptor instead.

func (*GetPrefixResponse) GetPrefix

func (x *GetPrefixResponse) GetPrefix() *Prefix

func (*GetPrefixResponse) ProtoMessage

func (*GetPrefixResponse) ProtoMessage()

func (*GetPrefixResponse) ProtoReflect

func (x *GetPrefixResponse) ProtoReflect() protoreflect.Message

func (*GetPrefixResponse) Reset

func (x *GetPrefixResponse) Reset()

func (*GetPrefixResponse) String

func (x *GetPrefixResponse) String() string

type IP

type IP struct {
	Ip           string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	ParentPrefix string `protobuf:"bytes,2,opt,name=parent_prefix,json=parentPrefix,proto3" json:"parent_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*IP) Descriptor deprecated

func (*IP) Descriptor() ([]byte, []int)

Deprecated: Use IP.ProtoReflect.Descriptor instead.

func (*IP) GetIp

func (x *IP) GetIp() string

func (*IP) GetParentPrefix

func (x *IP) GetParentPrefix() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) ProtoReflect

func (x *IP) ProtoReflect() protoreflect.Message

func (*IP) Reset

func (x *IP) Reset()

func (*IP) String

func (x *IP) String() string

type ListNamespacesRequest

type ListNamespacesRequest struct {
	// contains filtered or unexported fields
}

func (*ListNamespacesRequest) Descriptor deprecated

func (*ListNamespacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.

func (*ListNamespacesRequest) ProtoMessage

func (*ListNamespacesRequest) ProtoMessage()

func (*ListNamespacesRequest) ProtoReflect

func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message

func (*ListNamespacesRequest) Reset

func (x *ListNamespacesRequest) Reset()

func (*ListNamespacesRequest) String

func (x *ListNamespacesRequest) String() string

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Namespace []string `protobuf:"bytes,1,rep,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesResponse) Descriptor deprecated

func (*ListNamespacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.

func (*ListNamespacesResponse) GetNamespace

func (x *ListNamespacesResponse) GetNamespace() []string

func (*ListNamespacesResponse) ProtoMessage

func (*ListNamespacesResponse) ProtoMessage()

func (*ListNamespacesResponse) ProtoReflect

func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message

func (*ListNamespacesResponse) Reset

func (x *ListNamespacesResponse) Reset()

func (*ListNamespacesResponse) String

func (x *ListNamespacesResponse) String() string

type ListPrefixesRequest

type ListPrefixesRequest struct {
	Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrefixesRequest) Descriptor deprecated

func (*ListPrefixesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPrefixesRequest.ProtoReflect.Descriptor instead.

func (*ListPrefixesRequest) GetNamespace

func (x *ListPrefixesRequest) GetNamespace() string

func (*ListPrefixesRequest) ProtoMessage

func (*ListPrefixesRequest) ProtoMessage()

func (*ListPrefixesRequest) ProtoReflect

func (x *ListPrefixesRequest) ProtoReflect() protoreflect.Message

func (*ListPrefixesRequest) Reset

func (x *ListPrefixesRequest) Reset()

func (*ListPrefixesRequest) String

func (x *ListPrefixesRequest) String() string

type ListPrefixesResponse

type ListPrefixesResponse struct {
	Prefixes []*Prefix `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrefixesResponse) Descriptor deprecated

func (*ListPrefixesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPrefixesResponse.ProtoReflect.Descriptor instead.

func (*ListPrefixesResponse) GetPrefixes

func (x *ListPrefixesResponse) GetPrefixes() []*Prefix

func (*ListPrefixesResponse) ProtoMessage

func (*ListPrefixesResponse) ProtoMessage()

func (*ListPrefixesResponse) ProtoReflect

func (x *ListPrefixesResponse) ProtoReflect() protoreflect.Message

func (*ListPrefixesResponse) Reset

func (x *ListPrefixesResponse) Reset()

func (*ListPrefixesResponse) String

func (x *ListPrefixesResponse) String() string

type LoadRequest

type LoadRequest struct {
	Dump      string  `protobuf:"bytes,1,opt,name=dump,proto3" json:"dump,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadRequest) Descriptor deprecated

func (*LoadRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadRequest.ProtoReflect.Descriptor instead.

func (*LoadRequest) GetDump

func (x *LoadRequest) GetDump() string

func (*LoadRequest) GetNamespace

func (x *LoadRequest) GetNamespace() string

func (*LoadRequest) ProtoMessage

func (*LoadRequest) ProtoMessage()

func (*LoadRequest) ProtoReflect

func (x *LoadRequest) ProtoReflect() protoreflect.Message

func (*LoadRequest) Reset

func (x *LoadRequest) Reset()

func (*LoadRequest) String

func (x *LoadRequest) String() string

type LoadResponse

type LoadResponse struct {
	// contains filtered or unexported fields
}

func (*LoadResponse) Descriptor deprecated

func (*LoadResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoadResponse.ProtoReflect.Descriptor instead.

func (*LoadResponse) ProtoMessage

func (*LoadResponse) ProtoMessage()

func (*LoadResponse) ProtoReflect

func (x *LoadResponse) ProtoReflect() protoreflect.Message

func (*LoadResponse) Reset

func (x *LoadResponse) Reset()

func (*LoadResponse) String

func (x *LoadResponse) String() string

type Prefix

type Prefix struct {
	Cidr       string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	ParentCidr string `protobuf:"bytes,2,opt,name=parent_cidr,json=parentCidr,proto3" json:"parent_cidr,omitempty"`
	// contains filtered or unexported fields
}

func (*Prefix) Descriptor deprecated

func (*Prefix) Descriptor() ([]byte, []int)

Deprecated: Use Prefix.ProtoReflect.Descriptor instead.

func (*Prefix) GetCidr

func (x *Prefix) GetCidr() string

func (*Prefix) GetParentCidr

func (x *Prefix) GetParentCidr() string

func (*Prefix) ProtoMessage

func (*Prefix) ProtoMessage()

func (*Prefix) ProtoReflect

func (x *Prefix) ProtoReflect() protoreflect.Message

func (*Prefix) Reset

func (x *Prefix) Reset()

func (*Prefix) String

func (x *Prefix) String() string

type PrefixUsageRequest

type PrefixUsageRequest struct {
	Cidr      string  `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*PrefixUsageRequest) Descriptor deprecated

func (*PrefixUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PrefixUsageRequest.ProtoReflect.Descriptor instead.

func (*PrefixUsageRequest) GetCidr

func (x *PrefixUsageRequest) GetCidr() string

func (*PrefixUsageRequest) GetNamespace

func (x *PrefixUsageRequest) GetNamespace() string

func (*PrefixUsageRequest) ProtoMessage

func (*PrefixUsageRequest) ProtoMessage()

func (*PrefixUsageRequest) ProtoReflect

func (x *PrefixUsageRequest) ProtoReflect() protoreflect.Message

func (*PrefixUsageRequest) Reset

func (x *PrefixUsageRequest) Reset()

func (*PrefixUsageRequest) String

func (x *PrefixUsageRequest) String() string

type PrefixUsageResponse

type PrefixUsageResponse struct {

	// AvailableIPs the number of available IPs if this is not a parent prefix
	// No more than 2^31 available IPs are reported
	AvailableIps uint64 `protobuf:"varint,1,opt,name=available_ips,json=availableIps,proto3" json:"available_ips,omitempty"`
	// AcquiredIPs the number of acquired IPs if this is not a parent prefix
	AcquiredIps uint64 `protobuf:"varint,2,opt,name=acquired_ips,json=acquiredIps,proto3" json:"acquired_ips,omitempty"`
	// AvailableSmallestPrefixes is the count of available Prefixes with 2 countable Bits
	// No more than 2^31 available Prefixes are reported
	AvailableSmallestPrefixes uint64 `` /* 139-byte string literal not displayed */
	// AvailablePrefixes is a list of prefixes which are available
	AvailablePrefixes []string `protobuf:"bytes,4,rep,name=available_prefixes,json=availablePrefixes,proto3" json:"available_prefixes,omitempty"`
	// AcquiredPrefixes the number of acquired prefixes if this is a parent prefix
	AcquiredPrefixes uint64 `protobuf:"varint,5,opt,name=acquired_prefixes,json=acquiredPrefixes,proto3" json:"acquired_prefixes,omitempty"`
	// AcquiredSubnets the number of acquired subnets if this is a parent prefix
	AcquiredSubnets uint64 `protobuf:"varint,6,opt,name=acquired_subnets,json=acquiredSubnets,proto3" json:"acquired_subnets,omitempty"`
	// contains filtered or unexported fields
}

func (*PrefixUsageResponse) Descriptor deprecated

func (*PrefixUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use PrefixUsageResponse.ProtoReflect.Descriptor instead.

func (*PrefixUsageResponse) GetAcquiredIps

func (x *PrefixUsageResponse) GetAcquiredIps() uint64

func (*PrefixUsageResponse) GetAcquiredPrefixes

func (x *PrefixUsageResponse) GetAcquiredPrefixes() uint64

func (*PrefixUsageResponse) GetAcquiredSubnets

func (x *PrefixUsageResponse) GetAcquiredSubnets() uint64

func (*PrefixUsageResponse) GetAvailableIps

func (x *PrefixUsageResponse) GetAvailableIps() uint64

func (*PrefixUsageResponse) GetAvailablePrefixes

func (x *PrefixUsageResponse) GetAvailablePrefixes() []string

func (*PrefixUsageResponse) GetAvailableSmallestPrefixes

func (x *PrefixUsageResponse) GetAvailableSmallestPrefixes() uint64

func (*PrefixUsageResponse) ProtoMessage

func (*PrefixUsageResponse) ProtoMessage()

func (*PrefixUsageResponse) ProtoReflect

func (x *PrefixUsageResponse) ProtoReflect() protoreflect.Message

func (*PrefixUsageResponse) Reset

func (x *PrefixUsageResponse) Reset()

func (*PrefixUsageResponse) String

func (x *PrefixUsageResponse) String() string

type ReleaseChildPrefixRequest

type ReleaseChildPrefixRequest struct {
	Cidr      string  `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseChildPrefixRequest) Descriptor deprecated

func (*ReleaseChildPrefixRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseChildPrefixRequest.ProtoReflect.Descriptor instead.

func (*ReleaseChildPrefixRequest) GetCidr

func (x *ReleaseChildPrefixRequest) GetCidr() string

func (*ReleaseChildPrefixRequest) GetNamespace

func (x *ReleaseChildPrefixRequest) GetNamespace() string

func (*ReleaseChildPrefixRequest) ProtoMessage

func (*ReleaseChildPrefixRequest) ProtoMessage()

func (*ReleaseChildPrefixRequest) ProtoReflect

func (*ReleaseChildPrefixRequest) Reset

func (x *ReleaseChildPrefixRequest) Reset()

func (*ReleaseChildPrefixRequest) String

func (x *ReleaseChildPrefixRequest) String() string

type ReleaseChildPrefixResponse

type ReleaseChildPrefixResponse struct {
	Prefix *Prefix `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseChildPrefixResponse) Descriptor deprecated

func (*ReleaseChildPrefixResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseChildPrefixResponse.ProtoReflect.Descriptor instead.

func (*ReleaseChildPrefixResponse) GetPrefix

func (x *ReleaseChildPrefixResponse) GetPrefix() *Prefix

func (*ReleaseChildPrefixResponse) ProtoMessage

func (*ReleaseChildPrefixResponse) ProtoMessage()

func (*ReleaseChildPrefixResponse) ProtoReflect

func (*ReleaseChildPrefixResponse) Reset

func (x *ReleaseChildPrefixResponse) Reset()

func (*ReleaseChildPrefixResponse) String

func (x *ReleaseChildPrefixResponse) String() string

type ReleaseIPRequest

type ReleaseIPRequest struct {
	PrefixCidr string  `protobuf:"bytes,1,opt,name=prefix_cidr,json=prefixCidr,proto3" json:"prefix_cidr,omitempty"`
	Ip         string  `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Namespace  *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseIPRequest) Descriptor deprecated

func (*ReleaseIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseIPRequest.ProtoReflect.Descriptor instead.

func (*ReleaseIPRequest) GetIp

func (x *ReleaseIPRequest) GetIp() string

func (*ReleaseIPRequest) GetNamespace

func (x *ReleaseIPRequest) GetNamespace() string

func (*ReleaseIPRequest) GetPrefixCidr

func (x *ReleaseIPRequest) GetPrefixCidr() string

func (*ReleaseIPRequest) ProtoMessage

func (*ReleaseIPRequest) ProtoMessage()

func (*ReleaseIPRequest) ProtoReflect

func (x *ReleaseIPRequest) ProtoReflect() protoreflect.Message

func (*ReleaseIPRequest) Reset

func (x *ReleaseIPRequest) Reset()

func (*ReleaseIPRequest) String

func (x *ReleaseIPRequest) String() string

type ReleaseIPResponse

type ReleaseIPResponse struct {
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseIPResponse) Descriptor deprecated

func (*ReleaseIPResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseIPResponse.ProtoReflect.Descriptor instead.

func (*ReleaseIPResponse) GetIp

func (x *ReleaseIPResponse) GetIp() *IP

func (*ReleaseIPResponse) ProtoMessage

func (*ReleaseIPResponse) ProtoMessage()

func (*ReleaseIPResponse) ProtoReflect

func (x *ReleaseIPResponse) ProtoReflect() protoreflect.Message

func (*ReleaseIPResponse) Reset

func (x *ReleaseIPResponse) Reset()

func (*ReleaseIPResponse) String

func (x *ReleaseIPResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL