Documentation
¶
Index ¶
- Variables
- type Config
- type Error
- type ErrorCode
- type GetIPAMConfigRequest
- func (*GetIPAMConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIPAMConfigRequest) GetVersion() uint32
- func (*GetIPAMConfigRequest) ProtoMessage()
- func (x *GetIPAMConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetIPAMConfigRequest) Reset()
- func (x *GetIPAMConfigRequest) String() string
- type GetIPAMConfigResponse
- func (*GetIPAMConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIPAMConfigResponse) GetConfig() *Config
- func (x *GetIPAMConfigResponse) GetError() *Error
- func (x *GetIPAMConfigResponse) GetPayload() isGetIPAMConfigResponse_Payload
- func (x *GetIPAMConfigResponse) GetVersion() uint32
- func (*GetIPAMConfigResponse) ProtoMessage()
- func (x *GetIPAMConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetIPAMConfigResponse) Reset()
- func (x *GetIPAMConfigResponse) String() string
- type GetIPAMConfigResponse_Config
- type GetIPAMConfigResponse_Error
- type Range
- type RangeSet
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "NOT_READY", 2: "INVALID_REQUEST", 3: "UNSUPPORTED_VERSION", 4: "INTERNAL", } ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "NOT_READY": 1, "INVALID_REQUEST": 2, "UNSUPPORTED_VERSION": 3, "INTERNAL": 4, } )
Enum value maps for ErrorCode.
View Source
var File_ipam_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Ranges []*RangeSet `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct {
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ipam.ErrorCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type ErrorCode ¶
type ErrorCode int32
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type GetIPAMConfigRequest ¶
type GetIPAMConfigRequest struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*GetIPAMConfigRequest) Descriptor
deprecated
func (*GetIPAMConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIPAMConfigRequest.ProtoReflect.Descriptor instead.
func (*GetIPAMConfigRequest) GetVersion ¶
func (x *GetIPAMConfigRequest) GetVersion() uint32
func (*GetIPAMConfigRequest) ProtoMessage ¶
func (*GetIPAMConfigRequest) ProtoMessage()
func (*GetIPAMConfigRequest) ProtoReflect ¶
func (x *GetIPAMConfigRequest) ProtoReflect() protoreflect.Message
func (*GetIPAMConfigRequest) Reset ¶
func (x *GetIPAMConfigRequest) Reset()
func (*GetIPAMConfigRequest) String ¶
func (x *GetIPAMConfigRequest) String() string
type GetIPAMConfigResponse ¶
type GetIPAMConfigResponse struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Types that are valid to be assigned to Payload:
//
// *GetIPAMConfigResponse_Config
// *GetIPAMConfigResponse_Error
Payload isGetIPAMConfigResponse_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
func (*GetIPAMConfigResponse) Descriptor
deprecated
func (*GetIPAMConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIPAMConfigResponse.ProtoReflect.Descriptor instead.
func (*GetIPAMConfigResponse) GetConfig ¶
func (x *GetIPAMConfigResponse) GetConfig() *Config
func (*GetIPAMConfigResponse) GetError ¶
func (x *GetIPAMConfigResponse) GetError() *Error
func (*GetIPAMConfigResponse) GetPayload ¶
func (x *GetIPAMConfigResponse) GetPayload() isGetIPAMConfigResponse_Payload
func (*GetIPAMConfigResponse) GetVersion ¶
func (x *GetIPAMConfigResponse) GetVersion() uint32
func (*GetIPAMConfigResponse) ProtoMessage ¶
func (*GetIPAMConfigResponse) ProtoMessage()
func (*GetIPAMConfigResponse) ProtoReflect ¶
func (x *GetIPAMConfigResponse) ProtoReflect() protoreflect.Message
func (*GetIPAMConfigResponse) Reset ¶
func (x *GetIPAMConfigResponse) Reset()
func (*GetIPAMConfigResponse) String ¶
func (x *GetIPAMConfigResponse) String() string
type GetIPAMConfigResponse_Config ¶
type GetIPAMConfigResponse_Config struct {
Config *Config `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}
type GetIPAMConfigResponse_Error ¶
type GetIPAMConfigResponse_Error struct {
Error *Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type Range ¶
type Range struct {
Subnet string `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet,omitempty"`
// contains filtered or unexported fields
}
func (*Range) Descriptor
deprecated
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type RangeSet ¶
type RangeSet struct {
Ranges []*Range `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"`
// contains filtered or unexported fields
}
func (*RangeSet) Descriptor
deprecated
func (*RangeSet) ProtoMessage ¶
func (*RangeSet) ProtoMessage()
func (*RangeSet) ProtoReflect ¶
func (x *RangeSet) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.