Documentation ¶
Index ¶
- Variables
- func RegisterDeviceDecommissioningConfigServiceServer(s grpc.ServiceRegistrar, srv DeviceDecommissioningConfigServiceServer)
- func RegisterDeviceDecommissioningServiceServer(s grpc.ServiceRegistrar, srv DeviceDecommissioningServiceServer)
- func RegisterDeviceOnboardingConfigServiceServer(s grpc.ServiceRegistrar, srv DeviceOnboardingConfigServiceServer)
- func RegisterDeviceOnboardingServiceServer(s grpc.ServiceRegistrar, srv DeviceOnboardingServiceServer)
- func RegisterDeviceServiceServer(s grpc.ServiceRegistrar, srv DeviceServiceServer)
- func RegisterProvisionedDeviceServiceServer(s grpc.ServiceRegistrar, srv ProvisionedDeviceServiceServer)
- type DecommissioningStatus
- func (DecommissioningStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DecommissioningStatus) Enum() *DecommissioningStatus
- func (DecommissioningStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DecommissioningStatus) Number() protoreflect.EnumNumber
- func (x DecommissioningStatus) String() string
- func (DecommissioningStatus) Type() protoreflect.EnumType
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetBootTime() *timestamppb.Timestamp
- func (x *Device) GetDomainName() *wrapperspb.StringValue
- func (x *Device) GetExtendedAttributes() *ExtendedAttributes
- func (x *Device) GetFqdn() *wrapperspb.StringValue
- func (x *Device) GetHardwareRevision() *wrapperspb.StringValue
- func (x *Device) GetHostname() *wrapperspb.StringValue
- func (x *Device) GetKey() *DeviceKey
- func (x *Device) GetModelName() *wrapperspb.StringValue
- func (x *Device) GetSoftwareVersion() *wrapperspb.StringValue
- func (x *Device) GetStreamingStatus() StreamingStatus
- func (x *Device) GetSystemMacAddress() *wrapperspb.StringValue
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type DeviceConfiguration
- func (*DeviceConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceConfiguration) GetOptions() map[string]string
- func (*DeviceConfiguration) ProtoMessage()
- func (x *DeviceConfiguration) ProtoReflect() protoreflect.Message
- func (x *DeviceConfiguration) Reset()
- func (x *DeviceConfiguration) String() string
- type DeviceDecommissioning
- func (*DeviceDecommissioning) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioning) GetError() *wrapperspb.StringValue
- func (x *DeviceDecommissioning) GetKey() *UUIDKey
- func (x *DeviceDecommissioning) GetStatus() DecommissioningStatus
- func (x *DeviceDecommissioning) GetStatusMessage() *wrapperspb.StringValue
- func (*DeviceDecommissioning) ProtoMessage()
- func (x *DeviceDecommissioning) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioning) Reset()
- func (x *DeviceDecommissioning) String() string
- type DeviceDecommissioningConfig
- func (*DeviceDecommissioningConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfig) GetDeviceId() *wrapperspb.StringValue
- func (x *DeviceDecommissioningConfig) GetForce() *wrapperspb.BoolValue
- func (x *DeviceDecommissioningConfig) GetKey() *UUIDKey
- func (*DeviceDecommissioningConfig) ProtoMessage()
- func (x *DeviceDecommissioningConfig) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfig) Reset()
- func (x *DeviceDecommissioningConfig) String() string
- type DeviceDecommissioningConfigDeleteAllRequest
- func (*DeviceDecommissioningConfigDeleteAllRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeviceDecommissioningConfigDeleteAllRequest) ProtoMessage()
- func (x *DeviceDecommissioningConfigDeleteAllRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigDeleteAllRequest) Reset()
- func (x *DeviceDecommissioningConfigDeleteAllRequest) String() string
- type DeviceDecommissioningConfigDeleteAllResponse
- func (*DeviceDecommissioningConfigDeleteAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigDeleteAllResponse) GetError() *wrapperspb.StringValue
- func (x *DeviceDecommissioningConfigDeleteAllResponse) GetKey() *UUIDKey
- func (x *DeviceDecommissioningConfigDeleteAllResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceDecommissioningConfigDeleteAllResponse) GetType() fmp.DeleteError
- func (*DeviceDecommissioningConfigDeleteAllResponse) ProtoMessage()
- func (x *DeviceDecommissioningConfigDeleteAllResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigDeleteAllResponse) Reset()
- func (x *DeviceDecommissioningConfigDeleteAllResponse) String() string
- type DeviceDecommissioningConfigDeleteRequest
- func (*DeviceDecommissioningConfigDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigDeleteRequest) GetKey() *UUIDKey
- func (*DeviceDecommissioningConfigDeleteRequest) ProtoMessage()
- func (x *DeviceDecommissioningConfigDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigDeleteRequest) Reset()
- func (x *DeviceDecommissioningConfigDeleteRequest) String() string
- type DeviceDecommissioningConfigDeleteResponse
- func (*DeviceDecommissioningConfigDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigDeleteResponse) GetKey() *UUIDKey
- func (x *DeviceDecommissioningConfigDeleteResponse) GetTime() *timestamppb.Timestamp
- func (*DeviceDecommissioningConfigDeleteResponse) ProtoMessage()
- func (x *DeviceDecommissioningConfigDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigDeleteResponse) Reset()
- func (x *DeviceDecommissioningConfigDeleteResponse) String() string
- type DeviceDecommissioningConfigRequest
- func (*DeviceDecommissioningConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigRequest) GetKey() *UUIDKey
- func (x *DeviceDecommissioningConfigRequest) GetTime() *timestamppb.Timestamp
- func (*DeviceDecommissioningConfigRequest) ProtoMessage()
- func (x *DeviceDecommissioningConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigRequest) Reset()
- func (x *DeviceDecommissioningConfigRequest) String() string
- type DeviceDecommissioningConfigResponse
- func (*DeviceDecommissioningConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceDecommissioningConfigResponse) GetValue() *DeviceDecommissioningConfig
- func (*DeviceDecommissioningConfigResponse) ProtoMessage()
- func (x *DeviceDecommissioningConfigResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigResponse) Reset()
- func (x *DeviceDecommissioningConfigResponse) String() string
- type DeviceDecommissioningConfigServiceClient
- type DeviceDecommissioningConfigServiceServer
- type DeviceDecommissioningConfigService_DeleteAllClient
- type DeviceDecommissioningConfigService_DeleteAllServer
- type DeviceDecommissioningConfigService_GetAllClient
- type DeviceDecommissioningConfigService_GetAllServer
- type DeviceDecommissioningConfigService_SubscribeClient
- type DeviceDecommissioningConfigService_SubscribeServer
- type DeviceDecommissioningConfigSetRequest
- func (*DeviceDecommissioningConfigSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigSetRequest) GetValue() *DeviceDecommissioningConfig
- func (*DeviceDecommissioningConfigSetRequest) ProtoMessage()
- func (x *DeviceDecommissioningConfigSetRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigSetRequest) Reset()
- func (x *DeviceDecommissioningConfigSetRequest) String() string
- type DeviceDecommissioningConfigSetResponse
- func (*DeviceDecommissioningConfigSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigSetResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceDecommissioningConfigSetResponse) GetValue() *DeviceDecommissioningConfig
- func (*DeviceDecommissioningConfigSetResponse) ProtoMessage()
- func (x *DeviceDecommissioningConfigSetResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigSetResponse) Reset()
- func (x *DeviceDecommissioningConfigSetResponse) String() string
- type DeviceDecommissioningConfigStreamRequest
- func (*DeviceDecommissioningConfigStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigStreamRequest) GetPartialEqFilter() []*DeviceDecommissioningConfig
- func (x *DeviceDecommissioningConfigStreamRequest) GetTime() *time.TimeBounds
- func (*DeviceDecommissioningConfigStreamRequest) ProtoMessage()
- func (x *DeviceDecommissioningConfigStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigStreamRequest) Reset()
- func (x *DeviceDecommissioningConfigStreamRequest) String() string
- type DeviceDecommissioningConfigStreamResponse
- func (*DeviceDecommissioningConfigStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningConfigStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceDecommissioningConfigStreamResponse) GetType() subscriptions.Operation
- func (x *DeviceDecommissioningConfigStreamResponse) GetValue() *DeviceDecommissioningConfig
- func (*DeviceDecommissioningConfigStreamResponse) ProtoMessage()
- func (x *DeviceDecommissioningConfigStreamResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningConfigStreamResponse) Reset()
- func (x *DeviceDecommissioningConfigStreamResponse) String() string
- type DeviceDecommissioningRequest
- func (*DeviceDecommissioningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningRequest) GetKey() *UUIDKey
- func (x *DeviceDecommissioningRequest) GetTime() *timestamppb.Timestamp
- func (*DeviceDecommissioningRequest) ProtoMessage()
- func (x *DeviceDecommissioningRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningRequest) Reset()
- func (x *DeviceDecommissioningRequest) String() string
- type DeviceDecommissioningResponse
- func (*DeviceDecommissioningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceDecommissioningResponse) GetValue() *DeviceDecommissioning
- func (*DeviceDecommissioningResponse) ProtoMessage()
- func (x *DeviceDecommissioningResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningResponse) Reset()
- func (x *DeviceDecommissioningResponse) String() string
- type DeviceDecommissioningServiceClient
- type DeviceDecommissioningServiceServer
- type DeviceDecommissioningService_GetAllClient
- type DeviceDecommissioningService_GetAllServer
- type DeviceDecommissioningService_SubscribeClient
- type DeviceDecommissioningService_SubscribeServer
- type DeviceDecommissioningStreamRequest
- func (*DeviceDecommissioningStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningStreamRequest) GetPartialEqFilter() []*DeviceDecommissioning
- func (x *DeviceDecommissioningStreamRequest) GetTime() *time.TimeBounds
- func (*DeviceDecommissioningStreamRequest) ProtoMessage()
- func (x *DeviceDecommissioningStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningStreamRequest) Reset()
- func (x *DeviceDecommissioningStreamRequest) String() string
- type DeviceDecommissioningStreamResponse
- func (*DeviceDecommissioningStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceDecommissioningStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceDecommissioningStreamResponse) GetType() subscriptions.Operation
- func (x *DeviceDecommissioningStreamResponse) GetValue() *DeviceDecommissioning
- func (*DeviceDecommissioningStreamResponse) ProtoMessage()
- func (x *DeviceDecommissioningStreamResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceDecommissioningStreamResponse) Reset()
- func (x *DeviceDecommissioningStreamResponse) String() string
- type DeviceKey
- type DeviceOnboarding
- func (*DeviceOnboarding) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboarding) GetDeviceId() *wrapperspb.StringValue
- func (x *DeviceOnboarding) GetError() *wrapperspb.StringValue
- func (x *DeviceOnboarding) GetKey() *UUIDKey
- func (x *DeviceOnboarding) GetStatus() OnboardingStatus
- func (x *DeviceOnboarding) GetStatusMessage() *wrapperspb.StringValue
- func (*DeviceOnboarding) ProtoMessage()
- func (x *DeviceOnboarding) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboarding) Reset()
- func (x *DeviceOnboarding) String() string
- type DeviceOnboardingConfig
- func (*DeviceOnboardingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfig) GetDeviceConfig() *DeviceConfiguration
- func (x *DeviceOnboardingConfig) GetDeviceType() *wrapperspb.StringValue
- func (x *DeviceOnboardingConfig) GetHostnameOrIp() *wrapperspb.StringValue
- func (x *DeviceOnboardingConfig) GetKey() *UUIDKey
- func (*DeviceOnboardingConfig) ProtoMessage()
- func (x *DeviceOnboardingConfig) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfig) Reset()
- func (x *DeviceOnboardingConfig) String() string
- type DeviceOnboardingConfigDeleteAllRequest
- func (*DeviceOnboardingConfigDeleteAllRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeviceOnboardingConfigDeleteAllRequest) ProtoMessage()
- func (x *DeviceOnboardingConfigDeleteAllRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigDeleteAllRequest) Reset()
- func (x *DeviceOnboardingConfigDeleteAllRequest) String() string
- type DeviceOnboardingConfigDeleteAllResponse
- func (*DeviceOnboardingConfigDeleteAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigDeleteAllResponse) GetError() *wrapperspb.StringValue
- func (x *DeviceOnboardingConfigDeleteAllResponse) GetKey() *UUIDKey
- func (x *DeviceOnboardingConfigDeleteAllResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceOnboardingConfigDeleteAllResponse) GetType() fmp.DeleteError
- func (*DeviceOnboardingConfigDeleteAllResponse) ProtoMessage()
- func (x *DeviceOnboardingConfigDeleteAllResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigDeleteAllResponse) Reset()
- func (x *DeviceOnboardingConfigDeleteAllResponse) String() string
- type DeviceOnboardingConfigDeleteRequest
- func (*DeviceOnboardingConfigDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigDeleteRequest) GetKey() *UUIDKey
- func (*DeviceOnboardingConfigDeleteRequest) ProtoMessage()
- func (x *DeviceOnboardingConfigDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigDeleteRequest) Reset()
- func (x *DeviceOnboardingConfigDeleteRequest) String() string
- type DeviceOnboardingConfigDeleteResponse
- func (*DeviceOnboardingConfigDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigDeleteResponse) GetKey() *UUIDKey
- func (x *DeviceOnboardingConfigDeleteResponse) GetTime() *timestamppb.Timestamp
- func (*DeviceOnboardingConfigDeleteResponse) ProtoMessage()
- func (x *DeviceOnboardingConfigDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigDeleteResponse) Reset()
- func (x *DeviceOnboardingConfigDeleteResponse) String() string
- type DeviceOnboardingConfigRequest
- func (*DeviceOnboardingConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigRequest) GetKey() *UUIDKey
- func (x *DeviceOnboardingConfigRequest) GetTime() *timestamppb.Timestamp
- func (*DeviceOnboardingConfigRequest) ProtoMessage()
- func (x *DeviceOnboardingConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigRequest) Reset()
- func (x *DeviceOnboardingConfigRequest) String() string
- type DeviceOnboardingConfigResponse
- func (*DeviceOnboardingConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceOnboardingConfigResponse) GetValue() *DeviceOnboardingConfig
- func (*DeviceOnboardingConfigResponse) ProtoMessage()
- func (x *DeviceOnboardingConfigResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigResponse) Reset()
- func (x *DeviceOnboardingConfigResponse) String() string
- type DeviceOnboardingConfigServiceClient
- type DeviceOnboardingConfigServiceServer
- type DeviceOnboardingConfigService_DeleteAllClient
- type DeviceOnboardingConfigService_DeleteAllServer
- type DeviceOnboardingConfigService_GetAllClient
- type DeviceOnboardingConfigService_GetAllServer
- type DeviceOnboardingConfigService_SubscribeClient
- type DeviceOnboardingConfigService_SubscribeServer
- type DeviceOnboardingConfigSetRequest
- func (*DeviceOnboardingConfigSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigSetRequest) GetValue() *DeviceOnboardingConfig
- func (*DeviceOnboardingConfigSetRequest) ProtoMessage()
- func (x *DeviceOnboardingConfigSetRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigSetRequest) Reset()
- func (x *DeviceOnboardingConfigSetRequest) String() string
- type DeviceOnboardingConfigSetResponse
- func (*DeviceOnboardingConfigSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigSetResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceOnboardingConfigSetResponse) GetValue() *DeviceOnboardingConfig
- func (*DeviceOnboardingConfigSetResponse) ProtoMessage()
- func (x *DeviceOnboardingConfigSetResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigSetResponse) Reset()
- func (x *DeviceOnboardingConfigSetResponse) String() string
- type DeviceOnboardingConfigStreamRequest
- func (*DeviceOnboardingConfigStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigStreamRequest) GetPartialEqFilter() []*DeviceOnboardingConfig
- func (x *DeviceOnboardingConfigStreamRequest) GetTime() *time.TimeBounds
- func (*DeviceOnboardingConfigStreamRequest) ProtoMessage()
- func (x *DeviceOnboardingConfigStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigStreamRequest) Reset()
- func (x *DeviceOnboardingConfigStreamRequest) String() string
- type DeviceOnboardingConfigStreamResponse
- func (*DeviceOnboardingConfigStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingConfigStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceOnboardingConfigStreamResponse) GetType() subscriptions.Operation
- func (x *DeviceOnboardingConfigStreamResponse) GetValue() *DeviceOnboardingConfig
- func (*DeviceOnboardingConfigStreamResponse) ProtoMessage()
- func (x *DeviceOnboardingConfigStreamResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingConfigStreamResponse) Reset()
- func (x *DeviceOnboardingConfigStreamResponse) String() string
- type DeviceOnboardingRequest
- func (*DeviceOnboardingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingRequest) GetKey() *UUIDKey
- func (x *DeviceOnboardingRequest) GetTime() *timestamppb.Timestamp
- func (*DeviceOnboardingRequest) ProtoMessage()
- func (x *DeviceOnboardingRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingRequest) Reset()
- func (x *DeviceOnboardingRequest) String() string
- type DeviceOnboardingResponse
- func (*DeviceOnboardingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceOnboardingResponse) GetValue() *DeviceOnboarding
- func (*DeviceOnboardingResponse) ProtoMessage()
- func (x *DeviceOnboardingResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingResponse) Reset()
- func (x *DeviceOnboardingResponse) String() string
- type DeviceOnboardingServiceClient
- type DeviceOnboardingServiceServer
- type DeviceOnboardingService_GetAllClient
- type DeviceOnboardingService_GetAllServer
- type DeviceOnboardingService_SubscribeClient
- type DeviceOnboardingService_SubscribeServer
- type DeviceOnboardingStreamRequest
- func (*DeviceOnboardingStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingStreamRequest) GetPartialEqFilter() []*DeviceOnboarding
- func (x *DeviceOnboardingStreamRequest) GetTime() *time.TimeBounds
- func (*DeviceOnboardingStreamRequest) ProtoMessage()
- func (x *DeviceOnboardingStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingStreamRequest) Reset()
- func (x *DeviceOnboardingStreamRequest) String() string
- type DeviceOnboardingStreamResponse
- func (*DeviceOnboardingStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceOnboardingStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceOnboardingStreamResponse) GetType() subscriptions.Operation
- func (x *DeviceOnboardingStreamResponse) GetValue() *DeviceOnboarding
- func (*DeviceOnboardingStreamResponse) ProtoMessage()
- func (x *DeviceOnboardingStreamResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceOnboardingStreamResponse) Reset()
- func (x *DeviceOnboardingStreamResponse) String() string
- type DeviceRequest
- func (*DeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceRequest) GetKey() *DeviceKey
- func (x *DeviceRequest) GetTime() *timestamppb.Timestamp
- func (*DeviceRequest) ProtoMessage()
- func (x *DeviceRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceRequest) Reset()
- func (x *DeviceRequest) String() string
- type DeviceResponse
- func (*DeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceResponse) GetValue() *Device
- func (*DeviceResponse) ProtoMessage()
- func (x *DeviceResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceResponse) Reset()
- func (x *DeviceResponse) String() string
- type DeviceServiceClient
- type DeviceServiceServer
- type DeviceService_GetAllClient
- type DeviceService_GetAllServer
- type DeviceService_SubscribeClient
- type DeviceService_SubscribeServer
- type DeviceStreamRequest
- func (*DeviceStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceStreamRequest) GetPartialEqFilter() []*Device
- func (x *DeviceStreamRequest) GetTime() *time.TimeBounds
- func (*DeviceStreamRequest) ProtoMessage()
- func (x *DeviceStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceStreamRequest) Reset()
- func (x *DeviceStreamRequest) String() string
- type DeviceStreamResponse
- func (*DeviceStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceStreamResponse) GetType() subscriptions.Operation
- func (x *DeviceStreamResponse) GetValue() *Device
- func (*DeviceStreamResponse) ProtoMessage()
- func (x *DeviceStreamResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceStreamResponse) Reset()
- func (x *DeviceStreamResponse) String() string
- type ExtendedAttributes
- func (*ExtendedAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *ExtendedAttributes) GetFeatureEnabled() map[string]bool
- func (*ExtendedAttributes) ProtoMessage()
- func (x *ExtendedAttributes) ProtoReflect() protoreflect.Message
- func (x *ExtendedAttributes) Reset()
- func (x *ExtendedAttributes) String() string
- type OnboardingStatus
- func (OnboardingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x OnboardingStatus) Enum() *OnboardingStatus
- func (OnboardingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnboardingStatus) Number() protoreflect.EnumNumber
- func (x OnboardingStatus) String() string
- func (OnboardingStatus) Type() protoreflect.EnumType
- type ProvisionedDevice
- func (*ProvisionedDevice) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedDevice) GetError() *wrapperspb.StringValue
- func (x *ProvisionedDevice) GetIpAddress() *fmp.IPAddress
- func (x *ProvisionedDevice) GetKey() *DeviceKey
- func (x *ProvisionedDevice) GetProvisioningGroupName() *wrapperspb.StringValue
- func (x *ProvisionedDevice) GetStatus() ProvisioningStatus
- func (x *ProvisionedDevice) GetZtpMode() *wrapperspb.BoolValue
- func (*ProvisionedDevice) ProtoMessage()
- func (x *ProvisionedDevice) ProtoReflect() protoreflect.Message
- func (x *ProvisionedDevice) Reset()
- func (x *ProvisionedDevice) String() string
- type ProvisionedDeviceRequest
- func (*ProvisionedDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedDeviceRequest) GetKey() *DeviceKey
- func (x *ProvisionedDeviceRequest) GetTime() *timestamppb.Timestamp
- func (*ProvisionedDeviceRequest) ProtoMessage()
- func (x *ProvisionedDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionedDeviceRequest) Reset()
- func (x *ProvisionedDeviceRequest) String() string
- type ProvisionedDeviceResponse
- func (*ProvisionedDeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedDeviceResponse) GetTime() *timestamppb.Timestamp
- func (x *ProvisionedDeviceResponse) GetValue() *ProvisionedDevice
- func (*ProvisionedDeviceResponse) ProtoMessage()
- func (x *ProvisionedDeviceResponse) ProtoReflect() protoreflect.Message
- func (x *ProvisionedDeviceResponse) Reset()
- func (x *ProvisionedDeviceResponse) String() string
- type ProvisionedDeviceServiceClient
- type ProvisionedDeviceServiceServer
- type ProvisionedDeviceService_GetAllClient
- type ProvisionedDeviceService_GetAllServer
- type ProvisionedDeviceService_SubscribeClient
- type ProvisionedDeviceService_SubscribeServer
- type ProvisionedDeviceStreamRequest
- func (*ProvisionedDeviceStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedDeviceStreamRequest) GetPartialEqFilter() []*ProvisionedDevice
- func (x *ProvisionedDeviceStreamRequest) GetTime() *time.TimeBounds
- func (*ProvisionedDeviceStreamRequest) ProtoMessage()
- func (x *ProvisionedDeviceStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionedDeviceStreamRequest) Reset()
- func (x *ProvisionedDeviceStreamRequest) String() string
- type ProvisionedDeviceStreamResponse
- func (*ProvisionedDeviceStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedDeviceStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *ProvisionedDeviceStreamResponse) GetType() subscriptions.Operation
- func (x *ProvisionedDeviceStreamResponse) GetValue() *ProvisionedDevice
- func (*ProvisionedDeviceStreamResponse) ProtoMessage()
- func (x *ProvisionedDeviceStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ProvisionedDeviceStreamResponse) Reset()
- func (x *ProvisionedDeviceStreamResponse) String() string
- type ProvisioningStatus
- func (ProvisioningStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ProvisioningStatus) Enum() *ProvisioningStatus
- func (ProvisioningStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProvisioningStatus) Number() protoreflect.EnumNumber
- func (x ProvisioningStatus) String() string
- func (ProvisioningStatus) Type() protoreflect.EnumType
- type StreamingStatus
- func (StreamingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x StreamingStatus) Enum() *StreamingStatus
- func (StreamingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamingStatus) Number() protoreflect.EnumNumber
- func (x StreamingStatus) String() string
- func (StreamingStatus) Type() protoreflect.EnumType
- type UUIDKey
- type UnimplementedDeviceDecommissioningConfigServiceServer
- func (UnimplementedDeviceDecommissioningConfigServiceServer) Delete(context.Context, *DeviceDecommissioningConfigDeleteRequest) (*DeviceDecommissioningConfigDeleteResponse, error)
- func (UnimplementedDeviceDecommissioningConfigServiceServer) DeleteAll(*DeviceDecommissioningConfigDeleteAllRequest, ...) error
- func (UnimplementedDeviceDecommissioningConfigServiceServer) GetAll(*DeviceDecommissioningConfigStreamRequest, ...) error
- func (UnimplementedDeviceDecommissioningConfigServiceServer) GetOne(context.Context, *DeviceDecommissioningConfigRequest) (*DeviceDecommissioningConfigResponse, error)
- func (UnimplementedDeviceDecommissioningConfigServiceServer) Set(context.Context, *DeviceDecommissioningConfigSetRequest) (*DeviceDecommissioningConfigSetResponse, error)
- func (UnimplementedDeviceDecommissioningConfigServiceServer) Subscribe(*DeviceDecommissioningConfigStreamRequest, ...) error
- type UnimplementedDeviceDecommissioningServiceServer
- func (UnimplementedDeviceDecommissioningServiceServer) GetAll(*DeviceDecommissioningStreamRequest, DeviceDecommissioningService_GetAllServer) error
- func (UnimplementedDeviceDecommissioningServiceServer) GetOne(context.Context, *DeviceDecommissioningRequest) (*DeviceDecommissioningResponse, error)
- func (UnimplementedDeviceDecommissioningServiceServer) Subscribe(*DeviceDecommissioningStreamRequest, ...) error
- type UnimplementedDeviceOnboardingConfigServiceServer
- func (UnimplementedDeviceOnboardingConfigServiceServer) Delete(context.Context, *DeviceOnboardingConfigDeleteRequest) (*DeviceOnboardingConfigDeleteResponse, error)
- func (UnimplementedDeviceOnboardingConfigServiceServer) DeleteAll(*DeviceOnboardingConfigDeleteAllRequest, ...) error
- func (UnimplementedDeviceOnboardingConfigServiceServer) GetAll(*DeviceOnboardingConfigStreamRequest, ...) error
- func (UnimplementedDeviceOnboardingConfigServiceServer) GetOne(context.Context, *DeviceOnboardingConfigRequest) (*DeviceOnboardingConfigResponse, error)
- func (UnimplementedDeviceOnboardingConfigServiceServer) Set(context.Context, *DeviceOnboardingConfigSetRequest) (*DeviceOnboardingConfigSetResponse, error)
- func (UnimplementedDeviceOnboardingConfigServiceServer) Subscribe(*DeviceOnboardingConfigStreamRequest, ...) error
- type UnimplementedDeviceOnboardingServiceServer
- func (UnimplementedDeviceOnboardingServiceServer) GetAll(*DeviceOnboardingStreamRequest, DeviceOnboardingService_GetAllServer) error
- func (UnimplementedDeviceOnboardingServiceServer) GetOne(context.Context, *DeviceOnboardingRequest) (*DeviceOnboardingResponse, error)
- func (UnimplementedDeviceOnboardingServiceServer) Subscribe(*DeviceOnboardingStreamRequest, DeviceOnboardingService_SubscribeServer) error
- type UnimplementedDeviceServiceServer
- func (UnimplementedDeviceServiceServer) GetAll(*DeviceStreamRequest, DeviceService_GetAllServer) error
- func (UnimplementedDeviceServiceServer) GetOne(context.Context, *DeviceRequest) (*DeviceResponse, error)
- func (UnimplementedDeviceServiceServer) Subscribe(*DeviceStreamRequest, DeviceService_SubscribeServer) error
- type UnimplementedProvisionedDeviceServiceServer
- func (UnimplementedProvisionedDeviceServiceServer) GetAll(*ProvisionedDeviceStreamRequest, ProvisionedDeviceService_GetAllServer) error
- func (UnimplementedProvisionedDeviceServiceServer) GetOne(context.Context, *ProvisionedDeviceRequest) (*ProvisionedDeviceResponse, error)
- func (UnimplementedProvisionedDeviceServiceServer) Subscribe(*ProvisionedDeviceStreamRequest, ProvisionedDeviceService_SubscribeServer) error
- type UnsafeDeviceDecommissioningConfigServiceServer
- type UnsafeDeviceDecommissioningServiceServer
- type UnsafeDeviceOnboardingConfigServiceServer
- type UnsafeDeviceOnboardingServiceServer
- type UnsafeDeviceServiceServer
- type UnsafeProvisionedDeviceServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( StreamingStatus_name = map[int32]string{ 0: "STREAMING_STATUS_UNSPECIFIED", 1: "STREAMING_STATUS_INACTIVE", 2: "STREAMING_STATUS_ACTIVE", } StreamingStatus_value = map[string]int32{ "STREAMING_STATUS_UNSPECIFIED": 0, "STREAMING_STATUS_INACTIVE": 1, "STREAMING_STATUS_ACTIVE": 2, } )
Enum value maps for StreamingStatus.
var ( OnboardingStatus_name = map[int32]string{ 0: "ONBOARDING_STATUS_UNSPECIFIED", 1: "ONBOARDING_STATUS_IN_PROGRESS", 2: "ONBOARDING_STATUS_FAILURE", 3: "ONBOARDING_STATUS_SUCCESS", } OnboardingStatus_value = map[string]int32{ "ONBOARDING_STATUS_UNSPECIFIED": 0, "ONBOARDING_STATUS_IN_PROGRESS": 1, "ONBOARDING_STATUS_FAILURE": 2, "ONBOARDING_STATUS_SUCCESS": 3, } )
Enum value maps for OnboardingStatus.
var ( DecommissioningStatus_name = map[int32]string{ 0: "DECOMMISSIONING_STATUS_UNSPECIFIED", 1: "DECOMMISSIONING_STATUS_IN_PROGRESS", 2: "DECOMMISSIONING_STATUS_FAILURE", 3: "DECOMMISSIONING_STATUS_SUCCESS", } DecommissioningStatus_value = map[string]int32{ "DECOMMISSIONING_STATUS_UNSPECIFIED": 0, "DECOMMISSIONING_STATUS_IN_PROGRESS": 1, "DECOMMISSIONING_STATUS_FAILURE": 2, "DECOMMISSIONING_STATUS_SUCCESS": 3, } )
Enum value maps for DecommissioningStatus.
var ( ProvisioningStatus_name = map[int32]string{ 0: "PROVISIONING_STATUS_UNSPECIFIED", 1: "PROVISIONING_STATUS_IN_PROGRESS", 2: "PROVISIONING_STATUS_FAILURE", 3: "PROVISIONING_STATUS_SUCCESS", } ProvisioningStatus_value = map[string]int32{ "PROVISIONING_STATUS_UNSPECIFIED": 0, "PROVISIONING_STATUS_IN_PROGRESS": 1, "PROVISIONING_STATUS_FAILURE": 2, "PROVISIONING_STATUS_SUCCESS": 3, } )
Enum value maps for ProvisioningStatus.
var DeviceDecommissioningConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.inventory.v1.DeviceDecommissioningConfigService", HandlerType: (*DeviceDecommissioningConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _DeviceDecommissioningConfigService_GetOne_Handler, }, { MethodName: "Set", Handler: _DeviceDecommissioningConfigService_Set_Handler, }, { MethodName: "Delete", Handler: _DeviceDecommissioningConfigService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _DeviceDecommissioningConfigService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _DeviceDecommissioningConfigService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "DeleteAll", Handler: _DeviceDecommissioningConfigService_DeleteAll_Handler, ServerStreams: true, }, }, Metadata: "arista/inventory.v1/services.gen.proto", }
DeviceDecommissioningConfigService_ServiceDesc is the grpc.ServiceDesc for DeviceDecommissioningConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceDecommissioningService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.inventory.v1.DeviceDecommissioningService", HandlerType: (*DeviceDecommissioningServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _DeviceDecommissioningService_GetOne_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _DeviceDecommissioningService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _DeviceDecommissioningService_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "arista/inventory.v1/services.gen.proto", }
DeviceDecommissioningService_ServiceDesc is the grpc.ServiceDesc for DeviceDecommissioningService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceOnboardingConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.inventory.v1.DeviceOnboardingConfigService", HandlerType: (*DeviceOnboardingConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _DeviceOnboardingConfigService_GetOne_Handler, }, { MethodName: "Set", Handler: _DeviceOnboardingConfigService_Set_Handler, }, { MethodName: "Delete", Handler: _DeviceOnboardingConfigService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _DeviceOnboardingConfigService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _DeviceOnboardingConfigService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "DeleteAll", Handler: _DeviceOnboardingConfigService_DeleteAll_Handler, ServerStreams: true, }, }, Metadata: "arista/inventory.v1/services.gen.proto", }
DeviceOnboardingConfigService_ServiceDesc is the grpc.ServiceDesc for DeviceOnboardingConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceOnboardingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.inventory.v1.DeviceOnboardingService", HandlerType: (*DeviceOnboardingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _DeviceOnboardingService_GetOne_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _DeviceOnboardingService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _DeviceOnboardingService_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "arista/inventory.v1/services.gen.proto", }
DeviceOnboardingService_ServiceDesc is the grpc.ServiceDesc for DeviceOnboardingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.inventory.v1.DeviceService", HandlerType: (*DeviceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _DeviceService_GetOne_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _DeviceService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _DeviceService_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "arista/inventory.v1/services.gen.proto", }
DeviceService_ServiceDesc is the grpc.ServiceDesc for DeviceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_arista_inventory_v1_inventory_proto protoreflect.FileDescriptor
var File_arista_inventory_v1_services_gen_proto protoreflect.FileDescriptor
var ProvisionedDeviceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.inventory.v1.ProvisionedDeviceService", HandlerType: (*ProvisionedDeviceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _ProvisionedDeviceService_GetOne_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _ProvisionedDeviceService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _ProvisionedDeviceService_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "arista/inventory.v1/services.gen.proto", }
ProvisionedDeviceService_ServiceDesc is the grpc.ServiceDesc for ProvisionedDeviceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDeviceDecommissioningConfigServiceServer ¶
func RegisterDeviceDecommissioningConfigServiceServer(s grpc.ServiceRegistrar, srv DeviceDecommissioningConfigServiceServer)
func RegisterDeviceDecommissioningServiceServer ¶
func RegisterDeviceDecommissioningServiceServer(s grpc.ServiceRegistrar, srv DeviceDecommissioningServiceServer)
func RegisterDeviceOnboardingConfigServiceServer ¶
func RegisterDeviceOnboardingConfigServiceServer(s grpc.ServiceRegistrar, srv DeviceOnboardingConfigServiceServer)
func RegisterDeviceOnboardingServiceServer ¶
func RegisterDeviceOnboardingServiceServer(s grpc.ServiceRegistrar, srv DeviceOnboardingServiceServer)
func RegisterDeviceServiceServer ¶
func RegisterDeviceServiceServer(s grpc.ServiceRegistrar, srv DeviceServiceServer)
func RegisterProvisionedDeviceServiceServer ¶
func RegisterProvisionedDeviceServiceServer(s grpc.ServiceRegistrar, srv ProvisionedDeviceServiceServer)
Types ¶
type DecommissioningStatus ¶
type DecommissioningStatus int32
DecommissioningStatus defines the set of possible states in the decommissioning process for a device.
const ( DecommissioningStatus_DECOMMISSIONING_STATUS_UNSPECIFIED DecommissioningStatus = 0 // DECOMMISSIONING_STATUS_IN_PROGRESS indicates decommissioning is in progress. DecommissioningStatus_DECOMMISSIONING_STATUS_IN_PROGRESS DecommissioningStatus = 1 // DECOMMISSIONING_STATUS_FAILURE indicates decommissioning failed. DecommissioningStatus_DECOMMISSIONING_STATUS_FAILURE DecommissioningStatus = 2 // DECOMMISSIONING_STATUS_SUCCESS indicates decommissioning succeeded. DecommissioningStatus_DECOMMISSIONING_STATUS_SUCCESS DecommissioningStatus = 3 )
func (DecommissioningStatus) Descriptor ¶
func (DecommissioningStatus) Descriptor() protoreflect.EnumDescriptor
func (DecommissioningStatus) Enum ¶
func (x DecommissioningStatus) Enum() *DecommissioningStatus
func (DecommissioningStatus) EnumDescriptor
deprecated
func (DecommissioningStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DecommissioningStatus.Descriptor instead.
func (DecommissioningStatus) Number ¶
func (x DecommissioningStatus) Number() protoreflect.EnumNumber
func (DecommissioningStatus) String ¶
func (x DecommissioningStatus) String() string
func (DecommissioningStatus) Type ¶
func (DecommissioningStatus) Type() protoreflect.EnumType
type Device ¶
type Device struct { // key uniquely identifies the device. Key *DeviceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // software_version gives the currently running device software version. SoftwareVersion *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"` // model_name describes the hardware model of this device. ModelName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` // hardware_revision describes any revisional data to the model name. HardwareRevision *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=hardware_revision,json=hardwareRevision,proto3" json:"hardware_revision,omitempty"` // fqdn gives the device's fully qualified domain name. Fqdn *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // hostname is the hostname as reported on the device. Hostname *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=hostname,proto3" json:"hostname,omitempty"` // domain_name provides the domain name on which the device is registered. DomainName *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` // system_mac_address provides the MAC address of the management port. SystemMacAddress *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=system_mac_address,json=systemMacAddress,proto3" json:"system_mac_address,omitempty"` // boot_time indicates when the device was last booted. BootTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=boot_time,json=bootTime,proto3" json:"boot_time,omitempty"` // streaming_status is the status of telemetry streaming for this device. StreamingStatus StreamingStatus `` /* 149-byte string literal not displayed */ // extended_attributes wraps any additional, potentially non-standard, features // or attributes that the device reports. ExtendedAttributes *ExtendedAttributes `protobuf:"bytes,31,opt,name=extended_attributes,json=extendedAttributes,proto3" json:"extended_attributes,omitempty"` // contains filtered or unexported fields }
Device describes an onboarded device.
func (*Device) Descriptor
deprecated
func (*Device) GetBootTime ¶
func (x *Device) GetBootTime() *timestamppb.Timestamp
func (*Device) GetDomainName ¶
func (x *Device) GetDomainName() *wrapperspb.StringValue
func (*Device) GetExtendedAttributes ¶
func (x *Device) GetExtendedAttributes() *ExtendedAttributes
func (*Device) GetFqdn ¶
func (x *Device) GetFqdn() *wrapperspb.StringValue
func (*Device) GetHardwareRevision ¶
func (x *Device) GetHardwareRevision() *wrapperspb.StringValue
func (*Device) GetHostname ¶
func (x *Device) GetHostname() *wrapperspb.StringValue
func (*Device) GetModelName ¶
func (x *Device) GetModelName() *wrapperspb.StringValue
func (*Device) GetSoftwareVersion ¶
func (x *Device) GetSoftwareVersion() *wrapperspb.StringValue
func (*Device) GetStreamingStatus ¶
func (x *Device) GetStreamingStatus() StreamingStatus
func (*Device) GetSystemMacAddress ¶
func (x *Device) GetSystemMacAddress() *wrapperspb.StringValue
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type DeviceConfiguration ¶
type DeviceConfiguration struct { // options is a map from device option to value. // // E.g., for an SNMP device, this could be the following: // // "address": "my_snmp_hostname", // "community": "public" Options map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
DeviceConfiguration holds the device-specific configuration for a third-party device, as defined in https://github.com/aristanetworks/cloudvision-go.
func (*DeviceConfiguration) Descriptor
deprecated
func (*DeviceConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use DeviceConfiguration.ProtoReflect.Descriptor instead.
func (*DeviceConfiguration) GetOptions ¶
func (x *DeviceConfiguration) GetOptions() map[string]string
func (*DeviceConfiguration) ProtoMessage ¶
func (*DeviceConfiguration) ProtoMessage()
func (*DeviceConfiguration) ProtoReflect ¶
func (x *DeviceConfiguration) ProtoReflect() protoreflect.Message
func (*DeviceConfiguration) Reset ¶
func (x *DeviceConfiguration) Reset()
func (*DeviceConfiguration) String ¶
func (x *DeviceConfiguration) String() string
type DeviceDecommissioning ¶
type DeviceDecommissioning struct { // key identifies the request for which to retrieve a decommissioning status. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // status describes the decommissioning status of the device. Status DecommissioningStatus `protobuf:"varint,2,opt,name=status,proto3,enum=arista.inventory.v1.DecommissioningStatus" json:"status,omitempty"` // error is the error that caused status to become DECOMMISSIONING_STATUS_FAILURE. Error *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // status_message contains information on the status of the decommissioning attempt, // if any. This is generally an unstructured log message that is for display // purposes only (its structure and contents may change). StatusMessage *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
DeviceOnboarding describes the status of a decommissioning process.
func (*DeviceDecommissioning) Descriptor
deprecated
func (*DeviceDecommissioning) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioning.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioning) GetError ¶
func (x *DeviceDecommissioning) GetError() *wrapperspb.StringValue
func (*DeviceDecommissioning) GetKey ¶
func (x *DeviceDecommissioning) GetKey() *UUIDKey
func (*DeviceDecommissioning) GetStatus ¶
func (x *DeviceDecommissioning) GetStatus() DecommissioningStatus
func (*DeviceDecommissioning) GetStatusMessage ¶
func (x *DeviceDecommissioning) GetStatusMessage() *wrapperspb.StringValue
func (*DeviceDecommissioning) ProtoMessage ¶
func (*DeviceDecommissioning) ProtoMessage()
func (*DeviceDecommissioning) ProtoReflect ¶
func (x *DeviceDecommissioning) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioning) Reset ¶
func (x *DeviceDecommissioning) Reset()
func (*DeviceDecommissioning) String ¶
func (x *DeviceDecommissioning) String() string
type DeviceDecommissioningConfig ¶
type DeviceDecommissioningConfig struct { // key identifies the request to decommission the device. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // device_id is the unique device ID that was discovered via onboarding. DeviceId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // force is a flag that indicates if the decommission is to be forced. // Normally, if there are pending or in-progress tasks associated with the device // the decommission would fail. In case of a forced decommission, such blocking // tasks would be ignored and decommissioning will be continued. Force *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
DeviceDecommissioningConfig describes a device decommissioning request. "Decommissioning" refers to the process of stopping device streaming to CloudVision and removing it from CloudVision's inventory.
The request flow works as follows:
- Set on DeviceDecommissioningConfig sends a decommissioning request with a UUID that the user is responsible for generating.
- Once the server receives the request, it validates and records it.
- Then, the server processes it, initiating the decommissioning procedure and tracking the status of the decommissioning attempt.
- The user may do a GetOne or Subscribe on DeviceDecommissioning using the same UUID to see the status of the request.
func (*DeviceDecommissioningConfig) Descriptor
deprecated
func (*DeviceDecommissioningConfig) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfig.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfig) GetDeviceId ¶
func (x *DeviceDecommissioningConfig) GetDeviceId() *wrapperspb.StringValue
func (*DeviceDecommissioningConfig) GetForce ¶
func (x *DeviceDecommissioningConfig) GetForce() *wrapperspb.BoolValue
func (*DeviceDecommissioningConfig) GetKey ¶
func (x *DeviceDecommissioningConfig) GetKey() *UUIDKey
func (*DeviceDecommissioningConfig) ProtoMessage ¶
func (*DeviceDecommissioningConfig) ProtoMessage()
func (*DeviceDecommissioningConfig) ProtoReflect ¶
func (x *DeviceDecommissioningConfig) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfig) Reset ¶
func (x *DeviceDecommissioningConfig) Reset()
func (*DeviceDecommissioningConfig) String ¶
func (x *DeviceDecommissioningConfig) String() string
type DeviceDecommissioningConfigDeleteAllRequest ¶
type DeviceDecommissioningConfigDeleteAllRequest struct {
// contains filtered or unexported fields
}
func (*DeviceDecommissioningConfigDeleteAllRequest) Descriptor
deprecated
func (*DeviceDecommissioningConfigDeleteAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigDeleteAllRequest.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigDeleteAllRequest) ProtoMessage ¶
func (*DeviceDecommissioningConfigDeleteAllRequest) ProtoMessage()
func (*DeviceDecommissioningConfigDeleteAllRequest) ProtoReflect ¶
func (x *DeviceDecommissioningConfigDeleteAllRequest) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigDeleteAllRequest) Reset ¶
func (x *DeviceDecommissioningConfigDeleteAllRequest) Reset()
func (*DeviceDecommissioningConfigDeleteAllRequest) String ¶
func (x *DeviceDecommissioningConfigDeleteAllRequest) String() string
type DeviceDecommissioningConfigDeleteAllResponse ¶
type DeviceDecommissioningConfigDeleteAllResponse struct { // This describes the class of delete error. Type fmp.DeleteError `protobuf:"varint,1,opt,name=type,proto3,enum=fmp.DeleteError" json:"type,omitempty"` // This indicates the error message from the delete failure. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // This is the key of the DeviceDecommissioningConfig instance that failed to be deleted. Key *UUIDKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the (UTC) timestamp when the key was being deleted. Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigDeleteAllResponse) Descriptor
deprecated
func (*DeviceDecommissioningConfigDeleteAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigDeleteAllResponse.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigDeleteAllResponse) GetError ¶
func (x *DeviceDecommissioningConfigDeleteAllResponse) GetError() *wrapperspb.StringValue
func (*DeviceDecommissioningConfigDeleteAllResponse) GetKey ¶
func (x *DeviceDecommissioningConfigDeleteAllResponse) GetKey() *UUIDKey
func (*DeviceDecommissioningConfigDeleteAllResponse) GetTime ¶
func (x *DeviceDecommissioningConfigDeleteAllResponse) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningConfigDeleteAllResponse) GetType ¶
func (x *DeviceDecommissioningConfigDeleteAllResponse) GetType() fmp.DeleteError
func (*DeviceDecommissioningConfigDeleteAllResponse) ProtoMessage ¶
func (*DeviceDecommissioningConfigDeleteAllResponse) ProtoMessage()
func (*DeviceDecommissioningConfigDeleteAllResponse) ProtoReflect ¶
func (x *DeviceDecommissioningConfigDeleteAllResponse) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigDeleteAllResponse) Reset ¶
func (x *DeviceDecommissioningConfigDeleteAllResponse) Reset()
func (*DeviceDecommissioningConfigDeleteAllResponse) String ¶
func (x *DeviceDecommissioningConfigDeleteAllResponse) String() string
type DeviceDecommissioningConfigDeleteRequest ¶
type DeviceDecommissioningConfigDeleteRequest struct { // Key indicates which DeviceDecommissioningConfig instance to remove. // This field must always be set. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigDeleteRequest) Descriptor
deprecated
func (*DeviceDecommissioningConfigDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigDeleteRequest.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigDeleteRequest) GetKey ¶
func (x *DeviceDecommissioningConfigDeleteRequest) GetKey() *UUIDKey
func (*DeviceDecommissioningConfigDeleteRequest) ProtoMessage ¶
func (*DeviceDecommissioningConfigDeleteRequest) ProtoMessage()
func (*DeviceDecommissioningConfigDeleteRequest) ProtoReflect ¶
func (x *DeviceDecommissioningConfigDeleteRequest) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigDeleteRequest) Reset ¶
func (x *DeviceDecommissioningConfigDeleteRequest) Reset()
func (*DeviceDecommissioningConfigDeleteRequest) String ¶
func (x *DeviceDecommissioningConfigDeleteRequest) String() string
type DeviceDecommissioningConfigDeleteResponse ¶
type DeviceDecommissioningConfigDeleteResponse struct { // Key echoes back the key of the deleted DeviceDecommissioningConfig instance. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the (UTC) timestamp at which the system recognizes the // deletion. The only guarantees made about this timestamp are: // // - it is after the time the request was received // - a time-ranged query with StartTime==DeletedAt will not include this instance. // Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigDeleteResponse) Descriptor
deprecated
func (*DeviceDecommissioningConfigDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigDeleteResponse.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigDeleteResponse) GetKey ¶
func (x *DeviceDecommissioningConfigDeleteResponse) GetKey() *UUIDKey
func (*DeviceDecommissioningConfigDeleteResponse) GetTime ¶
func (x *DeviceDecommissioningConfigDeleteResponse) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningConfigDeleteResponse) ProtoMessage ¶
func (*DeviceDecommissioningConfigDeleteResponse) ProtoMessage()
func (*DeviceDecommissioningConfigDeleteResponse) ProtoReflect ¶
func (x *DeviceDecommissioningConfigDeleteResponse) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigDeleteResponse) Reset ¶
func (x *DeviceDecommissioningConfigDeleteResponse) Reset()
func (*DeviceDecommissioningConfigDeleteResponse) String ¶
func (x *DeviceDecommissioningConfigDeleteResponse) String() string
type DeviceDecommissioningConfigRequest ¶
type DeviceDecommissioningConfigRequest struct { // Key uniquely identifies a DeviceDecommissioningConfig instance to retrieve. // This value must be populated. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the time for which you are interested in the data. // If no time is given, the server will use the time at which it makes the request. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigRequest) Descriptor
deprecated
func (*DeviceDecommissioningConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigRequest.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigRequest) GetKey ¶
func (x *DeviceDecommissioningConfigRequest) GetKey() *UUIDKey
func (*DeviceDecommissioningConfigRequest) GetTime ¶
func (x *DeviceDecommissioningConfigRequest) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningConfigRequest) ProtoMessage ¶
func (*DeviceDecommissioningConfigRequest) ProtoMessage()
func (*DeviceDecommissioningConfigRequest) ProtoReflect ¶
func (x *DeviceDecommissioningConfigRequest) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigRequest) Reset ¶
func (x *DeviceDecommissioningConfigRequest) Reset()
func (*DeviceDecommissioningConfigRequest) String ¶
func (x *DeviceDecommissioningConfigRequest) String() string
type DeviceDecommissioningConfigResponse ¶
type DeviceDecommissioningConfigResponse struct { // Value is the value requested. // This structure will be fully-populated as it exists in the datastore. If // optional fields were not given at creation, these fields will be empty or // set to default values. Value *DeviceDecommissioningConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // DeviceDecommissioningConfig instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigResponse) Descriptor
deprecated
func (*DeviceDecommissioningConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigResponse.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigResponse) GetTime ¶
func (x *DeviceDecommissioningConfigResponse) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningConfigResponse) GetValue ¶
func (x *DeviceDecommissioningConfigResponse) GetValue() *DeviceDecommissioningConfig
func (*DeviceDecommissioningConfigResponse) ProtoMessage ¶
func (*DeviceDecommissioningConfigResponse) ProtoMessage()
func (*DeviceDecommissioningConfigResponse) ProtoReflect ¶
func (x *DeviceDecommissioningConfigResponse) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigResponse) Reset ¶
func (x *DeviceDecommissioningConfigResponse) Reset()
func (*DeviceDecommissioningConfigResponse) String ¶
func (x *DeviceDecommissioningConfigResponse) String() string
type DeviceDecommissioningConfigServiceClient ¶
type DeviceDecommissioningConfigServiceClient interface { GetOne(ctx context.Context, in *DeviceDecommissioningConfigRequest, opts ...grpc.CallOption) (*DeviceDecommissioningConfigResponse, error) GetAll(ctx context.Context, in *DeviceDecommissioningConfigStreamRequest, opts ...grpc.CallOption) (DeviceDecommissioningConfigService_GetAllClient, error) Subscribe(ctx context.Context, in *DeviceDecommissioningConfigStreamRequest, opts ...grpc.CallOption) (DeviceDecommissioningConfigService_SubscribeClient, error) Set(ctx context.Context, in *DeviceDecommissioningConfigSetRequest, opts ...grpc.CallOption) (*DeviceDecommissioningConfigSetResponse, error) Delete(ctx context.Context, in *DeviceDecommissioningConfigDeleteRequest, opts ...grpc.CallOption) (*DeviceDecommissioningConfigDeleteResponse, error) DeleteAll(ctx context.Context, in *DeviceDecommissioningConfigDeleteAllRequest, opts ...grpc.CallOption) (DeviceDecommissioningConfigService_DeleteAllClient, error) }
DeviceDecommissioningConfigServiceClient is the client API for DeviceDecommissioningConfigService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceDecommissioningConfigServiceClient ¶
func NewDeviceDecommissioningConfigServiceClient(cc grpc.ClientConnInterface) DeviceDecommissioningConfigServiceClient
type DeviceDecommissioningConfigServiceServer ¶
type DeviceDecommissioningConfigServiceServer interface { GetOne(context.Context, *DeviceDecommissioningConfigRequest) (*DeviceDecommissioningConfigResponse, error) GetAll(*DeviceDecommissioningConfigStreamRequest, DeviceDecommissioningConfigService_GetAllServer) error Subscribe(*DeviceDecommissioningConfigStreamRequest, DeviceDecommissioningConfigService_SubscribeServer) error Set(context.Context, *DeviceDecommissioningConfigSetRequest) (*DeviceDecommissioningConfigSetResponse, error) Delete(context.Context, *DeviceDecommissioningConfigDeleteRequest) (*DeviceDecommissioningConfigDeleteResponse, error) DeleteAll(*DeviceDecommissioningConfigDeleteAllRequest, DeviceDecommissioningConfigService_DeleteAllServer) error // contains filtered or unexported methods }
DeviceDecommissioningConfigServiceServer is the server API for DeviceDecommissioningConfigService service. All implementations must embed UnimplementedDeviceDecommissioningConfigServiceServer for forward compatibility
type DeviceDecommissioningConfigService_DeleteAllClient ¶
type DeviceDecommissioningConfigService_DeleteAllClient interface { Recv() (*DeviceDecommissioningConfigDeleteAllResponse, error) grpc.ClientStream }
type DeviceDecommissioningConfigService_DeleteAllServer ¶
type DeviceDecommissioningConfigService_DeleteAllServer interface { Send(*DeviceDecommissioningConfigDeleteAllResponse) error grpc.ServerStream }
type DeviceDecommissioningConfigService_GetAllClient ¶
type DeviceDecommissioningConfigService_GetAllClient interface { Recv() (*DeviceDecommissioningConfigStreamResponse, error) grpc.ClientStream }
type DeviceDecommissioningConfigService_GetAllServer ¶
type DeviceDecommissioningConfigService_GetAllServer interface { Send(*DeviceDecommissioningConfigStreamResponse) error grpc.ServerStream }
type DeviceDecommissioningConfigService_SubscribeClient ¶
type DeviceDecommissioningConfigService_SubscribeClient interface { Recv() (*DeviceDecommissioningConfigStreamResponse, error) grpc.ClientStream }
type DeviceDecommissioningConfigService_SubscribeServer ¶
type DeviceDecommissioningConfigService_SubscribeServer interface { Send(*DeviceDecommissioningConfigStreamResponse) error grpc.ServerStream }
type DeviceDecommissioningConfigSetRequest ¶
type DeviceDecommissioningConfigSetRequest struct { // DeviceDecommissioningConfig carries the value to set into the datastore. // See the documentation on the DeviceDecommissioningConfig struct for which fields are required. Value *DeviceDecommissioningConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigSetRequest) Descriptor
deprecated
func (*DeviceDecommissioningConfigSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigSetRequest.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigSetRequest) GetValue ¶
func (x *DeviceDecommissioningConfigSetRequest) GetValue() *DeviceDecommissioningConfig
func (*DeviceDecommissioningConfigSetRequest) ProtoMessage ¶
func (*DeviceDecommissioningConfigSetRequest) ProtoMessage()
func (*DeviceDecommissioningConfigSetRequest) ProtoReflect ¶
func (x *DeviceDecommissioningConfigSetRequest) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigSetRequest) Reset ¶
func (x *DeviceDecommissioningConfigSetRequest) Reset()
func (*DeviceDecommissioningConfigSetRequest) String ¶
func (x *DeviceDecommissioningConfigSetRequest) String() string
type DeviceDecommissioningConfigSetResponse ¶
type DeviceDecommissioningConfigSetResponse struct { // Value carries all the values given in the DeviceDecommissioningConfigSetRequest as well // as any server-generated values. Value *DeviceDecommissioningConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time indicates the (UTC) timestamp at which the system recognizes the // creation. The only guarantees made about this timestamp are: // // - it is after the time the request was received // - a time-ranged query with StartTime==CreatedAt will include this instance. // Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigSetResponse) Descriptor
deprecated
func (*DeviceDecommissioningConfigSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigSetResponse.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigSetResponse) GetTime ¶
func (x *DeviceDecommissioningConfigSetResponse) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningConfigSetResponse) GetValue ¶
func (x *DeviceDecommissioningConfigSetResponse) GetValue() *DeviceDecommissioningConfig
func (*DeviceDecommissioningConfigSetResponse) ProtoMessage ¶
func (*DeviceDecommissioningConfigSetResponse) ProtoMessage()
func (*DeviceDecommissioningConfigSetResponse) ProtoReflect ¶
func (x *DeviceDecommissioningConfigSetResponse) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigSetResponse) Reset ¶
func (x *DeviceDecommissioningConfigSetResponse) Reset()
func (*DeviceDecommissioningConfigSetResponse) String ¶
func (x *DeviceDecommissioningConfigSetResponse) String() string
type DeviceDecommissioningConfigStreamRequest ¶
type DeviceDecommissioningConfigStreamRequest struct { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. // // While transparent to users, this field also allows services to optimize internal // subscriptions if filter(s) are sufficiently specific. PartialEqFilter []*DeviceDecommissioningConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` // TimeRange allows limiting response data to within a specified time window. // If this field is populated, at least one of the two time fields are required. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigStreamRequest) Descriptor
deprecated
func (*DeviceDecommissioningConfigStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigStreamRequest.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigStreamRequest) GetPartialEqFilter ¶
func (x *DeviceDecommissioningConfigStreamRequest) GetPartialEqFilter() []*DeviceDecommissioningConfig
func (*DeviceDecommissioningConfigStreamRequest) GetTime ¶
func (x *DeviceDecommissioningConfigStreamRequest) GetTime() *time.TimeBounds
func (*DeviceDecommissioningConfigStreamRequest) ProtoMessage ¶
func (*DeviceDecommissioningConfigStreamRequest) ProtoMessage()
func (*DeviceDecommissioningConfigStreamRequest) ProtoReflect ¶
func (x *DeviceDecommissioningConfigStreamRequest) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigStreamRequest) Reset ¶
func (x *DeviceDecommissioningConfigStreamRequest) Reset()
func (*DeviceDecommissioningConfigStreamRequest) String ¶
func (x *DeviceDecommissioningConfigStreamRequest) String() string
type DeviceDecommissioningConfigStreamResponse ¶
type DeviceDecommissioningConfigStreamResponse struct { // Value is a value deemed relevant to the initiating request. // This structure will always have its key-field populated. Which other fields are // populated, and why, depends on the value of Operation and what triggered this notification. Value *DeviceDecommissioningConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this DeviceDecommissioningConfig's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the DeviceDecommissioningConfig value in this response should be considered. // Under non-subscribe requests, this value should always be INITIAL. In a subscription, // once all initial data is streamed and the client begins to receive modification updates, // you should not see INITIAL again. Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningConfigStreamResponse) Descriptor
deprecated
func (*DeviceDecommissioningConfigStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningConfigStreamResponse.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningConfigStreamResponse) GetTime ¶
func (x *DeviceDecommissioningConfigStreamResponse) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningConfigStreamResponse) GetType ¶
func (x *DeviceDecommissioningConfigStreamResponse) GetType() subscriptions.Operation
func (*DeviceDecommissioningConfigStreamResponse) GetValue ¶
func (x *DeviceDecommissioningConfigStreamResponse) GetValue() *DeviceDecommissioningConfig
func (*DeviceDecommissioningConfigStreamResponse) ProtoMessage ¶
func (*DeviceDecommissioningConfigStreamResponse) ProtoMessage()
func (*DeviceDecommissioningConfigStreamResponse) ProtoReflect ¶
func (x *DeviceDecommissioningConfigStreamResponse) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningConfigStreamResponse) Reset ¶
func (x *DeviceDecommissioningConfigStreamResponse) Reset()
func (*DeviceDecommissioningConfigStreamResponse) String ¶
func (x *DeviceDecommissioningConfigStreamResponse) String() string
type DeviceDecommissioningRequest ¶
type DeviceDecommissioningRequest struct { // Key uniquely identifies a DeviceDecommissioning instance to retrieve. // This value must be populated. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the time for which you are interested in the data. // If no time is given, the server will use the time at which it makes the request. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningRequest) Descriptor
deprecated
func (*DeviceDecommissioningRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningRequest.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningRequest) GetKey ¶
func (x *DeviceDecommissioningRequest) GetKey() *UUIDKey
func (*DeviceDecommissioningRequest) GetTime ¶
func (x *DeviceDecommissioningRequest) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningRequest) ProtoMessage ¶
func (*DeviceDecommissioningRequest) ProtoMessage()
func (*DeviceDecommissioningRequest) ProtoReflect ¶
func (x *DeviceDecommissioningRequest) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningRequest) Reset ¶
func (x *DeviceDecommissioningRequest) Reset()
func (*DeviceDecommissioningRequest) String ¶
func (x *DeviceDecommissioningRequest) String() string
type DeviceDecommissioningResponse ¶
type DeviceDecommissioningResponse struct { // Value is the value requested. // This structure will be fully-populated as it exists in the datastore. If // optional fields were not given at creation, these fields will be empty or // set to default values. Value *DeviceDecommissioning `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // DeviceDecommissioning instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningResponse) Descriptor
deprecated
func (*DeviceDecommissioningResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningResponse.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningResponse) GetTime ¶
func (x *DeviceDecommissioningResponse) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningResponse) GetValue ¶
func (x *DeviceDecommissioningResponse) GetValue() *DeviceDecommissioning
func (*DeviceDecommissioningResponse) ProtoMessage ¶
func (*DeviceDecommissioningResponse) ProtoMessage()
func (*DeviceDecommissioningResponse) ProtoReflect ¶
func (x *DeviceDecommissioningResponse) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningResponse) Reset ¶
func (x *DeviceDecommissioningResponse) Reset()
func (*DeviceDecommissioningResponse) String ¶
func (x *DeviceDecommissioningResponse) String() string
type DeviceDecommissioningServiceClient ¶
type DeviceDecommissioningServiceClient interface { GetOne(ctx context.Context, in *DeviceDecommissioningRequest, opts ...grpc.CallOption) (*DeviceDecommissioningResponse, error) GetAll(ctx context.Context, in *DeviceDecommissioningStreamRequest, opts ...grpc.CallOption) (DeviceDecommissioningService_GetAllClient, error) Subscribe(ctx context.Context, in *DeviceDecommissioningStreamRequest, opts ...grpc.CallOption) (DeviceDecommissioningService_SubscribeClient, error) }
DeviceDecommissioningServiceClient is the client API for DeviceDecommissioningService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceDecommissioningServiceClient ¶
func NewDeviceDecommissioningServiceClient(cc grpc.ClientConnInterface) DeviceDecommissioningServiceClient
type DeviceDecommissioningServiceServer ¶
type DeviceDecommissioningServiceServer interface { GetOne(context.Context, *DeviceDecommissioningRequest) (*DeviceDecommissioningResponse, error) GetAll(*DeviceDecommissioningStreamRequest, DeviceDecommissioningService_GetAllServer) error Subscribe(*DeviceDecommissioningStreamRequest, DeviceDecommissioningService_SubscribeServer) error // contains filtered or unexported methods }
DeviceDecommissioningServiceServer is the server API for DeviceDecommissioningService service. All implementations must embed UnimplementedDeviceDecommissioningServiceServer for forward compatibility
type DeviceDecommissioningService_GetAllClient ¶
type DeviceDecommissioningService_GetAllClient interface { Recv() (*DeviceDecommissioningStreamResponse, error) grpc.ClientStream }
type DeviceDecommissioningService_GetAllServer ¶
type DeviceDecommissioningService_GetAllServer interface { Send(*DeviceDecommissioningStreamResponse) error grpc.ServerStream }
type DeviceDecommissioningService_SubscribeClient ¶
type DeviceDecommissioningService_SubscribeClient interface { Recv() (*DeviceDecommissioningStreamResponse, error) grpc.ClientStream }
type DeviceDecommissioningService_SubscribeServer ¶
type DeviceDecommissioningService_SubscribeServer interface { Send(*DeviceDecommissioningStreamResponse) error grpc.ServerStream }
type DeviceDecommissioningStreamRequest ¶
type DeviceDecommissioningStreamRequest struct { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. // // While transparent to users, this field also allows services to optimize internal // subscriptions if filter(s) are sufficiently specific. PartialEqFilter []*DeviceDecommissioning `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` // TimeRange allows limiting response data to within a specified time window. // If this field is populated, at least one of the two time fields are required. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningStreamRequest) Descriptor
deprecated
func (*DeviceDecommissioningStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningStreamRequest.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningStreamRequest) GetPartialEqFilter ¶
func (x *DeviceDecommissioningStreamRequest) GetPartialEqFilter() []*DeviceDecommissioning
func (*DeviceDecommissioningStreamRequest) GetTime ¶
func (x *DeviceDecommissioningStreamRequest) GetTime() *time.TimeBounds
func (*DeviceDecommissioningStreamRequest) ProtoMessage ¶
func (*DeviceDecommissioningStreamRequest) ProtoMessage()
func (*DeviceDecommissioningStreamRequest) ProtoReflect ¶
func (x *DeviceDecommissioningStreamRequest) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningStreamRequest) Reset ¶
func (x *DeviceDecommissioningStreamRequest) Reset()
func (*DeviceDecommissioningStreamRequest) String ¶
func (x *DeviceDecommissioningStreamRequest) String() string
type DeviceDecommissioningStreamResponse ¶
type DeviceDecommissioningStreamResponse struct { // Value is a value deemed relevant to the initiating request. // This structure will always have its key-field populated. Which other fields are // populated, and why, depends on the value of Operation and what triggered this notification. Value *DeviceDecommissioning `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this DeviceDecommissioning's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the DeviceDecommissioning value in this response should be considered. // Under non-subscribe requests, this value should always be INITIAL. In a subscription, // once all initial data is streamed and the client begins to receive modification updates, // you should not see INITIAL again. Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // contains filtered or unexported fields }
func (*DeviceDecommissioningStreamResponse) Descriptor
deprecated
func (*DeviceDecommissioningStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceDecommissioningStreamResponse.ProtoReflect.Descriptor instead.
func (*DeviceDecommissioningStreamResponse) GetTime ¶
func (x *DeviceDecommissioningStreamResponse) GetTime() *timestamppb.Timestamp
func (*DeviceDecommissioningStreamResponse) GetType ¶
func (x *DeviceDecommissioningStreamResponse) GetType() subscriptions.Operation
func (*DeviceDecommissioningStreamResponse) GetValue ¶
func (x *DeviceDecommissioningStreamResponse) GetValue() *DeviceDecommissioning
func (*DeviceDecommissioningStreamResponse) ProtoMessage ¶
func (*DeviceDecommissioningStreamResponse) ProtoMessage()
func (*DeviceDecommissioningStreamResponse) ProtoReflect ¶
func (x *DeviceDecommissioningStreamResponse) ProtoReflect() protoreflect.Message
func (*DeviceDecommissioningStreamResponse) Reset ¶
func (x *DeviceDecommissioningStreamResponse) Reset()
func (*DeviceDecommissioningStreamResponse) String ¶
func (x *DeviceDecommissioningStreamResponse) String() string
type DeviceKey ¶
type DeviceKey struct { // device_id is the unique identifier of the device. DeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
DeviceKey uniquely identifies a single device.
func (*DeviceKey) Descriptor
deprecated
func (*DeviceKey) GetDeviceId ¶
func (x *DeviceKey) GetDeviceId() *wrapperspb.StringValue
func (*DeviceKey) ProtoMessage ¶
func (*DeviceKey) ProtoMessage()
func (*DeviceKey) ProtoReflect ¶
func (x *DeviceKey) ProtoReflect() protoreflect.Message
type DeviceOnboarding ¶
type DeviceOnboarding struct { // key identifies the request for which to retrieve an onboarding status. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // device_id is the unique device ID that is discovered via onboarding. DeviceId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // status describes the onboarding status of the device. Status OnboardingStatus `protobuf:"varint,3,opt,name=status,proto3,enum=arista.inventory.v1.OnboardingStatus" json:"status,omitempty"` // error is the error that caused status to become ONBOARDING_STATUS_FAILURE. Error *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // status_message contains information on the status of the onboarding attempt, // if any. This is generally an unstructured log message that is for display // purposes only (its structure and contents may change). StatusMessage *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
DeviceOnboarding describes the status of an onboarding process.
func (*DeviceOnboarding) Descriptor
deprecated
func (*DeviceOnboarding) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboarding.ProtoReflect.Descriptor instead.
func (*DeviceOnboarding) GetDeviceId ¶
func (x *DeviceOnboarding) GetDeviceId() *wrapperspb.StringValue
func (*DeviceOnboarding) GetError ¶
func (x *DeviceOnboarding) GetError() *wrapperspb.StringValue
func (*DeviceOnboarding) GetKey ¶
func (x *DeviceOnboarding) GetKey() *UUIDKey
func (*DeviceOnboarding) GetStatus ¶
func (x *DeviceOnboarding) GetStatus() OnboardingStatus
func (*DeviceOnboarding) GetStatusMessage ¶
func (x *DeviceOnboarding) GetStatusMessage() *wrapperspb.StringValue
func (*DeviceOnboarding) ProtoMessage ¶
func (*DeviceOnboarding) ProtoMessage()
func (*DeviceOnboarding) ProtoReflect ¶
func (x *DeviceOnboarding) ProtoReflect() protoreflect.Message
func (*DeviceOnboarding) Reset ¶
func (x *DeviceOnboarding) Reset()
func (*DeviceOnboarding) String ¶
func (x *DeviceOnboarding) String() string
type DeviceOnboardingConfig ¶
type DeviceOnboardingConfig struct { // key identifies the request to onboard the device at hostname_or_ip. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // hostname_or_ip is a hostname or an IP at which the device can be reached. HostnameOrIp *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=hostname_or_ip,json=hostnameOrIp,proto3" json:"hostname_or_ip,omitempty"` // device_type describes the method by which to retrieve information for the // device. The value should be "eos" for eos devices. For third-party devices, // supported values are: "openconfig", "snmp", "cvp", "mwm", and "vCenter". DeviceType *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` // device_config is the configuration for a third-party device. DeviceConfig *DeviceConfiguration `protobuf:"bytes,4,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"` // contains filtered or unexported fields }
DeviceOnboardingConfig describes a device onboarding request. "Onboarding" refers to the process of initiating device streaming to CloudVision and adding the streaming device to CloudVision's inventory.
The request flow works as follows:
- Set on DeviceOnboardingConfig sends an onboarding request with a UUID that the user is responsible for generating.
- Once the server receives the request, it validates and records it.
- Then, the server processes it, initiating the onboarding procedure and tracking the status of the onboarding attempt.
- The user may do a GetOne or Subscribe on DeviceOnboarding using the same UUID to see the status of the request.
func (*DeviceOnboardingConfig) Descriptor
deprecated
func (*DeviceOnboardingConfig) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfig.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfig) GetDeviceConfig ¶
func (x *DeviceOnboardingConfig) GetDeviceConfig() *DeviceConfiguration
func (*DeviceOnboardingConfig) GetDeviceType ¶
func (x *DeviceOnboardingConfig) GetDeviceType() *wrapperspb.StringValue
func (*DeviceOnboardingConfig) GetHostnameOrIp ¶
func (x *DeviceOnboardingConfig) GetHostnameOrIp() *wrapperspb.StringValue
func (*DeviceOnboardingConfig) GetKey ¶
func (x *DeviceOnboardingConfig) GetKey() *UUIDKey
func (*DeviceOnboardingConfig) ProtoMessage ¶
func (*DeviceOnboardingConfig) ProtoMessage()
func (*DeviceOnboardingConfig) ProtoReflect ¶
func (x *DeviceOnboardingConfig) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfig) Reset ¶
func (x *DeviceOnboardingConfig) Reset()
func (*DeviceOnboardingConfig) String ¶
func (x *DeviceOnboardingConfig) String() string
type DeviceOnboardingConfigDeleteAllRequest ¶
type DeviceOnboardingConfigDeleteAllRequest struct {
// contains filtered or unexported fields
}
func (*DeviceOnboardingConfigDeleteAllRequest) Descriptor
deprecated
func (*DeviceOnboardingConfigDeleteAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigDeleteAllRequest.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigDeleteAllRequest) ProtoMessage ¶
func (*DeviceOnboardingConfigDeleteAllRequest) ProtoMessage()
func (*DeviceOnboardingConfigDeleteAllRequest) ProtoReflect ¶
func (x *DeviceOnboardingConfigDeleteAllRequest) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigDeleteAllRequest) Reset ¶
func (x *DeviceOnboardingConfigDeleteAllRequest) Reset()
func (*DeviceOnboardingConfigDeleteAllRequest) String ¶
func (x *DeviceOnboardingConfigDeleteAllRequest) String() string
type DeviceOnboardingConfigDeleteAllResponse ¶
type DeviceOnboardingConfigDeleteAllResponse struct { // This describes the class of delete error. Type fmp.DeleteError `protobuf:"varint,1,opt,name=type,proto3,enum=fmp.DeleteError" json:"type,omitempty"` // This indicates the error message from the delete failure. Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // This is the key of the DeviceOnboardingConfig instance that failed to be deleted. Key *UUIDKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the (UTC) timestamp when the key was being deleted. Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigDeleteAllResponse) Descriptor
deprecated
func (*DeviceOnboardingConfigDeleteAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigDeleteAllResponse.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigDeleteAllResponse) GetError ¶
func (x *DeviceOnboardingConfigDeleteAllResponse) GetError() *wrapperspb.StringValue
func (*DeviceOnboardingConfigDeleteAllResponse) GetKey ¶
func (x *DeviceOnboardingConfigDeleteAllResponse) GetKey() *UUIDKey
func (*DeviceOnboardingConfigDeleteAllResponse) GetTime ¶
func (x *DeviceOnboardingConfigDeleteAllResponse) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingConfigDeleteAllResponse) GetType ¶
func (x *DeviceOnboardingConfigDeleteAllResponse) GetType() fmp.DeleteError
func (*DeviceOnboardingConfigDeleteAllResponse) ProtoMessage ¶
func (*DeviceOnboardingConfigDeleteAllResponse) ProtoMessage()
func (*DeviceOnboardingConfigDeleteAllResponse) ProtoReflect ¶
func (x *DeviceOnboardingConfigDeleteAllResponse) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigDeleteAllResponse) Reset ¶
func (x *DeviceOnboardingConfigDeleteAllResponse) Reset()
func (*DeviceOnboardingConfigDeleteAllResponse) String ¶
func (x *DeviceOnboardingConfigDeleteAllResponse) String() string
type DeviceOnboardingConfigDeleteRequest ¶
type DeviceOnboardingConfigDeleteRequest struct { // Key indicates which DeviceOnboardingConfig instance to remove. // This field must always be set. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigDeleteRequest) Descriptor
deprecated
func (*DeviceOnboardingConfigDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigDeleteRequest.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigDeleteRequest) GetKey ¶
func (x *DeviceOnboardingConfigDeleteRequest) GetKey() *UUIDKey
func (*DeviceOnboardingConfigDeleteRequest) ProtoMessage ¶
func (*DeviceOnboardingConfigDeleteRequest) ProtoMessage()
func (*DeviceOnboardingConfigDeleteRequest) ProtoReflect ¶
func (x *DeviceOnboardingConfigDeleteRequest) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigDeleteRequest) Reset ¶
func (x *DeviceOnboardingConfigDeleteRequest) Reset()
func (*DeviceOnboardingConfigDeleteRequest) String ¶
func (x *DeviceOnboardingConfigDeleteRequest) String() string
type DeviceOnboardingConfigDeleteResponse ¶
type DeviceOnboardingConfigDeleteResponse struct { // Key echoes back the key of the deleted DeviceOnboardingConfig instance. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the (UTC) timestamp at which the system recognizes the // deletion. The only guarantees made about this timestamp are: // // - it is after the time the request was received // - a time-ranged query with StartTime==DeletedAt will not include this instance. // Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigDeleteResponse) Descriptor
deprecated
func (*DeviceOnboardingConfigDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigDeleteResponse.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigDeleteResponse) GetKey ¶
func (x *DeviceOnboardingConfigDeleteResponse) GetKey() *UUIDKey
func (*DeviceOnboardingConfigDeleteResponse) GetTime ¶
func (x *DeviceOnboardingConfigDeleteResponse) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingConfigDeleteResponse) ProtoMessage ¶
func (*DeviceOnboardingConfigDeleteResponse) ProtoMessage()
func (*DeviceOnboardingConfigDeleteResponse) ProtoReflect ¶
func (x *DeviceOnboardingConfigDeleteResponse) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigDeleteResponse) Reset ¶
func (x *DeviceOnboardingConfigDeleteResponse) Reset()
func (*DeviceOnboardingConfigDeleteResponse) String ¶
func (x *DeviceOnboardingConfigDeleteResponse) String() string
type DeviceOnboardingConfigRequest ¶
type DeviceOnboardingConfigRequest struct { // Key uniquely identifies a DeviceOnboardingConfig instance to retrieve. // This value must be populated. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the time for which you are interested in the data. // If no time is given, the server will use the time at which it makes the request. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigRequest) Descriptor
deprecated
func (*DeviceOnboardingConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigRequest.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigRequest) GetKey ¶
func (x *DeviceOnboardingConfigRequest) GetKey() *UUIDKey
func (*DeviceOnboardingConfigRequest) GetTime ¶
func (x *DeviceOnboardingConfigRequest) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingConfigRequest) ProtoMessage ¶
func (*DeviceOnboardingConfigRequest) ProtoMessage()
func (*DeviceOnboardingConfigRequest) ProtoReflect ¶
func (x *DeviceOnboardingConfigRequest) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigRequest) Reset ¶
func (x *DeviceOnboardingConfigRequest) Reset()
func (*DeviceOnboardingConfigRequest) String ¶
func (x *DeviceOnboardingConfigRequest) String() string
type DeviceOnboardingConfigResponse ¶
type DeviceOnboardingConfigResponse struct { // Value is the value requested. // This structure will be fully-populated as it exists in the datastore. If // optional fields were not given at creation, these fields will be empty or // set to default values. Value *DeviceOnboardingConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // DeviceOnboardingConfig instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigResponse) Descriptor
deprecated
func (*DeviceOnboardingConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigResponse.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigResponse) GetTime ¶
func (x *DeviceOnboardingConfigResponse) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingConfigResponse) GetValue ¶
func (x *DeviceOnboardingConfigResponse) GetValue() *DeviceOnboardingConfig
func (*DeviceOnboardingConfigResponse) ProtoMessage ¶
func (*DeviceOnboardingConfigResponse) ProtoMessage()
func (*DeviceOnboardingConfigResponse) ProtoReflect ¶
func (x *DeviceOnboardingConfigResponse) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigResponse) Reset ¶
func (x *DeviceOnboardingConfigResponse) Reset()
func (*DeviceOnboardingConfigResponse) String ¶
func (x *DeviceOnboardingConfigResponse) String() string
type DeviceOnboardingConfigServiceClient ¶
type DeviceOnboardingConfigServiceClient interface { GetOne(ctx context.Context, in *DeviceOnboardingConfigRequest, opts ...grpc.CallOption) (*DeviceOnboardingConfigResponse, error) GetAll(ctx context.Context, in *DeviceOnboardingConfigStreamRequest, opts ...grpc.CallOption) (DeviceOnboardingConfigService_GetAllClient, error) Subscribe(ctx context.Context, in *DeviceOnboardingConfigStreamRequest, opts ...grpc.CallOption) (DeviceOnboardingConfigService_SubscribeClient, error) Set(ctx context.Context, in *DeviceOnboardingConfigSetRequest, opts ...grpc.CallOption) (*DeviceOnboardingConfigSetResponse, error) Delete(ctx context.Context, in *DeviceOnboardingConfigDeleteRequest, opts ...grpc.CallOption) (*DeviceOnboardingConfigDeleteResponse, error) DeleteAll(ctx context.Context, in *DeviceOnboardingConfigDeleteAllRequest, opts ...grpc.CallOption) (DeviceOnboardingConfigService_DeleteAllClient, error) }
DeviceOnboardingConfigServiceClient is the client API for DeviceOnboardingConfigService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceOnboardingConfigServiceClient ¶
func NewDeviceOnboardingConfigServiceClient(cc grpc.ClientConnInterface) DeviceOnboardingConfigServiceClient
type DeviceOnboardingConfigServiceServer ¶
type DeviceOnboardingConfigServiceServer interface { GetOne(context.Context, *DeviceOnboardingConfigRequest) (*DeviceOnboardingConfigResponse, error) GetAll(*DeviceOnboardingConfigStreamRequest, DeviceOnboardingConfigService_GetAllServer) error Subscribe(*DeviceOnboardingConfigStreamRequest, DeviceOnboardingConfigService_SubscribeServer) error Set(context.Context, *DeviceOnboardingConfigSetRequest) (*DeviceOnboardingConfigSetResponse, error) Delete(context.Context, *DeviceOnboardingConfigDeleteRequest) (*DeviceOnboardingConfigDeleteResponse, error) DeleteAll(*DeviceOnboardingConfigDeleteAllRequest, DeviceOnboardingConfigService_DeleteAllServer) error // contains filtered or unexported methods }
DeviceOnboardingConfigServiceServer is the server API for DeviceOnboardingConfigService service. All implementations must embed UnimplementedDeviceOnboardingConfigServiceServer for forward compatibility
type DeviceOnboardingConfigService_DeleteAllClient ¶
type DeviceOnboardingConfigService_DeleteAllClient interface { Recv() (*DeviceOnboardingConfigDeleteAllResponse, error) grpc.ClientStream }
type DeviceOnboardingConfigService_DeleteAllServer ¶
type DeviceOnboardingConfigService_DeleteAllServer interface { Send(*DeviceOnboardingConfigDeleteAllResponse) error grpc.ServerStream }
type DeviceOnboardingConfigService_GetAllClient ¶
type DeviceOnboardingConfigService_GetAllClient interface { Recv() (*DeviceOnboardingConfigStreamResponse, error) grpc.ClientStream }
type DeviceOnboardingConfigService_GetAllServer ¶
type DeviceOnboardingConfigService_GetAllServer interface { Send(*DeviceOnboardingConfigStreamResponse) error grpc.ServerStream }
type DeviceOnboardingConfigService_SubscribeClient ¶
type DeviceOnboardingConfigService_SubscribeClient interface { Recv() (*DeviceOnboardingConfigStreamResponse, error) grpc.ClientStream }
type DeviceOnboardingConfigService_SubscribeServer ¶
type DeviceOnboardingConfigService_SubscribeServer interface { Send(*DeviceOnboardingConfigStreamResponse) error grpc.ServerStream }
type DeviceOnboardingConfigSetRequest ¶
type DeviceOnboardingConfigSetRequest struct { // DeviceOnboardingConfig carries the value to set into the datastore. // See the documentation on the DeviceOnboardingConfig struct for which fields are required. Value *DeviceOnboardingConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigSetRequest) Descriptor
deprecated
func (*DeviceOnboardingConfigSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigSetRequest.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigSetRequest) GetValue ¶
func (x *DeviceOnboardingConfigSetRequest) GetValue() *DeviceOnboardingConfig
func (*DeviceOnboardingConfigSetRequest) ProtoMessage ¶
func (*DeviceOnboardingConfigSetRequest) ProtoMessage()
func (*DeviceOnboardingConfigSetRequest) ProtoReflect ¶
func (x *DeviceOnboardingConfigSetRequest) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigSetRequest) Reset ¶
func (x *DeviceOnboardingConfigSetRequest) Reset()
func (*DeviceOnboardingConfigSetRequest) String ¶
func (x *DeviceOnboardingConfigSetRequest) String() string
type DeviceOnboardingConfigSetResponse ¶
type DeviceOnboardingConfigSetResponse struct { // Value carries all the values given in the DeviceOnboardingConfigSetRequest as well // as any server-generated values. Value *DeviceOnboardingConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time indicates the (UTC) timestamp at which the system recognizes the // creation. The only guarantees made about this timestamp are: // // - it is after the time the request was received // - a time-ranged query with StartTime==CreatedAt will include this instance. // Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigSetResponse) Descriptor
deprecated
func (*DeviceOnboardingConfigSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigSetResponse.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigSetResponse) GetTime ¶
func (x *DeviceOnboardingConfigSetResponse) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingConfigSetResponse) GetValue ¶
func (x *DeviceOnboardingConfigSetResponse) GetValue() *DeviceOnboardingConfig
func (*DeviceOnboardingConfigSetResponse) ProtoMessage ¶
func (*DeviceOnboardingConfigSetResponse) ProtoMessage()
func (*DeviceOnboardingConfigSetResponse) ProtoReflect ¶
func (x *DeviceOnboardingConfigSetResponse) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigSetResponse) Reset ¶
func (x *DeviceOnboardingConfigSetResponse) Reset()
func (*DeviceOnboardingConfigSetResponse) String ¶
func (x *DeviceOnboardingConfigSetResponse) String() string
type DeviceOnboardingConfigStreamRequest ¶
type DeviceOnboardingConfigStreamRequest struct { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. // // While transparent to users, this field also allows services to optimize internal // subscriptions if filter(s) are sufficiently specific. PartialEqFilter []*DeviceOnboardingConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` // TimeRange allows limiting response data to within a specified time window. // If this field is populated, at least one of the two time fields are required. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigStreamRequest) Descriptor
deprecated
func (*DeviceOnboardingConfigStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigStreamRequest.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigStreamRequest) GetPartialEqFilter ¶
func (x *DeviceOnboardingConfigStreamRequest) GetPartialEqFilter() []*DeviceOnboardingConfig
func (*DeviceOnboardingConfigStreamRequest) GetTime ¶
func (x *DeviceOnboardingConfigStreamRequest) GetTime() *time.TimeBounds
func (*DeviceOnboardingConfigStreamRequest) ProtoMessage ¶
func (*DeviceOnboardingConfigStreamRequest) ProtoMessage()
func (*DeviceOnboardingConfigStreamRequest) ProtoReflect ¶
func (x *DeviceOnboardingConfigStreamRequest) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigStreamRequest) Reset ¶
func (x *DeviceOnboardingConfigStreamRequest) Reset()
func (*DeviceOnboardingConfigStreamRequest) String ¶
func (x *DeviceOnboardingConfigStreamRequest) String() string
type DeviceOnboardingConfigStreamResponse ¶
type DeviceOnboardingConfigStreamResponse struct { // Value is a value deemed relevant to the initiating request. // This structure will always have its key-field populated. Which other fields are // populated, and why, depends on the value of Operation and what triggered this notification. Value *DeviceOnboardingConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this DeviceOnboardingConfig's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the DeviceOnboardingConfig value in this response should be considered. // Under non-subscribe requests, this value should always be INITIAL. In a subscription, // once all initial data is streamed and the client begins to receive modification updates, // you should not see INITIAL again. Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingConfigStreamResponse) Descriptor
deprecated
func (*DeviceOnboardingConfigStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingConfigStreamResponse.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingConfigStreamResponse) GetTime ¶
func (x *DeviceOnboardingConfigStreamResponse) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingConfigStreamResponse) GetType ¶
func (x *DeviceOnboardingConfigStreamResponse) GetType() subscriptions.Operation
func (*DeviceOnboardingConfigStreamResponse) GetValue ¶
func (x *DeviceOnboardingConfigStreamResponse) GetValue() *DeviceOnboardingConfig
func (*DeviceOnboardingConfigStreamResponse) ProtoMessage ¶
func (*DeviceOnboardingConfigStreamResponse) ProtoMessage()
func (*DeviceOnboardingConfigStreamResponse) ProtoReflect ¶
func (x *DeviceOnboardingConfigStreamResponse) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingConfigStreamResponse) Reset ¶
func (x *DeviceOnboardingConfigStreamResponse) Reset()
func (*DeviceOnboardingConfigStreamResponse) String ¶
func (x *DeviceOnboardingConfigStreamResponse) String() string
type DeviceOnboardingRequest ¶
type DeviceOnboardingRequest struct { // Key uniquely identifies a DeviceOnboarding instance to retrieve. // This value must be populated. Key *UUIDKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the time for which you are interested in the data. // If no time is given, the server will use the time at which it makes the request. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingRequest) Descriptor
deprecated
func (*DeviceOnboardingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingRequest.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingRequest) GetKey ¶
func (x *DeviceOnboardingRequest) GetKey() *UUIDKey
func (*DeviceOnboardingRequest) GetTime ¶
func (x *DeviceOnboardingRequest) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingRequest) ProtoMessage ¶
func (*DeviceOnboardingRequest) ProtoMessage()
func (*DeviceOnboardingRequest) ProtoReflect ¶
func (x *DeviceOnboardingRequest) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingRequest) Reset ¶
func (x *DeviceOnboardingRequest) Reset()
func (*DeviceOnboardingRequest) String ¶
func (x *DeviceOnboardingRequest) String() string
type DeviceOnboardingResponse ¶
type DeviceOnboardingResponse struct { // Value is the value requested. // This structure will be fully-populated as it exists in the datastore. If // optional fields were not given at creation, these fields will be empty or // set to default values. Value *DeviceOnboarding `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // DeviceOnboarding instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingResponse) Descriptor
deprecated
func (*DeviceOnboardingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingResponse.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingResponse) GetTime ¶
func (x *DeviceOnboardingResponse) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingResponse) GetValue ¶
func (x *DeviceOnboardingResponse) GetValue() *DeviceOnboarding
func (*DeviceOnboardingResponse) ProtoMessage ¶
func (*DeviceOnboardingResponse) ProtoMessage()
func (*DeviceOnboardingResponse) ProtoReflect ¶
func (x *DeviceOnboardingResponse) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingResponse) Reset ¶
func (x *DeviceOnboardingResponse) Reset()
func (*DeviceOnboardingResponse) String ¶
func (x *DeviceOnboardingResponse) String() string
type DeviceOnboardingServiceClient ¶
type DeviceOnboardingServiceClient interface { GetOne(ctx context.Context, in *DeviceOnboardingRequest, opts ...grpc.CallOption) (*DeviceOnboardingResponse, error) GetAll(ctx context.Context, in *DeviceOnboardingStreamRequest, opts ...grpc.CallOption) (DeviceOnboardingService_GetAllClient, error) Subscribe(ctx context.Context, in *DeviceOnboardingStreamRequest, opts ...grpc.CallOption) (DeviceOnboardingService_SubscribeClient, error) }
DeviceOnboardingServiceClient is the client API for DeviceOnboardingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceOnboardingServiceClient ¶
func NewDeviceOnboardingServiceClient(cc grpc.ClientConnInterface) DeviceOnboardingServiceClient
type DeviceOnboardingServiceServer ¶
type DeviceOnboardingServiceServer interface { GetOne(context.Context, *DeviceOnboardingRequest) (*DeviceOnboardingResponse, error) GetAll(*DeviceOnboardingStreamRequest, DeviceOnboardingService_GetAllServer) error Subscribe(*DeviceOnboardingStreamRequest, DeviceOnboardingService_SubscribeServer) error // contains filtered or unexported methods }
DeviceOnboardingServiceServer is the server API for DeviceOnboardingService service. All implementations must embed UnimplementedDeviceOnboardingServiceServer for forward compatibility
type DeviceOnboardingService_GetAllClient ¶
type DeviceOnboardingService_GetAllClient interface { Recv() (*DeviceOnboardingStreamResponse, error) grpc.ClientStream }
type DeviceOnboardingService_GetAllServer ¶
type DeviceOnboardingService_GetAllServer interface { Send(*DeviceOnboardingStreamResponse) error grpc.ServerStream }
type DeviceOnboardingService_SubscribeClient ¶
type DeviceOnboardingService_SubscribeClient interface { Recv() (*DeviceOnboardingStreamResponse, error) grpc.ClientStream }
type DeviceOnboardingService_SubscribeServer ¶
type DeviceOnboardingService_SubscribeServer interface { Send(*DeviceOnboardingStreamResponse) error grpc.ServerStream }
type DeviceOnboardingStreamRequest ¶
type DeviceOnboardingStreamRequest struct { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. // // While transparent to users, this field also allows services to optimize internal // subscriptions if filter(s) are sufficiently specific. PartialEqFilter []*DeviceOnboarding `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` // TimeRange allows limiting response data to within a specified time window. // If this field is populated, at least one of the two time fields are required. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingStreamRequest) Descriptor
deprecated
func (*DeviceOnboardingStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingStreamRequest.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingStreamRequest) GetPartialEqFilter ¶
func (x *DeviceOnboardingStreamRequest) GetPartialEqFilter() []*DeviceOnboarding
func (*DeviceOnboardingStreamRequest) GetTime ¶
func (x *DeviceOnboardingStreamRequest) GetTime() *time.TimeBounds
func (*DeviceOnboardingStreamRequest) ProtoMessage ¶
func (*DeviceOnboardingStreamRequest) ProtoMessage()
func (*DeviceOnboardingStreamRequest) ProtoReflect ¶
func (x *DeviceOnboardingStreamRequest) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingStreamRequest) Reset ¶
func (x *DeviceOnboardingStreamRequest) Reset()
func (*DeviceOnboardingStreamRequest) String ¶
func (x *DeviceOnboardingStreamRequest) String() string
type DeviceOnboardingStreamResponse ¶
type DeviceOnboardingStreamResponse struct { // Value is a value deemed relevant to the initiating request. // This structure will always have its key-field populated. Which other fields are // populated, and why, depends on the value of Operation and what triggered this notification. Value *DeviceOnboarding `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this DeviceOnboarding's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the DeviceOnboarding value in this response should be considered. // Under non-subscribe requests, this value should always be INITIAL. In a subscription, // once all initial data is streamed and the client begins to receive modification updates, // you should not see INITIAL again. Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // contains filtered or unexported fields }
func (*DeviceOnboardingStreamResponse) Descriptor
deprecated
func (*DeviceOnboardingStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceOnboardingStreamResponse.ProtoReflect.Descriptor instead.
func (*DeviceOnboardingStreamResponse) GetTime ¶
func (x *DeviceOnboardingStreamResponse) GetTime() *timestamppb.Timestamp
func (*DeviceOnboardingStreamResponse) GetType ¶
func (x *DeviceOnboardingStreamResponse) GetType() subscriptions.Operation
func (*DeviceOnboardingStreamResponse) GetValue ¶
func (x *DeviceOnboardingStreamResponse) GetValue() *DeviceOnboarding
func (*DeviceOnboardingStreamResponse) ProtoMessage ¶
func (*DeviceOnboardingStreamResponse) ProtoMessage()
func (*DeviceOnboardingStreamResponse) ProtoReflect ¶
func (x *DeviceOnboardingStreamResponse) ProtoReflect() protoreflect.Message
func (*DeviceOnboardingStreamResponse) Reset ¶
func (x *DeviceOnboardingStreamResponse) Reset()
func (*DeviceOnboardingStreamResponse) String ¶
func (x *DeviceOnboardingStreamResponse) String() string
type DeviceRequest ¶
type DeviceRequest struct { // Key uniquely identifies a Device instance to retrieve. // This value must be populated. Key *DeviceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the time for which you are interested in the data. // If no time is given, the server will use the time at which it makes the request. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceRequest) Descriptor
deprecated
func (*DeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceRequest.ProtoReflect.Descriptor instead.
func (*DeviceRequest) GetKey ¶
func (x *DeviceRequest) GetKey() *DeviceKey
func (*DeviceRequest) GetTime ¶
func (x *DeviceRequest) GetTime() *timestamppb.Timestamp
func (*DeviceRequest) ProtoMessage ¶
func (*DeviceRequest) ProtoMessage()
func (*DeviceRequest) ProtoReflect ¶
func (x *DeviceRequest) ProtoReflect() protoreflect.Message
func (*DeviceRequest) Reset ¶
func (x *DeviceRequest) Reset()
func (*DeviceRequest) String ¶
func (x *DeviceRequest) String() string
type DeviceResponse ¶
type DeviceResponse struct { // Value is the value requested. // This structure will be fully-populated as it exists in the datastore. If // optional fields were not given at creation, these fields will be empty or // set to default values. Value *Device `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // Device instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceResponse) Descriptor
deprecated
func (*DeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceResponse.ProtoReflect.Descriptor instead.
func (*DeviceResponse) GetTime ¶
func (x *DeviceResponse) GetTime() *timestamppb.Timestamp
func (*DeviceResponse) GetValue ¶
func (x *DeviceResponse) GetValue() *Device
func (*DeviceResponse) ProtoMessage ¶
func (*DeviceResponse) ProtoMessage()
func (*DeviceResponse) ProtoReflect ¶
func (x *DeviceResponse) ProtoReflect() protoreflect.Message
func (*DeviceResponse) Reset ¶
func (x *DeviceResponse) Reset()
func (*DeviceResponse) String ¶
func (x *DeviceResponse) String() string
type DeviceServiceClient ¶
type DeviceServiceClient interface { GetOne(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*DeviceResponse, error) GetAll(ctx context.Context, in *DeviceStreamRequest, opts ...grpc.CallOption) (DeviceService_GetAllClient, error) Subscribe(ctx context.Context, in *DeviceStreamRequest, opts ...grpc.CallOption) (DeviceService_SubscribeClient, error) }
DeviceServiceClient is the client API for DeviceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceServiceClient ¶
func NewDeviceServiceClient(cc grpc.ClientConnInterface) DeviceServiceClient
type DeviceServiceServer ¶
type DeviceServiceServer interface { GetOne(context.Context, *DeviceRequest) (*DeviceResponse, error) GetAll(*DeviceStreamRequest, DeviceService_GetAllServer) error Subscribe(*DeviceStreamRequest, DeviceService_SubscribeServer) error // contains filtered or unexported methods }
DeviceServiceServer is the server API for DeviceService service. All implementations must embed UnimplementedDeviceServiceServer for forward compatibility
type DeviceService_GetAllClient ¶
type DeviceService_GetAllClient interface { Recv() (*DeviceStreamResponse, error) grpc.ClientStream }
type DeviceService_GetAllServer ¶
type DeviceService_GetAllServer interface { Send(*DeviceStreamResponse) error grpc.ServerStream }
type DeviceService_SubscribeClient ¶
type DeviceService_SubscribeClient interface { Recv() (*DeviceStreamResponse, error) grpc.ClientStream }
type DeviceService_SubscribeServer ¶
type DeviceService_SubscribeServer interface { Send(*DeviceStreamResponse) error grpc.ServerStream }
type DeviceStreamRequest ¶
type DeviceStreamRequest struct { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. // // While transparent to users, this field also allows services to optimize internal // subscriptions if filter(s) are sufficiently specific. PartialEqFilter []*Device `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` // TimeRange allows limiting response data to within a specified time window. // If this field is populated, at least one of the two time fields are required. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceStreamRequest) Descriptor
deprecated
func (*DeviceStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceStreamRequest.ProtoReflect.Descriptor instead.
func (*DeviceStreamRequest) GetPartialEqFilter ¶
func (x *DeviceStreamRequest) GetPartialEqFilter() []*Device
func (*DeviceStreamRequest) GetTime ¶
func (x *DeviceStreamRequest) GetTime() *time.TimeBounds
func (*DeviceStreamRequest) ProtoMessage ¶
func (*DeviceStreamRequest) ProtoMessage()
func (*DeviceStreamRequest) ProtoReflect ¶
func (x *DeviceStreamRequest) ProtoReflect() protoreflect.Message
func (*DeviceStreamRequest) Reset ¶
func (x *DeviceStreamRequest) Reset()
func (*DeviceStreamRequest) String ¶
func (x *DeviceStreamRequest) String() string
type DeviceStreamResponse ¶
type DeviceStreamResponse struct { // Value is a value deemed relevant to the initiating request. // This structure will always have its key-field populated. Which other fields are // populated, and why, depends on the value of Operation and what triggered this notification. Value *Device `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this Device's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the Device value in this response should be considered. // Under non-subscribe requests, this value should always be INITIAL. In a subscription, // once all initial data is streamed and the client begins to receive modification updates, // you should not see INITIAL again. Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // contains filtered or unexported fields }
func (*DeviceStreamResponse) Descriptor
deprecated
func (*DeviceStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceStreamResponse.ProtoReflect.Descriptor instead.
func (*DeviceStreamResponse) GetTime ¶
func (x *DeviceStreamResponse) GetTime() *timestamppb.Timestamp
func (*DeviceStreamResponse) GetType ¶
func (x *DeviceStreamResponse) GetType() subscriptions.Operation
func (*DeviceStreamResponse) GetValue ¶
func (x *DeviceStreamResponse) GetValue() *Device
func (*DeviceStreamResponse) ProtoMessage ¶
func (*DeviceStreamResponse) ProtoMessage()
func (*DeviceStreamResponse) ProtoReflect ¶
func (x *DeviceStreamResponse) ProtoReflect() protoreflect.Message
func (*DeviceStreamResponse) Reset ¶
func (x *DeviceStreamResponse) Reset()
func (*DeviceStreamResponse) String ¶
func (x *DeviceStreamResponse) String() string
type ExtendedAttributes ¶
type ExtendedAttributes struct { // feature_enabled is a map of feature name to enabled status. // If a feature is missing from this map it can be assumed off. FeatureEnabled map[string]bool `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
ExtendedAttributes wraps any additional, potentially non-standard, features or attributes the device reports.
func (*ExtendedAttributes) Descriptor
deprecated
func (*ExtendedAttributes) Descriptor() ([]byte, []int)
Deprecated: Use ExtendedAttributes.ProtoReflect.Descriptor instead.
func (*ExtendedAttributes) GetFeatureEnabled ¶
func (x *ExtendedAttributes) GetFeatureEnabled() map[string]bool
func (*ExtendedAttributes) ProtoMessage ¶
func (*ExtendedAttributes) ProtoMessage()
func (*ExtendedAttributes) ProtoReflect ¶
func (x *ExtendedAttributes) ProtoReflect() protoreflect.Message
func (*ExtendedAttributes) Reset ¶
func (x *ExtendedAttributes) Reset()
func (*ExtendedAttributes) String ¶
func (x *ExtendedAttributes) String() string
type OnboardingStatus ¶
type OnboardingStatus int32
OnboardingStatus defines the set of possible states in the onboarding process for a device.
const ( OnboardingStatus_ONBOARDING_STATUS_UNSPECIFIED OnboardingStatus = 0 // ONBOARDING_STATUS_IN_PROGRESS indicates onboarding is in progress. OnboardingStatus_ONBOARDING_STATUS_IN_PROGRESS OnboardingStatus = 1 // ONBOARDING_STATUS_FAILURE indicates onboarding failed. OnboardingStatus_ONBOARDING_STATUS_FAILURE OnboardingStatus = 2 // ONBOARDING_STATUS_SUCCESS indicates onboarding succeeded. OnboardingStatus_ONBOARDING_STATUS_SUCCESS OnboardingStatus = 3 )
func (OnboardingStatus) Descriptor ¶
func (OnboardingStatus) Descriptor() protoreflect.EnumDescriptor
func (OnboardingStatus) Enum ¶
func (x OnboardingStatus) Enum() *OnboardingStatus
func (OnboardingStatus) EnumDescriptor
deprecated
func (OnboardingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnboardingStatus.Descriptor instead.
func (OnboardingStatus) Number ¶
func (x OnboardingStatus) Number() protoreflect.EnumNumber
func (OnboardingStatus) String ¶
func (x OnboardingStatus) String() string
func (OnboardingStatus) Type ¶
func (OnboardingStatus) Type() protoreflect.EnumType
type ProvisionedDevice ¶
type ProvisionedDevice struct { // key uniquely identifies the device. Key *DeviceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // status describes the onboarded device's provisioning status. Status ProvisioningStatus `protobuf:"varint,2,opt,name=status,proto3,enum=arista.inventory.v1.ProvisioningStatus" json:"status,omitempty"` // error is the error that caused status to become PROVISIONING_STATUS_FAILURE. Error *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // ztp_mode indicates whether the device is in ZTP mode. ZtpMode *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=ztp_mode,json=ztpMode,proto3" json:"ztp_mode,omitempty"` // ip_address is the current (post-provisioning) IP address of the device. IpAddress *fmp.IPAddress `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // provisioning_group_name is the name of the group (also known as a container) // to which the device belongs. Any provisioning operation performed on this // group will also be performed on this device. If the device is not yet provisioned, // this will not be set. Once it is provisioned, this will be set to "undefined_container" // which indicates that the device does not yet belong to a group. At this point, // a user may set it to an existing group. ProvisioningGroupName *wrapperspb.StringValue `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
ProvisionedDevice describes the provisioning status of an onboarded device if the onboarded device is configured for provisioning.
func (*ProvisionedDevice) Descriptor
deprecated
func (*ProvisionedDevice) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedDevice.ProtoReflect.Descriptor instead.
func (*ProvisionedDevice) GetError ¶
func (x *ProvisionedDevice) GetError() *wrapperspb.StringValue
func (*ProvisionedDevice) GetIpAddress ¶
func (x *ProvisionedDevice) GetIpAddress() *fmp.IPAddress
func (*ProvisionedDevice) GetKey ¶
func (x *ProvisionedDevice) GetKey() *DeviceKey
func (*ProvisionedDevice) GetProvisioningGroupName ¶
func (x *ProvisionedDevice) GetProvisioningGroupName() *wrapperspb.StringValue
func (*ProvisionedDevice) GetStatus ¶
func (x *ProvisionedDevice) GetStatus() ProvisioningStatus
func (*ProvisionedDevice) GetZtpMode ¶
func (x *ProvisionedDevice) GetZtpMode() *wrapperspb.BoolValue
func (*ProvisionedDevice) ProtoMessage ¶
func (*ProvisionedDevice) ProtoMessage()
func (*ProvisionedDevice) ProtoReflect ¶
func (x *ProvisionedDevice) ProtoReflect() protoreflect.Message
func (*ProvisionedDevice) Reset ¶
func (x *ProvisionedDevice) Reset()
func (*ProvisionedDevice) String ¶
func (x *ProvisionedDevice) String() string
type ProvisionedDeviceRequest ¶
type ProvisionedDeviceRequest struct { // Key uniquely identifies a ProvisionedDevice instance to retrieve. // This value must be populated. Key *DeviceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Time indicates the time for which you are interested in the data. // If no time is given, the server will use the time at which it makes the request. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ProvisionedDeviceRequest) Descriptor
deprecated
func (*ProvisionedDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedDeviceRequest.ProtoReflect.Descriptor instead.
func (*ProvisionedDeviceRequest) GetKey ¶
func (x *ProvisionedDeviceRequest) GetKey() *DeviceKey
func (*ProvisionedDeviceRequest) GetTime ¶
func (x *ProvisionedDeviceRequest) GetTime() *timestamppb.Timestamp
func (*ProvisionedDeviceRequest) ProtoMessage ¶
func (*ProvisionedDeviceRequest) ProtoMessage()
func (*ProvisionedDeviceRequest) ProtoReflect ¶
func (x *ProvisionedDeviceRequest) ProtoReflect() protoreflect.Message
func (*ProvisionedDeviceRequest) Reset ¶
func (x *ProvisionedDeviceRequest) Reset()
func (*ProvisionedDeviceRequest) String ¶
func (x *ProvisionedDeviceRequest) String() string
type ProvisionedDeviceResponse ¶
type ProvisionedDeviceResponse struct { // Value is the value requested. // This structure will be fully-populated as it exists in the datastore. If // optional fields were not given at creation, these fields will be empty or // set to default values. Value *ProvisionedDevice `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // ProvisionedDevice instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ProvisionedDeviceResponse) Descriptor
deprecated
func (*ProvisionedDeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedDeviceResponse.ProtoReflect.Descriptor instead.
func (*ProvisionedDeviceResponse) GetTime ¶
func (x *ProvisionedDeviceResponse) GetTime() *timestamppb.Timestamp
func (*ProvisionedDeviceResponse) GetValue ¶
func (x *ProvisionedDeviceResponse) GetValue() *ProvisionedDevice
func (*ProvisionedDeviceResponse) ProtoMessage ¶
func (*ProvisionedDeviceResponse) ProtoMessage()
func (*ProvisionedDeviceResponse) ProtoReflect ¶
func (x *ProvisionedDeviceResponse) ProtoReflect() protoreflect.Message
func (*ProvisionedDeviceResponse) Reset ¶
func (x *ProvisionedDeviceResponse) Reset()
func (*ProvisionedDeviceResponse) String ¶
func (x *ProvisionedDeviceResponse) String() string
type ProvisionedDeviceServiceClient ¶
type ProvisionedDeviceServiceClient interface { GetOne(ctx context.Context, in *ProvisionedDeviceRequest, opts ...grpc.CallOption) (*ProvisionedDeviceResponse, error) GetAll(ctx context.Context, in *ProvisionedDeviceStreamRequest, opts ...grpc.CallOption) (ProvisionedDeviceService_GetAllClient, error) Subscribe(ctx context.Context, in *ProvisionedDeviceStreamRequest, opts ...grpc.CallOption) (ProvisionedDeviceService_SubscribeClient, error) }
ProvisionedDeviceServiceClient is the client API for ProvisionedDeviceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProvisionedDeviceServiceClient ¶
func NewProvisionedDeviceServiceClient(cc grpc.ClientConnInterface) ProvisionedDeviceServiceClient
type ProvisionedDeviceServiceServer ¶
type ProvisionedDeviceServiceServer interface { GetOne(context.Context, *ProvisionedDeviceRequest) (*ProvisionedDeviceResponse, error) GetAll(*ProvisionedDeviceStreamRequest, ProvisionedDeviceService_GetAllServer) error Subscribe(*ProvisionedDeviceStreamRequest, ProvisionedDeviceService_SubscribeServer) error // contains filtered or unexported methods }
ProvisionedDeviceServiceServer is the server API for ProvisionedDeviceService service. All implementations must embed UnimplementedProvisionedDeviceServiceServer for forward compatibility
type ProvisionedDeviceService_GetAllClient ¶
type ProvisionedDeviceService_GetAllClient interface { Recv() (*ProvisionedDeviceStreamResponse, error) grpc.ClientStream }
type ProvisionedDeviceService_GetAllServer ¶
type ProvisionedDeviceService_GetAllServer interface { Send(*ProvisionedDeviceStreamResponse) error grpc.ServerStream }
type ProvisionedDeviceService_SubscribeClient ¶
type ProvisionedDeviceService_SubscribeClient interface { Recv() (*ProvisionedDeviceStreamResponse, error) grpc.ClientStream }
type ProvisionedDeviceService_SubscribeServer ¶
type ProvisionedDeviceService_SubscribeServer interface { Send(*ProvisionedDeviceStreamResponse) error grpc.ServerStream }
type ProvisionedDeviceStreamRequest ¶
type ProvisionedDeviceStreamRequest struct { // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. // This requires all provided fields to be equal to the response. // // While transparent to users, this field also allows services to optimize internal // subscriptions if filter(s) are sufficiently specific. PartialEqFilter []*ProvisionedDevice `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` // TimeRange allows limiting response data to within a specified time window. // If this field is populated, at least one of the two time fields are required. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*ProvisionedDeviceStreamRequest) Descriptor
deprecated
func (*ProvisionedDeviceStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedDeviceStreamRequest.ProtoReflect.Descriptor instead.
func (*ProvisionedDeviceStreamRequest) GetPartialEqFilter ¶
func (x *ProvisionedDeviceStreamRequest) GetPartialEqFilter() []*ProvisionedDevice
func (*ProvisionedDeviceStreamRequest) GetTime ¶
func (x *ProvisionedDeviceStreamRequest) GetTime() *time.TimeBounds
func (*ProvisionedDeviceStreamRequest) ProtoMessage ¶
func (*ProvisionedDeviceStreamRequest) ProtoMessage()
func (*ProvisionedDeviceStreamRequest) ProtoReflect ¶
func (x *ProvisionedDeviceStreamRequest) ProtoReflect() protoreflect.Message
func (*ProvisionedDeviceStreamRequest) Reset ¶
func (x *ProvisionedDeviceStreamRequest) Reset()
func (*ProvisionedDeviceStreamRequest) String ¶
func (x *ProvisionedDeviceStreamRequest) String() string
type ProvisionedDeviceStreamResponse ¶
type ProvisionedDeviceStreamResponse struct { // Value is a value deemed relevant to the initiating request. // This structure will always have its key-field populated. Which other fields are // populated, and why, depends on the value of Operation and what triggered this notification. Value *ProvisionedDevice `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this ProvisionedDevice's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the ProvisionedDevice value in this response should be considered. // Under non-subscribe requests, this value should always be INITIAL. In a subscription, // once all initial data is streamed and the client begins to receive modification updates, // you should not see INITIAL again. Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // contains filtered or unexported fields }
func (*ProvisionedDeviceStreamResponse) Descriptor
deprecated
func (*ProvisionedDeviceStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedDeviceStreamResponse.ProtoReflect.Descriptor instead.
func (*ProvisionedDeviceStreamResponse) GetTime ¶
func (x *ProvisionedDeviceStreamResponse) GetTime() *timestamppb.Timestamp
func (*ProvisionedDeviceStreamResponse) GetType ¶
func (x *ProvisionedDeviceStreamResponse) GetType() subscriptions.Operation
func (*ProvisionedDeviceStreamResponse) GetValue ¶
func (x *ProvisionedDeviceStreamResponse) GetValue() *ProvisionedDevice
func (*ProvisionedDeviceStreamResponse) ProtoMessage ¶
func (*ProvisionedDeviceStreamResponse) ProtoMessage()
func (*ProvisionedDeviceStreamResponse) ProtoReflect ¶
func (x *ProvisionedDeviceStreamResponse) ProtoReflect() protoreflect.Message
func (*ProvisionedDeviceStreamResponse) Reset ¶
func (x *ProvisionedDeviceStreamResponse) Reset()
func (*ProvisionedDeviceStreamResponse) String ¶
func (x *ProvisionedDeviceStreamResponse) String() string
type ProvisioningStatus ¶
type ProvisioningStatus int32
ProvisioningStatus defines the set of possible states in the provisioning process for a device.
const ( ProvisioningStatus_PROVISIONING_STATUS_UNSPECIFIED ProvisioningStatus = 0 // PROVISIONING_STATUS_IN_PROGRESS indicates provisioning is in progress. ProvisioningStatus_PROVISIONING_STATUS_IN_PROGRESS ProvisioningStatus = 1 // PROVISIONING_STATUS_FAILURE indicates provisioning failed. ProvisioningStatus_PROVISIONING_STATUS_FAILURE ProvisioningStatus = 2 // PROVISIONING_STATUS_SUCCESS indicates provisioning succeeded. ProvisioningStatus_PROVISIONING_STATUS_SUCCESS ProvisioningStatus = 3 )
func (ProvisioningStatus) Descriptor ¶
func (ProvisioningStatus) Descriptor() protoreflect.EnumDescriptor
func (ProvisioningStatus) Enum ¶
func (x ProvisioningStatus) Enum() *ProvisioningStatus
func (ProvisioningStatus) EnumDescriptor
deprecated
func (ProvisioningStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProvisioningStatus.Descriptor instead.
func (ProvisioningStatus) Number ¶
func (x ProvisioningStatus) Number() protoreflect.EnumNumber
func (ProvisioningStatus) String ¶
func (x ProvisioningStatus) String() string
func (ProvisioningStatus) Type ¶
func (ProvisioningStatus) Type() protoreflect.EnumType
type StreamingStatus ¶
type StreamingStatus int32
StreamingStatus defines the status of telemetry streaming for a device.
const ( StreamingStatus_STREAMING_STATUS_UNSPECIFIED StreamingStatus = 0 // STREAMING_STATUS_INACTIVE indicates the device is not streaming telemetry. StreamingStatus_STREAMING_STATUS_INACTIVE StreamingStatus = 1 // STREAMING_STATUS_ACTIVE indicates the device is streaming telemetry. StreamingStatus_STREAMING_STATUS_ACTIVE StreamingStatus = 2 )
func (StreamingStatus) Descriptor ¶
func (StreamingStatus) Descriptor() protoreflect.EnumDescriptor
func (StreamingStatus) Enum ¶
func (x StreamingStatus) Enum() *StreamingStatus
func (StreamingStatus) EnumDescriptor
deprecated
func (StreamingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamingStatus.Descriptor instead.
func (StreamingStatus) Number ¶
func (x StreamingStatus) Number() protoreflect.EnumNumber
func (StreamingStatus) String ¶
func (x StreamingStatus) String() string
func (StreamingStatus) Type ¶
func (StreamingStatus) Type() protoreflect.EnumType
type UUIDKey ¶
type UUIDKey struct { // request_id should be a UUID for the request. RequestId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
UUIDKey is a key that holds a UUID for an onboarding or decommissioning request.
func (*UUIDKey) Descriptor
deprecated
func (*UUIDKey) GetRequestId ¶
func (x *UUIDKey) GetRequestId() *wrapperspb.StringValue
func (*UUIDKey) ProtoMessage ¶
func (*UUIDKey) ProtoMessage()
func (*UUIDKey) ProtoReflect ¶
func (x *UUIDKey) ProtoReflect() protoreflect.Message
type UnimplementedDeviceDecommissioningConfigServiceServer ¶
type UnimplementedDeviceDecommissioningConfigServiceServer struct { }
UnimplementedDeviceDecommissioningConfigServiceServer must be embedded to have forward compatible implementations.
type UnimplementedDeviceDecommissioningServiceServer ¶
type UnimplementedDeviceDecommissioningServiceServer struct { }
UnimplementedDeviceDecommissioningServiceServer must be embedded to have forward compatible implementations.
type UnimplementedDeviceOnboardingConfigServiceServer ¶
type UnimplementedDeviceOnboardingConfigServiceServer struct { }
UnimplementedDeviceOnboardingConfigServiceServer must be embedded to have forward compatible implementations.
type UnimplementedDeviceOnboardingServiceServer ¶
type UnimplementedDeviceOnboardingServiceServer struct { }
UnimplementedDeviceOnboardingServiceServer must be embedded to have forward compatible implementations.
type UnimplementedDeviceServiceServer ¶
type UnimplementedDeviceServiceServer struct { }
UnimplementedDeviceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceServiceServer) GetOne ¶
func (UnimplementedDeviceServiceServer) GetOne(context.Context, *DeviceRequest) (*DeviceResponse, error)
func (UnimplementedDeviceServiceServer) Subscribe ¶
func (UnimplementedDeviceServiceServer) Subscribe(*DeviceStreamRequest, DeviceService_SubscribeServer) error
type UnimplementedProvisionedDeviceServiceServer ¶
type UnimplementedProvisionedDeviceServiceServer struct { }
UnimplementedProvisionedDeviceServiceServer must be embedded to have forward compatible implementations.
type UnsafeDeviceDecommissioningConfigServiceServer ¶
type UnsafeDeviceDecommissioningConfigServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceDecommissioningConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceDecommissioningConfigServiceServer will result in compilation errors.
type UnsafeDeviceDecommissioningServiceServer ¶
type UnsafeDeviceDecommissioningServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceDecommissioningServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceDecommissioningServiceServer will result in compilation errors.
type UnsafeDeviceOnboardingConfigServiceServer ¶
type UnsafeDeviceOnboardingConfigServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceOnboardingConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceOnboardingConfigServiceServer will result in compilation errors.
type UnsafeDeviceOnboardingServiceServer ¶
type UnsafeDeviceOnboardingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceOnboardingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceOnboardingServiceServer will result in compilation errors.
type UnsafeDeviceServiceServer ¶
type UnsafeDeviceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceServiceServer will result in compilation errors.
type UnsafeProvisionedDeviceServiceServer ¶
type UnsafeProvisionedDeviceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProvisionedDeviceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProvisionedDeviceServiceServer will result in compilation errors.