apiv1

package
v1.14.7 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 4 Imported by: 2

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 added in v1.11.5

func (x *AcquireChildPrefixRequest) GetChildCidr() string

func (*AcquireChildPrefixRequest) GetCidr

func (x *AcquireChildPrefixRequest) GetCidr() string

func (*AcquireChildPrefixRequest) GetLength

func (x *AcquireChildPrefixRequest) GetLength() uint32

func (*AcquireChildPrefixRequest) GetNamespace added in v1.12.0

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 added in v1.12.0

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 added in v1.12.0

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 added in v1.12.0

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

func (*CreateNamespaceRequest) Descriptor deprecated added in v1.12.0

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

Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.

func (*CreateNamespaceRequest) GetNamespace added in v1.12.0

func (x *CreateNamespaceRequest) GetNamespace() string

func (*CreateNamespaceRequest) ProtoMessage added in v1.12.0

func (*CreateNamespaceRequest) ProtoMessage()

func (*CreateNamespaceRequest) ProtoReflect added in v1.12.0

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

func (*CreateNamespaceRequest) Reset added in v1.12.0

func (x *CreateNamespaceRequest) Reset()

func (*CreateNamespaceRequest) String added in v1.12.0

func (x *CreateNamespaceRequest) String() string

type CreateNamespaceResponse added in v1.12.0

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

func (*CreateNamespaceResponse) Descriptor deprecated added in v1.12.0

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

Deprecated: Use CreateNamespaceResponse.ProtoReflect.Descriptor instead.

func (*CreateNamespaceResponse) ProtoMessage added in v1.12.0

func (*CreateNamespaceResponse) ProtoMessage()

func (*CreateNamespaceResponse) ProtoReflect added in v1.12.0

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

func (*CreateNamespaceResponse) Reset added in v1.12.0

func (x *CreateNamespaceResponse) Reset()

func (*CreateNamespaceResponse) String added in v1.12.0

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 added in v1.12.0

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 added in v1.12.0

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

func (*DeleteNamespaceRequest) Descriptor deprecated added in v1.12.0

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

Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceRequest) GetNamespace added in v1.12.0

func (x *DeleteNamespaceRequest) GetNamespace() string

func (*DeleteNamespaceRequest) ProtoMessage added in v1.12.0

func (*DeleteNamespaceRequest) ProtoMessage()

func (*DeleteNamespaceRequest) ProtoReflect added in v1.12.0

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

func (*DeleteNamespaceRequest) Reset added in v1.12.0

func (x *DeleteNamespaceRequest) Reset()

func (*DeleteNamespaceRequest) String added in v1.12.0

func (x *DeleteNamespaceRequest) String() string

type DeleteNamespaceResponse added in v1.12.0

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

func (*DeleteNamespaceResponse) Descriptor deprecated added in v1.12.0

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

Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceResponse) ProtoMessage added in v1.12.0

func (*DeleteNamespaceResponse) ProtoMessage()

func (*DeleteNamespaceResponse) ProtoReflect added in v1.12.0

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

func (*DeleteNamespaceResponse) Reset added in v1.12.0

func (x *DeleteNamespaceResponse) Reset()

func (*DeleteNamespaceResponse) String added in v1.12.0

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 added in v1.12.0

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 added in v1.12.0

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 added in v1.12.0

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 added in v1.12.0

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

func (*ListNamespacesRequest) Descriptor deprecated added in v1.12.0

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

Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.

func (*ListNamespacesRequest) ProtoMessage added in v1.12.0

func (*ListNamespacesRequest) ProtoMessage()

func (*ListNamespacesRequest) ProtoReflect added in v1.12.0

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

func (*ListNamespacesRequest) Reset added in v1.12.0

func (x *ListNamespacesRequest) Reset()

func (*ListNamespacesRequest) String added in v1.12.0

func (x *ListNamespacesRequest) String() string

type ListNamespacesResponse added in v1.12.0

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

func (*ListNamespacesResponse) Descriptor deprecated added in v1.12.0

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

Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.

func (*ListNamespacesResponse) GetNamespace added in v1.12.0

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

func (*ListNamespacesResponse) ProtoMessage added in v1.12.0

func (*ListNamespacesResponse) ProtoMessage()

func (*ListNamespacesResponse) ProtoReflect added in v1.12.0

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

func (*ListNamespacesResponse) Reset added in v1.12.0

func (x *ListNamespacesResponse) Reset()

func (*ListNamespacesResponse) String added in v1.12.0

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 added in v1.12.0

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 added in v1.12.0

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 added in v1.11.1

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 added in v1.11.1

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

Deprecated: Use PrefixUsageRequest.ProtoReflect.Descriptor instead.

func (*PrefixUsageRequest) GetCidr added in v1.11.1

func (x *PrefixUsageRequest) GetCidr() string

func (*PrefixUsageRequest) GetNamespace added in v1.12.0

func (x *PrefixUsageRequest) GetNamespace() string

func (*PrefixUsageRequest) ProtoMessage added in v1.11.1

func (*PrefixUsageRequest) ProtoMessage()

func (*PrefixUsageRequest) ProtoReflect added in v1.11.1

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

func (*PrefixUsageRequest) Reset added in v1.11.1

func (x *PrefixUsageRequest) Reset()

func (*PrefixUsageRequest) String added in v1.11.1

func (x *PrefixUsageRequest) String() string

type PrefixUsageResponse added in v1.11.1

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"`
	// contains filtered or unexported fields
}

func (*PrefixUsageResponse) Descriptor deprecated added in v1.11.1

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

Deprecated: Use PrefixUsageResponse.ProtoReflect.Descriptor instead.

func (*PrefixUsageResponse) GetAcquiredIps added in v1.11.1

func (x *PrefixUsageResponse) GetAcquiredIps() uint64

func (*PrefixUsageResponse) GetAcquiredPrefixes added in v1.11.1

func (x *PrefixUsageResponse) GetAcquiredPrefixes() uint64

func (*PrefixUsageResponse) GetAvailableIps added in v1.11.1

func (x *PrefixUsageResponse) GetAvailableIps() uint64

func (*PrefixUsageResponse) GetAvailablePrefixes added in v1.11.1

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

func (*PrefixUsageResponse) GetAvailableSmallestPrefixes added in v1.11.1

func (x *PrefixUsageResponse) GetAvailableSmallestPrefixes() uint64

func (*PrefixUsageResponse) ProtoMessage added in v1.11.1

func (*PrefixUsageResponse) ProtoMessage()

func (*PrefixUsageResponse) ProtoReflect added in v1.11.1

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

func (*PrefixUsageResponse) Reset added in v1.11.1

func (x *PrefixUsageResponse) Reset()

func (*PrefixUsageResponse) String added in v1.11.1

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 added in v1.12.0

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 added in v1.12.0

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

type VersionRequest added in v1.14.0

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

func (*VersionRequest) Descriptor deprecated added in v1.14.0

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

Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.

func (*VersionRequest) ProtoMessage added in v1.14.0

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) ProtoReflect added in v1.14.0

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

func (*VersionRequest) Reset added in v1.14.0

func (x *VersionRequest) Reset()

func (*VersionRequest) String added in v1.14.0

func (x *VersionRequest) String() string

type VersionResponse added in v1.14.0

type VersionResponse struct {
	Version   string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Revision  string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	GitSha1   string `protobuf:"bytes,3,opt,name=git_sha1,json=gitSha1,proto3" json:"git_sha1,omitempty"`
	BuildDate string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated added in v1.14.0

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetBuildDate added in v1.14.0

func (x *VersionResponse) GetBuildDate() string

func (*VersionResponse) GetGitSha1 added in v1.14.0

func (x *VersionResponse) GetGitSha1() string

func (*VersionResponse) GetRevision added in v1.14.0

func (x *VersionResponse) GetRevision() string

func (*VersionResponse) GetVersion added in v1.14.0

func (x *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage added in v1.14.0

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect added in v1.14.0

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

func (*VersionResponse) Reset added in v1.14.0

func (x *VersionResponse) Reset()

func (*VersionResponse) String added in v1.14.0

func (x *VersionResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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