Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIngesterServiceServer(s grpc.ServiceRegistrar, srv IngesterServiceServer)
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetDescription() string
- func (x *Cluster) GetGroup() *ClusterGroup
- func (x *Cluster) GetName() string
- func (x *Cluster) GetSite() *Site
- func (x *Cluster) GetStatus() string
- func (x *Cluster) GetTags() []*Tag
- func (x *Cluster) GetType() *ClusterType
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- func (m *Cluster) Validate() error
- func (m *Cluster) ValidateAll() error
- type ClusterGroup
- func (*ClusterGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterGroup) GetDescription() string
- func (x *ClusterGroup) GetName() string
- func (x *ClusterGroup) GetSlug() string
- func (x *ClusterGroup) GetTags() []*Tag
- func (*ClusterGroup) ProtoMessage()
- func (x *ClusterGroup) ProtoReflect() protoreflect.Message
- func (x *ClusterGroup) Reset()
- func (x *ClusterGroup) String() string
- func (m *ClusterGroup) Validate() error
- func (m *ClusterGroup) ValidateAll() error
- type ClusterGroupMultiError
- type ClusterGroupValidationError
- func (e ClusterGroupValidationError) Cause() error
- func (e ClusterGroupValidationError) Error() string
- func (e ClusterGroupValidationError) ErrorName() string
- func (e ClusterGroupValidationError) Field() string
- func (e ClusterGroupValidationError) Key() bool
- func (e ClusterGroupValidationError) Reason() string
- type ClusterMultiError
- type ClusterType
- func (*ClusterType) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterType) GetDescription() string
- func (x *ClusterType) GetName() string
- func (x *ClusterType) GetSlug() string
- func (x *ClusterType) GetTags() []*Tag
- func (*ClusterType) ProtoMessage()
- func (x *ClusterType) ProtoReflect() protoreflect.Message
- func (x *ClusterType) Reset()
- func (x *ClusterType) String() string
- func (m *ClusterType) Validate() error
- func (m *ClusterType) ValidateAll() error
- type ClusterTypeMultiError
- type ClusterTypeValidationError
- func (e ClusterTypeValidationError) Cause() error
- func (e ClusterTypeValidationError) Error() string
- func (e ClusterTypeValidationError) ErrorName() string
- func (e ClusterTypeValidationError) Field() string
- func (e ClusterTypeValidationError) Key() bool
- func (e ClusterTypeValidationError) Reason() string
- type ClusterValidationError
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetAssetTag() string
- func (x *Device) GetComments() string
- func (x *Device) GetDescription() string
- func (x *Device) GetDeviceFqdn() string
- func (x *Device) GetDeviceType() *DeviceType
- func (x *Device) GetName() string
- func (x *Device) GetPlatform() *Platform
- func (x *Device) GetPrimaryIp4() *IPAddress
- func (x *Device) GetPrimaryIp6() *IPAddress
- func (x *Device) GetRole() *Role
- func (x *Device) GetSerial() string
- func (x *Device) GetSite() *Site
- func (x *Device) GetStatus() string
- func (x *Device) GetTags() []*Tag
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- func (m *Device) Validate() error
- func (m *Device) ValidateAll() error
- type DeviceMultiError
- type DeviceType
- func (*DeviceType) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceType) GetComments() string
- func (x *DeviceType) GetDescription() string
- func (x *DeviceType) GetManufacturer() *Manufacturer
- func (x *DeviceType) GetModel() string
- func (x *DeviceType) GetPartNumber() string
- func (x *DeviceType) GetSlug() string
- func (x *DeviceType) GetTags() []*Tag
- func (*DeviceType) ProtoMessage()
- func (x *DeviceType) ProtoReflect() protoreflect.Message
- func (x *DeviceType) Reset()
- func (x *DeviceType) String() string
- func (m *DeviceType) Validate() error
- func (m *DeviceType) ValidateAll() error
- type DeviceTypeMultiError
- type DeviceTypeValidationError
- type DeviceValidationError
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetCluster() *Cluster
- func (x *Entity) GetClusterGroup() *ClusterGroup
- func (x *Entity) GetClusterType() *ClusterType
- func (x *Entity) GetDevice() *Device
- func (x *Entity) GetDeviceRole() *Role
- func (x *Entity) GetDeviceType() *DeviceType
- func (m *Entity) GetEntity() isEntity_Entity
- func (x *Entity) GetInterface() *Interface
- func (x *Entity) GetIpAddress() *IPAddress
- func (x *Entity) GetManufacturer() *Manufacturer
- func (x *Entity) GetPlatform() *Platform
- func (x *Entity) GetPrefix() *Prefix
- func (x *Entity) GetSite() *Site
- func (x *Entity) GetTimestamp() *timestamppb.Timestamp
- func (x *Entity) GetVirtualDisk() *VirtualDisk
- func (x *Entity) GetVirtualMachine() *VirtualMachine
- func (x *Entity) GetVminterface() *VMInterface
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- func (m *Entity) Validate() error
- func (m *Entity) ValidateAll() error
- type EntityMultiError
- type EntityValidationError
- type Entity_Cluster
- type Entity_ClusterGroup
- type Entity_ClusterType
- type Entity_Device
- type Entity_DeviceRole
- type Entity_DeviceType
- type Entity_Interface
- type Entity_IpAddress
- type Entity_Manufacturer
- type Entity_Platform
- type Entity_Prefix
- type Entity_Site
- type Entity_VirtualDisk
- type Entity_VirtualMachine
- type Entity_Vminterface
- type IPAddress
- func (*IPAddress) Descriptor() ([]byte, []int)deprecated
- func (x *IPAddress) GetAddress() string
- func (m *IPAddress) GetAssignedObject() isIPAddress_AssignedObject
- func (x *IPAddress) GetComments() string
- func (x *IPAddress) GetDescription() string
- func (x *IPAddress) GetDnsName() string
- func (x *IPAddress) GetInterface() *Interface
- func (x *IPAddress) GetRole() string
- func (x *IPAddress) GetStatus() string
- func (x *IPAddress) GetTags() []*Tag
- func (*IPAddress) ProtoMessage()
- func (x *IPAddress) ProtoReflect() protoreflect.Message
- func (x *IPAddress) Reset()
- func (x *IPAddress) String() string
- func (m *IPAddress) Validate() error
- func (m *IPAddress) ValidateAll() error
- type IPAddressMultiError
- type IPAddressValidationError
- type IPAddress_Interface
- type IngestRequest
- func (*IngestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IngestRequest) GetEntities() []*Entity
- func (x *IngestRequest) GetId() string
- func (x *IngestRequest) GetProducerAppName() string
- func (x *IngestRequest) GetProducerAppVersion() string
- func (x *IngestRequest) GetSdkName() string
- func (x *IngestRequest) GetSdkVersion() string
- func (x *IngestRequest) GetStream() string
- func (*IngestRequest) ProtoMessage()
- func (x *IngestRequest) ProtoReflect() protoreflect.Message
- func (x *IngestRequest) Reset()
- func (x *IngestRequest) String() string
- func (m *IngestRequest) Validate() error
- func (m *IngestRequest) ValidateAll() error
- type IngestRequestMultiError
- type IngestRequestValidationError
- func (e IngestRequestValidationError) Cause() error
- func (e IngestRequestValidationError) Error() string
- func (e IngestRequestValidationError) ErrorName() string
- func (e IngestRequestValidationError) Field() string
- func (e IngestRequestValidationError) Key() bool
- func (e IngestRequestValidationError) Reason() string
- type IngestResponse
- func (*IngestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IngestResponse) GetErrors() []string
- func (*IngestResponse) ProtoMessage()
- func (x *IngestResponse) ProtoReflect() protoreflect.Message
- func (x *IngestResponse) Reset()
- func (x *IngestResponse) String() string
- func (m *IngestResponse) Validate() error
- func (m *IngestResponse) ValidateAll() error
- type IngestResponseMultiError
- type IngestResponseValidationError
- func (e IngestResponseValidationError) Cause() error
- func (e IngestResponseValidationError) Error() string
- func (e IngestResponseValidationError) ErrorName() string
- func (e IngestResponseValidationError) Field() string
- func (e IngestResponseValidationError) Key() bool
- func (e IngestResponseValidationError) Reason() string
- type IngesterServiceClient
- type IngesterServiceServer
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)deprecated
- func (x *Interface) GetDescription() string
- func (x *Interface) GetDevice() *Device
- func (x *Interface) GetEnabled() bool
- func (x *Interface) GetLabel() string
- func (x *Interface) GetMacAddress() string
- func (x *Interface) GetMarkConnected() bool
- func (x *Interface) GetMgmtOnly() bool
- func (x *Interface) GetMode() string
- func (x *Interface) GetMtu() int32
- func (x *Interface) GetName() string
- func (x *Interface) GetSpeed() int32
- func (x *Interface) GetTags() []*Tag
- func (x *Interface) GetType() string
- func (x *Interface) GetWwn() string
- func (*Interface) ProtoMessage()
- func (x *Interface) ProtoReflect() protoreflect.Message
- func (x *Interface) Reset()
- func (x *Interface) String() string
- func (m *Interface) Validate() error
- func (m *Interface) ValidateAll() error
- type InterfaceMultiError
- type InterfaceValidationError
- type Manufacturer
- func (*Manufacturer) Descriptor() ([]byte, []int)deprecated
- func (x *Manufacturer) GetDescription() string
- func (x *Manufacturer) GetName() string
- func (x *Manufacturer) GetSlug() string
- func (x *Manufacturer) GetTags() []*Tag
- func (*Manufacturer) ProtoMessage()
- func (x *Manufacturer) ProtoReflect() protoreflect.Message
- func (x *Manufacturer) Reset()
- func (x *Manufacturer) String() string
- func (m *Manufacturer) Validate() error
- func (m *Manufacturer) ValidateAll() error
- type ManufacturerMultiError
- type ManufacturerValidationError
- func (e ManufacturerValidationError) Cause() error
- func (e ManufacturerValidationError) Error() string
- func (e ManufacturerValidationError) ErrorName() string
- func (e ManufacturerValidationError) Field() string
- func (e ManufacturerValidationError) Key() bool
- func (e ManufacturerValidationError) Reason() string
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)deprecated
- func (x *Platform) GetDescription() string
- func (x *Platform) GetManufacturer() *Manufacturer
- func (x *Platform) GetName() string
- func (x *Platform) GetSlug() string
- func (x *Platform) GetTags() []*Tag
- func (*Platform) ProtoMessage()
- func (x *Platform) ProtoReflect() protoreflect.Message
- func (x *Platform) Reset()
- func (x *Platform) String() string
- func (m *Platform) Validate() error
- func (m *Platform) ValidateAll() error
- type PlatformMultiError
- type PlatformValidationError
- type Prefix
- func (*Prefix) Descriptor() ([]byte, []int)deprecated
- func (x *Prefix) GetComments() string
- func (x *Prefix) GetDescription() string
- func (x *Prefix) GetIsPool() bool
- func (x *Prefix) GetMarkUtilized() bool
- func (x *Prefix) GetPrefix() string
- func (x *Prefix) GetSite() *Site
- func (x *Prefix) GetStatus() string
- func (x *Prefix) GetTags() []*Tag
- func (*Prefix) ProtoMessage()
- func (x *Prefix) ProtoReflect() protoreflect.Message
- func (x *Prefix) Reset()
- func (x *Prefix) String() string
- func (m *Prefix) Validate() error
- func (m *Prefix) ValidateAll() error
- type PrefixMultiError
- type PrefixValidationError
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetColor() string
- func (x *Role) GetDescription() string
- func (x *Role) GetName() string
- func (x *Role) GetSlug() string
- func (x *Role) GetTags() []*Tag
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- func (m *Role) Validate() error
- func (m *Role) ValidateAll() error
- type RoleMultiError
- type RoleValidationError
- type Site
- func (*Site) Descriptor() ([]byte, []int)deprecated
- func (x *Site) GetComments() string
- func (x *Site) GetDescription() string
- func (x *Site) GetFacility() string
- func (x *Site) GetName() string
- func (x *Site) GetSlug() string
- func (x *Site) GetStatus() string
- func (x *Site) GetTags() []*Tag
- func (x *Site) GetTimeZone() string
- func (*Site) ProtoMessage()
- func (x *Site) ProtoReflect() protoreflect.Message
- func (x *Site) Reset()
- func (x *Site) String() string
- func (m *Site) Validate() error
- func (m *Site) ValidateAll() error
- type SiteMultiError
- type SiteValidationError
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetColor() string
- func (x *Tag) GetName() string
- func (x *Tag) GetSlug() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- func (m *Tag) Validate() error
- func (m *Tag) ValidateAll() error
- type TagMultiError
- type TagValidationError
- type UnimplementedIngesterServiceServer
- type UnsafeIngesterServiceServer
- type VMInterface
- func (*VMInterface) Descriptor() ([]byte, []int)deprecated
- func (x *VMInterface) GetDescription() string
- func (x *VMInterface) GetEnabled() bool
- func (x *VMInterface) GetMacAddress() string
- func (x *VMInterface) GetMtu() int32
- func (x *VMInterface) GetName() string
- func (x *VMInterface) GetTags() []*Tag
- func (x *VMInterface) GetVirtualMachine() *VirtualMachine
- func (*VMInterface) ProtoMessage()
- func (x *VMInterface) ProtoReflect() protoreflect.Message
- func (x *VMInterface) Reset()
- func (x *VMInterface) String() string
- func (m *VMInterface) Validate() error
- func (m *VMInterface) ValidateAll() error
- type VMInterfaceMultiError
- type VMInterfaceValidationError
- func (e VMInterfaceValidationError) Cause() error
- func (e VMInterfaceValidationError) Error() string
- func (e VMInterfaceValidationError) ErrorName() string
- func (e VMInterfaceValidationError) Field() string
- func (e VMInterfaceValidationError) Key() bool
- func (e VMInterfaceValidationError) Reason() string
- type VirtualDisk
- func (*VirtualDisk) Descriptor() ([]byte, []int)deprecated
- func (x *VirtualDisk) GetDescription() string
- func (x *VirtualDisk) GetName() string
- func (x *VirtualDisk) GetSize() int32
- func (x *VirtualDisk) GetTags() []*Tag
- func (x *VirtualDisk) GetVirtualMachine() *VirtualMachine
- func (*VirtualDisk) ProtoMessage()
- func (x *VirtualDisk) ProtoReflect() protoreflect.Message
- func (x *VirtualDisk) Reset()
- func (x *VirtualDisk) String() string
- func (m *VirtualDisk) Validate() error
- func (m *VirtualDisk) ValidateAll() error
- type VirtualDiskMultiError
- type VirtualDiskValidationError
- func (e VirtualDiskValidationError) Cause() error
- func (e VirtualDiskValidationError) Error() string
- func (e VirtualDiskValidationError) ErrorName() string
- func (e VirtualDiskValidationError) Field() string
- func (e VirtualDiskValidationError) Key() bool
- func (e VirtualDiskValidationError) Reason() string
- type VirtualMachine
- func (*VirtualMachine) Descriptor() ([]byte, []int)deprecated
- func (x *VirtualMachine) GetCluster() *Cluster
- func (x *VirtualMachine) GetComments() string
- func (x *VirtualMachine) GetDescription() string
- func (x *VirtualMachine) GetDevice() *Device
- func (x *VirtualMachine) GetDisk() int32
- func (x *VirtualMachine) GetMemory() int32
- func (x *VirtualMachine) GetName() string
- func (x *VirtualMachine) GetPlatform() *Platform
- func (x *VirtualMachine) GetPrimaryIp4() *IPAddress
- func (x *VirtualMachine) GetPrimaryIp6() *IPAddress
- func (x *VirtualMachine) GetRole() *Role
- func (x *VirtualMachine) GetSite() *Site
- func (x *VirtualMachine) GetStatus() string
- func (x *VirtualMachine) GetTags() []*Tag
- func (x *VirtualMachine) GetVcpus() int32
- func (*VirtualMachine) ProtoMessage()
- func (x *VirtualMachine) ProtoReflect() protoreflect.Message
- func (x *VirtualMachine) Reset()
- func (x *VirtualMachine) String() string
- func (m *VirtualMachine) Validate() error
- func (m *VirtualMachine) ValidateAll() error
- type VirtualMachineMultiError
- type VirtualMachineValidationError
- func (e VirtualMachineValidationError) Cause() error
- func (e VirtualMachineValidationError) Error() string
- func (e VirtualMachineValidationError) ErrorName() string
- func (e VirtualMachineValidationError) Field() string
- func (e VirtualMachineValidationError) Key() bool
- func (e VirtualMachineValidationError) Reason() string
Constants ¶
const (
IngesterService_Ingest_FullMethodName = "/diode.v1.IngesterService/Ingest"
)
Variables ¶
var File_diode_v1_ingester_proto protoreflect.FileDescriptor
var IngesterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "diode.v1.IngesterService", HandlerType: (*IngesterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ingest", Handler: _IngesterService_Ingest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "diode/v1/ingester.proto", }
IngesterService_ServiceDesc is the grpc.ServiceDesc for IngesterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIngesterServiceServer ¶
func RegisterIngesterServiceServer(s grpc.ServiceRegistrar, srv IngesterServiceServer)
Types ¶
type Cluster ¶ added in v0.2.0
type Cluster struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type *ClusterType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Group *ClusterGroup `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` Site *Site `protobuf:"bytes,4,opt,name=site,proto3" json:"site,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A Cluster
func (*Cluster) Descriptor
deprecated
added in
v0.2.0
func (*Cluster) GetDescription ¶ added in v0.2.0
func (*Cluster) GetGroup ¶ added in v0.2.0
func (x *Cluster) GetGroup() *ClusterGroup
func (*Cluster) GetType ¶ added in v0.2.0
func (x *Cluster) GetType() *ClusterType
func (*Cluster) ProtoMessage ¶ added in v0.2.0
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶ added in v0.2.0
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) Validate ¶ added in v0.2.0
Validate checks the field values on Cluster with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cluster) ValidateAll ¶ added in v0.2.0
ValidateAll checks the field values on Cluster with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterMultiError, or nil if none found.
type ClusterGroup ¶ added in v0.2.0
type ClusterGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A Cluster Group
func (*ClusterGroup) Descriptor
deprecated
added in
v0.2.0
func (*ClusterGroup) Descriptor() ([]byte, []int)
Deprecated: Use ClusterGroup.ProtoReflect.Descriptor instead.
func (*ClusterGroup) GetDescription ¶ added in v0.2.0
func (x *ClusterGroup) GetDescription() string
func (*ClusterGroup) GetName ¶ added in v0.2.0
func (x *ClusterGroup) GetName() string
func (*ClusterGroup) GetSlug ¶ added in v0.2.0
func (x *ClusterGroup) GetSlug() string
func (*ClusterGroup) GetTags ¶ added in v0.2.0
func (x *ClusterGroup) GetTags() []*Tag
func (*ClusterGroup) ProtoMessage ¶ added in v0.2.0
func (*ClusterGroup) ProtoMessage()
func (*ClusterGroup) ProtoReflect ¶ added in v0.2.0
func (x *ClusterGroup) ProtoReflect() protoreflect.Message
func (*ClusterGroup) Reset ¶ added in v0.2.0
func (x *ClusterGroup) Reset()
func (*ClusterGroup) String ¶ added in v0.2.0
func (x *ClusterGroup) String() string
func (*ClusterGroup) Validate ¶ added in v0.2.0
func (m *ClusterGroup) Validate() error
Validate checks the field values on ClusterGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterGroup) ValidateAll ¶ added in v0.2.0
func (m *ClusterGroup) ValidateAll() error
ValidateAll checks the field values on ClusterGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterGroupMultiError, or nil if none found.
type ClusterGroupMultiError ¶ added in v0.2.0
type ClusterGroupMultiError []error
ClusterGroupMultiError is an error wrapping multiple validation errors returned by ClusterGroup.ValidateAll() if the designated constraints aren't met.
func (ClusterGroupMultiError) AllErrors ¶ added in v0.2.0
func (m ClusterGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterGroupMultiError) Error ¶ added in v0.2.0
func (m ClusterGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterGroupValidationError ¶ added in v0.2.0
type ClusterGroupValidationError struct {
// contains filtered or unexported fields
}
ClusterGroupValidationError is the validation error returned by ClusterGroup.Validate if the designated constraints aren't met.
func (ClusterGroupValidationError) Cause ¶ added in v0.2.0
func (e ClusterGroupValidationError) Cause() error
Cause function returns cause value.
func (ClusterGroupValidationError) Error ¶ added in v0.2.0
func (e ClusterGroupValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterGroupValidationError) ErrorName ¶ added in v0.2.0
func (e ClusterGroupValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterGroupValidationError) Field ¶ added in v0.2.0
func (e ClusterGroupValidationError) Field() string
Field function returns field value.
func (ClusterGroupValidationError) Key ¶ added in v0.2.0
func (e ClusterGroupValidationError) Key() bool
Key function returns key value.
func (ClusterGroupValidationError) Reason ¶ added in v0.2.0
func (e ClusterGroupValidationError) Reason() string
Reason function returns reason value.
type ClusterMultiError ¶ added in v0.2.0
type ClusterMultiError []error
ClusterMultiError is an error wrapping multiple validation errors returned by Cluster.ValidateAll() if the designated constraints aren't met.
func (ClusterMultiError) AllErrors ¶ added in v0.2.0
func (m ClusterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterMultiError) Error ¶ added in v0.2.0
func (m ClusterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterType ¶ added in v0.2.0
type ClusterType struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A Cluster Type
func (*ClusterType) Descriptor
deprecated
added in
v0.2.0
func (*ClusterType) Descriptor() ([]byte, []int)
Deprecated: Use ClusterType.ProtoReflect.Descriptor instead.
func (*ClusterType) GetDescription ¶ added in v0.2.0
func (x *ClusterType) GetDescription() string
func (*ClusterType) GetName ¶ added in v0.2.0
func (x *ClusterType) GetName() string
func (*ClusterType) GetSlug ¶ added in v0.2.0
func (x *ClusterType) GetSlug() string
func (*ClusterType) GetTags ¶ added in v0.2.0
func (x *ClusterType) GetTags() []*Tag
func (*ClusterType) ProtoMessage ¶ added in v0.2.0
func (*ClusterType) ProtoMessage()
func (*ClusterType) ProtoReflect ¶ added in v0.2.0
func (x *ClusterType) ProtoReflect() protoreflect.Message
func (*ClusterType) Reset ¶ added in v0.2.0
func (x *ClusterType) Reset()
func (*ClusterType) String ¶ added in v0.2.0
func (x *ClusterType) String() string
func (*ClusterType) Validate ¶ added in v0.2.0
func (m *ClusterType) Validate() error
Validate checks the field values on ClusterType with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterType) ValidateAll ¶ added in v0.2.0
func (m *ClusterType) ValidateAll() error
ValidateAll checks the field values on ClusterType with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterTypeMultiError, or nil if none found.
type ClusterTypeMultiError ¶ added in v0.2.0
type ClusterTypeMultiError []error
ClusterTypeMultiError is an error wrapping multiple validation errors returned by ClusterType.ValidateAll() if the designated constraints aren't met.
func (ClusterTypeMultiError) AllErrors ¶ added in v0.2.0
func (m ClusterTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterTypeMultiError) Error ¶ added in v0.2.0
func (m ClusterTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterTypeValidationError ¶ added in v0.2.0
type ClusterTypeValidationError struct {
// contains filtered or unexported fields
}
ClusterTypeValidationError is the validation error returned by ClusterType.Validate if the designated constraints aren't met.
func (ClusterTypeValidationError) Cause ¶ added in v0.2.0
func (e ClusterTypeValidationError) Cause() error
Cause function returns cause value.
func (ClusterTypeValidationError) Error ¶ added in v0.2.0
func (e ClusterTypeValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterTypeValidationError) ErrorName ¶ added in v0.2.0
func (e ClusterTypeValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterTypeValidationError) Field ¶ added in v0.2.0
func (e ClusterTypeValidationError) Field() string
Field function returns field value.
func (ClusterTypeValidationError) Key ¶ added in v0.2.0
func (e ClusterTypeValidationError) Key() bool
Key function returns key value.
func (ClusterTypeValidationError) Reason ¶ added in v0.2.0
func (e ClusterTypeValidationError) Reason() string
Reason function returns reason value.
type ClusterValidationError ¶ added in v0.2.0
type ClusterValidationError struct {
// contains filtered or unexported fields
}
ClusterValidationError is the validation error returned by Cluster.Validate if the designated constraints aren't met.
func (ClusterValidationError) Cause ¶ added in v0.2.0
func (e ClusterValidationError) Cause() error
Cause function returns cause value.
func (ClusterValidationError) Error ¶ added in v0.2.0
func (e ClusterValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterValidationError) ErrorName ¶ added in v0.2.0
func (e ClusterValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterValidationError) Field ¶ added in v0.2.0
func (e ClusterValidationError) Field() string
Field function returns field value.
func (ClusterValidationError) Key ¶ added in v0.2.0
func (e ClusterValidationError) Key() bool
Key function returns key value.
func (ClusterValidationError) Reason ¶ added in v0.2.0
func (e ClusterValidationError) Reason() string
Reason function returns reason value.
type Device ¶
type Device struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DeviceFqdn *string `protobuf:"bytes,2,opt,name=device_fqdn,json=deviceFqdn,proto3,oneof" json:"device_fqdn,omitempty"` DeviceType *DeviceType `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` Role *Role `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` Platform *Platform `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"` Serial *string `protobuf:"bytes,6,opt,name=serial,proto3,oneof" json:"serial,omitempty"` Site *Site `protobuf:"bytes,7,opt,name=site,proto3" json:"site,omitempty"` AssetTag *string `protobuf:"bytes,8,opt,name=asset_tag,json=assetTag,proto3,oneof" json:"asset_tag,omitempty"` Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` Description *string `protobuf:"bytes,10,opt,name=description,proto3,oneof" json:"description,omitempty"` Comments *string `protobuf:"bytes,11,opt,name=comments,proto3,oneof" json:"comments,omitempty"` Tags []*Tag `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"` PrimaryIp4 *IPAddress `protobuf:"bytes,13,opt,name=primary_ip4,json=primaryIp4,proto3" json:"primary_ip4,omitempty"` PrimaryIp6 *IPAddress `protobuf:"bytes,14,opt,name=primary_ip6,json=primaryIp6,proto3" json:"primary_ip6,omitempty"` // contains filtered or unexported fields }
A device
func (*Device) Descriptor
deprecated
func (*Device) GetAssetTag ¶
func (*Device) GetComments ¶
func (*Device) GetDescription ¶
func (*Device) GetDeviceFqdn ¶
func (*Device) GetDeviceType ¶
func (x *Device) GetDeviceType() *DeviceType
func (*Device) GetPlatform ¶
func (*Device) GetPrimaryIp4 ¶
func (*Device) GetPrimaryIp6 ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
func (*Device) Validate ¶
Validate checks the field values on Device with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Device) ValidateAll ¶
ValidateAll checks the field values on Device with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeviceMultiError, or nil if none found.
type DeviceMultiError ¶
type DeviceMultiError []error
DeviceMultiError is an error wrapping multiple validation errors returned by Device.ValidateAll() if the designated constraints aren't met.
func (DeviceMultiError) AllErrors ¶
func (m DeviceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeviceMultiError) Error ¶
func (m DeviceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeviceType ¶
type DeviceType struct { Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Manufacturer *Manufacturer `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` Comments *string `protobuf:"bytes,5,opt,name=comments,proto3,oneof" json:"comments,omitempty"` PartNumber *string `protobuf:"bytes,6,opt,name=part_number,json=partNumber,proto3,oneof" json:"part_number,omitempty"` Tags []*Tag `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A device type
func (*DeviceType) Descriptor
deprecated
func (*DeviceType) Descriptor() ([]byte, []int)
Deprecated: Use DeviceType.ProtoReflect.Descriptor instead.
func (*DeviceType) GetComments ¶
func (x *DeviceType) GetComments() string
func (*DeviceType) GetDescription ¶
func (x *DeviceType) GetDescription() string
func (*DeviceType) GetManufacturer ¶
func (x *DeviceType) GetManufacturer() *Manufacturer
func (*DeviceType) GetModel ¶
func (x *DeviceType) GetModel() string
func (*DeviceType) GetPartNumber ¶
func (x *DeviceType) GetPartNumber() string
func (*DeviceType) GetSlug ¶
func (x *DeviceType) GetSlug() string
func (*DeviceType) GetTags ¶
func (x *DeviceType) GetTags() []*Tag
func (*DeviceType) ProtoMessage ¶
func (*DeviceType) ProtoMessage()
func (*DeviceType) ProtoReflect ¶
func (x *DeviceType) ProtoReflect() protoreflect.Message
func (*DeviceType) Reset ¶
func (x *DeviceType) Reset()
func (*DeviceType) String ¶
func (x *DeviceType) String() string
func (*DeviceType) Validate ¶
func (m *DeviceType) Validate() error
Validate checks the field values on DeviceType with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeviceType) ValidateAll ¶
func (m *DeviceType) ValidateAll() error
ValidateAll checks the field values on DeviceType with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeviceTypeMultiError, or nil if none found.
type DeviceTypeMultiError ¶
type DeviceTypeMultiError []error
DeviceTypeMultiError is an error wrapping multiple validation errors returned by DeviceType.ValidateAll() if the designated constraints aren't met.
func (DeviceTypeMultiError) AllErrors ¶
func (m DeviceTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeviceTypeMultiError) Error ¶
func (m DeviceTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeviceTypeValidationError ¶
type DeviceTypeValidationError struct {
// contains filtered or unexported fields
}
DeviceTypeValidationError is the validation error returned by DeviceType.Validate if the designated constraints aren't met.
func (DeviceTypeValidationError) Cause ¶
func (e DeviceTypeValidationError) Cause() error
Cause function returns cause value.
func (DeviceTypeValidationError) Error ¶
func (e DeviceTypeValidationError) Error() string
Error satisfies the builtin error interface
func (DeviceTypeValidationError) ErrorName ¶
func (e DeviceTypeValidationError) ErrorName() string
ErrorName returns error name.
func (DeviceTypeValidationError) Field ¶
func (e DeviceTypeValidationError) Field() string
Field function returns field value.
func (DeviceTypeValidationError) Key ¶
func (e DeviceTypeValidationError) Key() bool
Key function returns key value.
func (DeviceTypeValidationError) Reason ¶
func (e DeviceTypeValidationError) Reason() string
Reason function returns reason value.
type DeviceValidationError ¶
type DeviceValidationError struct {
// contains filtered or unexported fields
}
DeviceValidationError is the validation error returned by Device.Validate if the designated constraints aren't met.
func (DeviceValidationError) Cause ¶
func (e DeviceValidationError) Cause() error
Cause function returns cause value.
func (DeviceValidationError) Error ¶
func (e DeviceValidationError) Error() string
Error satisfies the builtin error interface
func (DeviceValidationError) ErrorName ¶
func (e DeviceValidationError) ErrorName() string
ErrorName returns error name.
func (DeviceValidationError) Field ¶
func (e DeviceValidationError) Field() string
Field function returns field value.
func (DeviceValidationError) Key ¶
func (e DeviceValidationError) Key() bool
Key function returns key value.
func (DeviceValidationError) Reason ¶
func (e DeviceValidationError) Reason() string
Reason function returns reason value.
type Entity ¶
type Entity struct { // Types that are assignable to Entity: // // *Entity_Site // *Entity_Platform // *Entity_Manufacturer // *Entity_Device // *Entity_DeviceRole // *Entity_DeviceType // *Entity_Interface // *Entity_IpAddress // *Entity_Prefix // *Entity_ClusterGroup // *Entity_ClusterType // *Entity_Cluster // *Entity_VirtualMachine // *Entity_Vminterface // *Entity_VirtualDisk Entity isEntity_Entity `protobuf_oneof:"entity"` // The timestamp of the data discovery at source Timestamp *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
An ingest entity wrapper
func (*Entity) Descriptor
deprecated
func (*Entity) GetCluster ¶ added in v0.2.0
func (*Entity) GetClusterGroup ¶ added in v0.2.0
func (x *Entity) GetClusterGroup() *ClusterGroup
func (*Entity) GetClusterType ¶ added in v0.2.0
func (x *Entity) GetClusterType() *ClusterType
func (*Entity) GetDeviceRole ¶
func (*Entity) GetDeviceType ¶
func (x *Entity) GetDeviceType() *DeviceType
func (*Entity) GetInterface ¶
func (*Entity) GetIpAddress ¶
func (*Entity) GetManufacturer ¶
func (x *Entity) GetManufacturer() *Manufacturer
func (*Entity) GetPlatform ¶
func (*Entity) GetTimestamp ¶
func (x *Entity) GetTimestamp() *timestamppb.Timestamp
func (*Entity) GetVirtualDisk ¶ added in v0.2.0
func (x *Entity) GetVirtualDisk() *VirtualDisk
func (*Entity) GetVirtualMachine ¶ added in v0.2.0
func (x *Entity) GetVirtualMachine() *VirtualMachine
func (*Entity) GetVminterface ¶ added in v0.2.0
func (x *Entity) GetVminterface() *VMInterface
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
func (*Entity) Validate ¶
Validate checks the field values on Entity with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Entity) ValidateAll ¶
ValidateAll checks the field values on Entity with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntityMultiError, or nil if none found.
type EntityMultiError ¶
type EntityMultiError []error
EntityMultiError is an error wrapping multiple validation errors returned by Entity.ValidateAll() if the designated constraints aren't met.
func (EntityMultiError) AllErrors ¶
func (m EntityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntityMultiError) Error ¶
func (m EntityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntityValidationError ¶
type EntityValidationError struct {
// contains filtered or unexported fields
}
EntityValidationError is the validation error returned by Entity.Validate if the designated constraints aren't met.
func (EntityValidationError) Cause ¶
func (e EntityValidationError) Cause() error
Cause function returns cause value.
func (EntityValidationError) Error ¶
func (e EntityValidationError) Error() string
Error satisfies the builtin error interface
func (EntityValidationError) ErrorName ¶
func (e EntityValidationError) ErrorName() string
ErrorName returns error name.
func (EntityValidationError) Field ¶
func (e EntityValidationError) Field() string
Field function returns field value.
func (EntityValidationError) Key ¶
func (e EntityValidationError) Key() bool
Key function returns key value.
func (EntityValidationError) Reason ¶
func (e EntityValidationError) Reason() string
Reason function returns reason value.
type Entity_Cluster ¶ added in v0.2.0
type Entity_Cluster struct {
Cluster *Cluster `protobuf:"bytes,13,opt,name=cluster,proto3,oneof"`
}
type Entity_ClusterGroup ¶ added in v0.2.0
type Entity_ClusterGroup struct {
ClusterGroup *ClusterGroup `protobuf:"bytes,11,opt,name=cluster_group,json=clusterGroup,proto3,oneof"`
}
type Entity_ClusterType ¶ added in v0.2.0
type Entity_ClusterType struct {
ClusterType *ClusterType `protobuf:"bytes,12,opt,name=cluster_type,json=clusterType,proto3,oneof"`
}
type Entity_Device ¶
type Entity_Device struct {
Device *Device `protobuf:"bytes,4,opt,name=device,proto3,oneof"`
}
type Entity_DeviceRole ¶
type Entity_DeviceRole struct {
DeviceRole *Role `protobuf:"bytes,5,opt,name=device_role,json=deviceRole,proto3,oneof"`
}
type Entity_DeviceType ¶
type Entity_DeviceType struct {
DeviceType *DeviceType `protobuf:"bytes,6,opt,name=device_type,json=deviceType,proto3,oneof"`
}
type Entity_Interface ¶
type Entity_Interface struct {
Interface *Interface `protobuf:"bytes,7,opt,name=interface,proto3,oneof"`
}
type Entity_IpAddress ¶
type Entity_IpAddress struct {
IpAddress *IPAddress `protobuf:"bytes,9,opt,name=ip_address,json=ipAddress,proto3,oneof"`
}
type Entity_Manufacturer ¶
type Entity_Manufacturer struct {
Manufacturer *Manufacturer `protobuf:"bytes,3,opt,name=manufacturer,proto3,oneof"`
}
type Entity_Platform ¶
type Entity_Platform struct {
Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3,oneof"`
}
type Entity_Prefix ¶
type Entity_Prefix struct {
Prefix *Prefix `protobuf:"bytes,10,opt,name=prefix,proto3,oneof"`
}
type Entity_Site ¶
type Entity_Site struct {
Site *Site `protobuf:"bytes,1,opt,name=site,proto3,oneof"`
}
type Entity_VirtualDisk ¶ added in v0.2.0
type Entity_VirtualDisk struct {
VirtualDisk *VirtualDisk `protobuf:"bytes,16,opt,name=virtual_disk,json=virtualDisk,proto3,oneof"`
}
type Entity_VirtualMachine ¶ added in v0.2.0
type Entity_VirtualMachine struct {
VirtualMachine *VirtualMachine `protobuf:"bytes,14,opt,name=virtual_machine,json=virtualMachine,proto3,oneof"`
}
type Entity_Vminterface ¶ added in v0.2.0
type Entity_Vminterface struct {
Vminterface *VMInterface `protobuf:"bytes,15,opt,name=vminterface,proto3,oneof"`
}
type IPAddress ¶
type IPAddress struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Types that are assignable to AssignedObject: // // *IPAddress_Interface AssignedObject isIPAddress_AssignedObject `protobuf_oneof:"assigned_object"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` DnsName *string `protobuf:"bytes,5,opt,name=dns_name,json=dnsName,proto3,oneof" json:"dns_name,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` Comments *string `protobuf:"bytes,7,opt,name=comments,proto3,oneof" json:"comments,omitempty"` Tags []*Tag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
An IP address.
func (*IPAddress) Descriptor
deprecated
func (*IPAddress) GetAddress ¶
func (*IPAddress) GetAssignedObject ¶
func (m *IPAddress) GetAssignedObject() isIPAddress_AssignedObject
func (*IPAddress) GetComments ¶
func (*IPAddress) GetDescription ¶
func (*IPAddress) GetDnsName ¶
func (*IPAddress) GetInterface ¶
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) ProtoReflect ¶
func (x *IPAddress) ProtoReflect() protoreflect.Message
func (*IPAddress) Validate ¶
Validate checks the field values on IPAddress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IPAddress) ValidateAll ¶
ValidateAll checks the field values on IPAddress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IPAddressMultiError, or nil if none found.
type IPAddressMultiError ¶
type IPAddressMultiError []error
IPAddressMultiError is an error wrapping multiple validation errors returned by IPAddress.ValidateAll() if the designated constraints aren't met.
func (IPAddressMultiError) AllErrors ¶
func (m IPAddressMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IPAddressMultiError) Error ¶
func (m IPAddressMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IPAddressValidationError ¶
type IPAddressValidationError struct {
// contains filtered or unexported fields
}
IPAddressValidationError is the validation error returned by IPAddress.Validate if the designated constraints aren't met.
func (IPAddressValidationError) Cause ¶
func (e IPAddressValidationError) Cause() error
Cause function returns cause value.
func (IPAddressValidationError) Error ¶
func (e IPAddressValidationError) Error() string
Error satisfies the builtin error interface
func (IPAddressValidationError) ErrorName ¶
func (e IPAddressValidationError) ErrorName() string
ErrorName returns error name.
func (IPAddressValidationError) Field ¶
func (e IPAddressValidationError) Field() string
Field function returns field value.
func (IPAddressValidationError) Key ¶
func (e IPAddressValidationError) Key() bool
Key function returns key value.
func (IPAddressValidationError) Reason ¶
func (e IPAddressValidationError) Reason() string
Reason function returns reason value.
type IPAddress_Interface ¶
type IPAddress_Interface struct {
Interface *Interface `protobuf:"bytes,2,opt,name=interface,proto3,oneof"`
}
type IngestRequest ¶
type IngestRequest struct { Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"` Entities []*Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` ProducerAppName string `protobuf:"bytes,4,opt,name=producer_app_name,json=producerAppName,proto3" json:"producer_app_name,omitempty"` ProducerAppVersion string `protobuf:"bytes,5,opt,name=producer_app_version,json=producerAppVersion,proto3" json:"producer_app_version,omitempty"` SdkName string `protobuf:"bytes,6,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"` SdkVersion string `protobuf:"bytes,7,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` // contains filtered or unexported fields }
The request to ingest the data
func (*IngestRequest) Descriptor
deprecated
func (*IngestRequest) Descriptor() ([]byte, []int)
Deprecated: Use IngestRequest.ProtoReflect.Descriptor instead.
func (*IngestRequest) GetEntities ¶
func (x *IngestRequest) GetEntities() []*Entity
func (*IngestRequest) GetId ¶
func (x *IngestRequest) GetId() string
func (*IngestRequest) GetProducerAppName ¶
func (x *IngestRequest) GetProducerAppName() string
func (*IngestRequest) GetProducerAppVersion ¶
func (x *IngestRequest) GetProducerAppVersion() string
func (*IngestRequest) GetSdkName ¶
func (x *IngestRequest) GetSdkName() string
func (*IngestRequest) GetSdkVersion ¶
func (x *IngestRequest) GetSdkVersion() string
func (*IngestRequest) GetStream ¶
func (x *IngestRequest) GetStream() string
func (*IngestRequest) ProtoMessage ¶
func (*IngestRequest) ProtoMessage()
func (*IngestRequest) ProtoReflect ¶
func (x *IngestRequest) ProtoReflect() protoreflect.Message
func (*IngestRequest) Reset ¶
func (x *IngestRequest) Reset()
func (*IngestRequest) String ¶
func (x *IngestRequest) String() string
func (*IngestRequest) Validate ¶
func (m *IngestRequest) Validate() error
Validate checks the field values on IngestRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IngestRequest) ValidateAll ¶
func (m *IngestRequest) ValidateAll() error
ValidateAll checks the field values on IngestRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IngestRequestMultiError, or nil if none found.
type IngestRequestMultiError ¶
type IngestRequestMultiError []error
IngestRequestMultiError is an error wrapping multiple validation errors returned by IngestRequest.ValidateAll() if the designated constraints aren't met.
func (IngestRequestMultiError) AllErrors ¶
func (m IngestRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IngestRequestMultiError) Error ¶
func (m IngestRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IngestRequestValidationError ¶
type IngestRequestValidationError struct {
// contains filtered or unexported fields
}
IngestRequestValidationError is the validation error returned by IngestRequest.Validate if the designated constraints aren't met.
func (IngestRequestValidationError) Cause ¶
func (e IngestRequestValidationError) Cause() error
Cause function returns cause value.
func (IngestRequestValidationError) Error ¶
func (e IngestRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IngestRequestValidationError) ErrorName ¶
func (e IngestRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IngestRequestValidationError) Field ¶
func (e IngestRequestValidationError) Field() string
Field function returns field value.
func (IngestRequestValidationError) Key ¶
func (e IngestRequestValidationError) Key() bool
Key function returns key value.
func (IngestRequestValidationError) Reason ¶
func (e IngestRequestValidationError) Reason() string
Reason function returns reason value.
type IngestResponse ¶
type IngestResponse struct { Errors []string `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
The response from the ingest request
func (*IngestResponse) Descriptor
deprecated
func (*IngestResponse) Descriptor() ([]byte, []int)
Deprecated: Use IngestResponse.ProtoReflect.Descriptor instead.
func (*IngestResponse) GetErrors ¶
func (x *IngestResponse) GetErrors() []string
func (*IngestResponse) ProtoMessage ¶
func (*IngestResponse) ProtoMessage()
func (*IngestResponse) ProtoReflect ¶
func (x *IngestResponse) ProtoReflect() protoreflect.Message
func (*IngestResponse) Reset ¶
func (x *IngestResponse) Reset()
func (*IngestResponse) String ¶
func (x *IngestResponse) String() string
func (*IngestResponse) Validate ¶
func (m *IngestResponse) Validate() error
Validate checks the field values on IngestResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IngestResponse) ValidateAll ¶
func (m *IngestResponse) ValidateAll() error
ValidateAll checks the field values on IngestResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IngestResponseMultiError, or nil if none found.
type IngestResponseMultiError ¶
type IngestResponseMultiError []error
IngestResponseMultiError is an error wrapping multiple validation errors returned by IngestResponse.ValidateAll() if the designated constraints aren't met.
func (IngestResponseMultiError) AllErrors ¶
func (m IngestResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IngestResponseMultiError) Error ¶
func (m IngestResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IngestResponseValidationError ¶
type IngestResponseValidationError struct {
// contains filtered or unexported fields
}
IngestResponseValidationError is the validation error returned by IngestResponse.Validate if the designated constraints aren't met.
func (IngestResponseValidationError) Cause ¶
func (e IngestResponseValidationError) Cause() error
Cause function returns cause value.
func (IngestResponseValidationError) Error ¶
func (e IngestResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IngestResponseValidationError) ErrorName ¶
func (e IngestResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IngestResponseValidationError) Field ¶
func (e IngestResponseValidationError) Field() string
Field function returns field value.
func (IngestResponseValidationError) Key ¶
func (e IngestResponseValidationError) Key() bool
Key function returns key value.
func (IngestResponseValidationError) Reason ¶
func (e IngestResponseValidationError) Reason() string
Reason function returns reason value.
type IngesterServiceClient ¶
type IngesterServiceClient interface { // Ingests data into the system Ingest(ctx context.Context, in *IngestRequest, opts ...grpc.CallOption) (*IngestResponse, error) }
IngesterServiceClient is the client API for IngesterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIngesterServiceClient ¶
func NewIngesterServiceClient(cc grpc.ClientConnInterface) IngesterServiceClient
type IngesterServiceServer ¶
type IngesterServiceServer interface { // Ingests data into the system Ingest(context.Context, *IngestRequest) (*IngestResponse, error) // contains filtered or unexported methods }
IngesterServiceServer is the server API for IngesterService service. All implementations must embed UnimplementedIngesterServiceServer for forward compatibility
type Interface ¶
type Interface struct { Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Label *string `protobuf:"bytes,3,opt,name=label,proto3,oneof" json:"label,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Enabled *bool `protobuf:"varint,5,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` Mtu *int32 `protobuf:"varint,6,opt,name=mtu,proto3,oneof" json:"mtu,omitempty"` MacAddress *string `protobuf:"bytes,7,opt,name=mac_address,json=macAddress,proto3,oneof" json:"mac_address,omitempty"` Speed *int32 `protobuf:"varint,8,opt,name=speed,proto3,oneof" json:"speed,omitempty"` Wwn *string `protobuf:"bytes,9,opt,name=wwn,proto3,oneof" json:"wwn,omitempty"` MgmtOnly *bool `protobuf:"varint,10,opt,name=mgmt_only,json=mgmtOnly,proto3,oneof" json:"mgmt_only,omitempty"` Description *string `protobuf:"bytes,11,opt,name=description,proto3,oneof" json:"description,omitempty"` MarkConnected *bool `protobuf:"varint,12,opt,name=mark_connected,json=markConnected,proto3,oneof" json:"mark_connected,omitempty"` Mode string `protobuf:"bytes,13,opt,name=mode,proto3" json:"mode,omitempty"` Tags []*Tag `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
An interface
func (*Interface) Descriptor
deprecated
func (*Interface) GetDescription ¶
func (*Interface) GetEnabled ¶
func (*Interface) GetMacAddress ¶
func (*Interface) GetMarkConnected ¶
func (*Interface) GetMgmtOnly ¶
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) ProtoReflect ¶
func (x *Interface) ProtoReflect() protoreflect.Message
func (*Interface) Validate ¶
Validate checks the field values on Interface with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Interface) ValidateAll ¶
ValidateAll checks the field values on Interface with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InterfaceMultiError, or nil if none found.
type InterfaceMultiError ¶
type InterfaceMultiError []error
InterfaceMultiError is an error wrapping multiple validation errors returned by Interface.ValidateAll() if the designated constraints aren't met.
func (InterfaceMultiError) AllErrors ¶
func (m InterfaceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InterfaceMultiError) Error ¶
func (m InterfaceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InterfaceValidationError ¶
type InterfaceValidationError struct {
// contains filtered or unexported fields
}
InterfaceValidationError is the validation error returned by Interface.Validate if the designated constraints aren't met.
func (InterfaceValidationError) Cause ¶
func (e InterfaceValidationError) Cause() error
Cause function returns cause value.
func (InterfaceValidationError) Error ¶
func (e InterfaceValidationError) Error() string
Error satisfies the builtin error interface
func (InterfaceValidationError) ErrorName ¶
func (e InterfaceValidationError) ErrorName() string
ErrorName returns error name.
func (InterfaceValidationError) Field ¶
func (e InterfaceValidationError) Field() string
Field function returns field value.
func (InterfaceValidationError) Key ¶
func (e InterfaceValidationError) Key() bool
Key function returns key value.
func (InterfaceValidationError) Reason ¶
func (e InterfaceValidationError) Reason() string
Reason function returns reason value.
type Manufacturer ¶
type Manufacturer struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A manufacturer
func (*Manufacturer) Descriptor
deprecated
func (*Manufacturer) Descriptor() ([]byte, []int)
Deprecated: Use Manufacturer.ProtoReflect.Descriptor instead.
func (*Manufacturer) GetDescription ¶
func (x *Manufacturer) GetDescription() string
func (*Manufacturer) GetName ¶
func (x *Manufacturer) GetName() string
func (*Manufacturer) GetSlug ¶
func (x *Manufacturer) GetSlug() string
func (*Manufacturer) GetTags ¶
func (x *Manufacturer) GetTags() []*Tag
func (*Manufacturer) ProtoMessage ¶
func (*Manufacturer) ProtoMessage()
func (*Manufacturer) ProtoReflect ¶
func (x *Manufacturer) ProtoReflect() protoreflect.Message
func (*Manufacturer) Reset ¶
func (x *Manufacturer) Reset()
func (*Manufacturer) String ¶
func (x *Manufacturer) String() string
func (*Manufacturer) Validate ¶
func (m *Manufacturer) Validate() error
Validate checks the field values on Manufacturer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Manufacturer) ValidateAll ¶
func (m *Manufacturer) ValidateAll() error
ValidateAll checks the field values on Manufacturer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManufacturerMultiError, or nil if none found.
type ManufacturerMultiError ¶
type ManufacturerMultiError []error
ManufacturerMultiError is an error wrapping multiple validation errors returned by Manufacturer.ValidateAll() if the designated constraints aren't met.
func (ManufacturerMultiError) AllErrors ¶
func (m ManufacturerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ManufacturerMultiError) Error ¶
func (m ManufacturerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ManufacturerValidationError ¶
type ManufacturerValidationError struct {
// contains filtered or unexported fields
}
ManufacturerValidationError is the validation error returned by Manufacturer.Validate if the designated constraints aren't met.
func (ManufacturerValidationError) Cause ¶
func (e ManufacturerValidationError) Cause() error
Cause function returns cause value.
func (ManufacturerValidationError) Error ¶
func (e ManufacturerValidationError) Error() string
Error satisfies the builtin error interface
func (ManufacturerValidationError) ErrorName ¶
func (e ManufacturerValidationError) ErrorName() string
ErrorName returns error name.
func (ManufacturerValidationError) Field ¶
func (e ManufacturerValidationError) Field() string
Field function returns field value.
func (ManufacturerValidationError) Key ¶
func (e ManufacturerValidationError) Key() bool
Key function returns key value.
func (ManufacturerValidationError) Reason ¶
func (e ManufacturerValidationError) Reason() string
Reason function returns reason value.
type Platform ¶
type Platform struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Manufacturer *Manufacturer `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A platform
func (*Platform) Descriptor
deprecated
func (*Platform) GetDescription ¶
func (*Platform) GetManufacturer ¶
func (x *Platform) GetManufacturer() *Manufacturer
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) ProtoReflect ¶
func (x *Platform) ProtoReflect() protoreflect.Message
func (*Platform) Validate ¶
Validate checks the field values on Platform with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Platform) ValidateAll ¶
ValidateAll checks the field values on Platform with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlatformMultiError, or nil if none found.
type PlatformMultiError ¶
type PlatformMultiError []error
PlatformMultiError is an error wrapping multiple validation errors returned by Platform.ValidateAll() if the designated constraints aren't met.
func (PlatformMultiError) AllErrors ¶
func (m PlatformMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlatformMultiError) Error ¶
func (m PlatformMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlatformValidationError ¶
type PlatformValidationError struct {
// contains filtered or unexported fields
}
PlatformValidationError is the validation error returned by Platform.Validate if the designated constraints aren't met.
func (PlatformValidationError) Cause ¶
func (e PlatformValidationError) Cause() error
Cause function returns cause value.
func (PlatformValidationError) Error ¶
func (e PlatformValidationError) Error() string
Error satisfies the builtin error interface
func (PlatformValidationError) ErrorName ¶
func (e PlatformValidationError) ErrorName() string
ErrorName returns error name.
func (PlatformValidationError) Field ¶
func (e PlatformValidationError) Field() string
Field function returns field value.
func (PlatformValidationError) Key ¶
func (e PlatformValidationError) Key() bool
Key function returns key value.
func (PlatformValidationError) Reason ¶
func (e PlatformValidationError) Reason() string
Reason function returns reason value.
type Prefix ¶
type Prefix struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Site *Site `protobuf:"bytes,2,opt,name=site,proto3" json:"site,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` IsPool *bool `protobuf:"varint,4,opt,name=is_pool,json=isPool,proto3,oneof" json:"is_pool,omitempty"` MarkUtilized *bool `protobuf:"varint,5,opt,name=mark_utilized,json=markUtilized,proto3,oneof" json:"mark_utilized,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` Comments *string `protobuf:"bytes,7,opt,name=comments,proto3,oneof" json:"comments,omitempty"` Tags []*Tag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
An IPAM prefix.
func (*Prefix) Descriptor
deprecated
func (*Prefix) GetComments ¶
func (*Prefix) GetDescription ¶
func (*Prefix) GetMarkUtilized ¶
func (*Prefix) ProtoMessage ¶
func (*Prefix) ProtoMessage()
func (*Prefix) ProtoReflect ¶
func (x *Prefix) ProtoReflect() protoreflect.Message
func (*Prefix) Validate ¶
Validate checks the field values on Prefix with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Prefix) ValidateAll ¶
ValidateAll checks the field values on Prefix with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrefixMultiError, or nil if none found.
type PrefixMultiError ¶
type PrefixMultiError []error
PrefixMultiError is an error wrapping multiple validation errors returned by Prefix.ValidateAll() if the designated constraints aren't met.
func (PrefixMultiError) AllErrors ¶
func (m PrefixMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrefixMultiError) Error ¶
func (m PrefixMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrefixValidationError ¶
type PrefixValidationError struct {
// contains filtered or unexported fields
}
PrefixValidationError is the validation error returned by Prefix.Validate if the designated constraints aren't met.
func (PrefixValidationError) Cause ¶
func (e PrefixValidationError) Cause() error
Cause function returns cause value.
func (PrefixValidationError) Error ¶
func (e PrefixValidationError) Error() string
Error satisfies the builtin error interface
func (PrefixValidationError) ErrorName ¶
func (e PrefixValidationError) ErrorName() string
ErrorName returns error name.
func (PrefixValidationError) Field ¶
func (e PrefixValidationError) Field() string
Field function returns field value.
func (PrefixValidationError) Key ¶
func (e PrefixValidationError) Key() bool
Key function returns key value.
func (PrefixValidationError) Reason ¶
func (e PrefixValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A role
func (*Role) Descriptor
deprecated
func (*Role) GetDescription ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) Validate ¶
Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Role) ValidateAll ¶
ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.
type RoleMultiError ¶
type RoleMultiError []error
RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.
func (RoleMultiError) AllErrors ¶
func (m RoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleMultiError) Error ¶
func (m RoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleValidationError ¶
type RoleValidationError struct {
// contains filtered or unexported fields
}
RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.
func (RoleValidationError) Cause ¶
func (e RoleValidationError) Cause() error
Cause function returns cause value.
func (RoleValidationError) Error ¶
func (e RoleValidationError) Error() string
Error satisfies the builtin error interface
func (RoleValidationError) ErrorName ¶
func (e RoleValidationError) ErrorName() string
ErrorName returns error name.
func (RoleValidationError) Field ¶
func (e RoleValidationError) Field() string
Field function returns field value.
func (RoleValidationError) Key ¶
func (e RoleValidationError) Key() bool
Key function returns key value.
func (RoleValidationError) Reason ¶
func (e RoleValidationError) Reason() string
Reason function returns reason value.
type Site ¶
type Site struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Facility *string `protobuf:"bytes,4,opt,name=facility,proto3,oneof" json:"facility,omitempty"` TimeZone *string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3,oneof" json:"time_zone,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` Comments *string `protobuf:"bytes,7,opt,name=comments,proto3,oneof" json:"comments,omitempty"` Tags []*Tag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A site
func (*Site) Descriptor
deprecated
func (*Site) GetComments ¶
func (*Site) GetDescription ¶
func (*Site) GetFacility ¶
func (*Site) GetTimeZone ¶
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
func (*Site) Validate ¶
Validate checks the field values on Site with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Site) ValidateAll ¶
ValidateAll checks the field values on Site with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SiteMultiError, or nil if none found.
type SiteMultiError ¶
type SiteMultiError []error
SiteMultiError is an error wrapping multiple validation errors returned by Site.ValidateAll() if the designated constraints aren't met.
func (SiteMultiError) AllErrors ¶
func (m SiteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SiteMultiError) Error ¶
func (m SiteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SiteValidationError ¶
type SiteValidationError struct {
// contains filtered or unexported fields
}
SiteValidationError is the validation error returned by Site.Validate if the designated constraints aren't met.
func (SiteValidationError) Cause ¶
func (e SiteValidationError) Cause() error
Cause function returns cause value.
func (SiteValidationError) Error ¶
func (e SiteValidationError) Error() string
Error satisfies the builtin error interface
func (SiteValidationError) ErrorName ¶
func (e SiteValidationError) ErrorName() string
ErrorName returns error name.
func (SiteValidationError) Field ¶
func (e SiteValidationError) Field() string
Field function returns field value.
func (SiteValidationError) Key ¶
func (e SiteValidationError) Key() bool
Key function returns key value.
func (SiteValidationError) Reason ¶
func (e SiteValidationError) Reason() string
Reason function returns reason value.
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
A tag
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) Validate ¶
Validate checks the field values on Tag with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Tag) ValidateAll ¶
ValidateAll checks the field values on Tag with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TagMultiError, or nil if none found.
type TagMultiError ¶
type TagMultiError []error
TagMultiError is an error wrapping multiple validation errors returned by Tag.ValidateAll() if the designated constraints aren't met.
func (TagMultiError) AllErrors ¶
func (m TagMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TagMultiError) Error ¶
func (m TagMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TagValidationError ¶
type TagValidationError struct {
// contains filtered or unexported fields
}
TagValidationError is the validation error returned by Tag.Validate if the designated constraints aren't met.
func (TagValidationError) Cause ¶
func (e TagValidationError) Cause() error
Cause function returns cause value.
func (TagValidationError) Error ¶
func (e TagValidationError) Error() string
Error satisfies the builtin error interface
func (TagValidationError) ErrorName ¶
func (e TagValidationError) ErrorName() string
ErrorName returns error name.
func (TagValidationError) Field ¶
func (e TagValidationError) Field() string
Field function returns field value.
func (TagValidationError) Key ¶
func (e TagValidationError) Key() bool
Key function returns key value.
func (TagValidationError) Reason ¶
func (e TagValidationError) Reason() string
Reason function returns reason value.
type UnimplementedIngesterServiceServer ¶
type UnimplementedIngesterServiceServer struct { }
UnimplementedIngesterServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIngesterServiceServer) Ingest ¶
func (UnimplementedIngesterServiceServer) Ingest(context.Context, *IngestRequest) (*IngestResponse, error)
type UnsafeIngesterServiceServer ¶
type UnsafeIngesterServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIngesterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IngesterServiceServer will result in compilation errors.
type VMInterface ¶ added in v0.2.0
type VMInterface struct { VirtualMachine *VirtualMachine `protobuf:"bytes,1,opt,name=virtual_machine,json=virtualMachine,proto3" json:"virtual_machine,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Enabled *bool `protobuf:"varint,3,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` Mtu *int32 `protobuf:"varint,4,opt,name=mtu,proto3,oneof" json:"mtu,omitempty"` MacAddress *string `protobuf:"bytes,5,opt,name=mac_address,json=macAddress,proto3,oneof" json:"mac_address,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A Virtual Machine Interface
func (*VMInterface) Descriptor
deprecated
added in
v0.2.0
func (*VMInterface) Descriptor() ([]byte, []int)
Deprecated: Use VMInterface.ProtoReflect.Descriptor instead.
func (*VMInterface) GetDescription ¶ added in v0.2.0
func (x *VMInterface) GetDescription() string
func (*VMInterface) GetEnabled ¶ added in v0.2.0
func (x *VMInterface) GetEnabled() bool
func (*VMInterface) GetMacAddress ¶ added in v0.2.0
func (x *VMInterface) GetMacAddress() string
func (*VMInterface) GetMtu ¶ added in v0.2.0
func (x *VMInterface) GetMtu() int32
func (*VMInterface) GetName ¶ added in v0.2.0
func (x *VMInterface) GetName() string
func (*VMInterface) GetTags ¶ added in v0.2.0
func (x *VMInterface) GetTags() []*Tag
func (*VMInterface) GetVirtualMachine ¶ added in v0.2.0
func (x *VMInterface) GetVirtualMachine() *VirtualMachine
func (*VMInterface) ProtoMessage ¶ added in v0.2.0
func (*VMInterface) ProtoMessage()
func (*VMInterface) ProtoReflect ¶ added in v0.2.0
func (x *VMInterface) ProtoReflect() protoreflect.Message
func (*VMInterface) Reset ¶ added in v0.2.0
func (x *VMInterface) Reset()
func (*VMInterface) String ¶ added in v0.2.0
func (x *VMInterface) String() string
func (*VMInterface) Validate ¶ added in v0.2.0
func (m *VMInterface) Validate() error
Validate checks the field values on VMInterface with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VMInterface) ValidateAll ¶ added in v0.2.0
func (m *VMInterface) ValidateAll() error
ValidateAll checks the field values on VMInterface with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VMInterfaceMultiError, or nil if none found.
type VMInterfaceMultiError ¶ added in v0.2.0
type VMInterfaceMultiError []error
VMInterfaceMultiError is an error wrapping multiple validation errors returned by VMInterface.ValidateAll() if the designated constraints aren't met.
func (VMInterfaceMultiError) AllErrors ¶ added in v0.2.0
func (m VMInterfaceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VMInterfaceMultiError) Error ¶ added in v0.2.0
func (m VMInterfaceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VMInterfaceValidationError ¶ added in v0.2.0
type VMInterfaceValidationError struct {
// contains filtered or unexported fields
}
VMInterfaceValidationError is the validation error returned by VMInterface.Validate if the designated constraints aren't met.
func (VMInterfaceValidationError) Cause ¶ added in v0.2.0
func (e VMInterfaceValidationError) Cause() error
Cause function returns cause value.
func (VMInterfaceValidationError) Error ¶ added in v0.2.0
func (e VMInterfaceValidationError) Error() string
Error satisfies the builtin error interface
func (VMInterfaceValidationError) ErrorName ¶ added in v0.2.0
func (e VMInterfaceValidationError) ErrorName() string
ErrorName returns error name.
func (VMInterfaceValidationError) Field ¶ added in v0.2.0
func (e VMInterfaceValidationError) Field() string
Field function returns field value.
func (VMInterfaceValidationError) Key ¶ added in v0.2.0
func (e VMInterfaceValidationError) Key() bool
Key function returns key value.
func (VMInterfaceValidationError) Reason ¶ added in v0.2.0
func (e VMInterfaceValidationError) Reason() string
Reason function returns reason value.
type VirtualDisk ¶ added in v0.2.0
type VirtualDisk struct { VirtualMachine *VirtualMachine `protobuf:"bytes,1,opt,name=virtual_machine,json=virtualMachine,proto3" json:"virtual_machine,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` Tags []*Tag `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A Virtual Disk
func (*VirtualDisk) Descriptor
deprecated
added in
v0.2.0
func (*VirtualDisk) Descriptor() ([]byte, []int)
Deprecated: Use VirtualDisk.ProtoReflect.Descriptor instead.
func (*VirtualDisk) GetDescription ¶ added in v0.2.0
func (x *VirtualDisk) GetDescription() string
func (*VirtualDisk) GetName ¶ added in v0.2.0
func (x *VirtualDisk) GetName() string
func (*VirtualDisk) GetSize ¶ added in v0.2.0
func (x *VirtualDisk) GetSize() int32
func (*VirtualDisk) GetTags ¶ added in v0.2.0
func (x *VirtualDisk) GetTags() []*Tag
func (*VirtualDisk) GetVirtualMachine ¶ added in v0.2.0
func (x *VirtualDisk) GetVirtualMachine() *VirtualMachine
func (*VirtualDisk) ProtoMessage ¶ added in v0.2.0
func (*VirtualDisk) ProtoMessage()
func (*VirtualDisk) ProtoReflect ¶ added in v0.2.0
func (x *VirtualDisk) ProtoReflect() protoreflect.Message
func (*VirtualDisk) Reset ¶ added in v0.2.0
func (x *VirtualDisk) Reset()
func (*VirtualDisk) String ¶ added in v0.2.0
func (x *VirtualDisk) String() string
func (*VirtualDisk) Validate ¶ added in v0.2.0
func (m *VirtualDisk) Validate() error
Validate checks the field values on VirtualDisk with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VirtualDisk) ValidateAll ¶ added in v0.2.0
func (m *VirtualDisk) ValidateAll() error
ValidateAll checks the field values on VirtualDisk with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VirtualDiskMultiError, or nil if none found.
type VirtualDiskMultiError ¶ added in v0.2.0
type VirtualDiskMultiError []error
VirtualDiskMultiError is an error wrapping multiple validation errors returned by VirtualDisk.ValidateAll() if the designated constraints aren't met.
func (VirtualDiskMultiError) AllErrors ¶ added in v0.2.0
func (m VirtualDiskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VirtualDiskMultiError) Error ¶ added in v0.2.0
func (m VirtualDiskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VirtualDiskValidationError ¶ added in v0.2.0
type VirtualDiskValidationError struct {
// contains filtered or unexported fields
}
VirtualDiskValidationError is the validation error returned by VirtualDisk.Validate if the designated constraints aren't met.
func (VirtualDiskValidationError) Cause ¶ added in v0.2.0
func (e VirtualDiskValidationError) Cause() error
Cause function returns cause value.
func (VirtualDiskValidationError) Error ¶ added in v0.2.0
func (e VirtualDiskValidationError) Error() string
Error satisfies the builtin error interface
func (VirtualDiskValidationError) ErrorName ¶ added in v0.2.0
func (e VirtualDiskValidationError) ErrorName() string
ErrorName returns error name.
func (VirtualDiskValidationError) Field ¶ added in v0.2.0
func (e VirtualDiskValidationError) Field() string
Field function returns field value.
func (VirtualDiskValidationError) Key ¶ added in v0.2.0
func (e VirtualDiskValidationError) Key() bool
Key function returns key value.
func (VirtualDiskValidationError) Reason ¶ added in v0.2.0
func (e VirtualDiskValidationError) Reason() string
Reason function returns reason value.
type VirtualMachine ¶ added in v0.2.0
type VirtualMachine struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Site *Site `protobuf:"bytes,3,opt,name=site,proto3" json:"site,omitempty"` Cluster *Cluster `protobuf:"bytes,4,opt,name=cluster,proto3" json:"cluster,omitempty"` Role *Role `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"` Device *Device `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"` Platform *Platform `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"` PrimaryIp4 *IPAddress `protobuf:"bytes,8,opt,name=primary_ip4,json=primaryIp4,proto3" json:"primary_ip4,omitempty"` PrimaryIp6 *IPAddress `protobuf:"bytes,9,opt,name=primary_ip6,json=primaryIp6,proto3" json:"primary_ip6,omitempty"` Vcpus *int32 `protobuf:"varint,10,opt,name=vcpus,proto3,oneof" json:"vcpus,omitempty"` Memory *int32 `protobuf:"varint,11,opt,name=memory,proto3,oneof" json:"memory,omitempty"` Disk *int32 `protobuf:"varint,12,opt,name=disk,proto3,oneof" json:"disk,omitempty"` Description *string `protobuf:"bytes,13,opt,name=description,proto3,oneof" json:"description,omitempty"` Comments *string `protobuf:"bytes,14,opt,name=comments,proto3,oneof" json:"comments,omitempty"` Tags []*Tag `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
A Virtual Machine
func (*VirtualMachine) Descriptor
deprecated
added in
v0.2.0
func (*VirtualMachine) Descriptor() ([]byte, []int)
Deprecated: Use VirtualMachine.ProtoReflect.Descriptor instead.
func (*VirtualMachine) GetCluster ¶ added in v0.2.0
func (x *VirtualMachine) GetCluster() *Cluster
func (*VirtualMachine) GetComments ¶ added in v0.2.0
func (x *VirtualMachine) GetComments() string
func (*VirtualMachine) GetDescription ¶ added in v0.2.0
func (x *VirtualMachine) GetDescription() string
func (*VirtualMachine) GetDevice ¶ added in v0.2.0
func (x *VirtualMachine) GetDevice() *Device
func (*VirtualMachine) GetDisk ¶ added in v0.2.0
func (x *VirtualMachine) GetDisk() int32
func (*VirtualMachine) GetMemory ¶ added in v0.2.0
func (x *VirtualMachine) GetMemory() int32
func (*VirtualMachine) GetName ¶ added in v0.2.0
func (x *VirtualMachine) GetName() string
func (*VirtualMachine) GetPlatform ¶ added in v0.2.0
func (x *VirtualMachine) GetPlatform() *Platform
func (*VirtualMachine) GetPrimaryIp4 ¶ added in v0.2.0
func (x *VirtualMachine) GetPrimaryIp4() *IPAddress
func (*VirtualMachine) GetPrimaryIp6 ¶ added in v0.2.0
func (x *VirtualMachine) GetPrimaryIp6() *IPAddress
func (*VirtualMachine) GetRole ¶ added in v0.2.0
func (x *VirtualMachine) GetRole() *Role
func (*VirtualMachine) GetSite ¶ added in v0.2.0
func (x *VirtualMachine) GetSite() *Site
func (*VirtualMachine) GetStatus ¶ added in v0.2.0
func (x *VirtualMachine) GetStatus() string
func (*VirtualMachine) GetTags ¶ added in v0.2.0
func (x *VirtualMachine) GetTags() []*Tag
func (*VirtualMachine) GetVcpus ¶ added in v0.2.0
func (x *VirtualMachine) GetVcpus() int32
func (*VirtualMachine) ProtoMessage ¶ added in v0.2.0
func (*VirtualMachine) ProtoMessage()
func (*VirtualMachine) ProtoReflect ¶ added in v0.2.0
func (x *VirtualMachine) ProtoReflect() protoreflect.Message
func (*VirtualMachine) Reset ¶ added in v0.2.0
func (x *VirtualMachine) Reset()
func (*VirtualMachine) String ¶ added in v0.2.0
func (x *VirtualMachine) String() string
func (*VirtualMachine) Validate ¶ added in v0.2.0
func (m *VirtualMachine) Validate() error
Validate checks the field values on VirtualMachine with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VirtualMachine) ValidateAll ¶ added in v0.2.0
func (m *VirtualMachine) ValidateAll() error
ValidateAll checks the field values on VirtualMachine with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VirtualMachineMultiError, or nil if none found.
type VirtualMachineMultiError ¶ added in v0.2.0
type VirtualMachineMultiError []error
VirtualMachineMultiError is an error wrapping multiple validation errors returned by VirtualMachine.ValidateAll() if the designated constraints aren't met.
func (VirtualMachineMultiError) AllErrors ¶ added in v0.2.0
func (m VirtualMachineMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VirtualMachineMultiError) Error ¶ added in v0.2.0
func (m VirtualMachineMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VirtualMachineValidationError ¶ added in v0.2.0
type VirtualMachineValidationError struct {
// contains filtered or unexported fields
}
VirtualMachineValidationError is the validation error returned by VirtualMachine.Validate if the designated constraints aren't met.
func (VirtualMachineValidationError) Cause ¶ added in v0.2.0
func (e VirtualMachineValidationError) Cause() error
Cause function returns cause value.
func (VirtualMachineValidationError) Error ¶ added in v0.2.0
func (e VirtualMachineValidationError) Error() string
Error satisfies the builtin error interface
func (VirtualMachineValidationError) ErrorName ¶ added in v0.2.0
func (e VirtualMachineValidationError) ErrorName() string
ErrorName returns error name.
func (VirtualMachineValidationError) Field ¶ added in v0.2.0
func (e VirtualMachineValidationError) Field() string
Field function returns field value.
func (VirtualMachineValidationError) Key ¶ added in v0.2.0
func (e VirtualMachineValidationError) Key() bool
Key function returns key value.
func (VirtualMachineValidationError) Reason ¶ added in v0.2.0
func (e VirtualMachineValidationError) Reason() string
Reason function returns reason value.