diodepb

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 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 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 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) 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) 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_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 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.

Jump to

Keyboard shortcuts

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