diodepb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IngesterService_Ingest_FullMethodName = "/diode.v1.IngesterService/Ingest"
)

Variables

View Source
var File_diode_v1_ingester_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetDescription added in v0.2.0

func (x *Cluster) GetDescription() string

func (*Cluster) GetGroup added in v0.2.0

func (x *Cluster) GetGroup() *ClusterGroup

func (*Cluster) GetName added in v0.2.0

func (x *Cluster) GetName() string

func (*Cluster) GetSite added in v0.2.0

func (x *Cluster) GetSite() *Site

func (*Cluster) GetStatus added in v0.2.0

func (x *Cluster) GetStatus() string

func (*Cluster) GetTags added in v0.2.0

func (x *Cluster) GetTags() []*Tag

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) Reset added in v0.2.0

func (x *Cluster) Reset()

func (*Cluster) String added in v0.2.0

func (x *Cluster) String() string

func (*Cluster) Validate added in v0.2.0

func (m *Cluster) Validate() error

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

func (m *Cluster) ValidateAll() error

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

Cause function returns cause value.

func (ClusterGroupValidationError) Error added in v0.2.0

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

Field function returns field value.

func (ClusterGroupValidationError) Key added in v0.2.0

Key function returns key value.

func (ClusterGroupValidationError) Reason added in v0.2.0

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

Cause function returns cause value.

func (ClusterTypeValidationError) Error added in v0.2.0

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

Field function returns field value.

func (ClusterTypeValidationError) Key added in v0.2.0

Key function returns key value.

func (ClusterTypeValidationError) Reason added in v0.2.0

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) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAssetTag

func (x *Device) GetAssetTag() string

func (*Device) GetComments

func (x *Device) GetComments() string

func (*Device) GetDescription

func (x *Device) GetDescription() string

func (*Device) GetDeviceFqdn

func (x *Device) GetDeviceFqdn() string

func (*Device) GetDeviceType

func (x *Device) GetDeviceType() *DeviceType

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetPlatform

func (x *Device) GetPlatform() *Platform

func (*Device) GetPrimaryIp4

func (x *Device) GetPrimaryIp4() *IPAddress

func (*Device) GetPrimaryIp6

func (x *Device) GetPrimaryIp6() *IPAddress

func (*Device) GetRole

func (x *Device) GetRole() *Role

func (*Device) GetSerial

func (x *Device) GetSerial() string

func (*Device) GetSite

func (x *Device) GetSite() *Site

func (*Device) GetStatus

func (x *Device) GetStatus() string

func (*Device) GetTags

func (x *Device) GetTags() []*Tag

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

func (*Device) Validate

func (m *Device) Validate() error

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

func (m *Device) ValidateAll() error

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

Error satisfies the builtin error interface

func (DeviceTypeValidationError) ErrorName

func (e DeviceTypeValidationError) ErrorName() string

ErrorName returns error name.

func (DeviceTypeValidationError) Field

Field function returns field value.

func (DeviceTypeValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetCluster added in v0.2.0

func (x *Entity) GetCluster() *Cluster

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) GetDevice

func (x *Entity) GetDevice() *Device

func (*Entity) GetDeviceRole

func (x *Entity) GetDeviceRole() *Role

func (*Entity) GetDeviceType

func (x *Entity) GetDeviceType() *DeviceType

func (*Entity) GetEntity

func (m *Entity) GetEntity() isEntity_Entity

func (*Entity) GetInterface

func (x *Entity) GetInterface() *Interface

func (*Entity) GetIpAddress

func (x *Entity) GetIpAddress() *IPAddress

func (*Entity) GetManufacturer

func (x *Entity) GetManufacturer() *Manufacturer

func (*Entity) GetPlatform

func (x *Entity) GetPlatform() *Platform

func (*Entity) GetPrefix

func (x *Entity) GetPrefix() *Prefix

func (*Entity) GetSite

func (x *Entity) GetSite() *Site

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) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

func (*Entity) Validate

func (m *Entity) Validate() error

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

func (m *Entity) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use IPAddress.ProtoReflect.Descriptor instead.

func (*IPAddress) GetAddress

func (x *IPAddress) GetAddress() string

func (*IPAddress) GetAssignedObject

func (m *IPAddress) GetAssignedObject() isIPAddress_AssignedObject

func (*IPAddress) GetComments

func (x *IPAddress) GetComments() string

func (*IPAddress) GetDescription

func (x *IPAddress) GetDescription() string

func (*IPAddress) GetDnsName

func (x *IPAddress) GetDnsName() string

func (*IPAddress) GetInterface

func (x *IPAddress) GetInterface() *Interface

func (*IPAddress) GetRole

func (x *IPAddress) GetRole() string

func (*IPAddress) GetStatus

func (x *IPAddress) GetStatus() string

func (*IPAddress) GetTags

func (x *IPAddress) GetTags() []*Tag

func (*IPAddress) ProtoMessage

func (*IPAddress) ProtoMessage()

func (*IPAddress) ProtoReflect

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

func (*IPAddress) Reset

func (x *IPAddress) Reset()

func (*IPAddress) String

func (x *IPAddress) String() string

func (*IPAddress) Validate

func (m *IPAddress) Validate() error

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

func (m *IPAddress) ValidateAll() error

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

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

Cause function returns cause value.

func (IngestRequestValidationError) Error

Error satisfies the builtin error interface

func (IngestRequestValidationError) ErrorName

func (e IngestRequestValidationError) ErrorName() string

ErrorName returns error name.

func (IngestRequestValidationError) Field

Field function returns field value.

func (IngestRequestValidationError) Key

Key function returns key value.

func (IngestRequestValidationError) Reason

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

Cause function returns cause value.

func (IngestResponseValidationError) Error

Error satisfies the builtin error interface

func (IngestResponseValidationError) ErrorName

func (e IngestResponseValidationError) ErrorName() string

ErrorName returns error name.

func (IngestResponseValidationError) Field

Field function returns field value.

func (IngestResponseValidationError) Key

Key function returns key value.

func (IngestResponseValidationError) Reason

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Interface.ProtoReflect.Descriptor instead.

func (*Interface) GetDescription

func (x *Interface) GetDescription() string

func (*Interface) GetDevice

func (x *Interface) GetDevice() *Device

func (*Interface) GetEnabled

func (x *Interface) GetEnabled() bool

func (*Interface) GetLabel

func (x *Interface) GetLabel() string

func (*Interface) GetMacAddress

func (x *Interface) GetMacAddress() string

func (*Interface) GetMarkConnected

func (x *Interface) GetMarkConnected() bool

func (*Interface) GetMgmtOnly

func (x *Interface) GetMgmtOnly() bool

func (*Interface) GetMode

func (x *Interface) GetMode() string

func (*Interface) GetMtu

func (x *Interface) GetMtu() int32

func (*Interface) GetName

func (x *Interface) GetName() string

func (*Interface) GetSpeed

func (x *Interface) GetSpeed() int32

func (*Interface) GetTags

func (x *Interface) GetTags() []*Tag

func (*Interface) GetType

func (x *Interface) GetType() string

func (*Interface) GetWwn

func (x *Interface) GetWwn() string

func (*Interface) ProtoMessage

func (*Interface) ProtoMessage()

func (*Interface) ProtoReflect

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

func (*Interface) Reset

func (x *Interface) Reset()

func (*Interface) String

func (x *Interface) String() string

func (*Interface) Validate

func (m *Interface) Validate() error

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

func (m *Interface) ValidateAll() error

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

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

Cause function returns cause value.

func (ManufacturerValidationError) Error

Error satisfies the builtin error interface

func (ManufacturerValidationError) ErrorName

func (e ManufacturerValidationError) ErrorName() string

ErrorName returns error name.

func (ManufacturerValidationError) Field

Field function returns field value.

func (ManufacturerValidationError) Key

Key function returns key value.

func (ManufacturerValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetDescription

func (x *Platform) GetDescription() string

func (*Platform) GetManufacturer

func (x *Platform) GetManufacturer() *Manufacturer

func (*Platform) GetName

func (x *Platform) GetName() string

func (*Platform) GetSlug

func (x *Platform) GetSlug() string

func (*Platform) GetTags

func (x *Platform) GetTags() []*Tag

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) ProtoReflect

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

func (*Platform) Reset

func (x *Platform) Reset()

func (*Platform) String

func (x *Platform) String() string

func (*Platform) Validate

func (m *Platform) Validate() error

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

func (m *Platform) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Prefix.ProtoReflect.Descriptor instead.

func (*Prefix) GetComments

func (x *Prefix) GetComments() string

func (*Prefix) GetDescription

func (x *Prefix) GetDescription() string

func (*Prefix) GetIsPool

func (x *Prefix) GetIsPool() bool

func (*Prefix) GetMarkUtilized

func (x *Prefix) GetMarkUtilized() bool

func (*Prefix) GetPrefix

func (x *Prefix) GetPrefix() string

func (*Prefix) GetSite

func (x *Prefix) GetSite() *Site

func (*Prefix) GetStatus

func (x *Prefix) GetStatus() string

func (*Prefix) GetTags

func (x *Prefix) GetTags() []*Tag

func (*Prefix) ProtoMessage

func (*Prefix) ProtoMessage()

func (*Prefix) ProtoReflect

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

func (*Prefix) Reset

func (x *Prefix) Reset()

func (*Prefix) String

func (x *Prefix) String() string

func (*Prefix) Validate

func (m *Prefix) Validate() error

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

func (m *Prefix) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetColor

func (x *Role) GetColor() string

func (*Role) GetDescription

func (x *Role) GetDescription() string

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetSlug

func (x *Role) GetSlug() string

func (*Role) GetTags

func (x *Role) GetTags() []*Tag

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (m *Role) Validate() error

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

func (m *Role) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Site.ProtoReflect.Descriptor instead.

func (*Site) GetComments

func (x *Site) GetComments() string

func (*Site) GetDescription

func (x *Site) GetDescription() string

func (*Site) GetFacility

func (x *Site) GetFacility() string

func (*Site) GetName

func (x *Site) GetName() string

func (*Site) GetSlug

func (x *Site) GetSlug() string

func (*Site) GetStatus

func (x *Site) GetStatus() string

func (*Site) GetTags

func (x *Site) GetTags() []*Tag

func (*Site) GetTimeZone

func (x *Site) GetTimeZone() string

func (*Site) ProtoMessage

func (*Site) ProtoMessage()

func (*Site) ProtoReflect

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

func (*Site) Reset

func (x *Site) Reset()

func (*Site) String

func (x *Site) String() string

func (*Site) Validate

func (m *Site) Validate() error

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

func (m *Site) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetColor

func (x *Tag) GetColor() string

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) GetSlug

func (x *Tag) GetSlug() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

func (*Tag) Validate

func (m *Tag) Validate() error

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

func (m *Tag) ValidateAll() error

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

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

Cause function returns cause value.

func (VMInterfaceValidationError) Error added in v0.2.0

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

Field function returns field value.

func (VMInterfaceValidationError) Key added in v0.2.0

Key function returns key value.

func (VMInterfaceValidationError) Reason added in v0.2.0

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

Cause function returns cause value.

func (VirtualDiskValidationError) Error added in v0.2.0

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

Field function returns field value.

func (VirtualDiskValidationError) Key added in v0.2.0

Key function returns key value.

func (VirtualDiskValidationError) Reason added in v0.2.0

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

Cause function returns cause value.

func (VirtualMachineValidationError) Error added in v0.2.0

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

Field function returns field value.

func (VirtualMachineValidationError) Key added in v0.2.0

Key function returns key value.

func (VirtualMachineValidationError) Reason added in v0.2.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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